Coverage for fingerprint_pro_server_api_sdk/models/raw_device_attribute_error.py: 59%
27 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-09 17:50 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-09 17:50 +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
18class RawDeviceAttributeError(BaseModel):
19 """NOTE: This class is auto generated by the swagger code generator program.
21 Do not edit the class manually.
22 """
23 """
24 Attributes:
25 swagger_types (dict): The key is attribute name
26 and the value is attribute type.
27 attribute_map (dict): The key is attribute name
28 and the value is json key in definition.
29 """
30 swagger_types = {
31 'name': 'str',
32 'message': 'str'
33 }
35 attribute_map = {
36 'name': 'name',
37 'message': 'message'
38 }
40 def __init__(self, name=None, message=None): # noqa: E501
41 """RawDeviceAttributeError - a model defined in Swagger""" # noqa: E501
42 self._name = None
43 self._message = None
44 self.discriminator = None
45 if name is not None:
46 self.name = name
47 if message is not None:
48 self.message = message
50 @property
51 def name(self) -> Optional[str]:
52 """Gets the name of this RawDeviceAttributeError. # noqa: E501
55 :return: The name of this RawDeviceAttributeError. # noqa: E501
56 """
57 return self._name
59 @name.setter
60 def name(self, name: Optional[str]):
61 """Sets the name of this RawDeviceAttributeError.
64 :param name: The name of this RawDeviceAttributeError. # noqa: E501
65 """
67 self._name = name
69 @property
70 def message(self) -> Optional[str]:
71 """Gets the message of this RawDeviceAttributeError. # noqa: E501
74 :return: The message of this RawDeviceAttributeError. # noqa: E501
75 """
76 return self._message
78 @message.setter
79 def message(self, message: Optional[str]):
80 """Sets the message of this RawDeviceAttributeError.
83 :param message: The message of this RawDeviceAttributeError. # noqa: E501
84 """
86 self._message = message