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

1# coding: utf-8 

2 

3""" 

4 Fingerprint Server API 

5 

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 

7 

8 OpenAPI spec version: 3 

9 Contact: support@fingerprint.com 

10 Generated by: https://github.com/swagger-api/swagger-codegen.git 

11""" 

12 

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 

17 

18 

19@deprecated("This class is deprecated. Please avoid using it in new code.") 

20class WebhookRemoteControl(BaseModel): 

21 """ 

22 This signal is deprecated.  

23 

24 NOTE: This class is auto generated by the swagger code generator program. 

25 

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 } 

38 

39 nullable_map = { 

40 'result': False 

41 } 

42 

43 attribute_map = { 

44 'result': 'result' 

45 } 

46 

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 

53 

54 @property 

55 def result(self) -> Optional[bool]: 

56 """Gets the result of this WebhookRemoteControl. # noqa: E501 

57 

58 `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501 

59 

60 :return: The result of this WebhookRemoteControl. # noqa: E501 

61 """ 

62 return self._result 

63 

64 @result.setter 

65 def result(self, result: Optional[bool]): 

66 """Sets the result of this WebhookRemoteControl. 

67 

68 `true` if the request came from a machine being remotely controlled (e.g. TeamViewer), `false` otherwise. # noqa: E501 

69 

70 :param result: The result of this WebhookRemoteControl. # noqa: E501 

71 """ 

72 

73 self._result = result 

74