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 DCM/DFA Reporting And Trafficking 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.Flags| Constructor and Description |
|---|
CompanionSetting() |
| Modifier and Type | Method and Description |
|---|---|
CompanionSetting |
clone() |
java.lang.Boolean |
getCompanionsDisabled()
Whether companions are disabled for this placement.
|
java.util.List<Size> |
getEnabledSizes()
Whitelist of companion sizes to be served to this placement.
|
java.lang.Boolean |
getImageOnly()
Whether to serve only static images as companions.
|
java.lang.String |
getKind()
Identifies what kind of resource this is.
|
CompanionSetting |
set(java.lang.String fieldName,
java.lang.Object value) |
CompanionSetting |
setCompanionsDisabled(java.lang.Boolean companionsDisabled)
Whether companions are disabled for this placement.
|
CompanionSetting |
setEnabledSizes(java.util.List<Size> enabledSizes)
Whitelist of companion sizes to be served to this placement.
|
CompanionSetting |
setImageOnly(java.lang.Boolean imageOnly)
Whether to serve only static images as companions.
|
CompanionSetting |
setKind(java.lang.String kind)
Identifies what kind of resource this is.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getCompanionsDisabled()
null for nonepublic CompanionSetting setCompanionsDisabled(java.lang.Boolean companionsDisabled)
companionsDisabled - companionsDisabled or null for nonepublic java.util.List<Size> getEnabledSizes()
null for nonepublic CompanionSetting setEnabledSizes(java.util.List<Size> enabledSizes)
enabledSizes - enabledSizes or null for nonepublic java.lang.Boolean getImageOnly()
null for nonepublic CompanionSetting setImageOnly(java.lang.Boolean imageOnly)
imageOnly - imageOnly or null for nonepublic java.lang.String getKind()
null for nonepublic CompanionSetting setKind(java.lang.String kind)
kind - kind or null for nonepublic CompanionSetting set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CompanionSetting clone()
clone in class com.google.api.client.json.GenericJson