RRSetRoutingPolicyPrimaryBackupPolicy.fromJson constructor
RRSetRoutingPolicyPrimaryBackupPolicy.fromJson(
- Map json_
Implementation
RRSetRoutingPolicyPrimaryBackupPolicy.fromJson(core.Map json_)
: this(
backupGeoTargets: json_.containsKey('backupGeoTargets')
? RRSetRoutingPolicyGeoPolicy.fromJson(json_['backupGeoTargets']
as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
primaryTargets: json_.containsKey('primaryTargets')
? RRSetRoutingPolicyHealthCheckTargets.fromJson(
json_['primaryTargets']
as core.Map<core.String, core.dynamic>)
: null,
trickleTraffic: json_.containsKey('trickleTraffic')
? (json_['trickleTraffic'] as core.num).toDouble()
: null,
);