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