GooglePrivacyDlpV2ExclusionRule.fromJson constructor

GooglePrivacyDlpV2ExclusionRule.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2ExclusionRule.fromJson(core.Map json_)
    : this(
        dictionary: json_.containsKey('dictionary')
            ? GooglePrivacyDlpV2Dictionary.fromJson(
                json_['dictionary'] as core.Map<core.String, core.dynamic>)
            : null,
        excludeByHotword: json_.containsKey('excludeByHotword')
            ? GooglePrivacyDlpV2ExcludeByHotword.fromJson(
                json_['excludeByHotword']
                    as core.Map<core.String, core.dynamic>)
            : null,
        excludeInfoTypes: json_.containsKey('excludeInfoTypes')
            ? GooglePrivacyDlpV2ExcludeInfoTypes.fromJson(
                json_['excludeInfoTypes']
                    as core.Map<core.String, core.dynamic>)
            : null,
        matchingType: json_.containsKey('matchingType')
            ? json_['matchingType'] as core.String
            : null,
        regex: json_.containsKey('regex')
            ? GooglePrivacyDlpV2Regex.fromJson(
                json_['regex'] as core.Map<core.String, core.dynamic>)
            : null,
      );