Package com.linecorp.bot.model.response
Enum NumberOfMessagesResponse.Status
- java.lang.Object
-
- java.lang.Enum<NumberOfMessagesResponse.Status>
-
- com.linecorp.bot.model.response.NumberOfMessagesResponse.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NumberOfMessagesResponse.Status>
- Enclosing class:
- NumberOfMessagesResponse
public static enum NumberOfMessagesResponse.Status extends java.lang.Enum<NumberOfMessagesResponse.Status>
A status of current calculation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OUT_OF_SERVICE
The date specified in date is earlier than March 31, 2018, when the operation of the counting system started.READY
You can get the number of messages.UNREADY
The message counting process for the date specified indate
has not been completed yet.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NumberOfMessagesResponse.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NumberOfMessagesResponse.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READY
public static final NumberOfMessagesResponse.Status READY
You can get the number of messages.
-
UNREADY
public static final NumberOfMessagesResponse.Status UNREADY
The message counting process for the date specified indate
has not been completed yet. Retry your request later. Normally, the counting process is completed within the next day.
-
OUT_OF_SERVICE
public static final NumberOfMessagesResponse.Status OUT_OF_SERVICE
The date specified in date is earlier than March 31, 2018, when the operation of the counting system started.
-
-
Method Detail
-
values
public static NumberOfMessagesResponse.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NumberOfMessagesResponse.Status c : NumberOfMessagesResponse.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NumberOfMessagesResponse.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-