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