public class CompanyCollection extends TypedDataCollection<Company> implements java.util.Iterator<Company>
| Modifier and Type | Field and Description |
|---|---|
protected io.intercom.api.TypedDataCollectionIterator<Company> |
iterator |
NEXT_PAGE_REL, page, pages, type| Constructor and Description |
|---|
CompanyCollection() |
CompanyCollection(java.util.List<Company> companies) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Company> |
getPage() |
long |
getTotalCount() |
boolean |
hasNext() |
Company |
next() |
CompanyCollection |
nextPage() |
void |
remove() |
java.lang.String |
toString() |
equals, fetchNextPage, getPages, getType, hashCode, hasNextPageprotected io.intercom.api.TypedDataCollectionIterator<Company> iterator
public CompanyCollection()
public CompanyCollection(java.util.List<Company> companies)
public java.util.List<Company> getPage()
getPage in class TypedDataCollection<Company>public long getTotalCount()
public CompanyCollection nextPage()
nextPage in class TypedDataCollection<Company>public boolean hasNext()
hasNext in interface java.util.Iterator<Company>public void remove()
remove in interface java.util.Iterator<Company>public java.lang.String toString()
toString in class TypedDataCollection<Company>