Package com.intercom.api.types
Class ContactArchived.Builder
java.lang.Object
com.intercom.api.types.ContactArchived.Builder
- All Implemented Interfaces:
ContactArchived._FinalStage,ContactArchived.ArchivedStage,ContactArchived.IdStage
- Enclosing class:
ContactArchived
public static final class ContactArchived.Builder
extends Object
implements ContactArchived.IdStage, ContactArchived.ArchivedStage, ContactArchived._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionarchived(boolean archived) Whether the contact is archived or not.build()externalId(String externalId) The unique identifier for the contact which is provided by the Client.externalId(Optional<String> externalId) from(ContactArchived other) The unique identifier for the contact which is given by Intercom.
-
Method Details
-
from
- Specified by:
fromin interfaceContactArchived.IdStage
-
id
The unique identifier for the contact which is given by Intercom.
- Specified by:
idin interfaceContactArchived.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
Whether the contact is archived or not.
- Specified by:
archivedin interfaceContactArchived.ArchivedStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
The unique identifier for the contact which is provided by the Client.
- Specified by:
externalIdin interfaceContactArchived._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
- Specified by:
externalIdin interfaceContactArchived._FinalStage
-
build
- Specified by:
buildin interfaceContactArchived._FinalStage
-