PatchDeploymentPatchConfigApt.fromMap constructor

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

Implementation

factory PatchDeploymentPatchConfigApt.fromMap(Map<String, dynamic> map) {
  return PatchDeploymentPatchConfigApt(
    excludes: (() { final guardedValue = map['excludes']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
    exclusivePackages: (() { final guardedValue = map['exclusivePackages']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as List).cast<String>()); })(),
    type: (() { final guardedValue = map['type']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}