DatascanDataQualitySpecRuleStatisticRangeExpectation.fromMap constructor

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

Implementation

factory DatascanDataQualitySpecRuleStatisticRangeExpectation.fromMap(Map<String, dynamic> map) {
  return DatascanDataQualitySpecRuleStatisticRangeExpectation(
    maxValue: (() { final guardedValue = map['maxValue']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    minValue: (() { final guardedValue = map['minValue']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    statistic: pulumi.Input.fromValue(map['statistic'] as String),
    strictMaxEnabled: (() { final guardedValue = map['strictMaxEnabled']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
    strictMinEnabled: (() { final guardedValue = map['strictMinEnabled']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as bool); })(),
  );
}