public final class ServingRestriction extends 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 Ad Exchange Buyer API II. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ServingRestriction() |
| Modifier and Type | Method and Description |
|---|---|
ServingRestriction |
clone() |
List<ServingContext> |
getContexts()
The contexts for the restriction.
|
Disapproval |
getDisapproval()
Disapproval bound to this restriction.
|
List<Disapproval> |
getDisapprovalReasons()
Any disapprovals bound to this restriction.
|
String |
getStatus()
The status of the creative in this context (for example, it has been explicitly disapproved or
is pending review).
|
ServingRestriction |
set(String fieldName,
Object value) |
ServingRestriction |
setContexts(List<ServingContext> contexts)
The contexts for the restriction.
|
ServingRestriction |
setDisapproval(Disapproval disapproval)
Disapproval bound to this restriction.
|
ServingRestriction |
setDisapprovalReasons(List<Disapproval> disapprovalReasons)
Any disapprovals bound to this restriction.
|
ServingRestriction |
setStatus(String status)
The status of the creative in this context (for example, it has been explicitly disapproved or
is pending review).
|
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 List<ServingContext> getContexts()
null for nonepublic ServingRestriction setContexts(List<ServingContext> contexts)
contexts - contexts or null for nonepublic Disapproval getDisapproval()
null for nonepublic ServingRestriction setDisapproval(Disapproval disapproval)
disapproval - disapproval or null for nonepublic List<Disapproval> getDisapprovalReasons()
null for nonepublic ServingRestriction setDisapprovalReasons(List<Disapproval> disapprovalReasons)
disapprovalReasons - disapprovalReasons or null for nonepublic String getStatus()
null for nonepublic ServingRestriction setStatus(String status)
status - status or null for nonepublic ServingRestriction set(String fieldName, Object value)
set in class GenericJsonpublic ServingRestriction clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.