Coverage for fingerprint_pro_server_api_sdk/models/webhook_proxy.py: 59%
39 statements
« prev ^ index » next coverage.py v7.10.4, created at 2025-08-19 14:45 +0000
« prev ^ index » next coverage.py v7.10.4, created at 2025-08-19 14:45 +0000
1# coding: utf-8
3"""
4 Fingerprint Server API
6 Fingerprint Server API allows you to search, update, and delete identification 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
16from fingerprint_pro_server_api_sdk.models.proxy_confidence import ProxyConfidence
17from fingerprint_pro_server_api_sdk.models.proxy_details import ProxyDetails
20class WebhookProxy(BaseModel):
21 """NOTE: This class is auto generated by the swagger code generator program.
23 Do not edit the class manually.
24 """
25 """
26 Attributes:
27 swagger_types (dict): The key is attribute name
28 and the value is attribute type.
29 attribute_map (dict): The key is attribute name
30 and the value is json key in definition.
31 """
32 swagger_types = {
33 'result': 'bool',
34 'confidence': 'ProxyConfidence',
35 'details': 'ProxyDetails'
36 }
38 nullable_map = {
39 'result': False,
40 'confidence': False,
41 'details': False
42 }
44 attribute_map = {
45 'result': 'result',
46 'confidence': 'confidence',
47 'details': 'details'
48 }
50 def __init__(self, result=None, confidence=None, details=None): # noqa: E501
51 """WebhookProxy - a model defined in Swagger""" # noqa: E501
52 self._result = None
53 self._confidence = None
54 self._details = None
55 self.discriminator = None
56 if result is not None:
57 self.result = result
58 if confidence is not None:
59 self.confidence = confidence
60 if details is not None:
61 self.details = details
63 @property
64 def result(self) -> Optional[bool]:
65 """Gets the result of this WebhookProxy. # noqa: E501
67 IP address was used by a public proxy provider or belonged to a known recent residential proxy # noqa: E501
69 :return: The result of this WebhookProxy. # noqa: E501
70 """
71 return self._result
73 @result.setter
74 def result(self, result: Optional[bool]):
75 """Sets the result of this WebhookProxy.
77 IP address was used by a public proxy provider or belonged to a known recent residential proxy # noqa: E501
79 :param result: The result of this WebhookProxy. # noqa: E501
80 """
82 self._result = result
84 @property
85 def confidence(self) -> Optional[ProxyConfidence]:
86 """Gets the confidence of this WebhookProxy. # noqa: E501
89 :return: The confidence of this WebhookProxy. # noqa: E501
90 """
91 return self._confidence
93 @confidence.setter
94 def confidence(self, confidence: Optional[ProxyConfidence]):
95 """Sets the confidence of this WebhookProxy.
98 :param confidence: The confidence of this WebhookProxy. # noqa: E501
99 """
101 self._confidence = confidence
103 @property
104 def details(self) -> Optional[ProxyDetails]:
105 """Gets the details of this WebhookProxy. # noqa: E501
108 :return: The details of this WebhookProxy. # noqa: E501
109 """
110 return self._details
112 @details.setter
113 def details(self, details: Optional[ProxyDetails]):
114 """Sets the details of this WebhookProxy.
117 :param details: The details of this WebhookProxy. # noqa: E501
118 """
120 self._details = details