This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.peloton.sensor.client; | |
/* compiled from: HardwareType.kt */ | |
public enum HardwareType { | |
V1BIKE(r4), | |
V2BIKE(r4), | |
TITAN("titan"), | |
PRISM("prism"), | |
MAZU("mazu"), | |
TREAD("aurora"), | |
UNKNOWN("Unknown Hardware"); | |
private final String productModelName; | |
private HardwareType(String str) { | |
this.productModelName = str; | |
} | |
public final String getProductModelName() { | |
return this.productModelName; | |
} | |
public final boolean isBike() { | |
return this == V1BIKE || this == TITAN || this == V2BIKE; | |
} | |
public final boolean isMazu() { | |
return this == MAZU; | |
} | |
public final boolean isTread() { | |
return this == TREAD || this == PRISM; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment