Class TicketFieldOption



  • public class TicketFieldOption
    extends java.lang.Object
    Model class for ticket field option.
    • Constructor Detail

      • TicketFieldOption

        public TicketFieldOption(long id,
                                 java.lang.String name,
                                 java.lang.String value,
                                 boolean isDefault)
        Constructor for creating an instance of a ticket field option.
        Parameters:
        id - ticket field option name
        name - ticket field option name
        value - ticket field option value
    • Method Detail

      • getId

        public long getId()
        Gets the ID of the ticket field option.
        Returns:
        the id of the ticket field option
      • getName

        public java.lang.String getName()
        Gets the name of the ticket field option.
        Returns:
        the name of the ticket field option.
      • getValue

        public java.lang.String getValue()
        Gets the value of the ticket field option.
        Returns:
        the value of the ticket field option.
      • isDefault

        public boolean isDefault()
        Gets if the field is the default value.
        Returns:
        true if it is the default value, false if not