SnapshotErrorMessage.fromXml constructor

SnapshotErrorMessage.fromXml(
  1. XmlElement elem
)

Implementation

factory SnapshotErrorMessage.fromXml(_s.XmlElement elem) {
  return SnapshotErrorMessage(
    failureCode: _s.extractXmlStringValue(elem, 'FailureCode'),
    failureReason: _s.extractXmlStringValue(elem, 'FailureReason'),
    snapshotClusterIdentifier:
        _s.extractXmlStringValue(elem, 'SnapshotClusterIdentifier'),
    snapshotIdentifier: _s.extractXmlStringValue(elem, 'SnapshotIdentifier'),
  );
}