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

38 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.tag import Tag 

17 

18 

19class EventsUpdateRequest(BaseModel): 

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

21 

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 'linked_id': 'str', 

33 'tag': 'Tag', 

34 'suspect': 'bool' 

35 } 

36 

37 nullable_map = { 

38 'linked_id': False, 

39 'tag': False, 

40 'suspect': False 

41 } 

42 

43 attribute_map = { 

44 'linked_id': 'linkedId', 

45 'tag': 'tag', 

46 'suspect': 'suspect' 

47 } 

48 

49 def __init__(self, linked_id=None, tag=None, suspect=None): # noqa: E501 

50 """EventsUpdateRequest - a model defined in Swagger""" # noqa: E501 

51 self._linked_id = None 

52 self._tag = None 

53 self._suspect = None 

54 self.discriminator = None 

55 if linked_id is not None: 

56 self.linked_id = linked_id 

57 if tag is not None: 

58 self.tag = tag 

59 if suspect is not None: 

60 self.suspect = suspect 

61 

62 @property 

63 def linked_id(self) -> Optional[str]: 

64 """Gets the linked_id of this EventsUpdateRequest. # noqa: E501 

65 

66 LinkedID value to assign to the existing event # noqa: E501 

67 

68 :return: The linked_id of this EventsUpdateRequest. # noqa: E501 

69 """ 

70 return self._linked_id 

71 

72 @linked_id.setter 

73 def linked_id(self, linked_id: Optional[str]): 

74 """Sets the linked_id of this EventsUpdateRequest. 

75 

76 LinkedID value to assign to the existing event # noqa: E501 

77 

78 :param linked_id: The linked_id of this EventsUpdateRequest. # noqa: E501 

79 """ 

80 

81 self._linked_id = linked_id 

82 

83 @property 

84 def tag(self) -> Optional[Tag]: 

85 """Gets the tag of this EventsUpdateRequest. # noqa: E501 

86 

87 

88 :return: The tag of this EventsUpdateRequest. # noqa: E501 

89 """ 

90 return self._tag 

91 

92 @tag.setter 

93 def tag(self, tag: Optional[Tag]): 

94 """Sets the tag of this EventsUpdateRequest. 

95 

96 

97 :param tag: The tag of this EventsUpdateRequest. # noqa: E501 

98 """ 

99 

100 self._tag = tag 

101 

102 @property 

103 def suspect(self) -> Optional[bool]: 

104 """Gets the suspect of this EventsUpdateRequest. # noqa: E501 

105 

106 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501 

107 

108 :return: The suspect of this EventsUpdateRequest. # noqa: E501 

109 """ 

110 return self._suspect 

111 

112 @suspect.setter 

113 def suspect(self, suspect: Optional[bool]): 

114 """Sets the suspect of this EventsUpdateRequest. 

115 

116 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501 

117 

118 :param suspect: The suspect of this EventsUpdateRequest. # noqa: E501 

119 """ 

120 

121 self._suspect = suspect 

122