Package com.intercom.api.types
Class ContactArchived.Builder
- java.lang.Object
-
- com.intercom.api.types.ContactArchived.Builder
-
- Enclosing class:
- ContactArchived
public static final class ContactArchived.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactArchived.Builderarchived(java.lang.Boolean archived)ContactArchived.Builderarchived(java.util.Optional<java.lang.Boolean> archived)Whether the contact is archived or not.ContactArchivedbuild()ContactArchived.BuilderexternalId(java.lang.String externalId)ContactArchived.BuilderexternalId(java.util.Optional<java.lang.String> externalId)The unique identifier for the contact which is provided by the Client.ContactArchived.Builderfrom(ContactArchived other)ContactArchived.Builderid(java.lang.String id)ContactArchived.Builderid(java.util.Optional<java.lang.String> id)The unique identifier for the contact which is given by Intercom.ContactArchived.Buildertype(java.lang.String type)ContactArchived.Buildertype(java.util.Optional<java.lang.String> type)always contact
-
-
-
Method Detail
-
from
public ContactArchived.Builder from(ContactArchived other)
-
type
public ContactArchived.Builder type(java.util.Optional<java.lang.String> type)
always contact
-
type
public ContactArchived.Builder type(java.lang.String type)
-
id
public ContactArchived.Builder id(java.util.Optional<java.lang.String> id)
The unique identifier for the contact which is given by Intercom.
-
id
public ContactArchived.Builder id(java.lang.String id)
-
externalId
public ContactArchived.Builder externalId(java.util.Optional<java.lang.String> externalId)
The unique identifier for the contact which is provided by the Client.
-
externalId
public ContactArchived.Builder externalId(java.lang.String externalId)
-
archived
public ContactArchived.Builder archived(java.util.Optional<java.lang.Boolean> archived)
Whether the contact is archived or not.
-
archived
public ContactArchived.Builder archived(java.lang.Boolean archived)
-
build
public ContactArchived build()
-
-