public final class VideoCategory
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 |
|---|
VideoCategory() |
| Modifier and Type | Method and Description |
|---|---|
VideoCategory |
clone() |
java.lang.String |
getEtag()
Etag of this resource.
|
java.lang.String |
getId()
The ID that YouTube uses to uniquely identify the video category.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
VideoCategorySnippet |
getSnippet()
The snippet object contains basic details about the video category, including its title.
|
VideoCategory |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoCategory |
setEtag(java.lang.String etag)
Etag of this resource.
|
VideoCategory |
setId(java.lang.String id)
The ID that YouTube uses to uniquely identify the video category.
|
VideoCategory |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
VideoCategory |
setSnippet(VideoCategorySnippet snippet)
The snippet object contains basic details about the video category, including its title.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getEtag()
null for nonepublic VideoCategory setEtag(java.lang.String etag)
etag - etag or null for nonepublic java.lang.String getId()
null for nonepublic VideoCategory setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic VideoCategory setKind(java.lang.String kind)
kind - kind or null for nonepublic VideoCategorySnippet getSnippet()
null for nonepublic VideoCategory setSnippet(VideoCategorySnippet snippet)
snippet - snippet or null for nonepublic VideoCategory set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic VideoCategory clone()
clone in class com.google.api.client.json.GenericJson