public final class PageInfo
extends com.google.api.client.json.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: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
PageInfo() |
| Modifier and Type | Method and Description |
|---|---|
PageInfo |
clone() |
java.lang.Integer |
getResultsPerPage()
The number of results included in the API response.
|
java.lang.Integer |
getTotalResults()
The total number of results in the result set.
|
PageInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
PageInfo |
setResultsPerPage(java.lang.Integer resultsPerPage)
The number of results included in the API response.
|
PageInfo |
setTotalResults(java.lang.Integer totalResults)
The total number of results in the result set.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getResultsPerPage()
null for nonepublic PageInfo setResultsPerPage(java.lang.Integer resultsPerPage)
resultsPerPage - resultsPerPage or null for nonepublic java.lang.Integer getTotalResults()
null for nonepublic PageInfo setTotalResults(java.lang.Integer totalResults)
totalResults - totalResults or null for nonepublic PageInfo set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PageInfo clone()
clone in class com.google.api.client.json.GenericJson