AutomationRuleTimedPromoteReleaseRule.fromMap constructor

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

Implementation

factory AutomationRuleTimedPromoteReleaseRule.fromMap(Map<String, dynamic> map) {
  return AutomationRuleTimedPromoteReleaseRule(
    destinationPhase: (() { final guardedValue = map['destinationPhase']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    destinationTargetId: (() { final guardedValue = map['destinationTargetId']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    id: pulumi.Input.fromValue(map['id'] as String),
    schedule: pulumi.Input.fromValue(map['schedule'] as String),
    timeZone: pulumi.Input.fromValue(map['timeZone'] as String),
  );
}