GooglePrivacyDlpV2LDiversityHistogramBucket.fromJson constructor

GooglePrivacyDlpV2LDiversityHistogramBucket.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2LDiversityHistogramBucket.fromJson(core.Map json_)
  : this(
      bucketSize: json_['bucketSize'] as core.String?,
      bucketValueCount: json_['bucketValueCount'] as core.String?,
      bucketValues:
          (json_['bucketValues'] as core.List?)
              ?.map(
                (value) =>
                    GooglePrivacyDlpV2LDiversityEquivalenceClass.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      sensitiveValueFrequencyLowerBound:
          json_['sensitiveValueFrequencyLowerBound'] as core.String?,
      sensitiveValueFrequencyUpperBound:
          json_['sensitiveValueFrequencyUpperBound'] as core.String?,
    );