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