public final class DateRange
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 |
|---|
DateRange() |
| Modifier and Type | Method and Description |
|---|---|
DateRange |
clone() |
com.google.api.client.util.DateTime |
getEndDate()
The end date of the date range, inclusive.
|
java.lang.String |
getKind()
The kind of resource this is, in this case dfareporting#dateRange.
|
java.lang.String |
getRelativeDateRange()
The date range relative to the date of when the report is run.
|
com.google.api.client.util.DateTime |
getStartDate()
The start date of the date range, inclusive.
|
DateRange |
set(java.lang.String fieldName,
java.lang.Object value) |
DateRange |
setEndDate(com.google.api.client.util.DateTime endDate)
The end date of the date range, inclusive.
|
DateRange |
setKind(java.lang.String kind)
The kind of resource this is, in this case dfareporting#dateRange.
|
DateRange |
setRelativeDateRange(java.lang.String relativeDateRange)
The date range relative to the date of when the report is run.
|
DateRange |
setStartDate(com.google.api.client.util.DateTime startDate)
The start date of the date range, inclusive.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic com.google.api.client.util.DateTime getEndDate()
null for nonepublic DateRange setEndDate(com.google.api.client.util.DateTime endDate)
endDate - endDate or null for nonepublic java.lang.String getKind()
null for nonepublic DateRange setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getRelativeDateRange()
null for nonepublic DateRange setRelativeDateRange(java.lang.String relativeDateRange)
relativeDateRange - relativeDateRange or null for nonepublic com.google.api.client.util.DateTime getStartDate()
null for nonepublic DateRange setStartDate(com.google.api.client.util.DateTime startDate)
startDate - startDate or null for nonepublic DateRange set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic DateRange clone()
clone in class com.google.api.client.json.GenericJson