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