Class UpdateTicketRequest


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

      • getId

        public java.lang.String getId()
        Returns:
        The unique identifier for the ticket which is given by Intercom
      • getTicketAttributes

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getTicketAttributes()
        Returns:
        The attributes set on the ticket.
      • getTicketStateId

        public java.util.Optional<java.lang.String> getTicketStateId()
        Returns:
        The ID of the ticket state associated with the ticket type.
      • getCompanyId

        public java.util.Optional<java.lang.String> getCompanyId()
        Returns:
        The ID of the company that the ticket is associated with. The unique identifier for the company which is given by Intercom. Set to nil to remove company.
      • getOpen

        public java.util.Optional<java.lang.Boolean> getOpen()
        Returns:
        Specify if a ticket is open. Set to false to close a ticket. Closing a ticket will also unsnooze it.
      • getIsShared

        public java.util.Optional<java.lang.Boolean> getIsShared()
        Returns:
        Specify whether the ticket is visible to users.
      • getSnoozedUntil

        public java.util.Optional<java.lang.Integer> getSnoozedUntil()
        Returns:
        The time you want the ticket to reopen.
      • getAdminId

        public java.util.Optional<java.lang.Integer> getAdminId()
        Returns:
        The ID of the admin performing ticket update. Needed for workflows execution and attributing actions to specific admins.
      • getAssigneeId

        public java.util.Optional<java.lang.String> getAssigneeId()
        Returns:
        The ID of the admin or team to which the ticket is assigned. Set this 0 to unassign it.
      • 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