Class CreateTicketRequest

java.lang.Object
com.intercom.api.resources.tickets.requests.CreateTicketRequest

public final class CreateTicketRequest extends Object
  • Method Details

    • getTicketTypeId

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

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

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

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

      public Optional<Map<String,Object>> getTicketAttributes()
    • 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 CreateTicketRequest.TicketTypeIdStage builder()