ReportRequest.fromJson constructor
ReportRequest.fromJson(
- Map json_
Implementation
ReportRequest.fromJson(core.Map json_)
: this(
columns: json_.containsKey('columns')
? (json_['columns'] as core.List)
.map((value) => ReportApiColumnSpec.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
downloadFormat: json_.containsKey('downloadFormat')
? json_['downloadFormat'] as core.String
: null,
filters: json_.containsKey('filters')
? (json_['filters'] as core.List)
.map((value) => ReportRequestFilters.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
includeDeletedEntities: json_.containsKey('includeDeletedEntities')
? json_['includeDeletedEntities'] as core.bool
: null,
includeRemovedEntities: json_.containsKey('includeRemovedEntities')
? json_['includeRemovedEntities'] as core.bool
: null,
maxRowsPerFile: json_.containsKey('maxRowsPerFile')
? json_['maxRowsPerFile'] as core.int
: null,
orderBy: json_.containsKey('orderBy')
? (json_['orderBy'] as core.List)
.map((value) => ReportRequestOrderBy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
reportScope: json_.containsKey('reportScope')
? ReportRequestReportScope.fromJson(
json_['reportScope'] as core.Map<core.String, core.dynamic>)
: null,
reportType: json_.containsKey('reportType')
? json_['reportType'] as core.String
: null,
rowCount: json_.containsKey('rowCount')
? json_['rowCount'] as core.int
: null,
startRow: json_.containsKey('startRow')
? json_['startRow'] as core.int
: null,
statisticsCurrency: json_.containsKey('statisticsCurrency')
? json_['statisticsCurrency'] as core.String
: null,
timeRange: json_.containsKey('timeRange')
? ReportRequestTimeRange.fromJson(
json_['timeRange'] as core.Map<core.String, core.dynamic>)
: null,
verifySingleTimeZone: json_.containsKey('verifySingleTimeZone')
? json_['verifySingleTimeZone'] as core.bool
: null,
);