Class AdminReplyConversationRequest.Builder
- java.lang.Object
-
- com.intercom.api.types.AdminReplyConversationRequest.Builder
-
- All Implemented Interfaces:
AdminReplyConversationRequest._FinalStage,AdminReplyConversationRequest.AdminIdStage,AdminReplyConversationRequest.MessageTypeStage
- Enclosing class:
- AdminReplyConversationRequest
public static final class AdminReplyConversationRequest.Builder extends java.lang.Object implements AdminReplyConversationRequest.MessageTypeStage, AdminReplyConversationRequest.AdminIdStage, AdminReplyConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdminReplyConversationRequest._FinalStageadminId(java.lang.String adminId)The id of the admin who is authoring the comment.AdminReplyConversationRequest._FinalStageattachmentFiles(java.util.List<ConversationAttachmentFiles> attachmentFiles)A list of files that will be added as attachments.AdminReplyConversationRequest._FinalStageattachmentFiles(java.util.Optional<java.util.List<ConversationAttachmentFiles>> attachmentFiles)A list of files that will be added as attachments.AdminReplyConversationRequest._FinalStageattachmentUrls(java.util.List<java.lang.String> attachmentUrls)A list of image URLs that will be added as attachments.AdminReplyConversationRequest._FinalStageattachmentUrls(java.util.Optional<java.util.List<java.lang.String>> attachmentUrls)A list of image URLs that will be added as attachments.AdminReplyConversationRequest._FinalStagebody(java.lang.String body)The text body of the reply.AdminReplyConversationRequest._FinalStagebody(java.util.Optional<java.lang.String> body)The text body of the reply.AdminReplyConversationRequestbuild()AdminReplyConversationRequest._FinalStagecreatedAt(java.lang.Integer createdAt)The time the reply was created.AdminReplyConversationRequest._FinalStagecreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time the reply was created.AdminReplyConversationRequest.Builderfrom(AdminReplyConversationRequest other)AdminReplyConversationRequest.AdminIdStagemessageType(AdminReplyConversationRequest.MessageType messageType)AdminReplyConversationRequest._FinalStagereplyOptions(java.util.List<QuickReplyOption> replyOptions)The quick reply options to display to the end user.AdminReplyConversationRequest._FinalStagereplyOptions(java.util.Optional<java.util.List<QuickReplyOption>> replyOptions)The quick reply options to display to the end user.
-
-
-
Method Detail
-
from
public AdminReplyConversationRequest.Builder from(AdminReplyConversationRequest other)
- Specified by:
fromin interfaceAdminReplyConversationRequest.MessageTypeStage
-
messageType
public AdminReplyConversationRequest.AdminIdStage messageType(@NotNull AdminReplyConversationRequest.MessageType messageType)
- Specified by:
messageTypein interfaceAdminReplyConversationRequest.MessageTypeStage
-
adminId
public AdminReplyConversationRequest._FinalStage adminId(@NotNull java.lang.String adminId)
The id of the admin who is authoring the comment.
The id of the admin who is authoring the comment.
- Specified by:
adminIdin interfaceAdminReplyConversationRequest.AdminIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentFiles
public AdminReplyConversationRequest._FinalStage attachmentFiles(java.util.List<ConversationAttachmentFiles> attachmentFiles)
A list of files that will be added as attachments. You can include up to 10 files
- Specified by:
attachmentFilesin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentFiles
public AdminReplyConversationRequest._FinalStage attachmentFiles(java.util.Optional<java.util.List<ConversationAttachmentFiles>> attachmentFiles)
A list of files that will be added as attachments. You can include up to 10 files
- Specified by:
attachmentFilesin interfaceAdminReplyConversationRequest._FinalStage
-
attachmentUrls
public AdminReplyConversationRequest._FinalStage attachmentUrls(java.util.List<java.lang.String> attachmentUrls)
A list of image URLs that will be added as attachments. You can include up to 10 URLs.
- Specified by:
attachmentUrlsin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentUrls
public AdminReplyConversationRequest._FinalStage attachmentUrls(java.util.Optional<java.util.List<java.lang.String>> attachmentUrls)
A list of image URLs that will be added as attachments. You can include up to 10 URLs.
- Specified by:
attachmentUrlsin interfaceAdminReplyConversationRequest._FinalStage
-
replyOptions
public AdminReplyConversationRequest._FinalStage replyOptions(java.util.List<QuickReplyOption> replyOptions)
The quick reply options to display to the end user. Must be present for quick_reply message types.
- Specified by:
replyOptionsin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
replyOptions
public AdminReplyConversationRequest._FinalStage replyOptions(java.util.Optional<java.util.List<QuickReplyOption>> replyOptions)
The quick reply options to display to the end user. Must be present for quick_reply message types.
- Specified by:
replyOptionsin interfaceAdminReplyConversationRequest._FinalStage
-
createdAt
public AdminReplyConversationRequest._FinalStage createdAt(java.lang.Integer createdAt)
The time the reply was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public AdminReplyConversationRequest._FinalStage createdAt(java.util.Optional<java.lang.Integer> createdAt)
The time the reply was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceAdminReplyConversationRequest._FinalStage
-
body
public AdminReplyConversationRequest._FinalStage body(java.lang.String body)
The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types.
- Specified by:
bodyin interfaceAdminReplyConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
public AdminReplyConversationRequest._FinalStage body(java.util.Optional<java.lang.String> body)
The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types.
- Specified by:
bodyin interfaceAdminReplyConversationRequest._FinalStage
-
build
public AdminReplyConversationRequest build()
- Specified by:
buildin interfaceAdminReplyConversationRequest._FinalStage
-
-