public final class AdSize 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 |
|---|
AdSize() |
| Modifier and Type | Method and Description |
|---|---|
AdSize |
clone() |
Long |
getHeight()
The height of the ad slot in pixels.
|
String |
getSizeType()
The size type of the ad slot.
|
Long |
getWidth()
The width of the ad slot in pixels.
|
AdSize |
set(String fieldName,
Object value) |
AdSize |
setHeight(Long height)
The height of the ad slot in pixels.
|
AdSize |
setSizeType(String sizeType)
The size type of the ad slot.
|
AdSize |
setWidth(Long width)
The width of the ad slot in pixels.
|
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 Long getHeight()
null for nonepublic AdSize setHeight(Long height)
height - height or null for nonepublic String getSizeType()
null for nonepublic AdSize setSizeType(String sizeType)
sizeType - sizeType or null for nonepublic Long getWidth()
null for nonepublic AdSize setWidth(Long width)
width - width or null for nonepublic AdSize set(String fieldName, Object value)
set in class GenericJsonpublic AdSize clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.