Coverage for fingerprint_pro_server_api_sdk/models/product_incognito.py: 100%

30 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-02-21 15:03 +0000

1# coding: utf-8 

2 

3""" 

4 Fingerprint Pro Server API 

5 

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 

7 

8 OpenAPI spec version: 3 

9 Contact: support@fingerprint.com 

10 Generated by: https://github.com/swagger-api/swagger-codegen.git 

11""" 

12 

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.incognito import Incognito 

17from fingerprint_pro_server_api_sdk.models.error import Error 

18 

19 

20class ProductIncognito(BaseModel): 

21 """NOTE: This class is auto generated by the swagger code generator program. 

22 

23 Do not edit the class manually. 

24 """ 

25 """ 

26 Attributes: 

27 swagger_types (dict): The key is attribute name 

28 and the value is attribute type. 

29 attribute_map (dict): The key is attribute name 

30 and the value is json key in definition. 

31 """ 

32 swagger_types = { 

33 'data': 'Incognito', 

34 'error': 'Error' 

35 } 

36 

37 nullable_map = { 

38 'data': False, 

39 'error': False 

40 } 

41 

42 attribute_map = { 

43 'data': 'data', 

44 'error': 'error' 

45 } 

46 

47 def __init__(self, data=None, error=None): # noqa: E501 

48 """ProductIncognito - a model defined in Swagger""" # noqa: E501 

49 self._data = None 

50 self._error = None 

51 self.discriminator = None 

52 if data is not None: 

53 self.data = data 

54 if error is not None: 

55 self.error = error 

56 

57 @property 

58 def data(self) -> Optional[Incognito]: 

59 """Gets the data of this ProductIncognito. # noqa: E501 

60 

61 

62 :return: The data of this ProductIncognito. # noqa: E501 

63 """ 

64 return self._data 

65 

66 @data.setter 

67 def data(self, data: Optional[Incognito]): 

68 """Sets the data of this ProductIncognito. 

69 

70 

71 :param data: The data of this ProductIncognito. # noqa: E501 

72 """ 

73 

74 self._data = data 

75 

76 @property 

77 def error(self) -> Optional[Error]: 

78 """Gets the error of this ProductIncognito. # noqa: E501 

79 

80 

81 :return: The error of this ProductIncognito. # noqa: E501 

82 """ 

83 return self._error 

84 

85 @error.setter 

86 def error(self, error: Optional[Error]): 

87 """Sets the error of this ProductIncognito. 

88 

89 

90 :param error: The error of this ProductIncognito. # noqa: E501 

91 """ 

92 

93 self._error = error 

94