Class ContactReplyIntercomUserIdRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ContactReplyIntercomUserIdRequest.Builder
-
- All Implemented Interfaces:
ContactReplyIntercomUserIdRequest._FinalStage,ContactReplyIntercomUserIdRequest.BodyStage,ContactReplyIntercomUserIdRequest.IntercomUserIdStage
- Enclosing class:
- ContactReplyIntercomUserIdRequest
public static final class ContactReplyIntercomUserIdRequest.Builder extends java.lang.Object implements ContactReplyIntercomUserIdRequest.BodyStage, ContactReplyIntercomUserIdRequest.IntercomUserIdStage, ContactReplyIntercomUserIdRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactReplyIntercomUserIdRequest._FinalStageattachmentFiles(java.util.List<ConversationAttachmentFiles> attachmentFiles)A list of files that will be added as attachments.ContactReplyIntercomUserIdRequest._FinalStageattachmentFiles(java.util.Optional<java.util.List<ConversationAttachmentFiles>> attachmentFiles)A list of files that will be added as attachments.ContactReplyIntercomUserIdRequest._FinalStageattachmentUrls(java.util.List<java.lang.String> attachmentUrls)A list of image URLs that will be added as attachments.ContactReplyIntercomUserIdRequest._FinalStageattachmentUrls(java.util.Optional<java.util.List<java.lang.String>> attachmentUrls)A list of image URLs that will be added as attachments.ContactReplyIntercomUserIdRequest.IntercomUserIdStagebody(java.lang.String body)The text body of the comment.ContactReplyIntercomUserIdRequestbuild()ContactReplyIntercomUserIdRequest._FinalStagecreatedAt(java.lang.Integer createdAt)The time the reply was created.ContactReplyIntercomUserIdRequest._FinalStagecreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time the reply was created.ContactReplyIntercomUserIdRequest.Builderfrom(ContactReplyIntercomUserIdRequest other)ContactReplyIntercomUserIdRequest._FinalStageintercomUserId(java.lang.String intercomUserId)The identifier for the contact as given by Intercom.ContactReplyIntercomUserIdRequest._FinalStagereplyOptions(java.util.List<ContactReplyIntercomUserIdRequest.ReplyOptionsItem> replyOptions)The quick reply selection the contact wishes to respond with.ContactReplyIntercomUserIdRequest._FinalStagereplyOptions(java.util.Optional<java.util.List<ContactReplyIntercomUserIdRequest.ReplyOptionsItem>> replyOptions)The quick reply selection the contact wishes to respond with.
-
-
-
Method Detail
-
from
public ContactReplyIntercomUserIdRequest.Builder from(ContactReplyIntercomUserIdRequest other)
- Specified by:
fromin interfaceContactReplyIntercomUserIdRequest.BodyStage
-
body
public ContactReplyIntercomUserIdRequest.IntercomUserIdStage body(@NotNull java.lang.String body)
The text body of the comment.
The text body of the comment.
- Specified by:
bodyin interfaceContactReplyIntercomUserIdRequest.BodyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
intercomUserId
public ContactReplyIntercomUserIdRequest._FinalStage intercomUserId(@NotNull java.lang.String intercomUserId)
The identifier for the contact as given by Intercom.
The identifier for the contact as given by Intercom.
- Specified by:
intercomUserIdin interfaceContactReplyIntercomUserIdRequest.IntercomUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentFiles
public ContactReplyIntercomUserIdRequest._FinalStage attachmentFiles(java.util.List<ConversationAttachmentFiles> attachmentFiles)
A list of files that will be added as attachments.
- Specified by:
attachmentFilesin interfaceContactReplyIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentFiles
public ContactReplyIntercomUserIdRequest._FinalStage attachmentFiles(java.util.Optional<java.util.List<ConversationAttachmentFiles>> attachmentFiles)
A list of files that will be added as attachments.
- Specified by:
attachmentFilesin interfaceContactReplyIntercomUserIdRequest._FinalStage
-
replyOptions
public ContactReplyIntercomUserIdRequest._FinalStage replyOptions(java.util.List<ContactReplyIntercomUserIdRequest.ReplyOptionsItem> replyOptions)
The quick reply selection the contact wishes to respond with. These map to buttons displayed in the Messenger UI if sent by a bot, or the reply options sent by an Admin via the API.
- Specified by:
replyOptionsin interfaceContactReplyIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
replyOptions
public ContactReplyIntercomUserIdRequest._FinalStage replyOptions(java.util.Optional<java.util.List<ContactReplyIntercomUserIdRequest.ReplyOptionsItem>> replyOptions)
The quick reply selection the contact wishes to respond with. These map to buttons displayed in the Messenger UI if sent by a bot, or the reply options sent by an Admin via the API.
- Specified by:
replyOptionsin interfaceContactReplyIntercomUserIdRequest._FinalStage
-
attachmentUrls
public ContactReplyIntercomUserIdRequest._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 interfaceContactReplyIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentUrls
public ContactReplyIntercomUserIdRequest._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 interfaceContactReplyIntercomUserIdRequest._FinalStage
-
createdAt
public ContactReplyIntercomUserIdRequest._FinalStage createdAt(java.lang.Integer createdAt)
The time the reply was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceContactReplyIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public ContactReplyIntercomUserIdRequest._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 interfaceContactReplyIntercomUserIdRequest._FinalStage
-
build
public ContactReplyIntercomUserIdRequest build()
- Specified by:
buildin interfaceContactReplyIntercomUserIdRequest._FinalStage
-
-