TransferSpec.fromJson constructor
TransferSpec.fromJson(
- Map json_
Implementation
TransferSpec.fromJson(core.Map json_)
: this(
awsS3CompatibleDataSource: json_
.containsKey('awsS3CompatibleDataSource')
? AwsS3CompatibleData.fromJson(json_['awsS3CompatibleDataSource']
as core.Map<core.String, core.dynamic>)
: null,
awsS3DataSource: json_.containsKey('awsS3DataSource')
? AwsS3Data.fromJson(json_['awsS3DataSource']
as core.Map<core.String, core.dynamic>)
: null,
azureBlobStorageDataSource:
json_.containsKey('azureBlobStorageDataSource')
? AzureBlobStorageData.fromJson(
json_['azureBlobStorageDataSource']
as core.Map<core.String, core.dynamic>)
: null,
gcsDataSink: json_.containsKey('gcsDataSink')
? GcsData.fromJson(
json_['gcsDataSink'] as core.Map<core.String, core.dynamic>)
: null,
gcsDataSource: json_.containsKey('gcsDataSource')
? GcsData.fromJson(
json_['gcsDataSource'] as core.Map<core.String, core.dynamic>)
: null,
gcsIntermediateDataLocation:
json_.containsKey('gcsIntermediateDataLocation')
? GcsData.fromJson(json_['gcsIntermediateDataLocation']
as core.Map<core.String, core.dynamic>)
: null,
hdfsDataSource: json_.containsKey('hdfsDataSource')
? HdfsData.fromJson(json_['hdfsDataSource']
as core.Map<core.String, core.dynamic>)
: null,
httpDataSource: json_.containsKey('httpDataSource')
? HttpData.fromJson(json_['httpDataSource']
as core.Map<core.String, core.dynamic>)
: null,
objectConditions: json_.containsKey('objectConditions')
? ObjectConditions.fromJson(json_['objectConditions']
as core.Map<core.String, core.dynamic>)
: null,
posixDataSink: json_.containsKey('posixDataSink')
? PosixFilesystem.fromJson(
json_['posixDataSink'] as core.Map<core.String, core.dynamic>)
: null,
posixDataSource: json_.containsKey('posixDataSource')
? PosixFilesystem.fromJson(json_['posixDataSource']
as core.Map<core.String, core.dynamic>)
: null,
sinkAgentPoolName: json_.containsKey('sinkAgentPoolName')
? json_['sinkAgentPoolName'] as core.String
: null,
sourceAgentPoolName: json_.containsKey('sourceAgentPoolName')
? json_['sourceAgentPoolName'] as core.String
: null,
transferManifest: json_.containsKey('transferManifest')
? TransferManifest.fromJson(json_['transferManifest']
as core.Map<core.String, core.dynamic>)
: null,
transferOptions: json_.containsKey('transferOptions')
? TransferOptions.fromJson(json_['transferOptions']
as core.Map<core.String, core.dynamic>)
: null,
);