Class DetachSubscriptionFromContactRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.contacts.requests.DetachSubscriptionFromContactRequest.Builder
-
- All Implemented Interfaces:
DetachSubscriptionFromContactRequest._FinalStage,DetachSubscriptionFromContactRequest.ContactIdStage,DetachSubscriptionFromContactRequest.SubscriptionIdStage
- Enclosing class:
- DetachSubscriptionFromContactRequest
public static final class DetachSubscriptionFromContactRequest.Builder extends java.lang.Object implements DetachSubscriptionFromContactRequest.ContactIdStage, DetachSubscriptionFromContactRequest.SubscriptionIdStage, DetachSubscriptionFromContactRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetachSubscriptionFromContactRequestbuild()DetachSubscriptionFromContactRequest.SubscriptionIdStagecontactId(java.lang.String contactId)The unique identifier for the contact which is given by IntercomDetachSubscriptionFromContactRequest.Builderfrom(DetachSubscriptionFromContactRequest other)DetachSubscriptionFromContactRequest._FinalStagesubscriptionId(java.lang.String subscriptionId)The unique identifier for the subscription type which is given by Intercom
-
-
-
Method Detail
-
from
public DetachSubscriptionFromContactRequest.Builder from(DetachSubscriptionFromContactRequest other)
- Specified by:
fromin interfaceDetachSubscriptionFromContactRequest.ContactIdStage
-
contactId
public DetachSubscriptionFromContactRequest.SubscriptionIdStage contactId(@NotNull java.lang.String contactId)
The unique identifier for the contact which is given by Intercom
The unique identifier for the contact which is given by Intercom
- Specified by:
contactIdin interfaceDetachSubscriptionFromContactRequest.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
subscriptionId
public DetachSubscriptionFromContactRequest._FinalStage subscriptionId(@NotNull java.lang.String subscriptionId)
The unique identifier for the subscription type which is given by Intercom
The unique identifier for the subscription type which is given by Intercom
- Specified by:
subscriptionIdin interfaceDetachSubscriptionFromContactRequest.SubscriptionIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public DetachSubscriptionFromContactRequest build()
- Specified by:
buildin interfaceDetachSubscriptionFromContactRequest._FinalStage
-
-