Coverage for fingerprint_pro_server_api_sdk/models/webhook_remote_control.py: 71%
21 statements
« prev ^ index » next coverage.py v7.10.1, created at 2025-07-30 17:13 +0000
« prev ^ index » next coverage.py v7.10.1, created at 2025-07-30 17:13 +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 typing_extensions import deprecated
19@deprecated("This class is deprecated. Please avoid using it in new code.")
20class WebhookRemoteControl(BaseModel):
21 """
22 This signal is deprecated.
24 NOTE: This class is auto generated by the swagger code generator program.
26 Do not edit the class manually.
27 """
28 """
29 Attributes:
30 swagger_types (dict): The key is attribute name
31 and the value is attribute type.
32 attribute_map (dict): The key is attribute name
33 and the value is json key in definition.
34 """
35 swagger_types = {
36 'result': 'bool'
37 }
39 nullable_map = {
40 'result': False
41 }
43 attribute_map = {
44 'result': 'result'
45 }
47 def __init__(self, result=None): # noqa: E501
48 """WebhookRemoteControl - a model defined in Swagger""" # noqa: E501
49 self._result = None
50 self.discriminator = None
51 if result is not None:
52 self.result = result
54 @property
55 def result(self) -> Optional[bool]:
56 """Gets the result of this WebhookRemoteControl. # noqa: E501
58 `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501
60 :return: The result of this WebhookRemoteControl. # noqa: E501
61 """
62 return self._result
64 @result.setter
65 def result(self, result: Optional[bool]):
66 """Sets the result of this WebhookRemoteControl.
68 `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501
70 :param result: The result of this WebhookRemoteControl. # noqa: E501
71 """
73 self._result = result