GoogleCloudApigeeV1CustomReport.fromJson constructor
GoogleCloudApigeeV1CustomReport.fromJson(
- Map json_
Implementation
GoogleCloudApigeeV1CustomReport.fromJson(core.Map json_)
: this(
chartType: json_.containsKey('chartType')
? json_['chartType'] as core.String
: null,
comments: json_.containsKey('comments')
? (json_['comments'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
createdAt: json_.containsKey('createdAt')
? json_['createdAt'] as core.String
: null,
dimensions: json_.containsKey('dimensions')
? (json_['dimensions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
environment: json_.containsKey('environment')
? json_['environment'] as core.String
: null,
filter: json_.containsKey('filter')
? json_['filter'] as core.String
: null,
fromTime: json_.containsKey('fromTime')
? json_['fromTime'] as core.String
: null,
lastModifiedAt: json_.containsKey('lastModifiedAt')
? json_['lastModifiedAt'] as core.String
: null,
lastViewedAt: json_.containsKey('lastViewedAt')
? json_['lastViewedAt'] as core.String
: null,
limit:
json_.containsKey('limit') ? json_['limit'] as core.String : null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) =>
GoogleCloudApigeeV1CustomReportMetric.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
offset: json_.containsKey('offset')
? json_['offset'] as core.String
: null,
organization: json_.containsKey('organization')
? json_['organization'] as core.String
: null,
properties: json_.containsKey('properties')
? (json_['properties'] as core.List)
.map((value) => GoogleCloudApigeeV1ReportProperty.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
sortByCols: json_.containsKey('sortByCols')
? (json_['sortByCols'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
sortOrder: json_.containsKey('sortOrder')
? json_['sortOrder'] as core.String
: null,
tags: json_.containsKey('tags')
? (json_['tags'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
timeUnit: json_.containsKey('timeUnit')
? json_['timeUnit'] as core.String
: null,
toTime: json_.containsKey('toTime')
? json_['toTime'] as core.String
: null,
topk: json_.containsKey('topk') ? json_['topk'] as core.String : null,
);