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