public final class PageInfo extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Google Play Android Developer API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PageInfo() |
Modifier and Type | Method and Description |
---|---|
PageInfo |
clone() |
Integer |
getResultPerPage()
Maximum number of results returned in one page.
|
Integer |
getStartIndex()
Index of the first result returned in the current page.
|
Integer |
getTotalResults()
Total number of results available on the backend ! The total number of results in the result
set.
|
PageInfo |
set(String fieldName,
Object value) |
PageInfo |
setResultPerPage(Integer resultPerPage)
Maximum number of results returned in one page.
|
PageInfo |
setStartIndex(Integer startIndex)
Index of the first result returned in the current page.
|
PageInfo |
setTotalResults(Integer totalResults)
Total number of results available on the backend ! The total number of results in the result
set.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public Integer getResultPerPage()
null
for nonepublic PageInfo setResultPerPage(Integer resultPerPage)
resultPerPage
- resultPerPage or null
for nonepublic Integer getStartIndex()
null
for nonepublic PageInfo setStartIndex(Integer startIndex)
startIndex
- startIndex or null
for nonepublic Integer getTotalResults()
null
for nonepublic PageInfo setTotalResults(Integer totalResults)
totalResults
- totalResults or null
for nonepublic PageInfo set(String fieldName, Object value)
set
in class GenericJson
public PageInfo clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.