public final class VideoRating
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
VideoRating() |
Modifier and Type | Method and Description |
---|---|
VideoRating |
clone() |
java.lang.String |
getRating() |
java.lang.String |
getVideoId() |
VideoRating |
set(java.lang.String fieldName,
java.lang.Object value) |
VideoRating |
setRating(java.lang.String rating) |
VideoRating |
setVideoId(java.lang.String videoId) |
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getRating()
null
for nonepublic VideoRating setRating(java.lang.String rating)
rating
- rating or null
for nonepublic java.lang.String getVideoId()
null
for nonepublic VideoRating setVideoId(java.lang.String videoId)
videoId
- videoId or null
for nonepublic VideoRating set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public VideoRating clone()
clone
in class com.google.api.client.json.GenericJson