GooglePrivacyDlpV2FileClusterSummary.fromJson constructor

GooglePrivacyDlpV2FileClusterSummary.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2FileClusterSummary.fromJson(core.Map json_)
    : this(
        dataRiskLevel: json_.containsKey('dataRiskLevel')
            ? GooglePrivacyDlpV2DataRiskLevel.fromJson(
                json_['dataRiskLevel'] as core.Map<core.String, core.dynamic>)
            : null,
        errors: (json_['errors'] as core.List?)
            ?.map((value) => GooglePrivacyDlpV2Error.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        fileClusterType: json_.containsKey('fileClusterType')
            ? GooglePrivacyDlpV2FileClusterType.fromJson(
                json_['fileClusterType']
                    as core.Map<core.String, core.dynamic>)
            : null,
        fileExtensionsScanned: (json_['fileExtensionsScanned'] as core.List?)
            ?.map((value) => GooglePrivacyDlpV2FileExtensionInfo.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        fileExtensionsSeen: (json_['fileExtensionsSeen'] as core.List?)
            ?.map((value) => GooglePrivacyDlpV2FileExtensionInfo.fromJson(
                value as core.Map<core.String, core.dynamic>))
            .toList(),
        fileStoreInfoTypeSummaries:
            (json_['fileStoreInfoTypeSummaries'] as core.List?)
                ?.map((value) =>
                    GooglePrivacyDlpV2FileStoreInfoTypeSummary.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList(),
        noFilesExist: json_['noFilesExist'] as core.bool?,
        sensitivityScore: json_.containsKey('sensitivityScore')
            ? GooglePrivacyDlpV2SensitivityScore.fromJson(
                json_['sensitivityScore']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );