public final class ActivityContentDetailsRecommendation 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-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ActivityContentDetailsRecommendation() |
Modifier and Type | Method and Description |
---|---|
String |
getReason()
The reason that the resource is recommended to the user.
|
ResourceId |
getResourceId()
The resourceId object contains information that identifies the recommended resource.
|
ResourceId |
getSeedResourceId()
The seedResourceId object contains information about the resource that caused the
recommendation.
|
ActivityContentDetailsRecommendation |
setReason(String reason)
The reason that the resource is recommended to the user.
|
ActivityContentDetailsRecommendation |
setResourceId(ResourceId resourceId)
The resourceId object contains information that identifies the recommended resource.
|
ActivityContentDetailsRecommendation |
setSeedResourceId(ResourceId seedResourceId)
The seedResourceId object contains information about the resource that caused the
recommendation.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ActivityContentDetailsRecommendation()
public String getReason()
null
.public ActivityContentDetailsRecommendation setReason(String reason)
null
.public ResourceId getResourceId()
null
.public ActivityContentDetailsRecommendation setResourceId(ResourceId resourceId)
null
.public ResourceId getSeedResourceId()
null
.public ActivityContentDetailsRecommendation setSeedResourceId(ResourceId seedResourceId)
null
.