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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ActivityContentDetailsRecommendation() |
| Modifier and Type | Method and Description |
|---|---|
ActivityContentDetailsRecommendation |
clone() |
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(String fieldName,
Object value) |
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.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic ActivityContentDetailsRecommendation()
public String getReason()
null for nonepublic ActivityContentDetailsRecommendation setReason(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(String fieldName, Object value)
set in class GenericJsonpublic ActivityContentDetailsRecommendation clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.