TransferRun.fromJson constructor

TransferRun.fromJson(
  1. Map json_
)

Implementation

TransferRun.fromJson(core.Map json_)
    : this(
        dataSourceId: json_.containsKey('dataSourceId')
            ? json_['dataSourceId'] as core.String
            : null,
        destinationDatasetId: json_.containsKey('destinationDatasetId')
            ? json_['destinationDatasetId'] as core.String
            : null,
        emailPreferences: json_.containsKey('emailPreferences')
            ? EmailPreferences.fromJson(json_['emailPreferences']
                as core.Map<core.String, core.dynamic>)
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        errorStatus: json_.containsKey('errorStatus')
            ? Status.fromJson(
                json_['errorStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        notificationPubsubTopic: json_.containsKey('notificationPubsubTopic')
            ? json_['notificationPubsubTopic'] as core.String
            : null,
        params: json_.containsKey('params')
            ? json_['params'] as core.Map<core.String, core.dynamic>
            : null,
        runTime: json_.containsKey('runTime')
            ? json_['runTime'] as core.String
            : null,
        schedule: json_.containsKey('schedule')
            ? json_['schedule'] as core.String
            : null,
        scheduleTime: json_.containsKey('scheduleTime')
            ? json_['scheduleTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        userId: json_.containsKey('userId')
            ? json_['userId'] as core.String
            : null,
      );