GooglePrivacyDlpV2DlpJob.fromJson constructor

GooglePrivacyDlpV2DlpJob.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2DlpJob.fromJson(core.Map json_)
    : this(
        actionDetails: json_.containsKey('actionDetails')
            ? (json_['actionDetails'] as core.List)
                .map((value) => GooglePrivacyDlpV2ActionDetails.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        errors: json_.containsKey('errors')
            ? (json_['errors'] as core.List)
                .map((value) => GooglePrivacyDlpV2Error.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        inspectDetails: json_.containsKey('inspectDetails')
            ? GooglePrivacyDlpV2InspectDataSourceDetails.fromJson(
                json_['inspectDetails']
                    as core.Map<core.String, core.dynamic>)
            : null,
        jobTriggerName: json_.containsKey('jobTriggerName')
            ? json_['jobTriggerName'] as core.String
            : null,
        lastModified: json_.containsKey('lastModified')
            ? json_['lastModified'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        riskDetails: json_.containsKey('riskDetails')
            ? GooglePrivacyDlpV2AnalyzeDataSourceRiskDetails.fromJson(
                json_['riskDetails'] as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );