toJson method
Implementation
Map<String, dynamic> toJson() {
final outputId = this.outputId;
final destinationSchemaUpdate = this.destinationSchemaUpdate;
final kinesisFirehoseOutputUpdate = this.kinesisFirehoseOutputUpdate;
final kinesisStreamsOutputUpdate = this.kinesisStreamsOutputUpdate;
final lambdaOutputUpdate = this.lambdaOutputUpdate;
final nameUpdate = this.nameUpdate;
return {
'OutputId': outputId,
if (destinationSchemaUpdate != null)
'DestinationSchemaUpdate': destinationSchemaUpdate,
if (kinesisFirehoseOutputUpdate != null)
'KinesisFirehoseOutputUpdate': kinesisFirehoseOutputUpdate,
if (kinesisStreamsOutputUpdate != null)
'KinesisStreamsOutputUpdate': kinesisStreamsOutputUpdate,
if (lambdaOutputUpdate != null) 'LambdaOutputUpdate': lambdaOutputUpdate,
if (nameUpdate != null) 'NameUpdate': nameUpdate,
};
}