Enum AudienceGroupPermission
- java.lang.Object
-
- java.lang.Enum<AudienceGroupPermission>
-
- com.linecorp.bot.model.manageaudience.AudienceGroupPermission
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AudienceGroupPermission>
public enum AudienceGroupPermission extends java.lang.Enum<AudienceGroupPermission>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description READ
Can use only.READ_WRITE
Can use and update.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AudienceGroupPermission
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AudienceGroupPermission[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final AudienceGroupPermission READ
Can use only.
-
READ_WRITE
public static final AudienceGroupPermission READ_WRITE
Can use and update.
-
-
Method Detail
-
values
public static AudienceGroupPermission[] 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 (AudienceGroupPermission c : AudienceGroupPermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AudienceGroupPermission 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
-
-