Package com.intercom.api.types
Class CompanyList.Builder
java.lang.Object
com.intercom.api.types.CompanyList.Builder
- All Implemented Interfaces:
CompanyList._FinalStage,CompanyList.TotalCountStage
- Enclosing class:
CompanyList
public static final class CompanyList.Builder
extends Object
implements CompanyList.TotalCountStage, CompanyList._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(List<Company> data) An array containing Company Objects.An array containing Company Objects.build()from(CompanyList other) pages(OffsetPages pages) pages(Optional<OffsetPages> pages) totalCount(int totalCount) The total number of companies.
-
Method Details
-
from
- Specified by:
fromin interfaceCompanyList.TotalCountStage
-
totalCount
The total number of companies.
- Specified by:
totalCountin interfaceCompanyList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllData
An array containing Company Objects.
- Specified by:
addAllDatain interfaceCompanyList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
An array containing Company Objects.
- Specified by:
addDatain interfaceCompanyList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
- Specified by:
datain interfaceCompanyList._FinalStage
-
pages
- Specified by:
pagesin interfaceCompanyList._FinalStage
-
pages
- Specified by:
pagesin interfaceCompanyList._FinalStage
-
build
- Specified by:
buildin interfaceCompanyList._FinalStage
-