Class TicketTypeAttribute

java.lang.Object
com.intercom.api.types.TicketTypeAttribute

public final class TicketTypeAttribute extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      String representing the object's type. Always has the value ticket_type_attribute.
    • getId

      public String getId()
      Returns:
      The id representing the ticket type attribute.
    • getWorkspaceId

      public String getWorkspaceId()
      Returns:
      The id of the workspace that the ticket type attribute belongs to.
    • getName

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

      public String getDescription()
      Returns:
      The description of the ticket type attribute
    • getDataType

      public TicketTypeAttribute.DataType getDataType()
      Returns:
      The type of the data attribute (allowed values: "string list integer decimal boolean datetime files")
    • getInputOptions

      public Map<String,Object> getInputOptions()
      Returns:
      Input options for the attribute
    • getOrder

      public int getOrder()
      Returns:
      The order of the attribute against other attributes
    • getRequiredToCreate

      public boolean getRequiredToCreate()
      Returns:
      Whether the attribute is required or not for teammates.
    • getRequiredToCreateForContacts

      public boolean getRequiredToCreateForContacts()
      Returns:
      Whether the attribute is required or not for contacts.
    • getVisibleOnCreate

      public boolean getVisibleOnCreate()
      Returns:
      Whether the attribute is visible or not to teammates.
    • getVisibleToContacts

      public boolean getVisibleToContacts()
      Returns:
      Whether the attribute is visible or not to contacts.
    • getDefault

      public boolean getDefault()
      Returns:
      Whether the attribute is built in or not.
    • getTicketTypeId

      public int getTicketTypeId()
      Returns:
      The id of the ticket type that the attribute belongs to.
    • getArchived

      public boolean getArchived()
      Returns:
      Whether the ticket type attribute is archived or not.
    • getCreatedAt

      public int getCreatedAt()
      Returns:
      The date and time the ticket type attribute was created.
    • getUpdatedAt

      public Optional<Integer> getUpdatedAt()
      Returns:
      The date and time the ticket type attribute was last updated.
    • 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

      public static TicketTypeAttribute.IdStage builder()