Package com.intercom.api.types
Class LinkedObjectList.Builder
- java.lang.Object
-
- com.intercom.api.types.LinkedObjectList.Builder
-
- All Implemented Interfaces:
LinkedObjectList._FinalStage,LinkedObjectList.HasMoreStage,LinkedObjectList.TotalCountStage
- Enclosing class:
- LinkedObjectList
public static final class LinkedObjectList.Builder extends java.lang.Object implements LinkedObjectList.TotalCountStage, LinkedObjectList.HasMoreStage, LinkedObjectList._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedObjectList._FinalStageaddAllData(java.util.List<LinkedObject> data)An array containing the linked conversations and linked tickets.LinkedObjectList._FinalStageaddData(LinkedObject data)An array containing the linked conversations and linked tickets.LinkedObjectListbuild()LinkedObjectList._FinalStagedata(java.util.List<LinkedObject> data)An array containing the linked conversations and linked tickets.LinkedObjectList.Builderfrom(LinkedObjectList other)LinkedObjectList._FinalStagehasMore(boolean hasMore)Whether or not there are more linked objects than returned.LinkedObjectList.HasMoreStagetotalCount(int totalCount)The total number of linked objects.
-
-
-
Method Detail
-
from
public LinkedObjectList.Builder from(LinkedObjectList other)
- Specified by:
fromin interfaceLinkedObjectList.TotalCountStage
-
totalCount
public LinkedObjectList.HasMoreStage totalCount(int totalCount)
The total number of linked objects.The total number of linked objects.
- Specified by:
totalCountin interfaceLinkedObjectList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
hasMore
public LinkedObjectList._FinalStage hasMore(boolean hasMore)
Whether or not there are more linked objects than returned.Whether or not there are more linked objects than returned.
- Specified by:
hasMorein interfaceLinkedObjectList.HasMoreStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addAllData
public LinkedObjectList._FinalStage addAllData(java.util.List<LinkedObject> data)
An array containing the linked conversations and linked tickets.
- Specified by:
addAllDatain interfaceLinkedObjectList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
addData
public LinkedObjectList._FinalStage addData(LinkedObject data)
An array containing the linked conversations and linked tickets.
- Specified by:
addDatain interfaceLinkedObjectList._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
data
public LinkedObjectList._FinalStage data(java.util.List<LinkedObject> data)
An array containing the linked conversations and linked tickets.
- Specified by:
datain interfaceLinkedObjectList._FinalStage
-
build
public LinkedObjectList build()
- Specified by:
buildin interfaceLinkedObjectList._FinalStage
-
-