Package com.restfb.types.whatsapp
Enum WABAConversationDirection
- java.lang.Object
-
- java.lang.Enum<WABAConversationDirection>
-
- com.restfb.types.whatsapp.WABAConversationDirection
-
- All Implemented Interfaces:
Serializable
,Comparable<WABAConversationDirection>
public enum WABAConversationDirection extends Enum<WABAConversationDirection>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUSINESS_INITIATED
UNKNOWN
USER_INITIATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WABAConversationDirection
valueOf(String name)
Returns the enum constant of this type with the specified name.static WABAConversationDirection[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final WABAConversationDirection UNKNOWN
-
BUSINESS_INITIATED
public static final WABAConversationDirection BUSINESS_INITIATED
-
USER_INITIATED
public static final WABAConversationDirection USER_INITIATED
-
-
Method Detail
-
values
public static WABAConversationDirection[] 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 (WABAConversationDirection c : WABAConversationDirection.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WABAConversationDirection 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
-
-