Package zendesk.messaging
Enum MessagingItem.FileQuery.FailureReason
- java.lang.Object
-
- java.lang.Enum<MessagingItem.FileQuery.FailureReason>
-
- zendesk.messaging.MessagingItem.FileQuery.FailureReason
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MessagingItem.FileQuery.FailureReason>
- Enclosing class:
- MessagingItem.FileQuery
public static enum MessagingItem.FileQuery.FailureReason extends java.lang.Enum<MessagingItem.FileQuery.FailureReason>
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description FILE_SENDING_DISABLED
FILE_SIZE_TOO_LARGE
UNSUPPORTED_FILE_TYPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static MessagingItem.FileQuery.FailureReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static MessagingItem.FileQuery.FailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FILE_SIZE_TOO_LARGE
public static final MessagingItem.FileQuery.FailureReason FILE_SIZE_TOO_LARGE
-
FILE_SENDING_DISABLED
public static final MessagingItem.FileQuery.FailureReason FILE_SENDING_DISABLED
-
UNSUPPORTED_FILE_TYPE
public static final MessagingItem.FileQuery.FailureReason UNSUPPORTED_FILE_TYPE
-
-
Method Detail
-
values
public static MessagingItem.FileQuery.FailureReason[] 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 (MessagingItem.FileQuery.FailureReason c : MessagingItem.FileQuery.FailureReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MessagingItem.FileQuery.FailureReason 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
-
-