InputMappingDeploymentmanagerV2beta.fromMap constructor

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

Implementation

factory InputMappingDeploymentmanagerV2beta.fromMap(Map<String, dynamic> map) {
  return InputMappingDeploymentmanagerV2beta(
    fieldName: (() { final guardedValue = map['fieldName']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    location: (() { final guardedValue = map['location']; if (guardedValue == null) return null; return pulumi.Input.fromValue(InputMappingLocationDeploymentmanagerV2beta.fromValue(guardedValue as String)); })(),
    methodMatch: (() { final guardedValue = map['methodMatch']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    value: (() { final guardedValue = map['value']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}