Package com.linecorp.bot.model.response
Enum GetNumberOfMessageDeliveriesResponse.Status
- java.lang.Object
-
- java.lang.Enum<GetNumberOfMessageDeliveriesResponse.Status>
-
- com.linecorp.bot.model.response.GetNumberOfMessageDeliveriesResponse.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GetNumberOfMessageDeliveriesResponse.Status>
- Enclosing class:
- GetNumberOfMessageDeliveriesResponse
public static enum GetNumberOfMessageDeliveriesResponse.Status extends java.lang.Enum<GetNumberOfMessageDeliveriesResponse.Status>
A status of current calculation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OUT_OF_SERVICE
The specified date is earlier than the date on which we first started calculating sent messages (March 1, 2017).READY
Calculation has finished; the numbers are up-to-date.UNREADY
We haven't finished calculating the number of sent messages for the specified date.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GetNumberOfMessageDeliveriesResponse.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GetNumberOfMessageDeliveriesResponse.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 GetNumberOfMessageDeliveriesResponse.Status READY
Calculation has finished; the numbers are up-to-date.
-
UNREADY
public static final GetNumberOfMessageDeliveriesResponse.Status UNREADY
We haven't finished calculating the number of sent messages for the specified date. Calculation usually takes about a day. Please try again later.
-
OUT_OF_SERVICE
public static final GetNumberOfMessageDeliveriesResponse.Status OUT_OF_SERVICE
The specified date is earlier than the date on which we first started calculating sent messages (March 1, 2017).
-
-
Method Detail
-
values
public static GetNumberOfMessageDeliveriesResponse.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 (GetNumberOfMessageDeliveriesResponse.Status c : GetNumberOfMessageDeliveriesResponse.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 GetNumberOfMessageDeliveriesResponse.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
-
-