Evaluation.fromJson constructor
Evaluation.fromJson(
- Map json_
Implementation
Evaluation.fromJson(core.Map json_)
: this(
bigQueryDestination: json_.containsKey('bigQueryDestination')
? BigQueryDestination.fromJson(json_['bigQueryDestination']
as core.Map<core.String, core.dynamic>)
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
customRulesBucket: json_.containsKey('customRulesBucket')
? json_['customRulesBucket'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
resourceFilter: json_.containsKey('resourceFilter')
? ResourceFilter.fromJson(json_['resourceFilter']
as core.Map<core.String, core.dynamic>)
: null,
resourceStatus: json_.containsKey('resourceStatus')
? ResourceStatus.fromJson(json_['resourceStatus']
as core.Map<core.String, core.dynamic>)
: null,
ruleNames: json_.containsKey('ruleNames')
? (json_['ruleNames'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ruleVersions: json_.containsKey('ruleVersions')
? (json_['ruleVersions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
schedule: json_.containsKey('schedule')
? json_['schedule'] as core.String
: null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
);