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