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