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.
|
String |
getEventId()
Serialized EventId of the request which produced this response.
|
List<VideoRating> |
getItems()
A list of ratings that match the request criteria.
|
String |
getKind()
Identifies what kind of resource this is.
|
String |
getVisitorId()
The visitorId identifies the visitor.
|
VideoGetRatingResponse |
set(String fieldName,
Object value) |
VideoGetRatingResponse |
setEtag(String etag)
Etag of this resource.
|
VideoGetRatingResponse |
setEventId(String eventId)
Serialized EventId of the request which produced this response.
|
VideoGetRatingResponse |
setItems(List<VideoRating> items)
A list of ratings that match the request criteria.
|
VideoGetRatingResponse |
setKind(String kind)
Identifies what kind of resource this is.
|
VideoGetRatingResponse |
setVisitorId(String visitorId)
The visitorId identifies the visitor.
|
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 String getEventId()
null
for nonepublic VideoGetRatingResponse setEventId(String eventId)
eventId
- eventId 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 String getVisitorId()
null
for nonepublic VideoGetRatingResponse setVisitorId(String visitorId)
visitorId
- visitorId or null
for nonepublic VideoGetRatingResponse set(String fieldName, Object value)
set
in class GenericJson
public VideoGetRatingResponse clone()
clone
in class GenericJson