GooglePrivacyDlpV2PrimitiveTransformation.fromJson constructor

GooglePrivacyDlpV2PrimitiveTransformation.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2PrimitiveTransformation.fromJson(core.Map json_)
    : this(
        bucketingConfig: json_.containsKey('bucketingConfig')
            ? GooglePrivacyDlpV2BucketingConfig.fromJson(
                json_['bucketingConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        characterMaskConfig: json_.containsKey('characterMaskConfig')
            ? GooglePrivacyDlpV2CharacterMaskConfig.fromJson(
                json_['characterMaskConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        cryptoDeterministicConfig:
            json_.containsKey('cryptoDeterministicConfig')
                ? GooglePrivacyDlpV2CryptoDeterministicConfig.fromJson(
                    json_['cryptoDeterministicConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        cryptoHashConfig: json_.containsKey('cryptoHashConfig')
            ? GooglePrivacyDlpV2CryptoHashConfig.fromJson(
                json_['cryptoHashConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        cryptoReplaceFfxFpeConfig:
            json_.containsKey('cryptoReplaceFfxFpeConfig')
                ? GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig.fromJson(
                    json_['cryptoReplaceFfxFpeConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        dateShiftConfig: json_.containsKey('dateShiftConfig')
            ? GooglePrivacyDlpV2DateShiftConfig.fromJson(
                json_['dateShiftConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        fixedSizeBucketingConfig:
            json_.containsKey('fixedSizeBucketingConfig')
                ? GooglePrivacyDlpV2FixedSizeBucketingConfig.fromJson(
                    json_['fixedSizeBucketingConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        redactConfig: json_.containsKey('redactConfig')
            ? GooglePrivacyDlpV2RedactConfig.fromJson(
                json_['redactConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        replaceConfig: json_.containsKey('replaceConfig')
            ? GooglePrivacyDlpV2ReplaceValueConfig.fromJson(
                json_['replaceConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        replaceDictionaryConfig: json_.containsKey('replaceDictionaryConfig')
            ? GooglePrivacyDlpV2ReplaceDictionaryConfig.fromJson(
                json_['replaceDictionaryConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
        replaceWithInfoTypeConfig:
            json_.containsKey('replaceWithInfoTypeConfig')
                ? GooglePrivacyDlpV2ReplaceWithInfoTypeConfig.fromJson(
                    json_['replaceWithInfoTypeConfig']
                        as core.Map<core.String, core.dynamic>)
                : null,
        timePartConfig: json_.containsKey('timePartConfig')
            ? GooglePrivacyDlpV2TimePartConfig.fromJson(
                json_['timePartConfig']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );