Job.fromJson constructor

Job.fromJson(
  1. Map json_
)

Implementation

Job.fromJson(core.Map json_)
    : this(
        appEngineHttpTarget: json_.containsKey('appEngineHttpTarget')
            ? AppEngineHttpTarget.fromJson(json_['appEngineHttpTarget']
                as core.Map<core.String, core.dynamic>)
            : null,
        attemptDeadline: json_.containsKey('attemptDeadline')
            ? json_['attemptDeadline'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        httpTarget: json_.containsKey('httpTarget')
            ? HttpTarget.fromJson(
                json_['httpTarget'] as core.Map<core.String, core.dynamic>)
            : null,
        lastAttemptTime: json_.containsKey('lastAttemptTime')
            ? json_['lastAttemptTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pubsubTarget: json_.containsKey('pubsubTarget')
            ? PubsubTarget.fromJson(
                json_['pubsubTarget'] as core.Map<core.String, core.dynamic>)
            : null,
        retryConfig: json_.containsKey('retryConfig')
            ? RetryConfig.fromJson(
                json_['retryConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        schedule: json_.containsKey('schedule')
            ? json_['schedule'] as core.String
            : null,
        scheduleTime: json_.containsKey('scheduleTime')
            ? json_['scheduleTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
        timeZone: json_.containsKey('timeZone')
            ? json_['timeZone'] as core.String
            : null,
        userUpdateTime: json_.containsKey('userUpdateTime')
            ? json_['userUpdateTime'] as core.String
            : null,
      );