toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final bucketFolder = this.bucketFolder;
  final bucketName = this.bucketName;
  final cdcInsertsAndUpdates = this.cdcInsertsAndUpdates;
  final cdcInsertsOnly = this.cdcInsertsOnly;
  final cdcPath = this.cdcPath;
  final compressionType = this.compressionType;
  final csvDelimiter = this.csvDelimiter;
  final csvNoSupValue = this.csvNoSupValue;
  final csvRowDelimiter = this.csvRowDelimiter;
  final dataFormat = this.dataFormat;
  final dataPageSize = this.dataPageSize;
  final datePartitionDelimiter = this.datePartitionDelimiter;
  final datePartitionEnabled = this.datePartitionEnabled;
  final datePartitionSequence = this.datePartitionSequence;
  final dictPageSizeLimit = this.dictPageSizeLimit;
  final enableStatistics = this.enableStatistics;
  final encodingType = this.encodingType;
  final encryptionMode = this.encryptionMode;
  final externalTableDefinition = this.externalTableDefinition;
  final includeOpForFullLoad = this.includeOpForFullLoad;
  final parquetTimestampInMillisecond = this.parquetTimestampInMillisecond;
  final parquetVersion = this.parquetVersion;
  final preserveTransactions = this.preserveTransactions;
  final rowGroupLength = this.rowGroupLength;
  final serverSideEncryptionKmsKeyId = this.serverSideEncryptionKmsKeyId;
  final serviceAccessRoleArn = this.serviceAccessRoleArn;
  final timestampColumnName = this.timestampColumnName;
  final useCsvNoSupValue = this.useCsvNoSupValue;
  return {
    if (bucketFolder != null) 'BucketFolder': bucketFolder,
    if (bucketName != null) 'BucketName': bucketName,
    if (cdcInsertsAndUpdates != null)
      'CdcInsertsAndUpdates': cdcInsertsAndUpdates,
    if (cdcInsertsOnly != null) 'CdcInsertsOnly': cdcInsertsOnly,
    if (cdcPath != null) 'CdcPath': cdcPath,
    if (compressionType != null) 'CompressionType': compressionType.toValue(),
    if (csvDelimiter != null) 'CsvDelimiter': csvDelimiter,
    if (csvNoSupValue != null) 'CsvNoSupValue': csvNoSupValue,
    if (csvRowDelimiter != null) 'CsvRowDelimiter': csvRowDelimiter,
    if (dataFormat != null) 'DataFormat': dataFormat.toValue(),
    if (dataPageSize != null) 'DataPageSize': dataPageSize,
    if (datePartitionDelimiter != null)
      'DatePartitionDelimiter': datePartitionDelimiter.toValue(),
    if (datePartitionEnabled != null)
      'DatePartitionEnabled': datePartitionEnabled,
    if (datePartitionSequence != null)
      'DatePartitionSequence': datePartitionSequence.toValue(),
    if (dictPageSizeLimit != null) 'DictPageSizeLimit': dictPageSizeLimit,
    if (enableStatistics != null) 'EnableStatistics': enableStatistics,
    if (encodingType != null) 'EncodingType': encodingType.toValue(),
    if (encryptionMode != null) 'EncryptionMode': encryptionMode.toValue(),
    if (externalTableDefinition != null)
      'ExternalTableDefinition': externalTableDefinition,
    if (includeOpForFullLoad != null)
      'IncludeOpForFullLoad': includeOpForFullLoad,
    if (parquetTimestampInMillisecond != null)
      'ParquetTimestampInMillisecond': parquetTimestampInMillisecond,
    if (parquetVersion != null) 'ParquetVersion': parquetVersion.toValue(),
    if (preserveTransactions != null)
      'PreserveTransactions': preserveTransactions,
    if (rowGroupLength != null) 'RowGroupLength': rowGroupLength,
    if (serverSideEncryptionKmsKeyId != null)
      'ServerSideEncryptionKmsKeyId': serverSideEncryptionKmsKeyId,
    if (serviceAccessRoleArn != null)
      'ServiceAccessRoleArn': serviceAccessRoleArn,
    if (timestampColumnName != null)
      'TimestampColumnName': timestampColumnName,
    if (useCsvNoSupValue != null) 'UseCsvNoSupValue': useCsvNoSupValue,
  };
}