toJson method
Implementation
Map<String, dynamic> toJson() {
final allowVersionUpgrade = this.allowVersionUpgrade;
final automatedSnapshotRetentionPeriod =
this.automatedSnapshotRetentionPeriod;
final availabilityZone = this.availabilityZone;
final clusterAvailabilityStatus = this.clusterAvailabilityStatus;
final clusterCreateTime = this.clusterCreateTime;
final clusterIdentifier = this.clusterIdentifier;
final clusterNodes = this.clusterNodes;
final clusterParameterGroups = this.clusterParameterGroups;
final clusterPublicKey = this.clusterPublicKey;
final clusterRevisionNumber = this.clusterRevisionNumber;
final clusterSecurityGroups = this.clusterSecurityGroups;
final clusterSnapshotCopyStatus = this.clusterSnapshotCopyStatus;
final clusterStatus = this.clusterStatus;
final clusterSubnetGroupName = this.clusterSubnetGroupName;
final clusterVersion = this.clusterVersion;
final dBName = this.dBName;
final deferredMaintenanceWindows = this.deferredMaintenanceWindows;
final elasticIpStatus = this.elasticIpStatus;
final elasticResizeNumberOfNodeOptions =
this.elasticResizeNumberOfNodeOptions;
final encrypted = this.encrypted;
final endpoint = this.endpoint;
final enhancedVpcRouting = this.enhancedVpcRouting;
final expectedNextSnapshotScheduleTime =
this.expectedNextSnapshotScheduleTime;
final expectedNextSnapshotScheduleTimeStatus =
this.expectedNextSnapshotScheduleTimeStatus;
final hsmStatus = this.hsmStatus;
final iamRoles = this.iamRoles;
final kmsKeyId = this.kmsKeyId;
final maintenanceTrackName = this.maintenanceTrackName;
final manualSnapshotRetentionPeriod = this.manualSnapshotRetentionPeriod;
final masterUsername = this.masterUsername;
final nextMaintenanceWindowStartTime = this.nextMaintenanceWindowStartTime;
final nodeType = this.nodeType;
final numberOfNodes = this.numberOfNodes;
final pendingActions = this.pendingActions;
final pendingModifiedValues = this.pendingModifiedValues;
final preferredMaintenanceWindow = this.preferredMaintenanceWindow;
final publiclyAccessible = this.publiclyAccessible;
final resizeInfo = this.resizeInfo;
final restoreStatus = this.restoreStatus;
final snapshotScheduleIdentifier = this.snapshotScheduleIdentifier;
final snapshotScheduleState = this.snapshotScheduleState;
final vpcId = this.vpcId;
final vpcSecurityGroups = this.vpcSecurityGroups;
return {
if (allowVersionUpgrade != null)
'AllowVersionUpgrade': allowVersionUpgrade,
if (automatedSnapshotRetentionPeriod != null)
'AutomatedSnapshotRetentionPeriod': automatedSnapshotRetentionPeriod,
if (availabilityZone != null) 'AvailabilityZone': availabilityZone,
if (clusterAvailabilityStatus != null)
'ClusterAvailabilityStatus': clusterAvailabilityStatus,
if (clusterCreateTime != null) 'ClusterCreateTime': clusterCreateTime,
if (clusterIdentifier != null) 'ClusterIdentifier': clusterIdentifier,
if (clusterNodes != null) 'ClusterNodes': clusterNodes,
if (clusterParameterGroups != null)
'ClusterParameterGroups': clusterParameterGroups,
if (clusterPublicKey != null) 'ClusterPublicKey': clusterPublicKey,
if (clusterRevisionNumber != null)
'ClusterRevisionNumber': clusterRevisionNumber,
if (clusterSecurityGroups != null)
'ClusterSecurityGroups': clusterSecurityGroups,
if (clusterSnapshotCopyStatus != null)
'ClusterSnapshotCopyStatus': clusterSnapshotCopyStatus,
if (clusterStatus != null) 'ClusterStatus': clusterStatus,
if (clusterSubnetGroupName != null)
'ClusterSubnetGroupName': clusterSubnetGroupName,
if (clusterVersion != null) 'ClusterVersion': clusterVersion,
if (dBName != null) 'DBName': dBName,
if (deferredMaintenanceWindows != null)
'DeferredMaintenanceWindows': deferredMaintenanceWindows,
if (elasticIpStatus != null) 'ElasticIpStatus': elasticIpStatus,
if (elasticResizeNumberOfNodeOptions != null)
'ElasticResizeNumberOfNodeOptions': elasticResizeNumberOfNodeOptions,
if (encrypted != null) 'Encrypted': encrypted,
if (endpoint != null) 'Endpoint': endpoint,
if (enhancedVpcRouting != null) 'EnhancedVpcRouting': enhancedVpcRouting,
if (expectedNextSnapshotScheduleTime != null)
'ExpectedNextSnapshotScheduleTime': expectedNextSnapshotScheduleTime,
if (expectedNextSnapshotScheduleTimeStatus != null)
'ExpectedNextSnapshotScheduleTimeStatus':
expectedNextSnapshotScheduleTimeStatus,
if (hsmStatus != null) 'HsmStatus': hsmStatus,
if (iamRoles != null) 'IamRoles': iamRoles,
if (kmsKeyId != null) 'KmsKeyId': kmsKeyId,
if (maintenanceTrackName != null)
'MaintenanceTrackName': maintenanceTrackName,
if (manualSnapshotRetentionPeriod != null)
'ManualSnapshotRetentionPeriod': manualSnapshotRetentionPeriod,
if (masterUsername != null) 'MasterUsername': masterUsername,
if (nextMaintenanceWindowStartTime != null)
'NextMaintenanceWindowStartTime': nextMaintenanceWindowStartTime,
if (nodeType != null) 'NodeType': nodeType,
if (numberOfNodes != null) 'NumberOfNodes': numberOfNodes,
if (pendingActions != null) 'PendingActions': pendingActions,
if (pendingModifiedValues != null)
'PendingModifiedValues': pendingModifiedValues,
if (preferredMaintenanceWindow != null)
'PreferredMaintenanceWindow': preferredMaintenanceWindow,
if (publiclyAccessible != null) 'PubliclyAccessible': publiclyAccessible,
if (resizeInfo != null) 'ResizeInfo': resizeInfo,
if (restoreStatus != null) 'RestoreStatus': restoreStatus,
if (snapshotScheduleIdentifier != null)
'SnapshotScheduleIdentifier': snapshotScheduleIdentifier,
if (snapshotScheduleState != null)
'SnapshotScheduleState': snapshotScheduleState,
if (vpcId != null) 'VpcId': vpcId,
if (vpcSecurityGroups != null) 'VpcSecurityGroups': vpcSecurityGroups,
};
}