Coverage for fingerprint_pro_server_api_sdk/models/supplementary_id.py: 55%
58 statements
« prev ^ index » next coverage.py v7.10.7, created at 2025-09-29 16:25 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2025-09-29 16:25 +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
16from fingerprint_pro_server_api_sdk.models.identification_confidence import IdentificationConfidence
17from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt
18from fingerprint_pro_server_api_sdk.models.identification_seen_at import IdentificationSeenAt
21class SupplementaryID(BaseModel):
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 'visitor_id': 'str',
35 'visitor_found': 'bool',
36 'confidence': 'IdentificationConfidence',
37 'first_seen_at': 'IdentificationSeenAt',
38 'last_seen_at': 'IdentificationSeenAt'
39 }
41 nullable_map = {
42 'visitor_id': False,
43 'visitor_found': False,
44 'confidence': False,
45 'first_seen_at': False,
46 'last_seen_at': False
47 }
49 attribute_map = {
50 'visitor_id': 'visitorId',
51 'visitor_found': 'visitorFound',
52 'confidence': 'confidence',
53 'first_seen_at': 'firstSeenAt',
54 'last_seen_at': 'lastSeenAt'
55 }
57 def __init__(self, visitor_id=None, visitor_found=None, confidence=None, first_seen_at=None, last_seen_at=None): # noqa: E501
58 """SupplementaryID - a model defined in Swagger""" # noqa: E501
59 self._visitor_id = None
60 self._visitor_found = None
61 self._confidence = None
62 self._first_seen_at = None
63 self._last_seen_at = None
64 self.discriminator = None
65 if visitor_id is not None:
66 self.visitor_id = visitor_id
67 if visitor_found is not None:
68 self.visitor_found = visitor_found
69 if confidence is not None:
70 self.confidence = confidence
71 if first_seen_at is not None:
72 self.first_seen_at = first_seen_at
73 if last_seen_at is not None:
74 self.last_seen_at = last_seen_at
76 @property
77 def visitor_id(self) -> Optional[str]:
78 """Gets the visitor_id of this SupplementaryID. # noqa: E501
80 String of 20 characters that uniquely identifies the visitor's browser or mobile device. # noqa: E501
82 :return: The visitor_id of this SupplementaryID. # noqa: E501
83 """
84 return self._visitor_id
86 @visitor_id.setter
87 def visitor_id(self, visitor_id: Optional[str]):
88 """Sets the visitor_id of this SupplementaryID.
90 String of 20 characters that uniquely identifies the visitor's browser or mobile device. # noqa: E501
92 :param visitor_id: The visitor_id of this SupplementaryID. # noqa: E501
93 """
95 self._visitor_id = visitor_id
97 @property
98 def visitor_found(self) -> Optional[bool]:
99 """Gets the visitor_found of this SupplementaryID. # noqa: E501
101 Attribute represents if a visitor had been identified before. # noqa: E501
103 :return: The visitor_found of this SupplementaryID. # noqa: E501
104 """
105 return self._visitor_found
107 @visitor_found.setter
108 def visitor_found(self, visitor_found: Optional[bool]):
109 """Sets the visitor_found of this SupplementaryID.
111 Attribute represents if a visitor had been identified before. # noqa: E501
113 :param visitor_found: The visitor_found of this SupplementaryID. # noqa: E501
114 """
116 self._visitor_found = visitor_found
118 @property
119 def confidence(self) -> Optional[IdentificationConfidence]:
120 """Gets the confidence of this SupplementaryID. # noqa: E501
123 :return: The confidence of this SupplementaryID. # noqa: E501
124 """
125 return self._confidence
127 @confidence.setter
128 def confidence(self, confidence: Optional[IdentificationConfidence]):
129 """Sets the confidence of this SupplementaryID.
132 :param confidence: The confidence of this SupplementaryID. # noqa: E501
133 """
135 self._confidence = confidence
137 @property
138 def first_seen_at(self) -> Optional[IdentificationSeenAt]:
139 """Gets the first_seen_at of this SupplementaryID. # noqa: E501
142 :return: The first_seen_at of this SupplementaryID. # noqa: E501
143 """
144 return self._first_seen_at
146 @first_seen_at.setter
147 def first_seen_at(self, first_seen_at: Optional[IdentificationSeenAt]):
148 """Sets the first_seen_at of this SupplementaryID.
151 :param first_seen_at: The first_seen_at of this SupplementaryID. # noqa: E501
152 """
154 self._first_seen_at = first_seen_at
156 @property
157 def last_seen_at(self) -> Optional[IdentificationSeenAt]:
158 """Gets the last_seen_at of this SupplementaryID. # noqa: E501
161 :return: The last_seen_at of this SupplementaryID. # noqa: E501
162 """
163 return self._last_seen_at
165 @last_seen_at.setter
166 def last_seen_at(self, last_seen_at: Optional[IdentificationSeenAt]):
167 """Sets the last_seen_at of this SupplementaryID.
170 :param last_seen_at: The last_seen_at of this SupplementaryID. # noqa: E501
171 """
173 self._last_seen_at = last_seen_at