public final class Recommendation
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 Content API for Shopping. 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Recommendation() |
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public List<RecommendationCallToAction> getAdditionalCallToAction()
null
for nonepublic Recommendation setAdditionalCallToAction(List<RecommendationCallToAction> additionalCallToAction)
additionalCallToAction
- additionalCallToAction or null
for nonepublic List<RecommendationDescription> getAdditionalDescriptions()
null
for nonepublic Recommendation setAdditionalDescriptions(List<RecommendationDescription> additionalDescriptions)
additionalDescriptions
- additionalDescriptions or null
for nonepublic List<RecommendationCreative> getCreative()
null
for nonepublic Recommendation setCreative(List<RecommendationCreative> creative)
creative
- creative or null
for nonepublic RecommendationCallToAction getDefaultCallToAction()
null
for nonepublic Recommendation setDefaultCallToAction(RecommendationCallToAction defaultCallToAction)
defaultCallToAction
- defaultCallToAction or null
for nonepublic String getDefaultDescription()
`GenerateRecommendationsRequest.language_code`
field in `GenerateRecommendationsRequest`
requests.null
for nonepublic Recommendation setDefaultDescription(String defaultDescription)
`GenerateRecommendationsRequest.language_code`
field in `GenerateRecommendationsRequest`
requests.defaultDescription
- defaultDescription or null
for nonepublic Integer getNumericalImpact()
null
for nonepublic Recommendation setNumericalImpact(Integer numericalImpact)
numericalImpact
- numericalImpact or null
for nonepublic Boolean getPaid()
null
for nonepublic Recommendation setPaid(Boolean paid)
paid
- paid or null
for nonepublic String getRecommendationName()
`GenerateRecommendationsRequest.language_code`
field in `GenerateRecommendationsRequest`
requests.null
for nonepublic Recommendation setRecommendationName(String recommendationName)
`GenerateRecommendationsRequest.language_code`
field in `GenerateRecommendationsRequest`
requests.recommendationName
- recommendationName or null
for nonepublic String getSubType()
null
for nonepublic Recommendation setSubType(String subType)
subType
- subType or null
for nonepublic String getTitle()
`GenerateRecommendationsRequest.language_code`
field in `GenerateRecommendationsRequest`
requests.null
for nonepublic Recommendation setTitle(String title)
`GenerateRecommendationsRequest.language_code`
field in `GenerateRecommendationsRequest`
requests.title
- title or null
for nonepublic String getType()
null
for nonepublic Recommendation setType(String type)
type
- type or null
for nonepublic Recommendation set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Recommendation clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.