public final class RelativeDateRange 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 |
|---|
RelativeDateRange() |
| Modifier and Type | Method and Description |
|---|---|
RelativeDateRange |
clone() |
Integer |
getDurationDays()
The number of days in the requested date range, e.g., for a range spanning today: 1.
|
Integer |
getOffsetDays()
The end date of the filter set, specified as the number of days before today, e.g., for a range
where the last date is today: 0.
|
RelativeDateRange |
set(String fieldName,
Object value) |
RelativeDateRange |
setDurationDays(Integer durationDays)
The number of days in the requested date range, e.g., for a range spanning today: 1.
|
RelativeDateRange |
setOffsetDays(Integer offsetDays)
The end date of the filter set, specified as the number of days before today, e.g., for a range
where the last date is today: 0.
|
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 getDurationDays()
null for nonepublic RelativeDateRange setDurationDays(Integer durationDays)
durationDays - durationDays or null for nonepublic Integer getOffsetDays()
null for nonepublic RelativeDateRange setOffsetDays(Integer offsetDays)
offsetDays - offsetDays or null for nonepublic RelativeDateRange set(String fieldName, Object value)
set in class GenericJsonpublic RelativeDateRange clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.