PendingModifiedValues.fromXml constructor

PendingModifiedValues.fromXml(
  1. XmlElement elem
)

Implementation

factory PendingModifiedValues.fromXml(_s.XmlElement elem) {
  return PendingModifiedValues(
    allocatedStorage: _s.extractXmlIntValue(elem, 'AllocatedStorage'),
    backupRetentionPeriod:
        _s.extractXmlIntValue(elem, 'BackupRetentionPeriod'),
    cACertificateIdentifier:
        _s.extractXmlStringValue(elem, 'CACertificateIdentifier'),
    dBInstanceClass: _s.extractXmlStringValue(elem, 'DBInstanceClass'),
    dBInstanceIdentifier:
        _s.extractXmlStringValue(elem, 'DBInstanceIdentifier'),
    dBSubnetGroupName: _s.extractXmlStringValue(elem, 'DBSubnetGroupName'),
    engineVersion: _s.extractXmlStringValue(elem, 'EngineVersion'),
    iops: _s.extractXmlIntValue(elem, 'Iops'),
    licenseModel: _s.extractXmlStringValue(elem, 'LicenseModel'),
    masterUserPassword: _s.extractXmlStringValue(elem, 'MasterUserPassword'),
    multiAZ: _s.extractXmlBoolValue(elem, 'MultiAZ'),
    pendingCloudwatchLogsExports: _s
        .extractXmlChild(elem, 'PendingCloudwatchLogsExports')
        ?.let((e) => PendingCloudwatchLogsExports.fromXml(e)),
    port: _s.extractXmlIntValue(elem, 'Port'),
    storageType: _s.extractXmlStringValue(elem, 'StorageType'),
  );
}