Coverage for fingerprint_pro_server_api_sdk/models/botd_bot.py: 97%
29 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.botd_bot_result import BotdBotResult
19class BotdBot(BaseModel):
20 """
21 Stores bot detection result
23 NOTE: This class is auto generated by the swagger code generator program.
25 Do not edit the class manually.
26 """
27 """
28 Attributes:
29 swagger_types (dict): The key is attribute name
30 and the value is attribute type.
31 attribute_map (dict): The key is attribute name
32 and the value is json key in definition.
33 """
34 swagger_types = {
35 'result': 'BotdBotResult',
36 'type': 'str'
37 }
39 attribute_map = {
40 'result': 'result',
41 'type': 'type'
42 }
44 def __init__(self, result=None, type=None): # noqa: E501
45 """BotdBot - a model defined in Swagger""" # noqa: E501
46 self._result = None
47 self._type = None
48 self.discriminator = None
49 self.result = result
50 if type is not None:
51 self.type = type
53 @property
54 def result(self) -> BotdBotResult:
55 """Gets the result of this BotdBot. # noqa: E501
58 :return: The result of this BotdBot. # noqa: E501
59 """
60 return self._result
62 @result.setter
63 def result(self, result: BotdBotResult):
64 """Sets the result of this BotdBot.
67 :param result: The result of this BotdBot. # noqa: E501
68 """
69 if result is None:
70 raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501
72 self._result = result
74 @property
75 def type(self) -> Optional[str]:
76 """Gets the type of this BotdBot. # noqa: E501
79 :return: The type of this BotdBot. # noqa: E501
80 """
81 return self._type
83 @type.setter
84 def type(self, type: Optional[str]):
85 """Sets the type of this BotdBot.
88 :param type: The type of this BotdBot. # noqa: E501
89 """
91 self._type = type