public enum RockerPortDuplex extends Enum<RockerPortDuplex>
QApiEnumDescriptor{name=RockerPortDuplex, data=[half, full], fields=null}
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static RockerPortDuplex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RockerPortDuplex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RockerPortDuplex half
public static final RockerPortDuplex full
public static final RockerPortDuplex __UNKNOWN
public static RockerPortDuplex[] values()
for (RockerPortDuplex c : RockerPortDuplex.values()) System.out.println(c);
public static RockerPortDuplex valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getJsonValue()