toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final allocatedStorage = this.allocatedStorage;
  final backupRetentionPeriod = this.backupRetentionPeriod;
  final caCertificateIdentifier = this.caCertificateIdentifier;
  final dbInstanceClass = this.dbInstanceClass;
  final dbInstanceIdentifier = this.dbInstanceIdentifier;
  final dbSubnetGroupName = this.dbSubnetGroupName;
  final engineVersion = this.engineVersion;
  final iops = this.iops;
  final licenseModel = this.licenseModel;
  final masterUserPassword = this.masterUserPassword;
  final multiAZ = this.multiAZ;
  final pendingCloudWatchLogsExports = this.pendingCloudWatchLogsExports;
  final port = this.port;
  final processorFeatures = this.processorFeatures;
  final storageType = this.storageType;
  return {
    if (allocatedStorage != null) 'AllocatedStorage': allocatedStorage,
    if (backupRetentionPeriod != null)
      'BackupRetentionPeriod': backupRetentionPeriod,
    if (caCertificateIdentifier != null)
      'CaCertificateIdentifier': caCertificateIdentifier,
    if (dbInstanceClass != null) 'DbInstanceClass': dbInstanceClass,
    if (dbInstanceIdentifier != null)
      'DbInstanceIdentifier': dbInstanceIdentifier,
    if (dbSubnetGroupName != null) 'DbSubnetGroupName': dbSubnetGroupName,
    if (engineVersion != null) 'EngineVersion': engineVersion,
    if (iops != null) 'Iops': iops,
    if (licenseModel != null) 'LicenseModel': licenseModel,
    if (masterUserPassword != null) 'MasterUserPassword': masterUserPassword,
    if (multiAZ != null) 'MultiAZ': multiAZ,
    if (pendingCloudWatchLogsExports != null)
      'PendingCloudWatchLogsExports': pendingCloudWatchLogsExports,
    if (port != null) 'Port': port,
    if (processorFeatures != null) 'ProcessorFeatures': processorFeatures,
    if (storageType != null) 'StorageType': storageType,
  };
}