Class CreateTicketTypeAttributeRequest

java.lang.Object
com.intercom.api.resources.tickettypes.attributes.requests.CreateTicketTypeAttributeRequest

public final class CreateTicketTypeAttributeRequest extends Object
  • Method Details

    • getTicketTypeId

      public String getTicketTypeId()
      Returns:
      The unique identifier for the ticket type which is given by Intercom.
    • getName

      public String getName()
      Returns:
      The name of the ticket type attribute
    • getDescription

      public String getDescription()
      Returns:
      The description of the attribute presented to the teammate or contact
    • getDataType

      Returns:
      The data type of the attribute
    • getRequiredToCreate

      public Optional<Boolean> getRequiredToCreate()
      Returns:
      Whether the attribute is required to be filled in when teammates are creating the ticket in Inbox.
    • getRequiredToCreateForContacts

      public Optional<Boolean> getRequiredToCreateForContacts()
      Returns:
      Whether the attribute is required to be filled in when contacts are creating the ticket in Messenger.
    • getVisibleOnCreate

      public Optional<Boolean> getVisibleOnCreate()
      Returns:
      Whether the attribute is visible to teammates when creating a ticket in Inbox.
    • getVisibleToContacts

      public Optional<Boolean> getVisibleToContacts()
      Returns:
      Whether the attribute is visible to contacts when creating a ticket in Messenger.
    • getMultiline

      public Optional<Boolean> getMultiline()
      Returns:
      Whether the attribute allows multiple lines of text (only applicable to string attributes)
    • getListItems

      public Optional<String> getListItems()
      Returns:
      A comma delimited list of items for the attribute value (only applicable to list attributes)
    • getAllowMultipleValues

      public Optional<Boolean> getAllowMultipleValues()
      Returns:
      Whether the attribute allows multiple files to be attached to it (only applicable to file attributes)
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder