Package com.intercom.api.types
Class ContactAttachedCompanies.Builder
java.lang.Object
com.intercom.api.types.ContactAttachedCompanies.Builder
- All Implemented Interfaces:
ContactAttachedCompanies._FinalStage,ContactAttachedCompanies.TotalCountStage
- Enclosing class:
ContactAttachedCompanies
public static final class ContactAttachedCompanies.Builder
extends Object
implements ContactAttachedCompanies.TotalCountStage, ContactAttachedCompanies._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllCompanies(List<Company> companies) An array containing Company ObjectsaddCompanies(Company companies) An array containing Company Objectsbuild()from(ContactAttachedCompanies other) totalCount(int totalCount) The total number of companies associated to this contact
-
Method Details
-
from
- Specified by:
fromin interfaceContactAttachedCompanies.TotalCountStage
-
totalCount
The total number of companies associated to this contact
- Specified by:
totalCountin interfaceContactAttachedCompanies.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
pages
- Specified by:
pagesin interfaceContactAttachedCompanies._FinalStage
-
pages
- Specified by:
pagesin interfaceContactAttachedCompanies._FinalStage
-
addAllCompanies
An array containing Company Objects
- Specified by:
addAllCompaniesin interfaceContactAttachedCompanies._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addCompanies
An array containing Company Objects
- Specified by:
addCompaniesin interfaceContactAttachedCompanies._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
companies
- Specified by:
companiesin interfaceContactAttachedCompanies._FinalStage
-
build
- Specified by:
buildin interfaceContactAttachedCompanies._FinalStage
-