Ebs.fromXml constructor

Ebs.fromXml(
  1. XmlElement elem
)

Implementation

factory Ebs.fromXml(_s.XmlElement elem) {
  return Ebs(
    deleteOnTermination: _s.extractXmlBoolValue(elem, 'DeleteOnTermination'),
    encrypted: _s.extractXmlBoolValue(elem, 'Encrypted'),
    iops: _s.extractXmlIntValue(elem, 'Iops'),
    snapshotId: _s.extractXmlStringValue(elem, 'SnapshotId'),
    volumeSize: _s.extractXmlIntValue(elem, 'VolumeSize'),
    volumeType: _s.extractXmlStringValue(elem, 'VolumeType'),
  );
}