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'),
optionGroupName: _s.extractXmlStringValue(elem, 'OptionGroupName'),
percentProgress: _s.extractXmlIntValue(elem, 'PercentProgress'),
port: _s.extractXmlIntValue(elem, 'Port'),
snapshotCreateTime:
_s.extractXmlDateTimeValue(elem, 'SnapshotCreateTime'),
snapshotType: _s.extractXmlStringValue(elem, 'SnapshotType'),
sourceRegion: _s.extractXmlStringValue(elem, 'SourceRegion'),
status: _s.extractXmlStringValue(elem, 'Status'),
vpcId: _s.extractXmlStringValue(elem, 'VpcId'),
);
}