HealthCheckService.fromJson constructor
HealthCheckService.fromJson(
- Map json_
Implementation
HealthCheckService.fromJson(core.Map json_)
: this(
creationTimestamp: json_.containsKey('creationTimestamp')
? json_['creationTimestamp'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
fingerprint: json_.containsKey('fingerprint')
? json_['fingerprint'] as core.String
: null,
healthChecks: json_.containsKey('healthChecks')
? (json_['healthChecks'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
healthStatusAggregationPolicy:
json_.containsKey('healthStatusAggregationPolicy')
? json_['healthStatusAggregationPolicy'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
networkEndpointGroups: json_.containsKey('networkEndpointGroups')
? (json_['networkEndpointGroups'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
notificationEndpoints: json_.containsKey('notificationEndpoints')
? (json_['notificationEndpoints'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
region: json_.containsKey('region')
? json_['region'] as core.String
: null,
selfLink: json_.containsKey('selfLink')
? json_['selfLink'] as core.String
: null,
);