public final class CompanionSetting
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 Campaign Manager 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 |
|---|
CompanionSetting() |
| Modifier and Type | Method and Description |
|---|---|
CompanionSetting |
clone() |
Boolean |
getCompanionsDisabled()
Whether companions are disabled for this placement.
|
List<Size> |
getEnabledSizes()
Allowlist of companion sizes to be served to this placement.
|
Boolean |
getImageOnly()
Whether to serve only static images as companions.
|
String |
getKind()
Identifies what kind of resource this is.
|
CompanionSetting |
set(String fieldName,
Object value) |
CompanionSetting |
setCompanionsDisabled(Boolean companionsDisabled)
Whether companions are disabled for this placement.
|
CompanionSetting |
setEnabledSizes(List<Size> enabledSizes)
Allowlist of companion sizes to be served to this placement.
|
CompanionSetting |
setImageOnly(Boolean imageOnly)
Whether to serve only static images as companions.
|
CompanionSetting |
setKind(String kind)
Identifies what kind of resource this is.
|
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 Boolean getCompanionsDisabled()
null for nonepublic CompanionSetting setCompanionsDisabled(Boolean companionsDisabled)
companionsDisabled - companionsDisabled or null for nonepublic List<Size> getEnabledSizes()
null for nonepublic CompanionSetting setEnabledSizes(List<Size> enabledSizes)
enabledSizes - enabledSizes or null for nonepublic Boolean getImageOnly()
null for nonepublic CompanionSetting setImageOnly(Boolean imageOnly)
imageOnly - imageOnly or null for nonepublic String getKind()
null for nonepublic CompanionSetting setKind(String kind)
kind - kind or null for nonepublic CompanionSetting set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CompanionSetting clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.