Class TicketType

java.lang.Object
com.intercom.api.resources.tickets.types.TicketType

public final class TicketType extends Object
  • Method Details

    • getType

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

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

      public TicketType.Category getCategory()
      Returns:
      Category of the Ticket Type.
    • getName

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

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

      public String getIcon()
      Returns:
      The icon of the ticket type
    • getWorkspaceId

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

      public TicketTypeAttributeList getTicketTypeAttributes()
    • getArchived

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

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

      public Optional<Integer> getUpdatedAt()
      Returns:
      The date and time the ticket type 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 TicketType.IdStage builder()