DBSnapshot.fromXml constructor
DBSnapshot.fromXml(
- XmlElement elem
Implementation
factory DBSnapshot.fromXml(_s.XmlElement elem) {
return DBSnapshot(
allocatedStorage: _s.extractXmlIntValue(elem, 'AllocatedStorage'),
availabilityZone: _s.extractXmlStringValue(elem, 'AvailabilityZone'),
dBInstanceIdentifier:
_s.extractXmlStringValue(elem, 'DBInstanceIdentifier'),
dBSnapshotIdentifier:
_s.extractXmlStringValue(elem, 'DBSnapshotIdentifier'),
engine: _s.extractXmlStringValue(elem, 'Engine'),
engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
instanceCreateTime:
_s.extractXmlDateTimeValue(elem, 'InstanceCreateTime'),
iops: _s.extractXmlIntValue(elem, 'Iops'),
licenseModel: _s.extractXmlStringValue(elem, 'LicenseModel'),
masterUsername: _s.extractXmlStringValue(elem, 'MasterUsername'),
port: _s.extractXmlIntValue(elem, 'Port'),
snapshotCreateTime:
_s.extractXmlDateTimeValue(elem, 'SnapshotCreateTime'),
snapshotType: _s.extractXmlStringValue(elem, 'SnapshotType'),
status: _s.extractXmlStringValue(elem, 'Status'),
vpcId: _s.extractXmlStringValue(elem, 'VpcId'),
);
}