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