toJson method
Implementation
Map<String, dynamic> toJson() {
final allocatedStorage = this.allocatedStorage;
final availabilityZone = this.availabilityZone;
final dbInstanceIdentifier = this.dbInstanceIdentifier;
final dbSnapshotIdentifier = this.dbSnapshotIdentifier;
final dbiResourceId = this.dbiResourceId;
final encrypted = this.encrypted;
final engine = this.engine;
final engineVersion = this.engineVersion;
final iamDatabaseAuthenticationEnabled =
this.iamDatabaseAuthenticationEnabled;
final instanceCreateTime = this.instanceCreateTime;
final iops = this.iops;
final kmsKeyId = this.kmsKeyId;
final licenseModel = this.licenseModel;
final masterUsername = this.masterUsername;
final optionGroupName = this.optionGroupName;
final percentProgress = this.percentProgress;
final port = this.port;
final processorFeatures = this.processorFeatures;
final snapshotCreateTime = this.snapshotCreateTime;
final snapshotType = this.snapshotType;
final sourceDbSnapshotIdentifier = this.sourceDbSnapshotIdentifier;
final sourceRegion = this.sourceRegion;
final status = this.status;
final storageType = this.storageType;
final tdeCredentialArn = this.tdeCredentialArn;
final timezone = this.timezone;
final vpcId = this.vpcId;
return {
if (allocatedStorage != null) 'AllocatedStorage': allocatedStorage,
if (availabilityZone != null) 'AvailabilityZone': availabilityZone,
if (dbInstanceIdentifier != null)
'DbInstanceIdentifier': dbInstanceIdentifier,
if (dbSnapshotIdentifier != null)
'DbSnapshotIdentifier': dbSnapshotIdentifier,
if (dbiResourceId != null) 'DbiResourceId': dbiResourceId,
if (encrypted != null) 'Encrypted': encrypted,
if (engine != null) 'Engine': engine,
if (engineVersion != null) 'EngineVersion': engineVersion,
if (iamDatabaseAuthenticationEnabled != null)
'IamDatabaseAuthenticationEnabled': iamDatabaseAuthenticationEnabled,
if (instanceCreateTime != null) 'InstanceCreateTime': instanceCreateTime,
if (iops != null) 'Iops': iops,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (licenseModel != null) 'LicenseModel': licenseModel,
if (masterUsername != null) 'MasterUsername': masterUsername,
if (optionGroupName != null) 'OptionGroupName': optionGroupName,
if (percentProgress != null) 'PercentProgress': percentProgress,
if (port != null) 'Port': port,
if (processorFeatures != null) 'ProcessorFeatures': processorFeatures,
if (snapshotCreateTime != null) 'SnapshotCreateTime': snapshotCreateTime,
if (snapshotType != null) 'SnapshotType': snapshotType,
if (sourceDbSnapshotIdentifier != null)
'SourceDbSnapshotIdentifier': sourceDbSnapshotIdentifier,
if (sourceRegion != null) 'SourceRegion': sourceRegion,
if (status != null) 'Status': status,
if (storageType != null) 'StorageType': storageType,
if (tdeCredentialArn != null) 'TdeCredentialArn': tdeCredentialArn,
if (timezone != null) 'Timezone': timezone,
if (vpcId != null) 'VpcId': vpcId,
};
}