PatchDeploymentPatchConfigPostStepLinuxExecStepConfig.fromMap constructor
PatchDeploymentPatchConfigPostStepLinuxExecStepConfig.fromMap(
- Map<String, dynamic> map
)
Implementation
factory PatchDeploymentPatchConfigPostStepLinuxExecStepConfig.fromMap(Map<String, dynamic> map) {
return PatchDeploymentPatchConfigPostStepLinuxExecStepConfig(
allowedSuccessCodes: (() { final guardedValue = map['allowedSuccessCodes']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<int>()); })(),
gcsObject: (() { final guardedValue = map['gcsObject']; if (guardedValue == null) return null; return pulumi.Input.fromValue(PatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
interpreter: (() { final guardedValue = map['interpreter']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
localPath: (() { final guardedValue = map['localPath']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
);
}