GooglePrivacyDlpV2ColumnDataProfile.fromJson constructor

GooglePrivacyDlpV2ColumnDataProfile.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ColumnDataProfile.fromJson(core.Map json_)
    : this(
        column: json_.containsKey('column')
            ? json_['column'] as core.String
            : null,
        columnInfoType: json_.containsKey('columnInfoType')
            ? GooglePrivacyDlpV2InfoTypeSummary.fromJson(
                json_['columnInfoType']
                    as core.Map<core.String, core.dynamic>)
            : null,
        columnType: json_.containsKey('columnType')
            ? json_['columnType'] as core.String
            : null,
        dataRiskLevel: json_.containsKey('dataRiskLevel')
            ? GooglePrivacyDlpV2DataRiskLevel.fromJson(
                json_['dataRiskLevel'] as core.Map<core.String, core.dynamic>)
            : null,
        datasetId: json_.containsKey('datasetId')
            ? json_['datasetId'] as core.String
            : null,
        datasetLocation: json_.containsKey('datasetLocation')
            ? json_['datasetLocation'] as core.String
            : null,
        datasetProjectId: json_.containsKey('datasetProjectId')
            ? json_['datasetProjectId'] as core.String
            : null,
        estimatedNullPercentage: json_.containsKey('estimatedNullPercentage')
            ? json_['estimatedNullPercentage'] as core.String
            : null,
        estimatedUniquenessScore:
            json_.containsKey('estimatedUniquenessScore')
                ? json_['estimatedUniquenessScore'] as core.String
                : null,
        freeTextScore: json_.containsKey('freeTextScore')
            ? (json_['freeTextScore'] as core.num).toDouble()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        otherMatches: json_.containsKey('otherMatches')
            ? (json_['otherMatches'] as core.List)
                .map((value) =>
                    GooglePrivacyDlpV2OtherInfoTypeSummary.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        policyState: json_.containsKey('policyState')
            ? json_['policyState'] as core.String
            : null,
        profileLastGenerated: json_.containsKey('profileLastGenerated')
            ? json_['profileLastGenerated'] as core.String
            : null,
        profileStatus: json_.containsKey('profileStatus')
            ? GooglePrivacyDlpV2ProfileStatus.fromJson(
                json_['profileStatus'] as core.Map<core.String, core.dynamic>)
            : null,
        sensitivityScore: json_.containsKey('sensitivityScore')
            ? GooglePrivacyDlpV2SensitivityScore.fromJson(
                json_['sensitivityScore']
                    as core.Map<core.String, core.dynamic>)
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        tableDataProfile: json_.containsKey('tableDataProfile')
            ? json_['tableDataProfile'] as core.String
            : null,
        tableFullResource: json_.containsKey('tableFullResource')
            ? json_['tableFullResource'] as core.String
            : null,
        tableId: json_.containsKey('tableId')
            ? json_['tableId'] as core.String
            : null,
      );