Package com.restfb.types.send
Enum SettingTypeEnum
- java.lang.Object
-
- java.lang.Enum<SettingTypeEnum>
-
- com.restfb.types.send.SettingTypeEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<SettingTypeEnum>
public enum SettingTypeEnum extends Enum<SettingTypeEnum>
Represents the thread settings setting type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description account_linking
call_to_actions
domain_whitelisting
greeting
payment
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SettingTypeEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static SettingTypeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
greeting
public static final SettingTypeEnum greeting
-
call_to_actions
public static final SettingTypeEnum call_to_actions
-
account_linking
public static final SettingTypeEnum account_linking
-
domain_whitelisting
public static final SettingTypeEnum domain_whitelisting
-
payment
public static final SettingTypeEnum payment
-
-
Method Detail
-
values
public static SettingTypeEnum[] 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 (SettingTypeEnum c : SettingTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SettingTypeEnum valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-