GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.fromJson constructor

GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessment.fromJson(
    core.Map json_)
    : this(
        behavioralTrustVerdict: json_.containsKey('behavioralTrustVerdict')
            ? GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentBehavioralTrustVerdict
                .fromJson(json_['behavioralTrustVerdict']
                    as core.Map<core.String, core.dynamic>)
            : null,
        cardTestingVerdict: json_.containsKey('cardTestingVerdict')
            ? GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentCardTestingVerdict
                .fromJson(json_['cardTestingVerdict']
                    as core.Map<core.String, core.dynamic>)
            : null,
        stolenInstrumentVerdict: json_.containsKey('stolenInstrumentVerdict')
            ? GoogleCloudRecaptchaenterpriseV1FraudPreventionAssessmentStolenInstrumentVerdict
                .fromJson(json_['stolenInstrumentVerdict']
                    as core.Map<core.String, core.dynamic>)
            : null,
        transactionRisk: json_.containsKey('transactionRisk')
            ? (json_['transactionRisk'] as core.num).toDouble()
            : null,
      );