Class UpdateContactRequest.Builder
java.lang.Object
com.intercom.api.resources.contacts.requests.UpdateContactRequest.Builder
- All Implemented Interfaces:
UpdateContactRequest._FinalStage,UpdateContactRequest.ContactIdStage
- Enclosing class:
UpdateContactRequest
public static final class UpdateContactRequest.Builder
extends Object
implements UpdateContactRequest.ContactIdStage, UpdateContactRequest._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionAn image URL containing the avatar of a contactbuild()idcustomAttributes(Map<String, Object> customAttributes) The custom attributes which are set for the contactcustomAttributes(Optional<Map<String, Object>> customAttributes) The contacts emailexternalId(String externalId) A unique identifier for the contact which is given to IntercomexternalId(Optional<String> externalId) from(UpdateContactRequest other) lastSeenAt(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 phoneThe role of the contact.signedUpAt(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 interfaceUpdateContactRequest.ContactIdStage
-
contactId
id
- Specified by:
contactIdin interfaceUpdateContactRequest.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
The custom attributes which are set for the contact
- Specified by:
customAttributesin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public UpdateContactRequest._FinalStage customAttributes(Optional<Map<String, Object>> customAttributes) - Specified by:
customAttributesin interfaceUpdateContactRequest._FinalStage
-
unsubscribedFromEmails
Whether the contact is unsubscribed from emails
- Specified by:
unsubscribedFromEmailsin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
unsubscribedFromEmails
public UpdateContactRequest._FinalStage unsubscribedFromEmails(Optional<Boolean> unsubscribedFromEmails) - Specified by:
unsubscribedFromEmailsin interfaceUpdateContactRequest._FinalStage
-
ownerId
The id of an admin that has been assigned account ownership of the contact
- Specified by:
ownerIdin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ownerId
- Specified by:
ownerIdin interfaceUpdateContactRequest._FinalStage
-
lastSeenAt
The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)
- Specified by:
lastSeenAtin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastSeenAt
- Specified by:
lastSeenAtin interfaceUpdateContactRequest._FinalStage
-
signedUpAt
The time specified for when a contact signed up
- Specified by:
signedUpAtin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
signedUpAt
- Specified by:
signedUpAtin interfaceUpdateContactRequest._FinalStage
-
avatar
An image URL containing the avatar of a contact
- Specified by:
avatarin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatar
- Specified by:
avatarin interfaceUpdateContactRequest._FinalStage
-
name
The contacts name
- Specified by:
namein interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceUpdateContactRequest._FinalStage
-
phone
The contacts phone
- Specified by:
phonein interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
phone
- Specified by:
phonein interfaceUpdateContactRequest._FinalStage
-
email
The contacts email
- Specified by:
emailin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
- Specified by:
emailin interfaceUpdateContactRequest._FinalStage
-
externalId
A unique identifier for the contact which is given to Intercom
- Specified by:
externalIdin interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
- Specified by:
externalIdin interfaceUpdateContactRequest._FinalStage
-
role
The role of the contact.
- Specified by:
rolein interfaceUpdateContactRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
role
- Specified by:
rolein interfaceUpdateContactRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateContactRequest._FinalStage
-