Package zendesk.support
Class TicketField
- java.lang.Object
-
- zendesk.support.TicketField
-
public class TicketField extends java.lang.ObjectModel class for ticket field.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetDescription()Gets the description of the ticket field.longgetId()Gets the ID of the ticket field.java.lang.StringgetRegexpForValidation()Gets a regular expression for validation.java.util.List<TicketFieldOption>getTicketFieldOptions()Ticket field options, this field will only be populated forTicketFieldType.Taggerfield typesjava.util.List<TicketFieldSystemOption>getTicketFieldSystemOptions()Ticket field system options, this field will only be populated forTicketFieldType.Priorityfield typesjava.lang.StringgetTitle()Gets the title of the ticket field.java.lang.StringgetTitleInPortal()Gets title of the ticket field for end userTicketFieldTypegetType()Gets the type of the ticket field.
-
-
-
Method Detail
-
getId
public long getId()
Gets the ID of the ticket field.- Returns:
- the ID of the ticket field
-
getType
public TicketFieldType getType()
Gets the type of the ticket field.- Returns:
- the type of the ticket field.
-
getTitle
public java.lang.String getTitle()
Gets the title of the ticket field.- Returns:
- the title of the ticket field.
-
getTitleInPortal
public java.lang.String getTitleInPortal()
Gets title of the ticket field for end user- Returns:
- title the ticket field title for end users
-
getDescription
public java.lang.String getDescription()
Gets the description of the ticket field.- Returns:
- the description of the ticket field.
-
getRegexpForValidation
public java.lang.String getRegexpForValidation()
Gets a regular expression for validation.- Returns:
- a regular expression for validation
-
getTicketFieldOptions
public java.util.List<TicketFieldOption> getTicketFieldOptions()
Ticket field options, this field will only be populated forTicketFieldType.Taggerfield types- Returns:
- a list of ticket field options
-
getTicketFieldSystemOptions
public java.util.List<TicketFieldSystemOption> getTicketFieldSystemOptions()
Ticket field system options, this field will only be populated forTicketFieldType.Priorityfield types- Returns:
- a list of ticket field system options
-
-