Package com.intercom.api.types
Class CreateContactRequest.WithRole.Builder
java.lang.Object
com.intercom.api.types.CreateContactRequest.WithRole.Builder
- All Implemented Interfaces:
CreateContactRequest.WithRole._FinalStage,CreateContactRequest.WithRole.RoleStage
- Enclosing class:
CreateContactRequest.WithRole
public static final class CreateContactRequest.WithRole.Builder
extends Object
implements CreateContactRequest.WithRole.RoleStage, CreateContactRequest.WithRole._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionAn image URL containing the avatar of a contactbuild()customAttributes(Map<String, Object> customAttributes) The custom attributes which are set for the contactcustomAttributes(Optional<Map<String, Object>> customAttributes) lastSeenAt(Integer lastSeenAt) The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)lastSeenAt(Optional<Integer> lastSeenAt) The contacts nameThe id of an admin that has been assigned account ownership of the contactThe contacts phoneThe role of the contact.signedUpAt(Integer signedUpAt) The time specified for when a contact signed upsignedUpAt(Optional<Integer> signedUpAt) unsubscribedFromEmails(Boolean unsubscribedFromEmails) Whether the contact is unsubscribed from emailsunsubscribedFromEmails(Optional<Boolean> unsubscribedFromEmails)
-
Method Details
-
from
- Specified by:
fromin interfaceCreateContactRequest.WithRole.RoleStage
-
role
The role of the contact.
- Specified by:
rolein interfaceCreateContactRequest.WithRole.RoleStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreateContactRequest.WithRole._FinalStage customAttributes(Map<String, Object> customAttributes) The custom attributes which are set for the contact
- Specified by:
customAttributesin interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
customAttributes
public CreateContactRequest.WithRole._FinalStage customAttributes(Optional<Map<String, Object>> customAttributes) - Specified by:
customAttributesin interfaceCreateContactRequest.WithRole._FinalStage
-
unsubscribedFromEmails
public CreateContactRequest.WithRole._FinalStage unsubscribedFromEmails(Boolean unsubscribedFromEmails) Whether the contact is unsubscribed from emails
- Specified by:
unsubscribedFromEmailsin interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
unsubscribedFromEmails
public CreateContactRequest.WithRole._FinalStage unsubscribedFromEmails(Optional<Boolean> unsubscribedFromEmails) - Specified by:
unsubscribedFromEmailsin interfaceCreateContactRequest.WithRole._FinalStage
-
ownerId
The id of an admin that has been assigned account ownership of the contact
- Specified by:
ownerIdin interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
ownerId
- Specified by:
ownerIdin interfaceCreateContactRequest.WithRole._FinalStage
-
lastSeenAt
The time when the contact was last seen (either where the Intercom Messenger was installed or when specified manually)
- Specified by:
lastSeenAtin interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
lastSeenAt
- Specified by:
lastSeenAtin interfaceCreateContactRequest.WithRole._FinalStage
-
signedUpAt
The time specified for when a contact signed up
- Specified by:
signedUpAtin interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
signedUpAt
- Specified by:
signedUpAtin interfaceCreateContactRequest.WithRole._FinalStage
-
avatar
An image URL containing the avatar of a contact
- Specified by:
avatarin interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
avatar
- Specified by:
avatarin interfaceCreateContactRequest.WithRole._FinalStage
-
name
The contacts name
- Specified by:
namein interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
name
- Specified by:
namein interfaceCreateContactRequest.WithRole._FinalStage
-
phone
The contacts phone
- Specified by:
phonein interfaceCreateContactRequest.WithRole._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
phone
- Specified by:
phonein interfaceCreateContactRequest.WithRole._FinalStage
-
build
- Specified by:
buildin interfaceCreateContactRequest.WithRole._FinalStage
-