Coverage for fingerprint_pro_server_api_sdk/models/raw_device_attribute.py: 62%
29 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-02-21 15:03 +0000
« prev ^ index » next coverage.py v7.6.12, created at 2025-02-21 15:03 +0000
1# coding: utf-8
3"""
4 Fingerprint Pro Server API
6 Fingerprint Pro Server API allows you to get information about visitors and about individual 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.raw_device_attribute_error import RawDeviceAttributeError
19class RawDeviceAttribute(BaseModel):
20 """NOTE: This class is auto generated by the swagger code generator program.
22 Do not edit the class manually.
23 """
24 """
25 Attributes:
26 swagger_types (dict): The key is attribute name
27 and the value is attribute type.
28 attribute_map (dict): The key is attribute name
29 and the value is json key in definition.
30 """
31 swagger_types = {
32 'value': 'object',
33 'error': 'RawDeviceAttributeError'
34 }
36 nullable_map = {
37 'value': False,
38 'error': False
39 }
41 attribute_map = {
42 'value': 'value',
43 'error': 'error'
44 }
46 def __init__(self, value=None, error=None): # noqa: E501
47 """RawDeviceAttribute - a model defined in Swagger""" # noqa: E501
48 self._value = None
49 self._error = None
50 self.discriminator = None
51 if value is not None:
52 self.value = value
53 if error is not None:
54 self.error = error
56 @property
57 def value(self) -> Optional[object]:
58 """Gets the value of this RawDeviceAttribute. # noqa: E501
61 :return: The value of this RawDeviceAttribute. # noqa: E501
62 """
63 return self._value
65 @value.setter
66 def value(self, value: Optional[object]):
67 """Sets the value of this RawDeviceAttribute.
70 :param value: The value of this RawDeviceAttribute. # noqa: E501
71 """
73 self._value = value
75 @property
76 def error(self) -> Optional[RawDeviceAttributeError]:
77 """Gets the error of this RawDeviceAttribute. # noqa: E501
80 :return: The error of this RawDeviceAttribute. # noqa: E501
81 """
82 return self._error
84 @error.setter
85 def error(self, error: Optional[RawDeviceAttributeError]):
86 """Sets the error of this RawDeviceAttribute.
89 :param error: The error of this RawDeviceAttribute. # noqa: E501
90 """
92 self._error = error