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