Package com.linecorp.bot.model.response
Enum Class NumberOfMessagesResponse.Status
java.lang.Object
java.lang.Enum<NumberOfMessagesResponse.Status>
com.linecorp.bot.model.response.NumberOfMessagesResponse.Status
- All Implemented Interfaces:
Serializable
,Comparable<NumberOfMessagesResponse.Status>
,Constable
- Enclosing class:
- NumberOfMessagesResponse
A status of current calculation.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe date specified in date is earlier than March 31, 2018, when the operation of the counting system started.You can get the number of messages.The message counting process for the date specified indate
has not been completed yet. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static NumberOfMessagesResponse.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READY
You can get the number of messages. -
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
The date specified in date is earlier than March 31, 2018, when the operation of the counting system started.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-