toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final amazonElasticsearchParameters = this.amazonElasticsearchParameters;
  final athenaParameters = this.athenaParameters;
  final auroraParameters = this.auroraParameters;
  final auroraPostgreSqlParameters = this.auroraPostgreSqlParameters;
  final awsIotAnalyticsParameters = this.awsIotAnalyticsParameters;
  final jiraParameters = this.jiraParameters;
  final mariaDbParameters = this.mariaDbParameters;
  final mySqlParameters = this.mySqlParameters;
  final oracleParameters = this.oracleParameters;
  final postgreSqlParameters = this.postgreSqlParameters;
  final prestoParameters = this.prestoParameters;
  final rdsParameters = this.rdsParameters;
  final redshiftParameters = this.redshiftParameters;
  final s3Parameters = this.s3Parameters;
  final serviceNowParameters = this.serviceNowParameters;
  final snowflakeParameters = this.snowflakeParameters;
  final sparkParameters = this.sparkParameters;
  final sqlServerParameters = this.sqlServerParameters;
  final teradataParameters = this.teradataParameters;
  final twitterParameters = this.twitterParameters;
  return {
    if (amazonElasticsearchParameters != null)
      'AmazonElasticsearchParameters': amazonElasticsearchParameters,
    if (athenaParameters != null) 'AthenaParameters': athenaParameters,
    if (auroraParameters != null) 'AuroraParameters': auroraParameters,
    if (auroraPostgreSqlParameters != null)
      'AuroraPostgreSqlParameters': auroraPostgreSqlParameters,
    if (awsIotAnalyticsParameters != null)
      'AwsIotAnalyticsParameters': awsIotAnalyticsParameters,
    if (jiraParameters != null) 'JiraParameters': jiraParameters,
    if (mariaDbParameters != null) 'MariaDbParameters': mariaDbParameters,
    if (mySqlParameters != null) 'MySqlParameters': mySqlParameters,
    if (oracleParameters != null) 'OracleParameters': oracleParameters,
    if (postgreSqlParameters != null)
      'PostgreSqlParameters': postgreSqlParameters,
    if (prestoParameters != null) 'PrestoParameters': prestoParameters,
    if (rdsParameters != null) 'RdsParameters': rdsParameters,
    if (redshiftParameters != null) 'RedshiftParameters': redshiftParameters,
    if (s3Parameters != null) 'S3Parameters': s3Parameters,
    if (serviceNowParameters != null)
      'ServiceNowParameters': serviceNowParameters,
    if (snowflakeParameters != null)
      'SnowflakeParameters': snowflakeParameters,
    if (sparkParameters != null) 'SparkParameters': sparkParameters,
    if (sqlServerParameters != null)
      'SqlServerParameters': sqlServerParameters,
    if (teradataParameters != null) 'TeradataParameters': teradataParameters,
    if (twitterParameters != null) 'TwitterParameters': twitterParameters,
  };
}