BlueGreenDeploymentConfiguration.fromJson constructor
BlueGreenDeploymentConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory BlueGreenDeploymentConfiguration.fromJson(Map<String, dynamic> json) {
return BlueGreenDeploymentConfiguration(
deploymentReadyOption: json['deploymentReadyOption'] != null
? DeploymentReadyOption.fromJson(
json['deploymentReadyOption'] as Map<String, dynamic>)
: null,
greenFleetProvisioningOption: json['greenFleetProvisioningOption'] != null
? GreenFleetProvisioningOption.fromJson(
json['greenFleetProvisioningOption'] as Map<String, dynamic>)
: null,
terminateBlueInstancesOnDeploymentSuccess:
json['terminateBlueInstancesOnDeploymentSuccess'] != null
? BlueInstanceTerminationOption.fromJson(
json['terminateBlueInstancesOnDeploymentSuccess']
as Map<String, dynamic>)
: null,
);
}