SoftwareRecipeStepInstallMsi.fromMap constructor

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

Implementation

factory SoftwareRecipeStepInstallMsi.fromMap(Map<String, dynamic> map) {
  return SoftwareRecipeStepInstallMsi(
    allowedExitCodes: (() { final guardedValue = map['allowedExitCodes']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<int>()); })(),
    artifactId: pulumi.Input.fromValue(map['artifactId'] as String),
    flags: (() { final guardedValue = map['flags']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
  );
}