Class CreateTicketRequest


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

      • getTicketTypeId

        public java.lang.String getTicketTypeId()
        Returns:
        The ID of the type of ticket you want to create
      • getContacts

        public java.util.List<CreateTicketRequest.ContactsItem> getContacts()
        Returns:
        The list of contacts (users or leads) affected by this ticket. Currently only one is allowed
      • getCompanyId

        public java.util.Optional<java.lang.String> getCompanyId()
        Returns:
        The ID of the company that the ticket is associated with. The ID that you set upon company creation.
      • getCreatedAt

        public java.util.Optional<java.lang.Integer> getCreatedAt()
        Returns:
        The time the ticket was created. If not provided, the current time will be used.
      • getTicketAttributes

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getTicketAttributes()
      • 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