public enum SMSActivateBaseTypeError extends Enum<SMSActivateBaseTypeError>
| Enum Constant and Description |
|---|
ALREADY_CANCEL |
ALREADY_FINISH |
CANT_CANCEL |
NO_BALANCE |
NO_NUMBERS |
RENT_CANCEL |
RENT_FINISH |
UNKNOWN |
WAIT_CODE |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getEnglishMessage()
Returns the description about status to english.
|
static @NotNull SMSActivateBaseTypeError |
getErrorByName(@NotNull String name)
Returns status by specified name.
|
@NotNull String |
getMessage()
Returns concatenate the description about status.
|
@NotNull String |
getResponse()
Returns the response from server.
|
@NotNull String |
getRussianMessage()
Returns the description about status to russian.
|
static SMSActivateBaseTypeError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMSActivateBaseTypeError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMSActivateBaseTypeError UNKNOWN
public static final SMSActivateBaseTypeError NO_BALANCE
public static final SMSActivateBaseTypeError NO_NUMBERS
public static final SMSActivateBaseTypeError CANT_CANCEL
public static final SMSActivateBaseTypeError ALREADY_FINISH
public static final SMSActivateBaseTypeError ALREADY_CANCEL
public static final SMSActivateBaseTypeError WAIT_CODE
public static final SMSActivateBaseTypeError RENT_CANCEL
public static final SMSActivateBaseTypeError RENT_FINISH
public static SMSActivateBaseTypeError[] values()
for (SMSActivateBaseTypeError c : SMSActivateBaseTypeError.values()) System.out.println(c);
public static SMSActivateBaseTypeError 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 null@NotNull public @NotNull String getEnglishMessage()
@NotNull public @NotNull String getRussianMessage()
@NotNull public @NotNull String getMessage()
@NotNull public @NotNull String getResponse()
@NotNull public static @NotNull SMSActivateBaseTypeError getErrorByName(@NotNull @NotNull String name)
name - specified name status.Copyright © 2020. All rights reserved.