Class AttachContactToConversationRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.conversations.requests.AttachContactToConversationRequest.Builder
-
- All Implemented Interfaces:
AttachContactToConversationRequest._FinalStage,AttachContactToConversationRequest.ConversationIdStage
- Enclosing class:
- AttachContactToConversationRequest
public static final class AttachContactToConversationRequest.Builder extends java.lang.Object implements AttachContactToConversationRequest.ConversationIdStage, AttachContactToConversationRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachContactToConversationRequest._FinalStageadminId(java.lang.String adminId)Theidof the admin who is adding the new participant.AttachContactToConversationRequest._FinalStageadminId(java.util.Optional<java.lang.String> adminId)Theidof the admin who is adding the new participant.AttachContactToConversationRequestbuild()AttachContactToConversationRequest._FinalStageconversationId(java.lang.String conversationId)The identifier for the conversation as given by Intercom.AttachContactToConversationRequest._FinalStagecustomer(AttachContactToConversationRequest.Customer customer)AttachContactToConversationRequest._FinalStagecustomer(java.util.Optional<AttachContactToConversationRequest.Customer> customer)AttachContactToConversationRequest.Builderfrom(AttachContactToConversationRequest other)
-
-
-
Method Detail
-
from
public AttachContactToConversationRequest.Builder from(AttachContactToConversationRequest other)
- Specified by:
fromin interfaceAttachContactToConversationRequest.ConversationIdStage
-
conversationId
public AttachContactToConversationRequest._FinalStage conversationId(@NotNull java.lang.String conversationId)
The identifier for the conversation as given by Intercom.
The identifier for the conversation as given by Intercom.
- Specified by:
conversationIdin interfaceAttachContactToConversationRequest.ConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customer
public AttachContactToConversationRequest._FinalStage customer(AttachContactToConversationRequest.Customer customer)
- Specified by:
customerin interfaceAttachContactToConversationRequest._FinalStage
-
customer
public AttachContactToConversationRequest._FinalStage customer(java.util.Optional<AttachContactToConversationRequest.Customer> customer)
- Specified by:
customerin interfaceAttachContactToConversationRequest._FinalStage
-
adminId
public AttachContactToConversationRequest._FinalStage adminId(java.lang.String adminId)
The
idof the admin who is adding the new participant.- Specified by:
adminIdin interfaceAttachContactToConversationRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
adminId
public AttachContactToConversationRequest._FinalStage adminId(java.util.Optional<java.lang.String> adminId)
The
idof the admin who is adding the new participant.- Specified by:
adminIdin interfaceAttachContactToConversationRequest._FinalStage
-
build
public AttachContactToConversationRequest build()
- Specified by:
buildin interfaceAttachContactToConversationRequest._FinalStage
-
-