Package zendesk.support
Enum TicketFieldType
- java.lang.Object
-
- java.lang.Enum<TicketFieldType>
-
- zendesk.support.TicketFieldType
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<TicketFieldType>
public enum TicketFieldType extends java.lang.Enum<TicketFieldType>
All supported ticket field types.
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description Checkbox
Date
Decimal
Description
Integer
MultiSelect
PartialCreditCard
Priority
Regexp
Status
Subject
Tagger
Text
TextArea
TicketType
Unknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static TicketFieldType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TicketFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Checkbox
public static final TicketFieldType Checkbox
-
Date
public static final TicketFieldType Date
-
Decimal
public static final TicketFieldType Decimal
-
Description
public static final TicketFieldType Description
-
Integer
public static final TicketFieldType Integer
-
PartialCreditCard
public static final TicketFieldType PartialCreditCard
-
Priority
public static final TicketFieldType Priority
-
Status
public static final TicketFieldType Status
-
TicketType
public static final TicketFieldType TicketType
-
Regexp
public static final TicketFieldType Regexp
-
Subject
public static final TicketFieldType Subject
-
Tagger
public static final TicketFieldType Tagger
-
Text
public static final TicketFieldType Text
-
TextArea
public static final TicketFieldType TextArea
-
MultiSelect
public static final TicketFieldType MultiSelect
-
Unknown
public static final TicketFieldType Unknown
-
-
Method Detail
-
values
public static TicketFieldType[] 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 (TicketFieldType c : TicketFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TicketFieldType 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
-
-