RunRealtimeReportRequest.fromJson constructor
RunRealtimeReportRequest.fromJson(
- Map json_
Implementation
RunRealtimeReportRequest.fromJson(core.Map json_)
: this(
dimensionFilter: json_.containsKey('dimensionFilter')
? FilterExpression.fromJson(json_['dimensionFilter']
as core.Map<core.String, core.dynamic>)
: null,
dimensions: json_.containsKey('dimensions')
? (json_['dimensions'] as core.List)
.map((value) => Dimension.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
limit:
json_.containsKey('limit') ? json_['limit'] as core.String : null,
metricAggregations: json_.containsKey('metricAggregations')
? (json_['metricAggregations'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
metricFilter: json_.containsKey('metricFilter')
? FilterExpression.fromJson(
json_['metricFilter'] as core.Map<core.String, core.dynamic>)
: null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => Metric.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
minuteRanges: json_.containsKey('minuteRanges')
? (json_['minuteRanges'] as core.List)
.map((value) => MinuteRange.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
orderBys: json_.containsKey('orderBys')
? (json_['orderBys'] as core.List)
.map((value) => OrderBy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
returnPropertyQuota: json_.containsKey('returnPropertyQuota')
? json_['returnPropertyQuota'] as core.bool
: null,
);