public static final class ActivityContentDetails.Recommendation extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ActivityContentDetails.Recommendation() |
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.
|
ActivityContentDetails.Recommendation |
setReason(String reason)
The reason that the resource is recommended to the user.
|
ActivityContentDetails.Recommendation |
setResourceId(ResourceId resourceId)
The resourceId object contains information that identifies the recommended resource.
|
ActivityContentDetails.Recommendation |
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 ActivityContentDetails.Recommendation()
public String getReason()
null
.public ActivityContentDetails.Recommendation setReason(String reason)
null
.public ResourceId getResourceId()
null
.public ActivityContentDetails.Recommendation setResourceId(ResourceId resourceId)
null
.public ResourceId getSeedResourceId()
null
.public ActivityContentDetails.Recommendation setSeedResourceId(ResourceId seedResourceId)
null
.