GoogleCloudDataplexV1Job.fromJson constructor

GoogleCloudDataplexV1Job.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1Job.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        executionSpec: json_.containsKey('executionSpec')
            ? GoogleCloudDataplexV1TaskExecutionSpec.fromJson(
                json_['executionSpec'] as core.Map<core.String, core.dynamic>)
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        message: json_.containsKey('message')
            ? json_['message'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        retryCount: json_.containsKey('retryCount')
            ? json_['retryCount'] as core.int
            : null,
        service: json_.containsKey('service')
            ? json_['service'] as core.String
            : null,
        serviceJob: json_.containsKey('serviceJob')
            ? json_['serviceJob'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        trigger: json_.containsKey('trigger')
            ? json_['trigger'] as core.String
            : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
      );