DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowStartDate.fromMap constructor
DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowStartDate.fromMap()
Implementation
factory DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowStartDate.fromMap(Map<String, dynamic> map) {
return DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowStartDate(
day: (() { final guardedValue = map['day']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
month: (() { final guardedValue = map['month']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
year: (() { final guardedValue = map['year']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}