public final class CarouselCard
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 Display & Video 360 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CarouselCard() |
| Modifier and Type | Method and Description |
|---|---|
CarouselCard |
clone() |
String |
getCallToAction()
Required.
|
String |
getFinalMobileUrl()
Optional.
|
String |
getFinalUrl()
Required.
|
String |
getHeadline()
Required.
|
ImageAsset |
getMarketingImage()
Optional.
|
ImageAsset |
getPortraitMarketingImage()
Optional.
|
ImageAsset |
getSquareMarketingImage()
Optional.
|
CarouselCard |
set(String fieldName,
Object value) |
CarouselCard |
setCallToAction(String callToAction)
Required.
|
CarouselCard |
setFinalMobileUrl(String finalMobileUrl)
Optional.
|
CarouselCard |
setFinalUrl(String finalUrl)
Required.
|
CarouselCard |
setHeadline(String headline)
Required.
|
CarouselCard |
setMarketingImage(ImageAsset marketingImage)
Optional.
|
CarouselCard |
setPortraitMarketingImage(ImageAsset portraitMarketingImage)
Optional.
|
CarouselCard |
setSquareMarketingImage(ImageAsset squareMarketingImage)
Optional.
|
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 String getCallToAction()
null for nonepublic CarouselCard setCallToAction(String callToAction)
callToAction - callToAction or null for nonepublic String getFinalMobileUrl()
null for nonepublic CarouselCard setFinalMobileUrl(String finalMobileUrl)
finalMobileUrl - finalMobileUrl or null for nonepublic String getFinalUrl()
null for nonepublic CarouselCard setFinalUrl(String finalUrl)
finalUrl - finalUrl or null for nonepublic String getHeadline()
null for nonepublic CarouselCard setHeadline(String headline)
headline - headline or null for nonepublic ImageAsset getMarketingImage()
null for nonepublic CarouselCard setMarketingImage(ImageAsset marketingImage)
marketingImage - marketingImage or null for nonepublic ImageAsset getPortraitMarketingImage()
null for nonepublic CarouselCard setPortraitMarketingImage(ImageAsset portraitMarketingImage)
portraitMarketingImage - portraitMarketingImage or null for nonepublic ImageAsset getSquareMarketingImage()
null for nonepublic CarouselCard setSquareMarketingImage(ImageAsset squareMarketingImage)
squareMarketingImage - squareMarketingImage or null for nonepublic CarouselCard set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CarouselCard clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.