public class ContactCollection extends TypedDataCollection<Contact> implements java.util.Iterator<Contact>
| Modifier and Type | Field and Description |
|---|---|
protected io.intercom.api.TypedDataCollectionIterator<Contact> |
iterator |
NEXT_PAGE_REL, page, pages, type| Constructor and Description |
|---|
ContactCollection() |
ContactCollection(java.util.List<Contact> contacts) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Contact> |
getPage() |
boolean |
hasNext() |
Contact |
next() |
ContactCollection |
nextPage() |
void |
remove() |
equals, fetchNextPage, getPages, getType, hashCode, hasNextPage, toStringprotected io.intercom.api.TypedDataCollectionIterator<Contact> iterator
public ContactCollection()
public ContactCollection(java.util.List<Contact> contacts)
public java.util.List<Contact> getPage()
getPage in class TypedDataCollection<Contact>public ContactCollection nextPage()
nextPage in class TypedDataCollection<Contact>public boolean hasNext()
hasNext in interface java.util.Iterator<Contact>public void remove()
remove in interface java.util.Iterator<Contact>