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

28 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 datetime import datetime 

17from datetime import datetime 

18 

19 

20class IdentificationSeenAt(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 '_global': 'datetime', 

34 'subscription': 'datetime' 

35 } 

36 

37 nullable_map = { 

38 '_global': True, 

39 'subscription': True 

40 } 

41 

42 attribute_map = { 

43 '_global': 'global', 

44 'subscription': 'subscription' 

45 } 

46 

47 def __init__(self, _global=None, subscription=None): # noqa: E501 

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

49 self.__global = None 

50 self._subscription = None 

51 self.discriminator = None 

52 self._global = _global 

53 self.subscription = subscription 

54 

55 @property 

56 def _global(self) -> datetime: 

57 """Gets the _global of this IdentificationSeenAt. # noqa: E501 

58 

59 

60 :return: The _global of this IdentificationSeenAt. # noqa: E501 

61 """ 

62 return self.__global 

63 

64 @_global.setter 

65 def _global(self, _global: datetime): 

66 """Sets the _global of this IdentificationSeenAt. 

67 

68 

69 :param _global: The _global of this IdentificationSeenAt. # noqa: E501 

70 """ 

71 

72 self.__global = _global 

73 

74 @property 

75 def subscription(self) -> datetime: 

76 """Gets the subscription of this IdentificationSeenAt. # noqa: E501 

77 

78 

79 :return: The subscription of this IdentificationSeenAt. # noqa: E501 

80 """ 

81 return self._subscription 

82 

83 @subscription.setter 

84 def subscription(self, subscription: datetime): 

85 """Sets the subscription of this IdentificationSeenAt. 

86 

87 

88 :param subscription: The subscription of this IdentificationSeenAt. # noqa: E501 

89 """ 

90 

91 self._subscription = subscription 

92