Package zendesk.support
Class TicketForm
- java.lang.Object
-
- zendesk.support.TicketForm
-
public class TicketForm extends java.lang.Object
Model class for ticket forms.
-
-
Constructor Summary
Constructors Constructor and Description TicketForm(long id, java.lang.String name, java.util.List<TicketField> ticketFields)
Constructor for creating an instance of a ticket form.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description long
getId()
Gets the ID of the ticket form.java.lang.String
getName()
Gets the name of the ticket form.java.util.List<TicketField>
getTicketFields()
Gets a list of associatedTicketField
.
-
-
-
Constructor Detail
-
TicketForm
public TicketForm(long id, java.lang.String name, java.util.List<TicketField> ticketFields)
Constructor for creating an instance of a ticket form.- Parameters:
id
- ticket form idname
- ticket form nameticketFields
- a list of associated ticket fields
-
-
Method Detail
-
getId
public long getId()
Gets the ID of the ticket form.- Returns:
- the id of the ticket form
-
getName
public java.lang.String getName()
Gets the name of the ticket form.- Returns:
- the name of the ticket form
-
getTicketFields
public java.util.List<TicketField> getTicketFields()
Gets a list of associatedTicketField
.- Returns:
- a list of ticket fields
-
-