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 Object
implements LinkedObjectList.TotalCountStage, LinkedObjectList.HasMoreStage, LinkedObjectList._FinalStage
-
Method Summary
Modifier and TypeMethodDescriptionaddAllData(List<LinkedObject> data) An array containing the linked conversations and linked tickets.addData(LinkedObject data) An array containing the linked conversations and linked tickets.build()data(List<LinkedObject> data) from(LinkedObjectList other) hasMore(boolean hasMore) Whether or not there are more linked objects than returned.totalCount(int totalCount) The total number of linked objects.
-
Method Details
-
from
- Specified by:
fromin interfaceLinkedObjectList.TotalCountStage
-
totalCount
The total number of linked objects.
- Specified by:
totalCountin interfaceLinkedObjectList.TotalCountStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
hasMore
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
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
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
- Specified by:
datain interfaceLinkedObjectList._FinalStage
-
build
- Specified by:
buildin interfaceLinkedObjectList._FinalStage
-