public enum RockerPortAutoneg extends Enum<RockerPortAutoneg>
QApiEnumDescriptor{name=RockerPortAutoneg, data=[off, on], fields=null}
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static RockerPortAutoneg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RockerPortAutoneg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RockerPortAutoneg off
public static final RockerPortAutoneg on
public static final RockerPortAutoneg __UNKNOWN
public static RockerPortAutoneg[] values()
for (RockerPortAutoneg c : RockerPortAutoneg.values()) System.out.println(c);
public static RockerPortAutoneg 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()