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 YouTube Data API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PageInfo() |
Modifier and Type | Method and Description |
---|---|
Integer |
getResultsPerPage()
The number of results included in the API response.
|
Integer |
getTotalResults()
The total number of results in the result set.
|
PageInfo |
setResultsPerPage(Integer resultsPerPage)
The number of results included in the API response.
|
PageInfo |
setTotalResults(Integer totalResults)
The total number of results in the result set.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Integer getResultsPerPage()
null
.public PageInfo setResultsPerPage(Integer resultsPerPage)
null
.public Integer getTotalResults()
null
.