@Generated(value="org.jsonschema2pojo") public static enum PowerSupplyBay.Status extends Enum<PowerSupplyBay.Status>
Enum Constant and Description |
---|
Critical |
Disabled |
OK |
Unknown |
Warning |
Modifier and Type | Method and Description |
---|---|
static PowerSupplyBay.Status |
fromValue(String value) |
String |
toString() |
static PowerSupplyBay.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PowerSupplyBay.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PowerSupplyBay.Status Unknown
public static final PowerSupplyBay.Status OK
public static final PowerSupplyBay.Status Disabled
public static final PowerSupplyBay.Status Warning
public static final PowerSupplyBay.Status Critical
public static PowerSupplyBay.Status[] values()
for (PowerSupplyBay.Status c : PowerSupplyBay.Status.values()) System.out.println(c);
public static PowerSupplyBay.Status 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 toString()
toString
in class Enum<PowerSupplyBay.Status>
public static PowerSupplyBay.Status fromValue(String value)
Copyright © 2016. All rights reserved.