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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PageInfo() |
| Modifier and Type | Method and Description |
|---|---|
PageInfo |
clone() |
Integer |
getResultsPerPage()
The number of results included in the API response.
|
Integer |
getTotalResults()
The total number of results in the result set.
|
PageInfo |
set(String fieldName,
Object value) |
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getResultsPerPage()
null for nonepublic PageInfo setResultsPerPage(Integer resultsPerPage)
resultsPerPage - resultsPerPage 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 com.google.api.client.json.GenericJsonpublic PageInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.