Coverage for fingerprint_pro_server_api_sdk/models/webhook_ip_blocklist.py: 61%
28 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-09 17:50 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-09 17:50 +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
16from fingerprint_pro_server_api_sdk.models.ip_blocklist_details import IPBlocklistDetails
19class WebhookIPBlocklist(BaseModel):
20 """NOTE: This class is auto generated by the swagger code generator program.
22 Do not edit the class manually.
23 """
24 """
25 Attributes:
26 swagger_types (dict): The key is attribute name
27 and the value is attribute type.
28 attribute_map (dict): The key is attribute name
29 and the value is json key in definition.
30 """
31 swagger_types = {
32 'result': 'bool',
33 'details': 'IPBlocklistDetails'
34 }
36 attribute_map = {
37 'result': 'result',
38 'details': 'details'
39 }
41 def __init__(self, result=None, details=None): # noqa: E501
42 """WebhookIPBlocklist - a model defined in Swagger""" # noqa: E501
43 self._result = None
44 self._details = None
45 self.discriminator = None
46 if result is not None:
47 self.result = result
48 if details is not None:
49 self.details = details
51 @property
52 def result(self) -> Optional[bool]:
53 """Gets the result of this WebhookIPBlocklist. # noqa: E501
55 `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. # noqa: E501
57 :return: The result of this WebhookIPBlocklist. # noqa: E501
58 """
59 return self._result
61 @result.setter
62 def result(self, result: Optional[bool]):
63 """Sets the result of this WebhookIPBlocklist.
65 `true` if request IP address is part of any database that we use to search for known malicious actors, `false` otherwise. # noqa: E501
67 :param result: The result of this WebhookIPBlocklist. # noqa: E501
68 """
70 self._result = result
72 @property
73 def details(self) -> Optional[IPBlocklistDetails]:
74 """Gets the details of this WebhookIPBlocklist. # noqa: E501
77 :return: The details of this WebhookIPBlocklist. # noqa: E501
78 """
79 return self._details
81 @details.setter
82 def details(self, details: Optional[IPBlocklistDetails]):
83 """Sets the details of this WebhookIPBlocklist.
86 :param details: The details of this WebhookIPBlocklist. # noqa: E501
87 """
89 self._details = details