Coverage for fingerprint_pro_server_api_sdk/models/sdk.py: 95%
40 statements
« prev ^ index » next coverage.py v7.14.2, created at 2026-06-22 14:27 +0000
« prev ^ index » next coverage.py v7.14.2, created at 2026-06-22 14:27 +0000
1# coding: utf-8
3"""
4 Server API v3 (deprecated)
6 > 🚧 Deprecation Notice > > This version of Server API is marked as deprecated starting on **Jan 7th 2026** and will be fully defunct on **Jan 7th 2027** according to our [API Deprecation Policy](https://dev.fingerprint.com/reference/api-deprecation-policy). If you still use this version, please follow our [migration guide](https://dev.fingerprint.com/reference/migrating-from-server-api-v3-to-v4) to migrate from this deprecated version to the new one. 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
16from fingerprint_pro_server_api_sdk.models.integration import Integration
19class SDK(BaseModel):
20 """
21 Contains information about the SDK used to perform the request.
23 NOTE: This class is auto generated by the swagger code generator program.
25 Do not edit the class manually.
26 """
27 """
28 Attributes:
29 swagger_types (dict): The key is attribute name
30 and the value is attribute type.
31 attribute_map (dict): The key is attribute name
32 and the value is json key in definition.
33 """
34 swagger_types = {
35 'platform': 'str',
36 'version': 'str',
37 'integrations': 'list[Integration]'
38 }
40 nullable_map = {
41 'platform': False,
42 'version': False,
43 'integrations': False
44 }
46 attribute_map = {
47 'platform': 'platform',
48 'version': 'version',
49 'integrations': 'integrations'
50 }
52 def __init__(self, platform=None, version=None, integrations=None): # noqa: E501
53 """SDK - a model defined in Swagger""" # noqa: E501
54 self._platform = None
55 self._version = None
56 self._integrations = None
57 self.discriminator = None
58 self.platform = platform
59 self.version = version
60 if integrations is not None:
61 self.integrations = integrations
63 @property
64 def platform(self) -> str:
65 """Gets the platform of this SDK. # noqa: E501
67 Platform of the SDK. # noqa: E501
69 :return: The platform of this SDK. # noqa: E501
70 """
71 return self._platform
73 @platform.setter
74 def platform(self, platform: str):
75 """Sets the platform of this SDK.
77 Platform of the SDK. # noqa: E501
79 :param platform: The platform of this SDK. # noqa: E501
80 """
81 if platform is None:
82 raise ValueError("Invalid value for `platform`, must not be `None`") # noqa: E501
84 self._platform = platform
86 @property
87 def version(self) -> str:
88 """Gets the version of this SDK. # noqa: E501
90 SDK version string. # noqa: E501
92 :return: The version of this SDK. # noqa: E501
93 """
94 return self._version
96 @version.setter
97 def version(self, version: str):
98 """Sets the version of this SDK.
100 SDK version string. # noqa: E501
102 :param version: The version of this SDK. # noqa: E501
103 """
104 if version is None:
105 raise ValueError("Invalid value for `version`, must not be `None`") # noqa: E501
107 self._version = version
109 @property
110 def integrations(self) -> Optional[List[Integration]]:
111 """Gets the integrations of this SDK. # noqa: E501
114 :return: The integrations of this SDK. # noqa: E501
115 """
116 return self._integrations
118 @integrations.setter
119 def integrations(self, integrations: Optional[List[Integration]]):
120 """Sets the integrations of this SDK.
123 :param integrations: The integrations of this SDK. # noqa: E501
124 """
126 self._integrations = integrations