public class HubspotPage extends Object
| Constructor and Description |
|---|
HubspotPage(List<com.google.gson.JsonElement> hubspotObjects,
SourceHubspotConfig hubspotConfig,
String offset,
Boolean hasNext)
Constructor for HubspotPage object.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<com.google.gson.JsonElement> |
getIterator() |
String |
getOffset() |
HubspotPage |
nextPage()
Returns the instance of HubspotPage.
|
public HubspotPage(List<com.google.gson.JsonElement> hubspotObjects, SourceHubspotConfig hubspotConfig, String offset, Boolean hasNext)
hubspotObjects - the hubspot objectshubspotConfig - the hubspot configoffset - the offset is string typehasNext - the hasnext is is boolean typepublic Iterator<com.google.gson.JsonElement> getIterator()
public String getOffset()
@Nullable public HubspotPage nextPage() throws IOException
IOException - on issues with data readingCopyright © 2022. All rights reserved.