Class Contact.Builder
- java.lang.Object
-
- com.intercom.api.resources.contacts.types.Contact.Builder
-
- All Implemented Interfaces:
Contact._FinalStage,Contact.CreatedAtStage,Contact.HasHardBouncedStage,Contact.IdStage,Contact.MarkedEmailAsSpamStage,Contact.RoleStage,Contact.UnsubscribedFromEmailsStage,Contact.UpdatedAtStage,Contact.WorkspaceIdStage
- Enclosing class:
- Contact
public static final class Contact.Builder extends java.lang.Object implements Contact.IdStage, Contact.WorkspaceIdStage, Contact.RoleStage, Contact.HasHardBouncedStage, Contact.MarkedEmailAsSpamStage, Contact.UnsubscribedFromEmailsStage, Contact.CreatedAtStage, Contact.UpdatedAtStage, Contact._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contact._FinalStageandroidAppName(java.lang.String androidAppName)The name of the Android app which the contact is using.Contact._FinalStageandroidAppName(java.util.Optional<java.lang.String> androidAppName)The name of the Android app which the contact is using.Contact._FinalStageandroidAppVersion(java.lang.String androidAppVersion)The version of the Android app which the contact is using.Contact._FinalStageandroidAppVersion(java.util.Optional<java.lang.String> androidAppVersion)The version of the Android app which the contact is using.Contact._FinalStageandroidDevice(java.lang.String androidDevice)The Android device which the contact is using.Contact._FinalStageandroidDevice(java.util.Optional<java.lang.String> androidDevice)The Android device which the contact is using.Contact._FinalStageandroidLastSeenAt(java.lang.Integer androidLastSeenAt)(UNIX timestamp) The time when the contact was last seen on an Android device.Contact._FinalStageandroidLastSeenAt(java.util.Optional<java.lang.Integer> androidLastSeenAt)(UNIX timestamp) The time when the contact was last seen on an Android device.Contact._FinalStageandroidOsVersion(java.lang.String androidOsVersion)The version of the Android OS which the contact is using.Contact._FinalStageandroidOsVersion(java.util.Optional<java.lang.String> androidOsVersion)The version of the Android OS which the contact is using.Contact._FinalStageandroidSdkVersion(java.lang.String androidSdkVersion)The version of the Android SDK which the contact is using.Contact._FinalStageandroidSdkVersion(java.util.Optional<java.lang.String> androidSdkVersion)The version of the Android SDK which the contact is using.Contact._FinalStageavatar(java.lang.String avatar)An image URL containing the avatar of a contact.Contact._FinalStageavatar(java.util.Optional<java.lang.String> avatar)An image URL containing the avatar of a contact.Contact._FinalStagebrowser(java.lang.String browser)The name of the browser which the contact is using.Contact._FinalStagebrowser(java.util.Optional<java.lang.String> browser)The name of the browser which the contact is using.Contact._FinalStagebrowserLanguage(java.lang.String browserLanguage)The language set by the browser which the contact is using.Contact._FinalStagebrowserLanguage(java.util.Optional<java.lang.String> browserLanguage)The language set by the browser which the contact is using.Contact._FinalStagebrowserVersion(java.lang.String browserVersion)The version of the browser which the contact is using.Contact._FinalStagebrowserVersion(java.util.Optional<java.lang.String> browserVersion)The version of the browser which the contact is using.Contactbuild()Contact._FinalStagecompanies(ContactCompanies companies)Contact._FinalStagecompanies(java.util.Optional<ContactCompanies> companies)Contact.UpdatedAtStagecreatedAt(int createdAt)(UNIX timestamp) The time when the contact was created.Contact._FinalStagecustomAttributes(java.util.Map<java.lang.String,java.lang.Object> customAttributes)The custom attributes which are set for the contact.Contact._FinalStagecustomAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> customAttributes)The custom attributes which are set for the contact.Contact._FinalStageemail(java.lang.String email)The contact's email.Contact._FinalStageemail(java.util.Optional<java.lang.String> email)The contact's email.Contact._FinalStageemailDomain(java.lang.String emailDomain)The contact's email domain.Contact._FinalStageemailDomain(java.util.Optional<java.lang.String> emailDomain)The contact's email domain.Contact._FinalStageexternalId(java.lang.String externalId)The unique identifier for the contact which is provided by the Client.Contact._FinalStageexternalId(java.util.Optional<java.lang.String> externalId)The unique identifier for the contact which is provided by the Client.Contact.Builderfrom(Contact other)Contact.MarkedEmailAsSpamStagehasHardBounced(boolean hasHardBounced)Whether the contact has had an email sent to them hard bounce.Contact.WorkspaceIdStageid(java.lang.String id)The unique identifier for the contact which is given by Intercom.Contact._FinalStageiosAppName(java.lang.String iosAppName)The name of the iOS app which the contact is using.Contact._FinalStageiosAppName(java.util.Optional<java.lang.String> iosAppName)The name of the iOS app which the contact is using.Contact._FinalStageiosAppVersion(java.lang.String iosAppVersion)The version of the iOS app which the contact is using.Contact._FinalStageiosAppVersion(java.util.Optional<java.lang.String> iosAppVersion)The version of the iOS app which the contact is using.Contact._FinalStageiosDevice(java.lang.String iosDevice)The iOS device which the contact is using.Contact._FinalStageiosDevice(java.util.Optional<java.lang.String> iosDevice)The iOS device which the contact is using.Contact._FinalStageiosLastSeenAt(java.lang.Integer iosLastSeenAt)(UNIX timestamp) The last time the contact used the iOS app.Contact._FinalStageiosLastSeenAt(java.util.Optional<java.lang.Integer> iosLastSeenAt)(UNIX timestamp) The last time the contact used the iOS app.Contact._FinalStageiosOsVersion(java.lang.String iosOsVersion)The version of iOS which the contact is using.Contact._FinalStageiosOsVersion(java.util.Optional<java.lang.String> iosOsVersion)The version of iOS which the contact is using.Contact._FinalStageiosSdkVersion(java.lang.String iosSdkVersion)The version of the iOS SDK which the contact is using.Contact._FinalStageiosSdkVersion(java.util.Optional<java.lang.String> iosSdkVersion)The version of the iOS SDK which the contact is using.Contact._FinalStagelanguageOverride(java.lang.String languageOverride)A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.Contact._FinalStagelanguageOverride(java.util.Optional<java.lang.String> languageOverride)A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.Contact._FinalStagelastContactedAt(java.lang.Integer lastContactedAt)(UNIX timestamp) The time when the contact was last messaged.Contact._FinalStagelastContactedAt(java.util.Optional<java.lang.Integer> lastContactedAt)(UNIX timestamp) The time when the contact was last messaged.Contact._FinalStagelastEmailClickedAt(java.lang.Integer lastEmailClickedAt)(UNIX timestamp) The time when the contact last clicked a link in an email.Contact._FinalStagelastEmailClickedAt(java.util.Optional<java.lang.Integer> lastEmailClickedAt)(UNIX timestamp) The time when the contact last clicked a link in an email.Contact._FinalStagelastEmailOpenedAt(java.lang.Integer lastEmailOpenedAt)(UNIX timestamp) The time when the contact last opened an email.Contact._FinalStagelastEmailOpenedAt(java.util.Optional<java.lang.Integer> lastEmailOpenedAt)(UNIX timestamp) The time when the contact last opened an email.Contact._FinalStagelastRepliedAt(java.lang.Integer lastRepliedAt)(UNIX timestamp) The time when the contact last messaged in.Contact._FinalStagelastRepliedAt(java.util.Optional<java.lang.Integer> lastRepliedAt)(UNIX timestamp) The time when the contact last messaged in.Contact._FinalStagelastSeenAt(java.lang.Integer lastSeenAt)(UNIX timestamp) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually).Contact._FinalStagelastSeenAt(java.util.Optional<java.lang.Integer> lastSeenAt)(UNIX timestamp) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually).Contact._FinalStagelocation(ContactLocation location)Contact._FinalStagelocation(java.util.Optional<ContactLocation> location)Contact.UnsubscribedFromEmailsStagemarkedEmailAsSpam(boolean markedEmailAsSpam)Whether the contact has marked an email sent to them as spam.Contact._FinalStagename(java.lang.String name)The contacts name.Contact._FinalStagename(java.util.Optional<java.lang.String> name)The contacts name.Contact._FinalStagenotes(ContactNotes notes)Contact._FinalStagenotes(java.util.Optional<ContactNotes> notes)Contact._FinalStageos(java.lang.String os)The operating system which the contact is using.Contact._FinalStageos(java.util.Optional<java.lang.String> os)The operating system which the contact is using.Contact._FinalStageownerId(java.lang.Integer ownerId)The id of an admin that has been assigned account ownership of the contact.Contact._FinalStageownerId(java.util.Optional<java.lang.Integer> ownerId)The id of an admin that has been assigned account ownership of the contact.Contact._FinalStagephone(java.lang.String phone)The contacts phone.Contact._FinalStagephone(java.util.Optional<java.lang.String> phone)The contacts phone.Contact.HasHardBouncedStagerole(java.lang.String role)The role of the contact.Contact._FinalStagesignedUpAt(java.lang.Integer signedUpAt)(UNIX timestamp) The time specified for when a contact signed up.Contact._FinalStagesignedUpAt(java.util.Optional<java.lang.Integer> signedUpAt)(UNIX timestamp) The time specified for when a contact signed up.Contact._FinalStagesocialProfiles(ContactSocialProfiles socialProfiles)Contact._FinalStagesocialProfiles(java.util.Optional<ContactSocialProfiles> socialProfiles)Contact._FinalStagetags(ContactTags tags)Contact._FinalStagetags(java.util.Optional<ContactTags> tags)Contact.CreatedAtStageunsubscribedFromEmails(boolean unsubscribedFromEmails)Whether the contact is unsubscribed from emails.Contact._FinalStageupdatedAt(int updatedAt)(UNIX timestamp) The time when the contact was last updated.Contact.RoleStageworkspaceId(java.lang.String workspaceId)The id of the workspace which the contact belongs to.
-
-
-
Method Detail
-
from
public Contact.Builder from(Contact other)
- Specified by:
fromin interfaceContact.IdStage
-
id
public Contact.WorkspaceIdStage id(@NotNull java.lang.String id)
The unique identifier for the contact which is given by Intercom.
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
public Contact.RoleStage workspaceId(@NotNull java.lang.String workspaceId)
The id of the workspace which the contact belongs to.
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
public Contact.HasHardBouncedStage role(@NotNull java.lang.String role)
The role of the contact.
The role of the contact.
- Specified by:
rolein interfaceContact.RoleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
hasHardBounced
public Contact.MarkedEmailAsSpamStage hasHardBounced(boolean hasHardBounced)
Whether the contact has had an email sent to them hard bounce.
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
public Contact.UnsubscribedFromEmailsStage markedEmailAsSpam(boolean markedEmailAsSpam)
Whether the contact has marked an email sent to them as spam.
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
public Contact.CreatedAtStage unsubscribedFromEmails(boolean unsubscribedFromEmails)
Whether the contact is unsubscribed from emails.
Whether the contact is unsubscribed from emails.
- Specified by:
unsubscribedFromEmailsin interfaceContact.UnsubscribedFromEmailsStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
createdAt
public Contact.UpdatedAtStage createdAt(int createdAt)
(UNIX timestamp) The time when the contact was created.
(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
public Contact._FinalStage updatedAt(int updatedAt)
(UNIX timestamp) The time when the contact was last updated.
(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.
-
socialProfiles
public Contact._FinalStage socialProfiles(ContactSocialProfiles socialProfiles)
- Specified by:
socialProfilesin interfaceContact._FinalStage
-
socialProfiles
public Contact._FinalStage socialProfiles(java.util.Optional<ContactSocialProfiles> socialProfiles)
- Specified by:
socialProfilesin interfaceContact._FinalStage
-
location
public Contact._FinalStage location(ContactLocation location)
- Specified by:
locationin interfaceContact._FinalStage
-
location
public Contact._FinalStage location(java.util.Optional<ContactLocation> location)
- Specified by:
locationin interfaceContact._FinalStage
-
companies
public Contact._FinalStage companies(ContactCompanies companies)
- Specified by:
companiesin interfaceContact._FinalStage
-
companies
public Contact._FinalStage companies(java.util.Optional<ContactCompanies> companies)
- Specified by:
companiesin interfaceContact._FinalStage
-
notes
public Contact._FinalStage notes(ContactNotes notes)
- Specified by:
notesin interfaceContact._FinalStage
-
notes
public Contact._FinalStage notes(java.util.Optional<ContactNotes> notes)
- Specified by:
notesin interfaceContact._FinalStage
-
tags
public Contact._FinalStage tags(ContactTags tags)
- Specified by:
tagsin interfaceContact._FinalStage
-
tags
public Contact._FinalStage tags(java.util.Optional<ContactTags> tags)
- Specified by:
tagsin interfaceContact._FinalStage
-
avatar
public Contact._FinalStage avatar(java.lang.String 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
public Contact._FinalStage avatar(java.util.Optional<java.lang.String> avatar)
An image URL containing the avatar of a contact.
- Specified by:
avatarin interfaceContact._FinalStage
-
customAttributes
public Contact._FinalStage customAttributes(java.util.Map<java.lang.String,java.lang.Object> 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
public Contact._FinalStage customAttributes(java.util.Optional<java.util.Map<java.lang.String,java.lang.Object>> customAttributes)
The custom attributes which are set for the contact.
- Specified by:
customAttributesin interfaceContact._FinalStage
-
iosLastSeenAt
public Contact._FinalStage iosLastSeenAt(java.lang.Integer 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
public Contact._FinalStage iosLastSeenAt(java.util.Optional<java.lang.Integer> iosLastSeenAt)
(UNIX timestamp) The last time the contact used the iOS app.
- Specified by:
iosLastSeenAtin interfaceContact._FinalStage
-
iosSdkVersion
public Contact._FinalStage iosSdkVersion(java.lang.String 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
public Contact._FinalStage iosSdkVersion(java.util.Optional<java.lang.String> iosSdkVersion)
The version of the iOS SDK which the contact is using.
- Specified by:
iosSdkVersionin interfaceContact._FinalStage
-
iosOsVersion
public Contact._FinalStage iosOsVersion(java.lang.String 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
public Contact._FinalStage iosOsVersion(java.util.Optional<java.lang.String> iosOsVersion)
The version of iOS which the contact is using.
- Specified by:
iosOsVersionin interfaceContact._FinalStage
-
iosDevice
public Contact._FinalStage iosDevice(java.lang.String 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
public Contact._FinalStage iosDevice(java.util.Optional<java.lang.String> iosDevice)
The iOS device which the contact is using.
- Specified by:
iosDevicein interfaceContact._FinalStage
-
iosAppVersion
public Contact._FinalStage iosAppVersion(java.lang.String 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
public Contact._FinalStage iosAppVersion(java.util.Optional<java.lang.String> iosAppVersion)
The version of the iOS app which the contact is using.
- Specified by:
iosAppVersionin interfaceContact._FinalStage
-
iosAppName
public Contact._FinalStage iosAppName(java.lang.String 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
public Contact._FinalStage iosAppName(java.util.Optional<java.lang.String> iosAppName)
The name of the iOS app which the contact is using.
- Specified by:
iosAppNamein interfaceContact._FinalStage
-
androidLastSeenAt
public Contact._FinalStage androidLastSeenAt(java.lang.Integer 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
public Contact._FinalStage androidLastSeenAt(java.util.Optional<java.lang.Integer> androidLastSeenAt)
(UNIX timestamp) The time when the contact was last seen on an Android device.
- Specified by:
androidLastSeenAtin interfaceContact._FinalStage
-
androidSdkVersion
public Contact._FinalStage androidSdkVersion(java.lang.String 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
public Contact._FinalStage androidSdkVersion(java.util.Optional<java.lang.String> androidSdkVersion)
The version of the Android SDK which the contact is using.
- Specified by:
androidSdkVersionin interfaceContact._FinalStage
-
androidOsVersion
public Contact._FinalStage androidOsVersion(java.lang.String 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
public Contact._FinalStage androidOsVersion(java.util.Optional<java.lang.String> androidOsVersion)
The version of the Android OS which the contact is using.
- Specified by:
androidOsVersionin interfaceContact._FinalStage
-
androidDevice
public Contact._FinalStage androidDevice(java.lang.String 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
public Contact._FinalStage androidDevice(java.util.Optional<java.lang.String> androidDevice)
The Android device which the contact is using.
- Specified by:
androidDevicein interfaceContact._FinalStage
-
androidAppVersion
public Contact._FinalStage androidAppVersion(java.lang.String 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
public Contact._FinalStage androidAppVersion(java.util.Optional<java.lang.String> androidAppVersion)
The version of the Android app which the contact is using.
- Specified by:
androidAppVersionin interfaceContact._FinalStage
-
androidAppName
public Contact._FinalStage androidAppName(java.lang.String 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
public Contact._FinalStage androidAppName(java.util.Optional<java.lang.String> androidAppName)
The name of the Android app which the contact is using.
- Specified by:
androidAppNamein interfaceContact._FinalStage
-
os
public Contact._FinalStage os(java.lang.String 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
public Contact._FinalStage os(java.util.Optional<java.lang.String> os)
The operating system which the contact is using.
- Specified by:
osin interfaceContact._FinalStage
-
browserLanguage
public Contact._FinalStage browserLanguage(java.lang.String 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
public Contact._FinalStage browserLanguage(java.util.Optional<java.lang.String> browserLanguage)
The language set by the browser which the contact is using.
- Specified by:
browserLanguagein interfaceContact._FinalStage
-
browserVersion
public Contact._FinalStage browserVersion(java.lang.String 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
public Contact._FinalStage browserVersion(java.util.Optional<java.lang.String> browserVersion)
The version of the browser which the contact is using.
- Specified by:
browserVersionin interfaceContact._FinalStage
-
browser
public Contact._FinalStage browser(java.lang.String 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
public Contact._FinalStage browser(java.util.Optional<java.lang.String> browser)
The name of the browser which the contact is using.
- Specified by:
browserin interfaceContact._FinalStage
-
languageOverride
public Contact._FinalStage languageOverride(java.lang.String 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
public Contact._FinalStage languageOverride(java.util.Optional<java.lang.String> languageOverride)
A preferred language setting for the contact, used by the Intercom Messenger even if their browser settings change.
- Specified by:
languageOverridein interfaceContact._FinalStage
-
lastEmailClickedAt
public Contact._FinalStage lastEmailClickedAt(java.lang.Integer 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
public Contact._FinalStage lastEmailClickedAt(java.util.Optional<java.lang.Integer> lastEmailClickedAt)
(UNIX timestamp) The time when the contact last clicked a link in an email.
- Specified by:
lastEmailClickedAtin interfaceContact._FinalStage
-
lastEmailOpenedAt
public Contact._FinalStage lastEmailOpenedAt(java.lang.Integer 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
public Contact._FinalStage lastEmailOpenedAt(java.util.Optional<java.lang.Integer> lastEmailOpenedAt)
(UNIX timestamp) The time when the contact last opened an email.
- Specified by:
lastEmailOpenedAtin interfaceContact._FinalStage
-
lastContactedAt
public Contact._FinalStage lastContactedAt(java.lang.Integer 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
public Contact._FinalStage lastContactedAt(java.util.Optional<java.lang.Integer> lastContactedAt)
(UNIX timestamp) The time when the contact was last messaged.
- Specified by:
lastContactedAtin interfaceContact._FinalStage
-
lastRepliedAt
public Contact._FinalStage lastRepliedAt(java.lang.Integer 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
public Contact._FinalStage lastRepliedAt(java.util.Optional<java.lang.Integer> lastRepliedAt)
(UNIX timestamp) The time when the contact last messaged in.
- Specified by:
lastRepliedAtin interfaceContact._FinalStage
-
lastSeenAt
public Contact._FinalStage lastSeenAt(java.lang.Integer 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
public Contact._FinalStage lastSeenAt(java.util.Optional<java.lang.Integer> 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
-
signedUpAt
public Contact._FinalStage signedUpAt(java.lang.Integer 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
public Contact._FinalStage signedUpAt(java.util.Optional<java.lang.Integer> signedUpAt)
(UNIX timestamp) The time specified for when a contact signed up.
- Specified by:
signedUpAtin interfaceContact._FinalStage
-
ownerId
public Contact._FinalStage ownerId(java.lang.Integer 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
public Contact._FinalStage ownerId(java.util.Optional<java.lang.Integer> ownerId)
The id of an admin that has been assigned account ownership of the contact.
- Specified by:
ownerIdin interfaceContact._FinalStage
-
name
public Contact._FinalStage name(java.lang.String name)
The contacts name.
- Specified by:
namein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
public Contact._FinalStage name(java.util.Optional<java.lang.String> name)
The contacts name.
- Specified by:
namein interfaceContact._FinalStage
-
phone
public Contact._FinalStage phone(java.lang.String phone)
The contacts phone.
- Specified by:
phonein interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
phone
public Contact._FinalStage phone(java.util.Optional<java.lang.String> phone)
The contacts phone.
- Specified by:
phonein interfaceContact._FinalStage
-
emailDomain
public Contact._FinalStage emailDomain(java.lang.String emailDomain)
The contact's email domain.
- Specified by:
emailDomainin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
emailDomain
public Contact._FinalStage emailDomain(java.util.Optional<java.lang.String> emailDomain)
The contact's email domain.
- Specified by:
emailDomainin interfaceContact._FinalStage
-
email
public Contact._FinalStage email(java.lang.String email)
The contact's email.
- Specified by:
emailin interfaceContact._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
email
public Contact._FinalStage email(java.util.Optional<java.lang.String> email)
The contact's email.
- Specified by:
emailin interfaceContact._FinalStage
-
externalId
public Contact._FinalStage externalId(java.lang.String 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
public Contact._FinalStage externalId(java.util.Optional<java.lang.String> externalId)
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContact._FinalStage
-
build
public Contact build()
- Specified by:
buildin interfaceContact._FinalStage
-
-