PatchDeploymentPatchConfigPostStep.fromMap constructor

PatchDeploymentPatchConfigPostStep.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory PatchDeploymentPatchConfigPostStep.fromMap(Map<String, dynamic> map) {
  return PatchDeploymentPatchConfigPostStep(
    linuxExecStepConfig: (() { final guardedValue = map['linuxExecStepConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(PatchDeploymentPatchConfigPostStepLinuxExecStepConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
    windowsExecStepConfig: (() { final guardedValue = map['windowsExecStepConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(PatchDeploymentPatchConfigPostStepWindowsExecStepConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}