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
« 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
18class SDK(BaseModel):
19 """
20 Contains information about the SDK used to perform the request.
22 NOTE: This class is auto generated by the swagger code generator program.
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 }
38 nullable_map = {
39 'platform': False,
40 'version': False
41 }
43 attribute_map = {
44 'platform': 'platform',
45 'version': 'version'
46 }
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
56 @property
57 def platform(self) -> str:
58 """Gets the platform of this SDK. # noqa: E501
60 Platform of the SDK. # noqa: E501
62 :return: The platform of this SDK. # noqa: E501
63 """
64 return self._platform
66 @platform.setter
67 def platform(self, platform: str):
68 """Sets the platform of this SDK.
70 Platform of the SDK. # noqa: E501
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
77 self._platform = platform
79 @property
80 def version(self) -> str:
81 """Gets the version of this SDK. # noqa: E501
83 SDK version string. # noqa: E501
85 :return: The version of this SDK. # noqa: E501
86 """
87 return self._version
89 @version.setter
90 def version(self, version: str):
91 """Sets the version of this SDK.
93 SDK version string. # noqa: E501
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
100 self._version = version