Class DetachContactFromCompanyRequest.Builder
- java.lang.Object
-
- com.intercom.api.resources.companies.requests.DetachContactFromCompanyRequest.Builder
-
- All Implemented Interfaces:
DetachContactFromCompanyRequest._FinalStage,DetachContactFromCompanyRequest.CompanyIdStage,DetachContactFromCompanyRequest.ContactIdStage
- Enclosing class:
- DetachContactFromCompanyRequest
public static final class DetachContactFromCompanyRequest.Builder extends java.lang.Object implements DetachContactFromCompanyRequest.ContactIdStage, DetachContactFromCompanyRequest.CompanyIdStage, DetachContactFromCompanyRequest._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetachContactFromCompanyRequestbuild()DetachContactFromCompanyRequest._FinalStagecompanyId(java.lang.String companyId)The unique identifier for the company which is given by IntercomDetachContactFromCompanyRequest.CompanyIdStagecontactId(java.lang.String contactId)The unique identifier for the contact which is given by IntercomDetachContactFromCompanyRequest.Builderfrom(DetachContactFromCompanyRequest other)
-
-
-
Method Detail
-
from
public DetachContactFromCompanyRequest.Builder from(DetachContactFromCompanyRequest other)
- Specified by:
fromin interfaceDetachContactFromCompanyRequest.ContactIdStage
-
contactId
public DetachContactFromCompanyRequest.CompanyIdStage 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 interfaceDetachContactFromCompanyRequest.ContactIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
companyId
public DetachContactFromCompanyRequest._FinalStage companyId(@NotNull java.lang.String companyId)
The unique identifier for the company which is given by Intercom
The unique identifier for the company which is given by Intercom
- Specified by:
companyIdin interfaceDetachContactFromCompanyRequest.CompanyIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public DetachContactFromCompanyRequest build()
- Specified by:
buildin interfaceDetachContactFromCompanyRequest._FinalStage
-
-