Package com.linecorp.bot.model.response
Enum MessageQuotaResponse.QuotaType
- java.lang.Object
-
- java.lang.Enum<MessageQuotaResponse.QuotaType>
-
- com.linecorp.bot.model.response.MessageQuotaResponse.QuotaType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<MessageQuotaResponse.QuotaType>
- Enclosing class:
- MessageQuotaResponse
public static enum MessageQuotaResponse.QuotaType extends java.lang.Enum<MessageQuotaResponse.QuotaType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MessageQuotaResponse.QuotaType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessageQuotaResponse.QuotaType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final MessageQuotaResponse.QuotaType none
Indicates that a target limit is not set.
-
limited
public static final MessageQuotaResponse.QuotaType limited
Indicates that a target limit is set.
-
-
Method Detail
-
values
public static MessageQuotaResponse.QuotaType[] 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 (MessageQuotaResponse.QuotaType c : MessageQuotaResponse.QuotaType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessageQuotaResponse.QuotaType 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
-
-