RRSetRoutingPolicy.fromJson constructor
RRSetRoutingPolicy.fromJson(
- Map json_
Implementation
RRSetRoutingPolicy.fromJson(core.Map json_)
: this(
geo: json_.containsKey('geo')
? RRSetRoutingPolicyGeoPolicy.fromJson(
json_['geo'] as core.Map<core.String, core.dynamic>)
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
primaryBackup: json_.containsKey('primaryBackup')
? RRSetRoutingPolicyPrimaryBackupPolicy.fromJson(
json_['primaryBackup'] as core.Map<core.String, core.dynamic>)
: null,
wrr: json_.containsKey('wrr')
? RRSetRoutingPolicyWrrPolicy.fromJson(
json_['wrr'] as core.Map<core.String, core.dynamic>)
: null,
);