toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (awsS3CompatibleDataSource != null)
        'awsS3CompatibleDataSource': awsS3CompatibleDataSource!,
      if (awsS3DataSource != null) 'awsS3DataSource': awsS3DataSource!,
      if (azureBlobStorageDataSource != null)
        'azureBlobStorageDataSource': azureBlobStorageDataSource!,
      if (gcsDataSink != null) 'gcsDataSink': gcsDataSink!,
      if (gcsDataSource != null) 'gcsDataSource': gcsDataSource!,
      if (gcsIntermediateDataLocation != null)
        'gcsIntermediateDataLocation': gcsIntermediateDataLocation!,
      if (hdfsDataSource != null) 'hdfsDataSource': hdfsDataSource!,
      if (httpDataSource != null) 'httpDataSource': httpDataSource!,
      if (objectConditions != null) 'objectConditions': objectConditions!,
      if (posixDataSink != null) 'posixDataSink': posixDataSink!,
      if (posixDataSource != null) 'posixDataSource': posixDataSource!,
      if (sinkAgentPoolName != null) 'sinkAgentPoolName': sinkAgentPoolName!,
      if (sourceAgentPoolName != null)
        'sourceAgentPoolName': sourceAgentPoolName!,
      if (transferManifest != null) 'transferManifest': transferManifest!,
      if (transferOptions != null) 'transferOptions': transferOptions!,
    };