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: https://developers.google.com/api-client-library/java/google-http-java-client/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, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic 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.GenericJsonpublic VideoRating clone()
clone in class com.google.api.client.json.GenericJson