Package com.intercom.api.types
Class CustomChannelNotificationResponse.Builder
- java.lang.Object
-
- com.intercom.api.types.CustomChannelNotificationResponse.Builder
-
- All Implemented Interfaces:
CustomChannelNotificationResponse._FinalStage,CustomChannelNotificationResponse.ContactIdStage,CustomChannelNotificationResponse.ConversationIdStage,CustomChannelNotificationResponse.ExternalContactIdStage,CustomChannelNotificationResponse.ExternalConversationIdStage
- Enclosing class:
- CustomChannelNotificationResponse
public static final class CustomChannelNotificationResponse.Builder extends java.lang.Object implements CustomChannelNotificationResponse.ExternalConversationIdStage, CustomChannelNotificationResponse.ConversationIdStage, CustomChannelNotificationResponse.ExternalContactIdStage, CustomChannelNotificationResponse.ContactIdStage, CustomChannelNotificationResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomChannelNotificationResponsebuild()CustomChannelNotificationResponse._FinalStagecontactId(java.lang.String contactId)The Intercom contact ID mapped to the external contact IDCustomChannelNotificationResponse.ExternalContactIdStageconversationId(java.lang.String conversationId)The Intercom conversation ID mapped to the external conversation IDCustomChannelNotificationResponse.ContactIdStageexternalContactId(java.lang.String externalContactId)The external contact ID provided in the notification requestCustomChannelNotificationResponse.ConversationIdStageexternalConversationId(java.lang.String externalConversationId)The external conversation ID provided in the notification requestCustomChannelNotificationResponse.Builderfrom(CustomChannelNotificationResponse other)
-
-
-
Method Detail
-
from
public CustomChannelNotificationResponse.Builder from(CustomChannelNotificationResponse other)
- Specified by:
fromin interfaceCustomChannelNotificationResponse.ExternalConversationIdStage
-
externalConversationId
public CustomChannelNotificationResponse.ConversationIdStage externalConversationId(@NotNull java.lang.String externalConversationId)
The external conversation ID provided in the notification request
The external conversation ID provided in the notification request
- Specified by:
externalConversationIdin interfaceCustomChannelNotificationResponse.ExternalConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
conversationId
public CustomChannelNotificationResponse.ExternalContactIdStage conversationId(@NotNull java.lang.String conversationId)
The Intercom conversation ID mapped to the external conversation ID
The Intercom conversation ID mapped to the external conversation ID
- Specified by:
conversationIdin interfaceCustomChannelNotificationResponse.ConversationIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalContactId
public CustomChannelNotificationResponse.ContactIdStage externalContactId(@NotNull java.lang.String externalContactId)
The external contact ID provided in the notification request
The external contact ID provided in the notification request
- Specified by:
externalContactIdin interfaceCustomChannelNotificationResponse.ExternalContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
contactId
public CustomChannelNotificationResponse._FinalStage contactId(@NotNull java.lang.String contactId)
The Intercom contact ID mapped to the external contact ID
The Intercom contact ID mapped to the external contact ID
- Specified by:
contactIdin interfaceCustomChannelNotificationResponse.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public CustomChannelNotificationResponse build()
- Specified by:
buildin interfaceCustomChannelNotificationResponse._FinalStage
-
-