ClusterSnapshotCopyStatus.fromXml constructor

ClusterSnapshotCopyStatus.fromXml(
  1. XmlElement elem
)

Implementation

factory ClusterSnapshotCopyStatus.fromXml(_s.XmlElement elem) {
  return ClusterSnapshotCopyStatus(
    destinationRegion: _s.extractXmlStringValue(elem, 'DestinationRegion'),
    manualSnapshotRetentionPeriod:
        _s.extractXmlIntValue(elem, 'ManualSnapshotRetentionPeriod'),
    retentionPeriod: _s.extractXmlIntValue(elem, 'RetentionPeriod'),
    snapshotCopyGrantName:
        _s.extractXmlStringValue(elem, 'SnapshotCopyGrantName'),
  );
}