PatchDeploymentPatchConfigPreStep.fromMap constructor

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

Implementation

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