Class CollectionList.Builder
- java.lang.Object
-
- com.intercom.api.resources.unstable.types.CollectionList.Builder
-
- Enclosing class:
- CollectionList
public static final class CollectionList.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionListbuild()CollectionList.Builderdata(java.util.List<Collection> data)CollectionList.Builderdata(java.util.Optional<java.util.List<Collection>> data)An array of collection objectsCollectionList.Builderfrom(CollectionList other)CollectionList.Builderpages(CursorPages pages)CollectionList.Builderpages(java.util.Optional<CursorPages> pages)CollectionList.BuildertotalCount(java.lang.Integer totalCount)CollectionList.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)A count of the total number of collections.CollectionList.Buildertype(java.lang.String type)CollectionList.Buildertype(java.util.Optional<java.lang.String> type)The type of the object -list.
-
-
-
Method Detail
-
from
public CollectionList.Builder from(CollectionList other)
-
type
public CollectionList.Builder type(java.util.Optional<java.lang.String> type)
The type of the object -
list.
-
type
public CollectionList.Builder type(java.lang.String type)
-
pages
public CollectionList.Builder pages(java.util.Optional<CursorPages> pages)
-
pages
public CollectionList.Builder pages(CursorPages pages)
-
totalCount
public CollectionList.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
A count of the total number of collections.
-
totalCount
public CollectionList.Builder totalCount(java.lang.Integer totalCount)
-
data
public CollectionList.Builder data(java.util.Optional<java.util.List<Collection>> data)
An array of collection objects
-
data
public CollectionList.Builder data(java.util.List<Collection> data)
-
build
public CollectionList build()
-
-