public final class ActivityContentDetailsRecommendation
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 |
---|
ActivityContentDetailsRecommendation() |
Modifier and Type | Method and Description |
---|---|
ActivityContentDetailsRecommendation |
clone() |
java.lang.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 |
set(java.lang.String fieldName,
java.lang.Object value) |
ActivityContentDetailsRecommendation |
setReason(java.lang.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.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public ActivityContentDetailsRecommendation()
public java.lang.String getReason()
null
for nonepublic ActivityContentDetailsRecommendation setReason(java.lang.String reason)
reason
- reason or null
for nonepublic ResourceId getResourceId()
null
for nonepublic ActivityContentDetailsRecommendation setResourceId(ResourceId resourceId)
resourceId
- resourceId or null
for nonepublic ResourceId getSeedResourceId()
null
for nonepublic ActivityContentDetailsRecommendation setSeedResourceId(ResourceId seedResourceId)
seedResourceId
- seedResourceId or null
for nonepublic ActivityContentDetailsRecommendation set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ActivityContentDetailsRecommendation clone()
clone
in class com.google.api.client.json.GenericJson