Coverage for fingerprint_pro_server_api_sdk/models/product_remote_control.py: 66%

32 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 fingerprint_pro_server_api_sdk.models.remote_control import RemoteControl 

17from fingerprint_pro_server_api_sdk.models.error import Error 

18from typing_extensions import deprecated 

19 

20 

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

22class ProductRemoteControl(BaseModel): 

23 """ 

24 This product is deprecated.  

25 

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

27 

28 Do not edit the class manually. 

29 """ 

30 """ 

31 Attributes: 

32 swagger_types (dict): The key is attribute name 

33 and the value is attribute type. 

34 attribute_map (dict): The key is attribute name 

35 and the value is json key in definition. 

36 """ 

37 swagger_types = { 

38 'data': 'RemoteControl', 

39 'error': 'Error' 

40 } 

41 

42 nullable_map = { 

43 'data': False, 

44 'error': False 

45 } 

46 

47 attribute_map = { 

48 'data': 'data', 

49 'error': 'error' 

50 } 

51 

52 def __init__(self, data=None, error=None): # noqa: E501 

53 """ProductRemoteControl - a model defined in Swagger""" # noqa: E501 

54 self._data = None 

55 self._error = None 

56 self.discriminator = None 

57 if data is not None: 

58 self.data = data 

59 if error is not None: 

60 self.error = error 

61 

62 @property 

63 def data(self) -> Optional[RemoteControl]: 

64 """Gets the data of this ProductRemoteControl. # noqa: E501 

65 

66 

67 :return: The data of this ProductRemoteControl. # noqa: E501 

68 """ 

69 return self._data 

70 

71 @data.setter 

72 def data(self, data: Optional[RemoteControl]): 

73 """Sets the data of this ProductRemoteControl. 

74 

75 

76 :param data: The data of this ProductRemoteControl. # noqa: E501 

77 """ 

78 

79 self._data = data 

80 

81 @property 

82 def error(self) -> Optional[Error]: 

83 """Gets the error of this ProductRemoteControl. # noqa: E501 

84 

85 

86 :return: The error of this ProductRemoteControl. # noqa: E501 

87 """ 

88 return self._error 

89 

90 @error.setter 

91 def error(self, error: Optional[Error]): 

92 """Sets the error of this ProductRemoteControl. 

93 

94 

95 :param error: The error of this ProductRemoteControl. # noqa: E501 

96 """ 

97 

98 self._error = error 

99