GoogleCloudDataplexV1DataScan.fromJson constructor

GoogleCloudDataplexV1DataScan.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1DataScan.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        data: json_.containsKey('data')
            ? GoogleCloudDataplexV1DataSource.fromJson(
                json_['data'] as core.Map<core.String, core.dynamic>)
            : null,
        dataProfileResult: json_.containsKey('dataProfileResult')
            ? GoogleCloudDataplexV1DataProfileResult.fromJson(
                json_['dataProfileResult']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dataProfileSpec: json_.containsKey('dataProfileSpec')
            ? GoogleCloudDataplexV1DataProfileSpec.fromJson(
                json_['dataProfileSpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dataQualityResult: json_.containsKey('dataQualityResult')
            ? GoogleCloudDataplexV1DataQualityResult.fromJson(
                json_['dataQualityResult']
                    as core.Map<core.String, core.dynamic>)
            : null,
        dataQualitySpec: json_.containsKey('dataQualitySpec')
            ? GoogleCloudDataplexV1DataQualitySpec.fromJson(
                json_['dataQualitySpec']
                    as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        executionSpec: json_.containsKey('executionSpec')
            ? GoogleCloudDataplexV1DataScanExecutionSpec.fromJson(
                json_['executionSpec'] as core.Map<core.String, core.dynamic>)
            : null,
        executionStatus: json_.containsKey('executionStatus')
            ? GoogleCloudDataplexV1DataScanExecutionStatus.fromJson(
                json_['executionStatus']
                    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,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );