Coverage for fingerprint_pro_server_api_sdk/models/remote_control.py: 68%

22 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 RemoteControl(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 """RemoteControl - a model defined in Swagger""" # noqa: E501 

49 self._result = None 

50 self.discriminator = None 

51 self.result = result 

52 

53 @property 

54 def result(self) -> bool: 

55 """Gets the result of this RemoteControl. # noqa: E501 

56 

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

58 

59 :return: The result of this RemoteControl. # noqa: E501 

60 """ 

61 return self._result 

62 

63 @result.setter 

64 def result(self, result: bool): 

65 """Sets the result of this RemoteControl. 

66 

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

68 

69 :param result: The result of this RemoteControl. # noqa: E501 

70 """ 

71 if result is None: 

72 raise ValueError("Invalid value for `result`, must not be `None`") # noqa: E501 

73 

74 self._result = result 

75