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