Class AdminReplyConversationRequest
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.AdminReplyConversationRequest
-
public final class AdminReplyConversationRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAdminReplyConversationRequest._FinalStagestatic interfaceAdminReplyConversationRequest.AdminIdStagestatic classAdminReplyConversationRequest.Builderstatic classAdminReplyConversationRequest.MessageTypestatic interfaceAdminReplyConversationRequest.MessageTypeStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdminReplyConversationRequest.MessageTypeStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.lang.StringgetAdminId()java.util.Optional<java.util.List<ConversationAttachmentFiles>>getAttachmentFiles()java.util.Optional<java.util.List<java.lang.String>>getAttachmentUrls()java.util.Optional<java.lang.String>getBody()java.util.Optional<java.lang.Integer>getCreatedAt()AdminReplyConversationRequest.MessageTypegetMessageType()java.util.Optional<java.util.List<QuickReplyOption>>getReplyOptions()java.lang.StringgetType()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getMessageType
public AdminReplyConversationRequest.MessageType getMessageType()
-
getType
public java.lang.String getType()
-
getBody
public java.util.Optional<java.lang.String> getBody()
- Returns:
- The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types.
-
getAdminId
public java.lang.String getAdminId()
- Returns:
- The id of the admin who is authoring the comment.
-
getCreatedAt
public java.util.Optional<java.lang.Integer> getCreatedAt()
- Returns:
- The time the reply was created. If not provided, the current time will be used.
-
getReplyOptions
public java.util.Optional<java.util.List<QuickReplyOption>> getReplyOptions()
- Returns:
- The quick reply options to display to the end user. Must be present for quick_reply message types.
-
getAttachmentUrls
public java.util.Optional<java.util.List<java.lang.String>> getAttachmentUrls()
- Returns:
- A list of image URLs that will be added as attachments. You can include up to 10 URLs.
-
getAttachmentFiles
public java.util.Optional<java.util.List<ConversationAttachmentFiles>> getAttachmentFiles()
- Returns:
- A list of files that will be added as attachments. You can include up to 10 files
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static AdminReplyConversationRequest.MessageTypeStage builder()
-
-