DeploymentPolicies.fromJson constructor
DeploymentPolicies.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DeploymentPolicies.fromJson(Map<String, dynamic> json) {
return DeploymentPolicies(
componentUpdatePolicy: json['componentUpdatePolicy'] != null
? DeploymentComponentUpdatePolicy.fromJson(
json['componentUpdatePolicy'] as Map<String, dynamic>)
: null,
configurationValidationPolicy:
json['configurationValidationPolicy'] != null
? DeploymentConfigurationValidationPolicy.fromJson(
json['configurationValidationPolicy'] as Map<String, dynamic>)
: null,
failureHandlingPolicy: (json['failureHandlingPolicy'] as String?)
?.toDeploymentFailureHandlingPolicy(),
);
}