GoogleCloudApigeeV1Query.fromJson constructor
GoogleCloudApigeeV1Query.fromJson(
- Map json_
Implementation
GoogleCloudApigeeV1Query.fromJson(core.Map json_)
: this(
csvDelimiter: json_.containsKey('csvDelimiter')
? json_['csvDelimiter'] as core.String
: null,
dimensions: json_.containsKey('dimensions')
? (json_['dimensions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
envgroupHostname: json_.containsKey('envgroupHostname')
? json_['envgroupHostname'] as core.String
: null,
filter: json_.containsKey('filter')
? json_['filter'] as core.String
: null,
groupByTimeUnit: json_.containsKey('groupByTimeUnit')
? json_['groupByTimeUnit'] as core.String
: null,
limit: json_.containsKey('limit') ? json_['limit'] as core.int : null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => GoogleCloudApigeeV1QueryMetric.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
outputFormat: json_.containsKey('outputFormat')
? json_['outputFormat'] as core.String
: null,
reportDefinitionId: json_.containsKey('reportDefinitionId')
? json_['reportDefinitionId'] as core.String
: null,
timeRange: json_.containsKey('timeRange') ? json_['timeRange'] : null,
);