Package com.intercom.api.types
Class CreateContactRequest.WithExternalId.Builder
java.lang.Object
com.intercom.api.types.CreateContactRequest.WithExternalId.Builder
- All Implemented Interfaces:
CreateContactRequest.WithExternalId._FinalStage,CreateContactRequest.WithExternalId.ExternalIdStage
- Enclosing class:
CreateContactRequest.WithExternalId
public static final class CreateContactRequest.WithExternalId.Builder
extends Object
implements CreateContactRequest.WithExternalId.ExternalIdStage, CreateContactRequest.WithExternalId._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionAn image URL containing the avatar of a contactbuild()customAttributes(Map<String, Object> customAttributes) The custom attributes which are set for the contactcustomAttributes(Optional<Map<String, Object>> customAttributes) externalId(String externalId) A unique identifier for the contact which is given to IntercomlastSeenAt(Integer lastSeenAt) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)lastSeenAt(Optional<Integer> lastSeenAt) The contacts nameThe id of an admin that has been assigned account ownership of the contactThe contacts phonesignedUpAt(Integer signedUpAt) The time specified for when a contact signed upsignedUpAt(Optional<Integer> signedUpAt) unsubscribedFromEmails(Boolean unsubscribedFromEmails) Whether the contact is unsubscribed from emailsunsubscribedFromEmails(Optional<Boolean> unsubscribedFromEmails)
-
Method Details
-
from
- Specified by:
fromin interfaceCreateContactRequest.WithExternalId.ExternalIdStage
-
externalId
A unique identifier for the contact which is given to Intercom
- Specified by:
externalIdin interfaceCreateContactRequest.WithExternalId.ExternalIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreateContactRequest.WithExternalId._FinalStage customAttributes(Map<String, Object> customAttributes) The custom attributes which are set for the contact
- Specified by:
customAttributesin interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreateContactRequest.WithExternalId._FinalStage customAttributes(Optional<Map<String, Object>> customAttributes) - Specified by:
customAttributesin interfaceCreateContactRequest.WithExternalId._FinalStage
-
unsubscribedFromEmails
public CreateContactRequest.WithExternalId._FinalStage unsubscribedFromEmails(Boolean unsubscribedFromEmails) Whether the contact is unsubscribed from emails
- Specified by:
unsubscribedFromEmailsin interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
unsubscribedFromEmails
public CreateContactRequest.WithExternalId._FinalStage unsubscribedFromEmails(Optional<Boolean> unsubscribedFromEmails) - Specified by:
unsubscribedFromEmailsin interfaceCreateContactRequest.WithExternalId._FinalStage
-
ownerId
The id of an admin that has been assigned account ownership of the contact
- Specified by:
ownerIdin interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ownerId
- Specified by:
ownerIdin interfaceCreateContactRequest.WithExternalId._FinalStage
-
lastSeenAt
The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)
- Specified by:
lastSeenAtin interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastSeenAt
- Specified by:
lastSeenAtin interfaceCreateContactRequest.WithExternalId._FinalStage
-
signedUpAt
The time specified for when a contact signed up
- Specified by:
signedUpAtin interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
signedUpAt
- Specified by:
signedUpAtin interfaceCreateContactRequest.WithExternalId._FinalStage
-
avatar
An image URL containing the avatar of a contact
- Specified by:
avatarin interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatar
- Specified by:
avatarin interfaceCreateContactRequest.WithExternalId._FinalStage
-
name
The contacts name
- Specified by:
namein interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceCreateContactRequest.WithExternalId._FinalStage
-
phone
The contacts phone
- Specified by:
phonein interfaceCreateContactRequest.WithExternalId._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
phone
- Specified by:
phonein interfaceCreateContactRequest.WithExternalId._FinalStage
-
build
- Specified by:
buildin interfaceCreateContactRequest.WithExternalId._FinalStage
-