target.apidocs.com.google.api.services.youtube.model.VideoCategoryListResponse.html Maven / Gradle / Ivy
VideoCategoryListResponse (YouTube Data API v3 v3-rev20240417-2.0.0)
com.google.api.services.youtube.model
Class VideoCategoryListResponse
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.VideoCategoryListResponse
-
public final class VideoCategoryListResponse
extends com.google.api.client.json.GenericJson
Model definition for VideoCategoryListResponse.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
VideoCategoryListResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
VideoCategoryListResponse
clone()
String
getEtag()
Etag of this resource.
String
getEventId()
Serialized EventId of the request which produced this response.
List<VideoCategory>
getItems()
A list of video categories that can be associated with YouTube videos.
String
getKind()
Identifies what kind of resource this is.
String
getNextPageToken()
The token that can be used as the value of the pageToken parameter to retrieve the next page in
the result set.
PageInfo
getPageInfo()
General pagination information.
String
getPrevPageToken()
The token that can be used as the value of the pageToken parameter to retrieve the previous
page in the result set.
TokenPagination
getTokenPagination()
String
getVisitorId()
The visitorId identifies the visitor.
VideoCategoryListResponse
set(String fieldName,
Object value)
VideoCategoryListResponse
setEtag(String etag)
Etag of this resource.
VideoCategoryListResponse
setEventId(String eventId)
Serialized EventId of the request which produced this response.
VideoCategoryListResponse
setItems(List<VideoCategory> items)
A list of video categories that can be associated with YouTube videos.
VideoCategoryListResponse
setKind(String kind)
Identifies what kind of resource this is.
VideoCategoryListResponse
setNextPageToken(String nextPageToken)
The token that can be used as the value of the pageToken parameter to retrieve the next page in
the result set.
VideoCategoryListResponse
setPageInfo(PageInfo pageInfo)
General pagination information.
VideoCategoryListResponse
setPrevPageToken(String prevPageToken)
The token that can be used as the value of the pageToken parameter to retrieve the previous
page in the result set.
VideoCategoryListResponse
setTokenPagination(TokenPagination tokenPagination)
VideoCategoryListResponse
setVisitorId(String visitorId)
The visitorId identifies the visitor.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEtag
public String getEtag()
Etag of this resource.
- Returns:
- value or
null
for none
-
setEtag
public VideoCategoryListResponse setEtag(String etag)
Etag of this resource.
- Parameters:
etag
- etag or null
for none
-
getEventId
public String getEventId()
Serialized EventId of the request which produced this response.
- Returns:
- value or
null
for none
-
setEventId
public VideoCategoryListResponse setEventId(String eventId)
Serialized EventId of the request which produced this response.
- Parameters:
eventId
- eventId or null
for none
-
getItems
public List<VideoCategory> getItems()
A list of video categories that can be associated with YouTube videos. In this map, the video
category ID is the map key, and its value is the corresponding videoCategory resource.
- Returns:
- value or
null
for none
-
setItems
public VideoCategoryListResponse setItems(List<VideoCategory> items)
A list of video categories that can be associated with YouTube videos. In this map, the video
category ID is the map key, and its value is the corresponding videoCategory resource.
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
"youtube#videoCategoryListResponse".
- Returns:
- value or
null
for none
-
setKind
public VideoCategoryListResponse setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"youtube#videoCategoryListResponse".
- Parameters:
kind
- kind or null
for none
-
getNextPageToken
public String getNextPageToken()
The token that can be used as the value of the pageToken parameter to retrieve the next page in
the result set.
- Returns:
- value or
null
for none
-
setNextPageToken
public VideoCategoryListResponse setNextPageToken(String nextPageToken)
The token that can be used as the value of the pageToken parameter to retrieve the next page in
the result set.
- Parameters:
nextPageToken
- nextPageToken or null
for none
-
getPageInfo
public PageInfo getPageInfo()
General pagination information.
- Returns:
- value or
null
for none
-
setPageInfo
public VideoCategoryListResponse setPageInfo(PageInfo pageInfo)
General pagination information.
- Parameters:
pageInfo
- pageInfo or null
for none
-
getPrevPageToken
public String getPrevPageToken()
The token that can be used as the value of the pageToken parameter to retrieve the previous
page in the result set.
- Returns:
- value or
null
for none
-
setPrevPageToken
public VideoCategoryListResponse setPrevPageToken(String prevPageToken)
The token that can be used as the value of the pageToken parameter to retrieve the previous
page in the result set.
- Parameters:
prevPageToken
- prevPageToken or null
for none
-
getTokenPagination
public TokenPagination getTokenPagination()
- Returns:
- value or
null
for none
-
setTokenPagination
public VideoCategoryListResponse setTokenPagination(TokenPagination tokenPagination)
- Parameters:
tokenPagination
- tokenPagination or null
for none
-
getVisitorId
public String getVisitorId()
The visitorId identifies the visitor.
- Returns:
- value or
null
for none
-
setVisitorId
public VideoCategoryListResponse setVisitorId(String visitorId)
The visitorId identifies the visitor.
- Parameters:
visitorId
- visitorId or null
for none
-
set
public VideoCategoryListResponse set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public VideoCategoryListResponse clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.