Package com.linecorp.bot.model.response
Enum GetNumberOfFollowersResponse.Status
- java.lang.Object
-
- java.lang.Enum<GetNumberOfFollowersResponse.Status>
-
- com.linecorp.bot.model.response.GetNumberOfFollowersResponse.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GetNumberOfFollowersResponse.Status>
- Enclosing class:
- GetNumberOfFollowersResponse
public static enum GetNumberOfFollowersResponse.Status extends java.lang.Enum<GetNumberOfFollowersResponse.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 followers (November 1, 2016).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 GetNumberOfFollowersResponse.Status
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GetNumberOfFollowersResponse.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 GetNumberOfFollowersResponse.Status READY
Calculation has finished; the numbers are up-to-date.
-
UNREADY
public static final GetNumberOfFollowersResponse.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 GetNumberOfFollowersResponse.Status OUT_OF_SERVICE
The specified date is earlier than the date on which we first started calculating followers (November 1, 2016).
-
-
Method Detail
-
values
public static GetNumberOfFollowersResponse.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 (GetNumberOfFollowersResponse.Status c : GetNumberOfFollowersResponse.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 GetNumberOfFollowersResponse.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
-
-