Coverage for fingerprint_pro_server_api_sdk/models/suspect_score.py: 65%
20 statements
« prev ^ index » next coverage.py v7.7.0, created at 2025-03-17 15:34 +0000
« prev ^ index » next coverage.py v7.7.0, created at 2025-03-17 15:34 +0000
1# coding: utf-8
3"""
4 Fingerprint Pro Server API
6 Fingerprint Pro Server API allows you to get information about visitors and about individual events in a server environment. It can be used for data exports, decision-making, and data analysis scenarios. Server API is intended for server-side usage, it's not intended to be used from the client side, whether it's a browser or a mobile device. # noqa: E501
8 OpenAPI spec version: 3
9 Contact: support@fingerprint.com
10 Generated by: https://github.com/swagger-api/swagger-codegen.git
11"""
13import re # noqa: F401
14from typing import Dict, List, Optional # noqa: F401
15from fingerprint_pro_server_api_sdk.base_model import BaseModel
18class SuspectScore(BaseModel):
19 """NOTE: This class is auto generated by the swagger code generator program.
21 Do not edit the class manually.
22 """
23 """
24 Attributes:
25 swagger_types (dict): The key is attribute name
26 and the value is attribute type.
27 attribute_map (dict): The key is attribute name
28 and the value is json key in definition.
29 """
30 swagger_types = {
31 'result': 'int'
32 }
34 nullable_map = {
35 'result': False
36 }
38 attribute_map = {
39 'result': 'result'
40 }
42 def __init__(self, result=None): # noqa: E501
43 """SuspectScore - a model defined in Swagger""" # noqa: E501
44 self._result = None
45 self.discriminator = None
46 self.result = result
48 @property
49 def result(self) -> int:
50 """Gets the result of this SuspectScore. # noqa: E501
52 Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score # noqa: E501
54 :return: The result of this SuspectScore. # noqa: E501
55 """
56 return self._result
58 @result.setter
59 def result(self, result: int):
60 """Sets the result of this SuspectScore.
62 Suspect Score is an easy way to integrate Smart Signals into your fraud protection work flow. It is a weighted representation of all Smart Signals present in the payload that helps identify suspicious activity. The value range is [0; S] where S is sum of all Smart Signals weights. See more details here: https://dev.fingerprint.com/docs/suspect-score # noqa: E501
64 :param result: The result of this SuspectScore. # noqa: E501
65 """
66 if result is None:
67 raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
69 self._result = result