public final class MediationReportSpec 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 AdMob API. 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 |
|---|
MediationReportSpec() |
| Modifier and Type | Method and Description |
|---|---|
MediationReportSpec |
clone() |
DateRange |
getDateRange()
The date range for which the report is generated.
|
List<MediationReportSpecDimensionFilter> |
getDimensionFilters()
Describes which report rows to match based on their dimension values.
|
List<String> |
getDimensions()
List of dimensions of the report.
|
LocalizationSettings |
getLocalizationSettings()
Localization settings of the report.
|
Integer |
getMaxReportRows()
Maximum number of report data rows to return.
|
List<String> |
getMetrics()
List of metrics of the report.
|
List<MediationReportSpecSortCondition> |
getSortConditions()
Describes the sorting of report rows.
|
String |
getTimeZone()
A report time zone.
|
MediationReportSpec |
set(String fieldName,
Object value) |
MediationReportSpec |
setDateRange(DateRange dateRange)
The date range for which the report is generated.
|
MediationReportSpec |
setDimensionFilters(List<MediationReportSpecDimensionFilter> dimensionFilters)
Describes which report rows to match based on their dimension values.
|
MediationReportSpec |
setDimensions(List<String> dimensions)
List of dimensions of the report.
|
MediationReportSpec |
setLocalizationSettings(LocalizationSettings localizationSettings)
Localization settings of the report.
|
MediationReportSpec |
setMaxReportRows(Integer maxReportRows)
Maximum number of report data rows to return.
|
MediationReportSpec |
setMetrics(List<String> metrics)
List of metrics of the report.
|
MediationReportSpec |
setSortConditions(List<MediationReportSpecSortCondition> sortConditions)
Describes the sorting of report rows.
|
MediationReportSpec |
setTimeZone(String timeZone)
A report time zone.
|
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 DateRange getDateRange()
null for nonepublic MediationReportSpec setDateRange(DateRange dateRange)
dateRange - dateRange or null for nonepublic List<MediationReportSpecDimensionFilter> getDimensionFilters()
null for nonepublic MediationReportSpec setDimensionFilters(List<MediationReportSpecDimensionFilter> dimensionFilters)
dimensionFilters - dimensionFilters or null for nonepublic List<String> getDimensions()
null for nonepublic MediationReportSpec setDimensions(List<String> dimensions)
dimensions - dimensions or null for nonepublic LocalizationSettings getLocalizationSettings()
null for nonepublic MediationReportSpec setLocalizationSettings(LocalizationSettings localizationSettings)
localizationSettings - localizationSettings or null for nonepublic Integer getMaxReportRows()
null for nonepublic MediationReportSpec setMaxReportRows(Integer maxReportRows)
maxReportRows - maxReportRows or null for nonepublic List<String> getMetrics()
null for nonepublic MediationReportSpec setMetrics(List<String> metrics)
metrics - metrics or null for nonepublic List<MediationReportSpecSortCondition> getSortConditions()
null for nonepublic MediationReportSpec setSortConditions(List<MediationReportSpecSortCondition> sortConditions)
sortConditions - sortConditions or null for nonepublic String getTimeZone()
null for nonepublic MediationReportSpec setTimeZone(String timeZone)
timeZone - timeZone or null for nonepublic MediationReportSpec set(String fieldName, Object value)
set in class GenericJsonpublic MediationReportSpec clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.