GoogleCloudRecaptchaenterpriseV1FirewallAction.fromJson constructor

GoogleCloudRecaptchaenterpriseV1FirewallAction.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1FirewallAction.fromJson(core.Map json_)
    : this(
        allow: json_.containsKey('allow')
            ? GoogleCloudRecaptchaenterpriseV1FirewallActionAllowAction
                .fromJson(
                    json_['allow'] as core.Map<core.String, core.dynamic>)
            : null,
        block: json_.containsKey('block')
            ? GoogleCloudRecaptchaenterpriseV1FirewallActionBlockAction
                .fromJson(
                    json_['block'] as core.Map<core.String, core.dynamic>)
            : null,
        includeRecaptchaScript: json_.containsKey('includeRecaptchaScript')
            ? GoogleCloudRecaptchaenterpriseV1FirewallActionIncludeRecaptchaScriptAction
                .fromJson(json_['includeRecaptchaScript']
                    as core.Map<core.String, core.dynamic>)
            : null,
        redirect: json_.containsKey('redirect')
            ? GoogleCloudRecaptchaenterpriseV1FirewallActionRedirectAction
                .fromJson(
                    json_['redirect'] as core.Map<core.String, core.dynamic>)
            : null,
        setHeader: json_.containsKey('setHeader')
            ? GoogleCloudRecaptchaenterpriseV1FirewallActionSetHeaderAction
                .fromJson(
                    json_['setHeader'] as core.Map<core.String, core.dynamic>)
            : null,
        substitute: json_.containsKey('substitute')
            ? GoogleCloudRecaptchaenterpriseV1FirewallActionSubstituteAction
                .fromJson(json_['substitute']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );