Coverage for fingerprint_pro_server_api_sdk/models/sdk.py: 93%

30 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 

16 

17 

18class SDK(BaseModel): 

19 """ 

20 Contains information about the SDK used to perform the request. 

21 

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

23 

24 Do not edit the class manually. 

25 """ 

26 """ 

27 Attributes: 

28 swagger_types (dict): The key is attribute name 

29 and the value is attribute type. 

30 attribute_map (dict): The key is attribute name 

31 and the value is json key in definition. 

32 """ 

33 swagger_types = { 

34 'platform': 'str', 

35 'version': 'str' 

36 } 

37 

38 nullable_map = { 

39 'platform': False, 

40 'version': False 

41 } 

42 

43 attribute_map = { 

44 'platform': 'platform', 

45 'version': 'version' 

46 } 

47 

48 def __init__(self, platform=None, version=None): # noqa: E501 

49 """SDK - a model defined in Swagger""" # noqa: E501 

50 self._platform = None 

51 self._version = None 

52 self.discriminator = None 

53 self.platform = platform 

54 self.version = version 

55 

56 @property 

57 def platform(self) -> str: 

58 """Gets the platform of this SDK. # noqa: E501 

59 

60 Platform of the SDK. # noqa: E501 

61 

62 :return: The platform of this SDK. # noqa: E501 

63 """ 

64 return self._platform 

65 

66 @platform.setter 

67 def platform(self, platform: str): 

68 """Sets the platform of this SDK. 

69 

70 Platform of the SDK. # noqa: E501 

71 

72 :param platform: The platform of this SDK. # noqa: E501 

73 """ 

74 if platform is None: 

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

76 

77 self._platform = platform 

78 

79 @property 

80 def version(self) -> str: 

81 """Gets the version of this SDK. # noqa: E501 

82 

83 SDK version string. # noqa: E501 

84 

85 :return: The version of this SDK. # noqa: E501 

86 """ 

87 return self._version 

88 

89 @version.setter 

90 def version(self, version: str): 

91 """Sets the version of this SDK. 

92 

93 SDK version string. # noqa: E501 

94 

95 :param version: The version of this SDK. # noqa: E501 

96 """ 

97 if version is None: 

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

99 

100 self._version = version 

101