toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final allocatedStorage = this.allocatedStorage;
  final associatedRoles = this.associatedRoles;
  final autoMinorVersionUpgrade = this.autoMinorVersionUpgrade;
  final availabilityZone = this.availabilityZone;
  final backupRetentionPeriod = this.backupRetentionPeriod;
  final cACertificateIdentifier = this.cACertificateIdentifier;
  final characterSetName = this.characterSetName;
  final copyTagsToSnapshot = this.copyTagsToSnapshot;
  final dBClusterIdentifier = this.dBClusterIdentifier;
  final dBInstanceClass = this.dBInstanceClass;
  final dBInstanceIdentifier = this.dBInstanceIdentifier;
  final dBName = this.dBName;
  final dbInstancePort = this.dbInstancePort;
  final dbInstanceStatus = this.dbInstanceStatus;
  final dbParameterGroups = this.dbParameterGroups;
  final dbSecurityGroups = this.dbSecurityGroups;
  final dbSubnetGroup = this.dbSubnetGroup;
  final dbiResourceId = this.dbiResourceId;
  final deletionProtection = this.deletionProtection;
  final domainMemberships = this.domainMemberships;
  final enabledCloudWatchLogsExports = this.enabledCloudWatchLogsExports;
  final endpoint = this.endpoint;
  final engine = this.engine;
  final engineVersion = this.engineVersion;
  final enhancedMonitoringResourceArn = this.enhancedMonitoringResourceArn;
  final iAMDatabaseAuthenticationEnabled =
      this.iAMDatabaseAuthenticationEnabled;
  final instanceCreateTime = this.instanceCreateTime;
  final iops = this.iops;
  final kmsKeyId = this.kmsKeyId;
  final latestRestorableTime = this.latestRestorableTime;
  final licenseModel = this.licenseModel;
  final listenerEndpoint = this.listenerEndpoint;
  final masterUsername = this.masterUsername;
  final maxAllocatedStorage = this.maxAllocatedStorage;
  final monitoringInterval = this.monitoringInterval;
  final monitoringRoleArn = this.monitoringRoleArn;
  final multiAz = this.multiAz;
  final optionGroupMemberships = this.optionGroupMemberships;
  final pendingModifiedValues = this.pendingModifiedValues;
  final performanceInsightsEnabled = this.performanceInsightsEnabled;
  final performanceInsightsKmsKeyId = this.performanceInsightsKmsKeyId;
  final performanceInsightsRetentionPeriod =
      this.performanceInsightsRetentionPeriod;
  final preferredBackupWindow = this.preferredBackupWindow;
  final preferredMaintenanceWindow = this.preferredMaintenanceWindow;
  final processorFeatures = this.processorFeatures;
  final promotionTier = this.promotionTier;
  final publiclyAccessible = this.publiclyAccessible;
  final readReplicaDBClusterIdentifiers =
      this.readReplicaDBClusterIdentifiers;
  final readReplicaDBInstanceIdentifiers =
      this.readReplicaDBInstanceIdentifiers;
  final readReplicaSourceDBInstanceIdentifier =
      this.readReplicaSourceDBInstanceIdentifier;
  final secondaryAvailabilityZone = this.secondaryAvailabilityZone;
  final statusInfos = this.statusInfos;
  final storageEncrypted = this.storageEncrypted;
  final storageType = this.storageType;
  final tdeCredentialArn = this.tdeCredentialArn;
  final timezone = this.timezone;
  final vpcSecurityGroups = this.vpcSecurityGroups;
  return {
    if (allocatedStorage != null) 'AllocatedStorage': allocatedStorage,
    if (associatedRoles != null) 'AssociatedRoles': associatedRoles,
    if (autoMinorVersionUpgrade != null)
      'AutoMinorVersionUpgrade': autoMinorVersionUpgrade,
    if (availabilityZone != null) 'AvailabilityZone': availabilityZone,
    if (backupRetentionPeriod != null)
      'BackupRetentionPeriod': backupRetentionPeriod,
    if (cACertificateIdentifier != null)
      'CACertificateIdentifier': cACertificateIdentifier,
    if (characterSetName != null) 'CharacterSetName': characterSetName,
    if (copyTagsToSnapshot != null) 'CopyTagsToSnapshot': copyTagsToSnapshot,
    if (dBClusterIdentifier != null)
      'DBClusterIdentifier': dBClusterIdentifier,
    if (dBInstanceClass != null) 'DBInstanceClass': dBInstanceClass,
    if (dBInstanceIdentifier != null)
      'DBInstanceIdentifier': dBInstanceIdentifier,
    if (dBName != null) 'DBName': dBName,
    if (dbInstancePort != null) 'DbInstancePort': dbInstancePort,
    if (dbInstanceStatus != null) 'DbInstanceStatus': dbInstanceStatus,
    if (dbParameterGroups != null) 'DbParameterGroups': dbParameterGroups,
    if (dbSecurityGroups != null) 'DbSecurityGroups': dbSecurityGroups,
    if (dbSubnetGroup != null) 'DbSubnetGroup': dbSubnetGroup,
    if (dbiResourceId != null) 'DbiResourceId': dbiResourceId,
    if (deletionProtection != null) 'DeletionProtection': deletionProtection,
    if (domainMemberships != null) 'DomainMemberships': domainMemberships,
    if (enabledCloudWatchLogsExports != null)
      'EnabledCloudWatchLogsExports': enabledCloudWatchLogsExports,
    if (endpoint != null) 'Endpoint': endpoint,
    if (engine != null) 'Engine': engine,
    if (engineVersion != null) 'EngineVersion': engineVersion,
    if (enhancedMonitoringResourceArn != null)
      'EnhancedMonitoringResourceArn': enhancedMonitoringResourceArn,
    if (iAMDatabaseAuthenticationEnabled != null)
      'IAMDatabaseAuthenticationEnabled': iAMDatabaseAuthenticationEnabled,
    if (instanceCreateTime != null) 'InstanceCreateTime': instanceCreateTime,
    if (iops != null) 'Iops': iops,
    if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
    if (latestRestorableTime != null)
      'LatestRestorableTime': latestRestorableTime,
    if (licenseModel != null) 'LicenseModel': licenseModel,
    if (listenerEndpoint != null) 'ListenerEndpoint': listenerEndpoint,
    if (masterUsername != null) 'MasterUsername': masterUsername,
    if (maxAllocatedStorage != null)
      'MaxAllocatedStorage': maxAllocatedStorage,
    if (monitoringInterval != null) 'MonitoringInterval': monitoringInterval,
    if (monitoringRoleArn != null) 'MonitoringRoleArn': monitoringRoleArn,
    if (multiAz != null) 'MultiAz': multiAz,
    if (optionGroupMemberships != null)
      'OptionGroupMemberships': optionGroupMemberships,
    if (pendingModifiedValues != null)
      'PendingModifiedValues': pendingModifiedValues,
    if (performanceInsightsEnabled != null)
      'PerformanceInsightsEnabled': performanceInsightsEnabled,
    if (performanceInsightsKmsKeyId != null)
      'PerformanceInsightsKmsKeyId': performanceInsightsKmsKeyId,
    if (performanceInsightsRetentionPeriod != null)
      'PerformanceInsightsRetentionPeriod':
          performanceInsightsRetentionPeriod,
    if (preferredBackupWindow != null)
      'PreferredBackupWindow': preferredBackupWindow,
    if (preferredMaintenanceWindow != null)
      'PreferredMaintenanceWindow': preferredMaintenanceWindow,
    if (processorFeatures != null) 'ProcessorFeatures': processorFeatures,
    if (promotionTier != null) 'PromotionTier': promotionTier,
    if (publiclyAccessible != null) 'PubliclyAccessible': publiclyAccessible,
    if (readReplicaDBClusterIdentifiers != null)
      'ReadReplicaDBClusterIdentifiers': readReplicaDBClusterIdentifiers,
    if (readReplicaDBInstanceIdentifiers != null)
      'ReadReplicaDBInstanceIdentifiers': readReplicaDBInstanceIdentifiers,
    if (readReplicaSourceDBInstanceIdentifier != null)
      'ReadReplicaSourceDBInstanceIdentifier':
          readReplicaSourceDBInstanceIdentifier,
    if (secondaryAvailabilityZone != null)
      'SecondaryAvailabilityZone': secondaryAvailabilityZone,
    if (statusInfos != null) 'StatusInfos': statusInfos,
    if (storageEncrypted != null) 'StorageEncrypted': storageEncrypted,
    if (storageType != null) 'StorageType': storageType,
    if (tdeCredentialArn != null) 'TdeCredentialArn': tdeCredentialArn,
    if (timezone != null) 'Timezone': timezone,
    if (vpcSecurityGroups != null) 'VpcSecurityGroups': vpcSecurityGroups,
  };
}