Class TicketTypeAttribute


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

      • getType

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

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

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

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

        public java.util.Optional<java.lang.String> getDescription()
        Returns:
        The description of the ticket type attribute
      • getDataType

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

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getInputOptions()
        Returns:
        Input options for the attribute
      • getOrder

        public java.util.Optional<java.lang.Integer> getOrder()
        Returns:
        The order of the attribute against other attributes
      • getRequiredToCreate

        public java.util.Optional<java.lang.Boolean> getRequiredToCreate()
        Returns:
        Whether the attribute is required or not for teammates.
      • getRequiredToCreateForContacts

        public java.util.Optional<java.lang.Boolean> getRequiredToCreateForContacts()
        Returns:
        Whether the attribute is required or not for contacts.
      • getVisibleOnCreate

        public java.util.Optional<java.lang.Boolean> getVisibleOnCreate()
        Returns:
        Whether the attribute is visible or not to teammates.
      • getVisibleToContacts

        public java.util.Optional<java.lang.Boolean> getVisibleToContacts()
        Returns:
        Whether the attribute is visible or not to contacts.
      • getDefault

        public java.util.Optional<java.lang.Boolean> getDefault()
        Returns:
        Whether the attribute is built in or not.
      • getTicketTypeId

        public java.util.Optional<java.lang.Integer> getTicketTypeId()
        Returns:
        The id of the ticket type that the attribute belongs to.
      • getArchived

        public java.util.Optional<java.lang.Boolean> getArchived()
        Returns:
        Whether the ticket type attribute is archived or not.
      • getCreatedAt

        public java.util.Optional<java.lang.Integer> 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