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