Package com.intercom.api.types
Class LinkedObjectList.Builder
- java.lang.Object
-
- com.intercom.api.types.LinkedObjectList.Builder
-
- Enclosing class:
- LinkedObjectList
public static final class LinkedObjectList.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedObjectListbuild()LinkedObjectList.Builderdata(java.util.List<LinkedObject> data)LinkedObjectList.Builderdata(java.util.Optional<java.util.List<LinkedObject>> data)An array containing the linked conversations and linked tickets.LinkedObjectList.Builderfrom(LinkedObjectList other)LinkedObjectList.BuilderhasMore(java.lang.Boolean hasMore)LinkedObjectList.BuilderhasMore(java.util.Optional<java.lang.Boolean> hasMore)Whether or not there are more linked objects than returned.LinkedObjectList.BuildertotalCount(java.lang.Integer totalCount)LinkedObjectList.BuildertotalCount(java.util.Optional<java.lang.Integer> totalCount)The total number of linked objects.LinkedObjectList.Buildertype(java.lang.String type)LinkedObjectList.Buildertype(java.util.Optional<java.lang.String> type)Always list.
-
-
-
Method Detail
-
from
public LinkedObjectList.Builder from(LinkedObjectList other)
-
type
public LinkedObjectList.Builder type(java.util.Optional<java.lang.String> type)
Always list.
-
type
public LinkedObjectList.Builder type(java.lang.String type)
-
totalCount
public LinkedObjectList.Builder totalCount(java.util.Optional<java.lang.Integer> totalCount)
The total number of linked objects.
-
totalCount
public LinkedObjectList.Builder totalCount(java.lang.Integer totalCount)
-
hasMore
public LinkedObjectList.Builder hasMore(java.util.Optional<java.lang.Boolean> hasMore)
Whether or not there are more linked objects than returned.
-
hasMore
public LinkedObjectList.Builder hasMore(java.lang.Boolean hasMore)
-
data
public LinkedObjectList.Builder data(java.util.Optional<java.util.List<LinkedObject>> data)
An array containing the linked conversations and linked tickets.
-
data
public LinkedObjectList.Builder data(java.util.List<LinkedObject> data)
-
build
public LinkedObjectList build()
-
-