Class TicketForm



  • public class TicketForm
    extends java.lang.Object
    Model class for ticket forms.
    • Constructor Detail

      • TicketForm

        public TicketForm(long id,
                          java.lang.String name,
                          java.lang.String displayName,
                          java.util.List<TicketField> ticketFields)
        Constructor for creating an instance of a ticket form.
        Parameters:
        id - ticket form id
        name - ticket form name for agents
        displayName - ticket form name for end users
        ticketFields - 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 ticket form name for agents
        Returns:
        the ticket form name for agents
      • getDisplayName

        public java.lang.String getDisplayName()
        Gets the ticket form name for end users
        Returns:
        the ticket form name for end users
      • getTicketFields

        public java.util.List<TicketField> getTicketFields()
        Gets a list of associated TicketField.
        Returns:
        a list of ticket fields