GooglePrivacyDlpV2LDiversityEquivalenceClass.fromJson constructor

GooglePrivacyDlpV2LDiversityEquivalenceClass.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2LDiversityEquivalenceClass.fromJson(core.Map json_)
    : this(
        equivalenceClassSize: json_.containsKey('equivalenceClassSize')
            ? json_['equivalenceClassSize'] as core.String
            : null,
        numDistinctSensitiveValues:
            json_.containsKey('numDistinctSensitiveValues')
                ? json_['numDistinctSensitiveValues'] as core.String
                : null,
        quasiIdsValues: json_.containsKey('quasiIdsValues')
            ? (json_['quasiIdsValues'] as core.List)
                .map((value) => GooglePrivacyDlpV2Value.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        topSensitiveValues: json_.containsKey('topSensitiveValues')
            ? (json_['topSensitiveValues'] as core.List)
                .map((value) => GooglePrivacyDlpV2ValueFrequency.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );