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