Class CreateMessageRequest.Email

java.lang.Object
com.intercom.api.types.CreateMessageRequest.Email
Enclosing class:
CreateMessageRequest

public static final class CreateMessageRequest.Email extends Object
  • Method Details

    • getSubject

      public String getSubject()
      Returns:
      The title of the email.
    • getBody

      public String getBody()
      Returns:
      The content of the message. HTML and plaintext are supported.
    • getTemplate

      public String getTemplate()
      Returns:
      The style of the outgoing message. Possible values plain or personal.
    • getFrom

      Returns:
      The sender of the message. If not provided, the default sender will be used.
    • getTo

      Returns:
      The sender of the message. If not provided, the default sender will be used.
    • getCreatedAt

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

      public Optional<Boolean> getCreateConversationWithoutContactReply()
      Returns:
      Whether a conversation should be opened in the inbox for the message without the contact replying. Defaults to false if not provided.
    • 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 CreateMessageRequest.Email.SubjectStage builder()