DescribeSnapshotSchedulesOutputMessage.fromXml constructor

DescribeSnapshotSchedulesOutputMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory DescribeSnapshotSchedulesOutputMessage.fromXml(_s.XmlElement elem) {
  return DescribeSnapshotSchedulesOutputMessage(
    marker: _s.extractXmlStringValue(elem, 'Marker'),
    snapshotSchedules: _s.extractXmlChild(elem, 'SnapshotSchedules')?.let(
        (elem) => elem
            .findElements('SnapshotSchedule')
            .map((c) => SnapshotSchedule.fromXml(c))
            .toList()),
  );
}