ScheduledUpdateGroupAction.fromXml constructor

ScheduledUpdateGroupAction.fromXml(
  1. XmlElement elem
)

Implementation

factory ScheduledUpdateGroupAction.fromXml(_s.XmlElement elem) {
  return ScheduledUpdateGroupAction(
    autoScalingGroupName:
        _s.extractXmlStringValue(elem, 'AutoScalingGroupName'),
    desiredCapacity: _s.extractXmlIntValue(elem, 'DesiredCapacity'),
    endTime: _s.extractXmlDateTimeValue(elem, 'EndTime'),
    maxSize: _s.extractXmlIntValue(elem, 'MaxSize'),
    minSize: _s.extractXmlIntValue(elem, 'MinSize'),
    recurrence: _s.extractXmlStringValue(elem, 'Recurrence'),
    scheduledActionARN: _s.extractXmlStringValue(elem, 'ScheduledActionARN'),
    scheduledActionName:
        _s.extractXmlStringValue(elem, 'ScheduledActionName'),
    startTime: _s.extractXmlDateTimeValue(elem, 'StartTime'),
    time: _s.extractXmlDateTimeValue(elem, 'Time'),
  );
}