public enum ApiResponseTypes extends Enum<ApiResponseTypes>
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiResponseTypes.Adapter |
| Enum Constant and Description |
|---|
INTERNAL_ERROR |
MEMORY_ERROR |
RANGE_ERROR |
SUCCESS |
UNKNOWN_FAILURE |
UNKNOWN_PARAMETER |
| Modifier and Type | Method and Description |
|---|---|
static ApiResponseTypes |
fromValue(String input) |
String |
getValue() |
String |
toString() |
static ApiResponseTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiResponseTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@SerializedName(value="SUCCESS") public static final ApiResponseTypes SUCCESS
@SerializedName(value="RANGE_ERROR") public static final ApiResponseTypes RANGE_ERROR
@SerializedName(value="UNKNOWN_PARAMETER") public static final ApiResponseTypes UNKNOWN_PARAMETER
@SerializedName(value="MEMORY_ERROR") public static final ApiResponseTypes MEMORY_ERROR
@SerializedName(value="INTERNAL_ERROR") public static final ApiResponseTypes INTERNAL_ERROR
@SerializedName(value="UNKNOWN_FAILURE") public static final ApiResponseTypes UNKNOWN_FAILURE
public static ApiResponseTypes[] values()
for (ApiResponseTypes c : ApiResponseTypes.values()) System.out.println(c);
public static ApiResponseTypes 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<ApiResponseTypes>public static ApiResponseTypes fromValue(String input)
Copyright © 2026. All rights reserved.