public final class Query 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 DoubleClick Bid Manager API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Query() |
Modifier and Type | Method and Description |
---|---|
Query |
clone() |
String |
getKind()
Identifies what kind of resource this is.
|
QueryMetadata |
getMetadata()
Query metadata.
|
Parameters |
getParams()
Query parameters.
|
Long |
getQueryId()
Query ID.
|
Long |
getReportDataEndTimeMs()
The ending time for the data that is shown in the report.
|
Long |
getReportDataStartTimeMs()
The starting time for the data that is shown in the report.
|
QuerySchedule |
getSchedule()
Information on how often and when to run a query.
|
String |
getTimezoneCode()
Canonical timezone code for report data time.
|
Query |
set(String fieldName,
Object value) |
Query |
setKind(String kind)
Identifies what kind of resource this is.
|
Query |
setMetadata(QueryMetadata metadata)
Query metadata.
|
Query |
setParams(Parameters params)
Query parameters.
|
Query |
setQueryId(Long queryId)
Query ID.
|
Query |
setReportDataEndTimeMs(Long reportDataEndTimeMs)
The ending time for the data that is shown in the report.
|
Query |
setReportDataStartTimeMs(Long reportDataStartTimeMs)
The starting time for the data that is shown in the report.
|
Query |
setSchedule(QuerySchedule schedule)
Information on how often and when to run a query.
|
Query |
setTimezoneCode(String timezoneCode)
Canonical timezone code for report data time.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getKind()
null
for nonepublic Query setKind(String kind)
kind
- kind or null
for nonepublic QueryMetadata getMetadata()
null
for nonepublic Query setMetadata(QueryMetadata metadata)
metadata
- metadata or null
for nonepublic Parameters getParams()
null
for nonepublic Query setParams(Parameters params)
params
- params or null
for nonepublic Long getQueryId()
null
for nonepublic Query setQueryId(Long queryId)
queryId
- queryId or null
for nonepublic Long getReportDataEndTimeMs()
null
for nonepublic Query setReportDataEndTimeMs(Long reportDataEndTimeMs)
reportDataEndTimeMs
- reportDataEndTimeMs or null
for nonepublic Long getReportDataStartTimeMs()
null
for nonepublic Query setReportDataStartTimeMs(Long reportDataStartTimeMs)
reportDataStartTimeMs
- reportDataStartTimeMs or null
for nonepublic QuerySchedule getSchedule()
null
for nonepublic Query setSchedule(QuerySchedule schedule)
schedule
- schedule or null
for nonepublic String getTimezoneCode()
null
for nonepublic Query setTimezoneCode(String timezoneCode)
timezoneCode
- timezoneCode or null
for nonepublic Query set(String fieldName, Object value)
set
in class GenericJson
public Query clone()
clone
in class GenericJson