public final class HtmlContent 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 |
|---|
HtmlContent() |
| Modifier and Type | Method and Description |
|---|---|
HtmlContent |
clone() |
Integer |
getHeight()
The height of the HTML snippet in pixels.
|
String |
getSnippet()
The HTML snippet that displays the ad when inserted in the web page.
|
Integer |
getWidth()
The width of the HTML snippet in pixels.
|
HtmlContent |
set(String fieldName,
Object value) |
HtmlContent |
setHeight(Integer height)
The height of the HTML snippet in pixels.
|
HtmlContent |
setSnippet(String snippet)
The HTML snippet that displays the ad when inserted in the web page.
|
HtmlContent |
setWidth(Integer width)
The width of the HTML snippet 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 Integer getHeight()
null for nonepublic HtmlContent setHeight(Integer height)
height - height or null for nonepublic String getSnippet()
null for nonepublic HtmlContent setSnippet(String snippet)
snippet - snippet or null for nonepublic Integer getWidth()
null for nonepublic HtmlContent setWidth(Integer width)
width - width or null for nonepublic HtmlContent set(String fieldName, Object value)
set in class GenericJsonpublic HtmlContent clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.