public final class YouTubeVideo
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 Google Classroom 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 |
|---|
YouTubeVideo() |
| Modifier and Type | Method and Description |
|---|---|
YouTubeVideo |
clone() |
java.lang.String |
getAlternateLink()
URL that can be used to view the YouTube video.
|
java.lang.String |
getId()
YouTube API resource ID.
|
java.lang.String |
getThumbnailUrl()
URL of a thumbnail image of the YouTube video.
|
java.lang.String |
getTitle()
Title of the YouTube video.
|
YouTubeVideo |
set(java.lang.String fieldName,
java.lang.Object value) |
YouTubeVideo |
setAlternateLink(java.lang.String alternateLink)
URL that can be used to view the YouTube video.
|
YouTubeVideo |
setId(java.lang.String id)
YouTube API resource ID.
|
YouTubeVideo |
setThumbnailUrl(java.lang.String thumbnailUrl)
URL of a thumbnail image of the YouTube video.
|
YouTubeVideo |
setTitle(java.lang.String title)
Title of the YouTube video.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getAlternateLink()
null for nonepublic YouTubeVideo setAlternateLink(java.lang.String alternateLink)
alternateLink - alternateLink or null for nonepublic java.lang.String getId()
null for nonepublic YouTubeVideo setId(java.lang.String id)
id - id or null for nonepublic java.lang.String getThumbnailUrl()
null for nonepublic YouTubeVideo setThumbnailUrl(java.lang.String thumbnailUrl)
thumbnailUrl - thumbnailUrl or null for nonepublic java.lang.String getTitle()
null for nonepublic YouTubeVideo setTitle(java.lang.String title)
title - title or null for nonepublic YouTubeVideo set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic YouTubeVideo clone()
clone in class com.google.api.client.json.GenericJson