Class ContactReplyTicketIntercomUserIdRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.ContactReplyTicketIntercomUserIdRequest.Builder
-
- All Implemented Interfaces:
ContactReplyTicketIntercomUserIdRequest._FinalStage,ContactReplyTicketIntercomUserIdRequest.BodyStage,ContactReplyTicketIntercomUserIdRequest.IntercomUserIdStage
- Enclosing class:
- ContactReplyTicketIntercomUserIdRequest
public static final class ContactReplyTicketIntercomUserIdRequest.Builder extends java.lang.Object implements ContactReplyTicketIntercomUserIdRequest.BodyStage, ContactReplyTicketIntercomUserIdRequest.IntercomUserIdStage, ContactReplyTicketIntercomUserIdRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactReplyTicketIntercomUserIdRequest._FinalStageattachmentUrls(java.util.List<java.lang.String> attachmentUrls)A list of image URLs that will be added as attachments.ContactReplyTicketIntercomUserIdRequest._FinalStageattachmentUrls(java.util.Optional<java.util.List<java.lang.String>> attachmentUrls)A list of image URLs that will be added as attachments.ContactReplyTicketIntercomUserIdRequest.IntercomUserIdStagebody(java.lang.String body)The text body of the comment.ContactReplyTicketIntercomUserIdRequestbuild()ContactReplyTicketIntercomUserIdRequest._FinalStagecreatedAt(java.lang.Integer createdAt)The time the reply was created.ContactReplyTicketIntercomUserIdRequest._FinalStagecreatedAt(java.util.Optional<java.lang.Integer> createdAt)The time the reply was created.ContactReplyTicketIntercomUserIdRequest.Builderfrom(ContactReplyTicketIntercomUserIdRequest other)ContactReplyTicketIntercomUserIdRequest._FinalStageintercomUserId(java.lang.String intercomUserId)The identifier for the contact as given by Intercom.ContactReplyTicketIntercomUserIdRequest._FinalStagereplyOptions(java.util.List<ContactReplyTicketIntercomUserIdRequest.ReplyOptionsItem> replyOptions)The quick reply selection the contact wishes to respond with.ContactReplyTicketIntercomUserIdRequest._FinalStagereplyOptions(java.util.Optional<java.util.List<ContactReplyTicketIntercomUserIdRequest.ReplyOptionsItem>> replyOptions)The quick reply selection the contact wishes to respond with.
-
-
-
Method Detail
-
from
public ContactReplyTicketIntercomUserIdRequest.Builder from(ContactReplyTicketIntercomUserIdRequest other)
- Specified by:
fromin interfaceContactReplyTicketIntercomUserIdRequest.BodyStage
-
body
public ContactReplyTicketIntercomUserIdRequest.IntercomUserIdStage body(@NotNull java.lang.String body)
The text body of the comment.
The text body of the comment.
- Specified by:
bodyin interfaceContactReplyTicketIntercomUserIdRequest.BodyStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
intercomUserId
public ContactReplyTicketIntercomUserIdRequest._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 interfaceContactReplyTicketIntercomUserIdRequest.IntercomUserIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
replyOptions
public ContactReplyTicketIntercomUserIdRequest._FinalStage replyOptions(java.util.List<ContactReplyTicketIntercomUserIdRequest.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 interfaceContactReplyTicketIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
replyOptions
public ContactReplyTicketIntercomUserIdRequest._FinalStage replyOptions(java.util.Optional<java.util.List<ContactReplyTicketIntercomUserIdRequest.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 interfaceContactReplyTicketIntercomUserIdRequest._FinalStage
-
attachmentUrls
public ContactReplyTicketIntercomUserIdRequest._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 interfaceContactReplyTicketIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
attachmentUrls
public ContactReplyTicketIntercomUserIdRequest._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 interfaceContactReplyTicketIntercomUserIdRequest._FinalStage
-
createdAt
public ContactReplyTicketIntercomUserIdRequest._FinalStage createdAt(java.lang.Integer createdAt)
The time the reply was created. If not provided, the current time will be used.
- Specified by:
createdAtin interfaceContactReplyTicketIntercomUserIdRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public ContactReplyTicketIntercomUserIdRequest._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 interfaceContactReplyTicketIntercomUserIdRequest._FinalStage
-
build
public ContactReplyTicketIntercomUserIdRequest build()
- Specified by:
buildin interfaceContactReplyTicketIntercomUserIdRequest._FinalStage
-
-