public final class VideoGetRatingResponse extends 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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
VideoGetRatingResponse() |
Modifier and Type | Method and Description |
---|---|
VideoGetRatingResponse |
clone() |
String |
getEtag()
Etag of this resource.
|
List<VideoRating> |
getItems()
A list of ratings that match the request criteria.
|
String |
getKind()
The kind, fixed to "youtube#videoGetRatingResponse".
|
VideoGetRatingResponse |
set(String fieldName,
Object value) |
VideoGetRatingResponse |
setEtag(String etag)
Etag of this resource.
|
VideoGetRatingResponse |
setItems(List<VideoRating> items)
A list of ratings that match the request criteria.
|
VideoGetRatingResponse |
setKind(String kind)
The kind, fixed to "youtube#videoGetRatingResponse".
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getEtag()
null
for nonepublic VideoGetRatingResponse setEtag(String etag)
etag
- etag or null
for nonepublic List<VideoRating> getItems()
null
for nonepublic VideoGetRatingResponse setItems(List<VideoRating> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic VideoGetRatingResponse setKind(String kind)
kind
- kind or null
for nonepublic VideoGetRatingResponse set(String fieldName, Object value)
set
in class GenericJson
public VideoGetRatingResponse clone()
clone
in class GenericJson