GoogleCloudRecaptchaenterpriseV1Assessment.fromJson constructor

GoogleCloudRecaptchaenterpriseV1Assessment.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1Assessment.fromJson(core.Map json_)
    : this(
        accountDefenderAssessment:
            json_.containsKey('accountDefenderAssessment')
                ? GoogleCloudRecaptchaenterpriseV1AccountDefenderAssessment
                    .fromJson(json_['accountDefenderAssessment']
                        as core.Map<core.String, core.dynamic>)
                : null,
        accountVerification: json_.containsKey('accountVerification')
            ? GoogleCloudRecaptchaenterpriseV1AccountVerificationInfo
                .fromJson(json_['accountVerification']
                    as core.Map<core.String, core.dynamic>)
            : null,
        event: json_.containsKey('event')
            ? GoogleCloudRecaptchaenterpriseV1Event.fromJson(
                json_['event'] as core.Map<core.String, core.dynamic>)
            : null,
        firewallPolicyAssessment:
            json_.containsKey('firewallPolicyAssessment')
                ? GoogleCloudRecaptchaenterpriseV1FirewallPolicyAssessment
                    .fromJson(json_['firewallPolicyAssessment']
                        as core.Map<core.String, core.dynamic>)
                : null,
        fraudPreventionAssessment:
            json_.containsKey('fraudPreventionAssessment')
                ? GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment
                    .fromJson(json_['fraudPreventionAssessment']
                        as core.Map<core.String, core.dynamic>)
                : null,
        fraudSignals: json_.containsKey('fraudSignals')
            ? GoogleCloudRecaptchaenterpriseV1FraudSignals.fromJson(
                json_['fraudSignals'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        phoneFraudAssessment: json_.containsKey('phoneFraudAssessment')
            ? GoogleCloudRecaptchaenterpriseV1PhoneFraudAssessment.fromJson(
                json_['phoneFraudAssessment']
                    as core.Map<core.String, core.dynamic>)
            : null,
        privatePasswordLeakVerification: json_
                .containsKey('privatePasswordLeakVerification')
            ? GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification
                .fromJson(json_['privatePasswordLeakVerification']
                    as core.Map<core.String, core.dynamic>)
            : null,
        riskAnalysis: json_.containsKey('riskAnalysis')
            ? GoogleCloudRecaptchaenterpriseV1RiskAnalysis.fromJson(
                json_['riskAnalysis'] as core.Map<core.String, core.dynamic>)
            : null,
        tokenProperties: json_.containsKey('tokenProperties')
            ? GoogleCloudRecaptchaenterpriseV1TokenProperties.fromJson(
                json_['tokenProperties']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );