Package com.intercom.api.types
Class ContactUnarchived.Builder
java.lang.Object
com.intercom.api.types.ContactUnarchived.Builder
- All Implemented Interfaces:
ContactUnarchived._FinalStage,ContactUnarchived.ArchivedStage,ContactUnarchived.IdStage
- Enclosing class:
ContactUnarchived
public static final class ContactUnarchived.Builder
extends Object
implements ContactUnarchived.IdStage, ContactUnarchived.ArchivedStage, ContactUnarchived._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(ContactUnarchived other) The unique identifier for the contact which is given by Intercom.
-
Method Details
-
from
- Specified by:
fromin interfaceContactUnarchived.IdStage
-
id
The unique identifier for the contact which is given by Intercom.
- Specified by:
idin interfaceContactUnarchived.IdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
archived
Whether the contact is archived or not.
- Specified by:
archivedin interfaceContactUnarchived.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 interfaceContactUnarchived._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
externalId
- Specified by:
externalIdin interfaceContactUnarchived._FinalStage
-
build
- Specified by:
buildin interfaceContactUnarchived._FinalStage
-