Class RawTicketField



  • public class RawTicketField
    extends java.lang.Object
    Json model class for TicketFields.
    See Also:
    Ticket fields
    • Constructor Summary

      Constructors 
      Constructor and Description
      RawTicketField() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<RawTicketFieldOption> getCustomFieldOptions()
      Ticket field options, this field will only be populated for TicketFieldTyp.Tagger field types
      java.lang.String getDescription()
      Gets the description of the ticket field.
      long getId()
      Gets the ID of the ticket field.
      java.lang.String getRegexpForValidation()
      Gets the regular expression to validate the ticket field.
      java.lang.String getTitle()
      Gets the title of the ticket field.
      java.lang.String getTitleInPortal()
      Gets title of the ticket field for end user
      TicketFieldType getType()
      Gets the type of the ticket field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RawTicketField

        public RawTicketField()
    • Method Detail

      • getId

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

        public java.lang.String getTitle()
        Gets the title of the ticket field.
        Returns:
        the title of the 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
      • getType

        public TicketFieldType getType()
        Gets the type of the ticket field.
        Returns:
        the type of the ticket field
      • 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 the regular expression to validate the ticket field.
        Returns:
        the regular expression to validate the ticket field
      • getCustomFieldOptions

        public java.util.List<RawTicketFieldOption> getCustomFieldOptions()
        Ticket field options, this field will only be populated for TicketFieldTyp.Tagger field types
        Returns:
        a list of ticket field options