public enum ApiRoleState extends Enum<ApiRoleState>
Modifier and Type | Class and Description |
---|---|
static class |
ApiRoleState.Adapter |
Enum Constant and Description |
---|
BUSY |
HISTORY_NOT_AVAILABLE |
NA |
STARTED |
STARTING |
STOPPED |
STOPPING |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ApiRoleState |
fromValue(String input) |
String |
getValue() |
String |
toString() |
static ApiRoleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiRoleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="HISTORY_NOT_AVAILABLE") public static final ApiRoleState HISTORY_NOT_AVAILABLE
@SerializedName(value="UNKNOWN") public static final ApiRoleState UNKNOWN
@SerializedName(value="STARTING") public static final ApiRoleState STARTING
@SerializedName(value="STARTED") public static final ApiRoleState STARTED
@SerializedName(value="BUSY") public static final ApiRoleState BUSY
@SerializedName(value="STOPPING") public static final ApiRoleState STOPPING
@SerializedName(value="STOPPED") public static final ApiRoleState STOPPED
@SerializedName(value="NA") public static final ApiRoleState NA
public static ApiRoleState[] values()
for (ApiRoleState c : ApiRoleState.values()) System.out.println(c);
public static ApiRoleState 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 getValue()
public String toString()
toString
in class Enum<ApiRoleState>
public static ApiRoleState fromValue(String input)
Copyright © 2024. All rights reserved.