DeployPolicyRuleRolloutRestrictionTimeWindowsWeeklyWindowEndTime.fromMap constructor
DeployPolicyRuleRolloutRestrictionTimeWindowsWeeklyWindowEndTime.fromMap()
Implementation
factory DeployPolicyRuleRolloutRestrictionTimeWindowsWeeklyWindowEndTime.fromMap(Map<String, dynamic> map) {
return DeployPolicyRuleRolloutRestrictionTimeWindowsWeeklyWindowEndTime(
hours: (() { final guardedValue = map['hours']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
minutes: (() { final guardedValue = map['minutes']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
nanos: (() { final guardedValue = map['nanos']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
seconds: (() { final guardedValue = map['seconds']; if (guardedValue == null) return null; return pulumi.Input.fromValue((guardedValue as num).toInt()); })(),
);
}