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