CreateDeploymentResourcePoolRequest.fromJson constructor
CreateDeploymentResourcePoolRequest.fromJson(
- Object? j
Implementation
factory CreateDeploymentResourcePoolRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CreateDeploymentResourcePoolRequest(
parent: switch (json['parent']) {
null => '',
Object $1 => decodeString($1),
},
deploymentResourcePool: switch (json['deploymentResourcePool']) {
null => null,
Object $1 => DeploymentResourcePool.fromJson($1),
},
deploymentResourcePoolId: switch (json['deploymentResourcePoolId']) {
null => '',
Object $1 => decodeString($1),
},
);
}