public final class ResourceId
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 |
---|
ResourceId() |
Modifier and Type | Method and Description |
---|---|
ResourceId |
clone() |
java.lang.String |
getChannelId()
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a
channel.
|
java.lang.String |
getKind()
The type of the API resource.
|
java.lang.String |
getPlaylistId()
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a
playlist.
|
java.lang.String |
getVideoId()
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a
video.
|
ResourceId |
set(java.lang.String fieldName,
java.lang.Object value) |
ResourceId |
setChannelId(java.lang.String channelId)
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a
channel.
|
ResourceId |
setKind(java.lang.String kind)
The type of the API resource.
|
ResourceId |
setPlaylistId(java.lang.String playlistId)
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a
playlist.
|
ResourceId |
setVideoId(java.lang.String videoId)
The ID that YouTube uses to uniquely identify the referred resource, if that resource is a
video.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getChannelId()
null
for nonepublic ResourceId setChannelId(java.lang.String channelId)
channelId
- channelId or null
for nonepublic java.lang.String getKind()
null
for nonepublic ResourceId setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getPlaylistId()
null
for nonepublic ResourceId setPlaylistId(java.lang.String playlistId)
playlistId
- playlistId or null
for nonepublic java.lang.String getVideoId()
null
for nonepublic ResourceId setVideoId(java.lang.String videoId)
videoId
- videoId or null
for nonepublic ResourceId set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ResourceId clone()
clone
in class com.google.api.client.json.GenericJson