Class TicketTypeAttribute


  • public final class TicketTypeAttribute
    extends java.lang.Object
    • Method Detail

      • getType

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

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

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

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

        public java.lang.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 java.util.Map<java.lang.String,​java.lang.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 java.util.Optional<java.lang.Integer> getUpdatedAt()
        Returns:
        The date and time the ticket type attribute was last updated.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object