toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final applicationCodeConfiguration = this.applicationCodeConfiguration;
  final applicationSnapshotConfiguration =
      this.applicationSnapshotConfiguration;
  final environmentProperties = this.environmentProperties;
  final flinkApplicationConfiguration = this.flinkApplicationConfiguration;
  final sqlApplicationConfiguration = this.sqlApplicationConfiguration;
  final vpcConfigurations = this.vpcConfigurations;
  return {
    'ApplicationCodeConfiguration': applicationCodeConfiguration,
    if (applicationSnapshotConfiguration != null)
      'ApplicationSnapshotConfiguration': applicationSnapshotConfiguration,
    if (environmentProperties != null)
      'EnvironmentProperties': environmentProperties,
    if (flinkApplicationConfiguration != null)
      'FlinkApplicationConfiguration': flinkApplicationConfiguration,
    if (sqlApplicationConfiguration != null)
      'SqlApplicationConfiguration': sqlApplicationConfiguration,
    if (vpcConfigurations != null) 'VpcConfigurations': vpcConfigurations,
  };
}