Package com.intercom.api.types
Class AdminReplyTicketRequest.Builder
java.lang.Object
com.intercom.api.types.AdminReplyTicketRequest.Builder
- All Implemented Interfaces:
AdminReplyTicketRequest._FinalStage,AdminReplyTicketRequest.AdminIdStage,AdminReplyTicketRequest.MessageTypeStage
- Enclosing class:
AdminReplyTicketRequest
public static final class AdminReplyTicketRequest.Builder
extends Object
implements AdminReplyTicketRequest.MessageTypeStage, AdminReplyTicketRequest.AdminIdStage, AdminReplyTicketRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the admin who is authoring the comment.attachmentUrls(List<String> attachmentUrls) A list of image URLs that will be added as attachments.attachmentUrls(Optional<List<String>> attachmentUrls) The text body of the reply.build()The time the reply was created.from(AdminReplyTicketRequest other) messageType(AdminReplyTicketRequest.MessageType messageType) replyOptions(List<AdminReplyTicketRequest.ReplyOptionsItem> replyOptions) The quick reply options to display.replyOptions(Optional<List<AdminReplyTicketRequest.ReplyOptionsItem>> replyOptions)
-
Method Details
-
from
- Specified by:
fromin interfaceAdminReplyTicketRequest.MessageTypeStage
-
messageType
public AdminReplyTicketRequest.AdminIdStage messageType(@NotNull AdminReplyTicketRequest.MessageType messageType) - Specified by:
messageTypein interfaceAdminReplyTicketRequest.MessageTypeStage
-
adminId
The id of the admin who is authoring the comment.
- Specified by:
adminIdin interfaceAdminReplyTicketRequest.AdminIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentUrls
A list of image URLs that will be added as attachments. You can include up to 10 URLs.
- Specified by:
attachmentUrlsin interfaceAdminReplyTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentUrls
- Specified by:
attachmentUrlsin interfaceAdminReplyTicketRequest._FinalStage
-
replyOptions
public AdminReplyTicketRequest._FinalStage replyOptions(List<AdminReplyTicketRequest.ReplyOptionsItem> replyOptions) The quick reply options to display. Must be present for quick_reply message types.
- Specified by:
replyOptionsin interfaceAdminReplyTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
replyOptions
public AdminReplyTicketRequest._FinalStage replyOptions(Optional<List<AdminReplyTicketRequest.ReplyOptionsItem>> replyOptions) - Specified by:
replyOptionsin interfaceAdminReplyTicketRequest._FinalStage
-
createdAt
The time the reply was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceAdminReplyTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
- Specified by:
createdAtin interfaceAdminReplyTicketRequest._FinalStage
-
body
The text body of the reply. Notes accept some HTML formatting. Must be present for comment and note message types.
- Specified by:
bodyin interfaceAdminReplyTicketRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
body
- Specified by:
bodyin interfaceAdminReplyTicketRequest._FinalStage
-
build
- Specified by:
buildin interfaceAdminReplyTicketRequest._FinalStage
-