TransferJob.fromJson constructor
TransferJob.fromJson(
- Map json_
Implementation
TransferJob.fromJson(core.Map json_)
: this(
creationTime: json_.containsKey('creationTime')
? json_['creationTime'] as core.String
: null,
deletionTime: json_.containsKey('deletionTime')
? json_['deletionTime'] as core.String
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
eventStream: json_.containsKey('eventStream')
? EventStream.fromJson(
json_['eventStream'] as core.Map<core.String, core.dynamic>)
: null,
lastModificationTime: json_.containsKey('lastModificationTime')
? json_['lastModificationTime'] as core.String
: null,
latestOperationName: json_.containsKey('latestOperationName')
? json_['latestOperationName'] as core.String
: null,
loggingConfig: json_.containsKey('loggingConfig')
? LoggingConfig.fromJson(
json_['loggingConfig'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
notificationConfig: json_.containsKey('notificationConfig')
? NotificationConfig.fromJson(json_['notificationConfig']
as core.Map<core.String, core.dynamic>)
: null,
projectId: json_.containsKey('projectId')
? json_['projectId'] as core.String
: null,
replicationSpec: json_.containsKey('replicationSpec')
? ReplicationSpec.fromJson(json_['replicationSpec']
as core.Map<core.String, core.dynamic>)
: null,
schedule: json_.containsKey('schedule')
? Schedule.fromJson(
json_['schedule'] as core.Map<core.String, core.dynamic>)
: null,
status: json_.containsKey('status')
? json_['status'] as core.String
: null,
transferSpec: json_.containsKey('transferSpec')
? TransferSpec.fromJson(
json_['transferSpec'] as core.Map<core.String, core.dynamic>)
: null,
);