public final class MediationReportSpec
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 AdMob 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 |
|---|
MediationReportSpec() |
| Modifier and Type | Method and Description |
|---|---|
MediationReportSpec |
clone() |
DateRange |
getDateRange()
The date range for which the report is generated.
|
java.util.List<MediationReportSpecDimensionFilter> |
getDimensionFilters()
Describes which report rows to match based on their dimension values.
|
java.util.List<java.lang.String> |
getDimensions()
List of dimensions of the report.
|
LocalizationSettings |
getLocalizationSettings()
Localization settings of the report.
|
java.lang.Integer |
getMaxReportRows()
Maximum number of report data rows to return.
|
java.util.List<java.lang.String> |
getMetrics()
List of metrics of the report.
|
java.util.List<MediationReportSpecSortCondition> |
getSortConditions()
Describes the sorting of report rows.
|
java.lang.String |
getTimeZone()
A report time zone.
|
MediationReportSpec |
set(java.lang.String fieldName,
java.lang.Object value) |
MediationReportSpec |
setDateRange(DateRange dateRange)
The date range for which the report is generated.
|
MediationReportSpec |
setDimensionFilters(java.util.List<MediationReportSpecDimensionFilter> dimensionFilters)
Describes which report rows to match based on their dimension values.
|
MediationReportSpec |
setDimensions(java.util.List<java.lang.String> dimensions)
List of dimensions of the report.
|
MediationReportSpec |
setLocalizationSettings(LocalizationSettings localizationSettings)
Localization settings of the report.
|
MediationReportSpec |
setMaxReportRows(java.lang.Integer maxReportRows)
Maximum number of report data rows to return.
|
MediationReportSpec |
setMetrics(java.util.List<java.lang.String> metrics)
List of metrics of the report.
|
MediationReportSpec |
setSortConditions(java.util.List<MediationReportSpecSortCondition> sortConditions)
Describes the sorting of report rows.
|
MediationReportSpec |
setTimeZone(java.lang.String timeZone)
A report time zone.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic DateRange getDateRange()
null for nonepublic MediationReportSpec setDateRange(DateRange dateRange)
dateRange - dateRange or null for nonepublic java.util.List<MediationReportSpecDimensionFilter> getDimensionFilters()
null for nonepublic MediationReportSpec setDimensionFilters(java.util.List<MediationReportSpecDimensionFilter> dimensionFilters)
dimensionFilters - dimensionFilters or null for nonepublic java.util.List<java.lang.String> getDimensions()
null for nonepublic MediationReportSpec setDimensions(java.util.List<java.lang.String> dimensions)
dimensions - dimensions or null for nonepublic LocalizationSettings getLocalizationSettings()
null for nonepublic MediationReportSpec setLocalizationSettings(LocalizationSettings localizationSettings)
localizationSettings - localizationSettings or null for nonepublic java.lang.Integer getMaxReportRows()
null for nonepublic MediationReportSpec setMaxReportRows(java.lang.Integer maxReportRows)
maxReportRows - maxReportRows or null for nonepublic java.util.List<java.lang.String> getMetrics()
null for nonepublic MediationReportSpec setMetrics(java.util.List<java.lang.String> metrics)
metrics - metrics or null for nonepublic java.util.List<MediationReportSpecSortCondition> getSortConditions()
null for nonepublic MediationReportSpec setSortConditions(java.util.List<MediationReportSpecSortCondition> sortConditions)
sortConditions - sortConditions or null for nonepublic java.lang.String getTimeZone()
null for nonepublic MediationReportSpec setTimeZone(java.lang.String timeZone)
timeZone - timeZone or null for nonepublic MediationReportSpec set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic MediationReportSpec clone()
clone in class com.google.api.client.json.GenericJson