toJson method
Implementation
Map<String, dynamic> toJson() {
final databaseCredentials = this.databaseCredentials;
final databaseInformation = this.databaseInformation;
final resourceRole = this.resourceRole;
final s3StagingLocation = this.s3StagingLocation;
final securityGroupIds = this.securityGroupIds;
final selectSqlQuery = this.selectSqlQuery;
final serviceRole = this.serviceRole;
final subnetId = this.subnetId;
final dataRearrangement = this.dataRearrangement;
final dataSchema = this.dataSchema;
final dataSchemaUri = this.dataSchemaUri;
return {
'DatabaseCredentials': databaseCredentials,
'DatabaseInformation': databaseInformation,
'ResourceRole': resourceRole,
'S3StagingLocation': s3StagingLocation,
'SecurityGroupIds': securityGroupIds,
'SelectSqlQuery': selectSqlQuery,
'ServiceRole': serviceRole,
'SubnetId': subnetId,
if (dataRearrangement != null) 'DataRearrangement': dataRearrangement,
if (dataSchema != null) 'DataSchema': dataSchema,
if (dataSchemaUri != null) 'DataSchemaUri': dataSchemaUri,
};
}