GetRegionHealthAggregationPolicyRequest.fromJson constructor
GetRegionHealthAggregationPolicyRequest.fromJson(
- Object? j
Implementation
factory GetRegionHealthAggregationPolicyRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return GetRegionHealthAggregationPolicyRequest(
healthAggregationPolicy: switch (json['healthAggregationPolicy']) {
null => '',
Object $1 => decodeString($1),
},
project: switch (json['project']) {
null => '',
Object $1 => decodeString($1),
},
region: switch (json['region']) {
null => '',
Object $1 => decodeString($1),
},
);
}