DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowEndDate.fromMap constructor
DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowEndDate.fromMap()
Implementation
factory DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowEndDate.fromMap(Map<String, dynamic> map) {
return DeployPolicyRuleRolloutRestrictionTimeWindowsOneTimeWindowEndDate(
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()); })(),
);
}