Class TicketReply

java.lang.Object
com.intercom.api.types.TicketReply

public final class TicketReply extends Object
  • Method Details

    • getType

      public String getType()
      Returns:
      Always ticket_part
    • getId

      public String getId()
      Returns:
      The id representing the part.
    • getPartType

      public TicketReply.PartType getPartType()
      Returns:
      Type of the part
    • getBody

      public Optional<String> getBody()
      Returns:
      The message body, which may contain HTML.
    • getCreatedAt

      public int getCreatedAt()
      Returns:
      The time the note was created.
    • getUpdatedAt

      public Optional<Integer> getUpdatedAt()
      Returns:
      The last time the note was updated.
    • getAuthor

      public Optional<TicketPartAuthor> getAuthor()
    • getAttachments

      public Optional<List<PartAttachment>> getAttachments()
      Returns:
      A list of attachments for the part.
    • getRedacted

      public Optional<Boolean> getRedacted()
      Returns:
      Whether or not the ticket part has been redacted.
    • 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 TicketReply.IdStage builder()