Class Contact.Builder
- All Implemented Interfaces:
Contact._FinalStage,Contact.CreatedAtStage,Contact.HasHardBouncedStage,Contact.IdStage,Contact.LocationStage,Contact.MarkedEmailAsSpamStage,Contact.RoleStage,Contact.SocialProfilesStage,Contact.UnsubscribedFromEmailsStage,Contact.UpdatedAtStage,Contact.WorkspaceIdStage
- Enclosing class:
Contact
-
Method Summary
Modifier and TypeMethodDescriptionandroidAppName(String androidAppName) The name of the Android app which the contact is using.androidAppName(Optional<String> androidAppName) androidAppVersion(String androidAppVersion) The version of the Android app which the contact is using.androidAppVersion(Optional<String> androidAppVersion) androidDevice(String androidDevice) The Android device which the contact is using.androidDevice(Optional<String> androidDevice) androidLastSeenAt(Integer androidLastSeenAt) (UNIX timestamp) The time when the contact was last seen on an Android device.androidLastSeenAt(Optional<Integer> androidLastSeenAt) androidOsVersion(String androidOsVersion) The version of the Android OS which the contact is using.androidOsVersion(Optional<String> androidOsVersion) androidSdkVersion(String androidSdkVersion) The version of the Android SDK which the contact is using.androidSdkVersion(Optional<String> androidSdkVersion) An image URL containing the avatar of a contact.The name of the browser which the contact is using.browserLanguage(String browserLanguage) The language set by the browser which the contact is using.browserLanguage(Optional<String> browserLanguage) browserVersion(String browserVersion) The version of the browser which the contact is using.browserVersion(Optional<String> browserVersion) build()companies(ContactCompanies companies) companies(Optional<ContactCompanies> companies) createdAt(int createdAt) (UNIX timestamp) The time when the contact was created.customAttributes(Map<String, Object> customAttributes) The custom attributes which are set for the contact.customAttributes(Optional<Map<String, Object>> customAttributes) The contact's email.emailDomain(String emailDomain) The contact's email domain.emailDomain(Optional<String> emailDomain) externalId(String externalId) The unique identifier for the contact which is provided by the Client.externalId(Optional<String> externalId) formattedPhone(String formattedPhone) The contacts phone number normalized to the E164 formatformattedPhone(Optional<String> formattedPhone) hasHardBounced(boolean hasHardBounced) Whether the contact has had an email sent to them hard bounce.The unique identifier for the contact which is given by Intercom.iosAppName(String iosAppName) The name of the iOS app which the contact is using.iosAppName(Optional<String> iosAppName) iosAppVersion(String iosAppVersion) The version of the iOS app which the contact is using.iosAppVersion(Optional<String> iosAppVersion) The iOS device which the contact is using.iosLastSeenAt(Integer iosLastSeenAt) (UNIX timestamp) The last time the contact used the iOS app.iosLastSeenAt(Optional<Integer> iosLastSeenAt) iosOsVersion(String iosOsVersion) The version of iOS which the contact is using.iosOsVersion(Optional<String> iosOsVersion) iosSdkVersion(String iosSdkVersion) The version of the iOS SDK which the contact is using.iosSdkVersion(Optional<String> iosSdkVersion) languageOverride(String languageOverride) A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.languageOverride(Optional<String> languageOverride) lastContactedAt(Integer lastContactedAt) (UNIX timestamp) The time when the contact was last messaged.lastContactedAt(Optional<Integer> lastContactedAt) lastEmailClickedAt(Integer lastEmailClickedAt) (UNIX timestamp) The time when the contact last clicked a link in an email.lastEmailClickedAt(Optional<Integer> lastEmailClickedAt) lastEmailOpenedAt(Integer lastEmailOpenedAt) (UNIX timestamp) The time when the contact last opened an email.lastEmailOpenedAt(Optional<Integer> lastEmailOpenedAt) lastRepliedAt(Integer lastRepliedAt) (UNIX timestamp) The time when the contact last messaged in.lastRepliedAt(Optional<Integer> lastRepliedAt) lastSeenAt(Integer lastSeenAt) (UNIX timestamp) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually).lastSeenAt(Optional<Integer> lastSeenAt) location(ContactLocation location) markedEmailAsSpam(boolean markedEmailAsSpam) Whether the contact has marked an email sent to them as spam.The contacts name.notes(ContactNotes notes) notes(Optional<ContactNotes> notes) The operating system which the contact is using.The id of an admin that has been assigned account ownership of the contact.The contacts phone.The role of the contact.signedUpAt(Integer signedUpAt) (UNIX timestamp) The time specified for when a contact signed up.signedUpAt(Optional<Integer> signedUpAt) socialProfiles(ContactSocialProfiles socialProfiles) tags(ContactTags tags) tags(Optional<ContactTags> tags) The type of object.unsubscribedFromEmails(boolean unsubscribedFromEmails) Whether the contact is unsubscribed from emails.updatedAt(int updatedAt) (UNIX timestamp) The time when the contact was last updated.workspaceId(String workspaceId) The id of the workspace which the contact belongs to.
-
Method Details
-
from
- Specified by:
fromin interfaceContact.IdStage
-
id
The unique identifier for the contact which is given by Intercom.
- Specified by:
idin interfaceContact.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
workspaceId
The id of the workspace which the contact belongs to.
- Specified by:
workspaceIdin interfaceContact.WorkspaceIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
role
The role of the contact.
- Specified by:
rolein interfaceContact.RoleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
hasHardBounced
Whether the contact has had an email sent to them hard bounce.
- Specified by:
hasHardBouncedin interfaceContact.HasHardBouncedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
markedEmailAsSpam
Whether the contact has marked an email sent to them as spam.
- Specified by:
markedEmailAsSpamin interfaceContact.MarkedEmailAsSpamStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
unsubscribedFromEmails
Whether the contact is unsubscribed from emails.
- Specified by:
unsubscribedFromEmailsin interfaceContact.UnsubscribedFromEmailsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
(UNIX timestamp) The time when the contact was created.
- Specified by:
createdAtin interfaceContact.CreatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
updatedAt
(UNIX timestamp) The time when the contact was last updated.
- Specified by:
updatedAtin interfaceContact.UpdatedAtStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
location
- Specified by:
locationin interfaceContact.LocationStage
-
companies
- Specified by:
companiesin interfaceContact._FinalStage
-
companies
- Specified by:
companiesin interfaceContact._FinalStage
-
notes
- Specified by:
notesin interfaceContact._FinalStage
-
notes
- Specified by:
notesin interfaceContact._FinalStage
-
tags
- Specified by:
tagsin interfaceContact._FinalStage
-
tags
- Specified by:
tagsin interfaceContact._FinalStage
-
avatar
An image URL containing the avatar of a contact.
- Specified by:
avatarin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatar
- Specified by:
avatarin interfaceContact._FinalStage
-
customAttributes
The custom attributes which are set for the contact.
- Specified by:
customAttributesin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
- Specified by:
customAttributesin interfaceContact._FinalStage
-
iosLastSeenAt
(UNIX timestamp) The last time the contact used the iOS app.
- Specified by:
iosLastSeenAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iosLastSeenAt
- Specified by:
iosLastSeenAtin interfaceContact._FinalStage
-
iosSdkVersion
The version of the iOS SDK which the contact is using.
- Specified by:
iosSdkVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iosSdkVersion
- Specified by:
iosSdkVersionin interfaceContact._FinalStage
-
iosOsVersion
The version of iOS which the contact is using.
- Specified by:
iosOsVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iosOsVersion
- Specified by:
iosOsVersionin interfaceContact._FinalStage
-
iosDevice
The iOS device which the contact is using.
- Specified by:
iosDevicein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iosDevice
- Specified by:
iosDevicein interfaceContact._FinalStage
-
iosAppVersion
The version of the iOS app which the contact is using.
- Specified by:
iosAppVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iosAppVersion
- Specified by:
iosAppVersionin interfaceContact._FinalStage
-
iosAppName
The name of the iOS app which the contact is using.
- Specified by:
iosAppNamein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
iosAppName
- Specified by:
iosAppNamein interfaceContact._FinalStage
-
androidLastSeenAt
(UNIX timestamp) The time when the contact was last seen on an Android device.
- Specified by:
androidLastSeenAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
androidLastSeenAt
- Specified by:
androidLastSeenAtin interfaceContact._FinalStage
-
androidSdkVersion
The version of the Android SDK which the contact is using.
- Specified by:
androidSdkVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
androidSdkVersion
- Specified by:
androidSdkVersionin interfaceContact._FinalStage
-
androidOsVersion
The version of the Android OS which the contact is using.
- Specified by:
androidOsVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
androidOsVersion
- Specified by:
androidOsVersionin interfaceContact._FinalStage
-
androidDevice
The Android device which the contact is using.
- Specified by:
androidDevicein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
androidDevice
- Specified by:
androidDevicein interfaceContact._FinalStage
-
androidAppVersion
The version of the Android app which the contact is using.
- Specified by:
androidAppVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
androidAppVersion
- Specified by:
androidAppVersionin interfaceContact._FinalStage
-
androidAppName
The name of the Android app which the contact is using.
- Specified by:
androidAppNamein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
androidAppName
- Specified by:
androidAppNamein interfaceContact._FinalStage
-
os
The operating system which the contact is using.
- Specified by:
osin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
os
- Specified by:
osin interfaceContact._FinalStage
-
browserLanguage
The language set by the browser which the contact is using.
- Specified by:
browserLanguagein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
browserLanguage
- Specified by:
browserLanguagein interfaceContact._FinalStage
-
browserVersion
The version of the browser which the contact is using.
- Specified by:
browserVersionin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
browserVersion
- Specified by:
browserVersionin interfaceContact._FinalStage
-
browser
The name of the browser which the contact is using.
- Specified by:
browserin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
browser
- Specified by:
browserin interfaceContact._FinalStage
-
languageOverride
A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.
- Specified by:
languageOverridein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
languageOverride
- Specified by:
languageOverridein interfaceContact._FinalStage
-
lastEmailClickedAt
(UNIX timestamp) The time when the contact last clicked a link in an email.
- Specified by:
lastEmailClickedAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastEmailClickedAt
- Specified by:
lastEmailClickedAtin interfaceContact._FinalStage
-
lastEmailOpenedAt
(UNIX timestamp) The time when the contact last opened an email.
- Specified by:
lastEmailOpenedAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastEmailOpenedAt
- Specified by:
lastEmailOpenedAtin interfaceContact._FinalStage
-
lastContactedAt
(UNIX timestamp) The time when the contact was last messaged.
- Specified by:
lastContactedAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastContactedAt
- Specified by:
lastContactedAtin interfaceContact._FinalStage
-
lastRepliedAt
(UNIX timestamp) The time when the contact last messaged in.
- Specified by:
lastRepliedAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastRepliedAt
- Specified by:
lastRepliedAtin interfaceContact._FinalStage
-
lastSeenAt
(UNIX timestamp) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually).
- Specified by:
lastSeenAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastSeenAt
- Specified by:
lastSeenAtin interfaceContact._FinalStage
-
signedUpAt
(UNIX timestamp) The time specified for when a contact signed up.
- Specified by:
signedUpAtin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
signedUpAt
- Specified by:
signedUpAtin interfaceContact._FinalStage
-
ownerId
The id of an admin that has been assigned account ownership of the contact.
- Specified by:
ownerIdin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ownerId
- Specified by:
ownerIdin interfaceContact._FinalStage
-
name
The contacts name.
- Specified by:
namein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceContact._FinalStage
-
formattedPhone
The contacts phone number normalized to the E164 format
- Specified by:
formattedPhonein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
formattedPhone
- Specified by:
formattedPhonein interfaceContact._FinalStage
-
phone
The contacts phone.
- Specified by:
phonein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
phone
- Specified by:
phonein interfaceContact._FinalStage
-
emailDomain
The contact's email domain.
- Specified by:
emailDomainin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
emailDomain
- Specified by:
emailDomainin interfaceContact._FinalStage
-
email
The contact's email.
- Specified by:
emailin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
- Specified by:
emailin interfaceContact._FinalStage
-
externalId
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
- Specified by:
externalIdin interfaceContact._FinalStage
-
type
The type of object.
- Specified by:
typein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
type
- Specified by:
typein interfaceContact._FinalStage
-
build
- Specified by:
buildin interfaceContact._FinalStage
-
socialProfiles
socialProfilesin interfaceContact.SocialProfilesStage