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

37 statements  

« prev     ^ index     » next       coverage.py v7.6.9, created at 2024-12-09 17:50 +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 attribute_map = { 

38 'linked_id': 'linkedId', 

39 'tag': 'tag', 

40 'suspect': 'suspect' 

41 } 

42 

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

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

45 self._linked_id = None 

46 self._tag = None 

47 self._suspect = None 

48 self.discriminator = None 

49 if linked_id is not None: 

50 self.linked_id = linked_id 

51 if tag is not None: 

52 self.tag = tag 

53 if suspect is not None: 

54 self.suspect = suspect 

55 

56 @property 

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

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

59 

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

61 

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

63 """ 

64 return self._linked_id 

65 

66 @linked_id.setter 

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

68 """Sets the linked_id of this EventsUpdateRequest. 

69 

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

71 

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

73 """ 

74 

75 self._linked_id = linked_id 

76 

77 @property 

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

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

80 

81 

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

83 """ 

84 return self._tag 

85 

86 @tag.setter 

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

88 """Sets the tag of this EventsUpdateRequest. 

89 

90 

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

92 """ 

93 

94 self._tag = tag 

95 

96 @property 

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

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

99 

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

101 

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

103 """ 

104 return self._suspect 

105 

106 @suspect.setter 

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

108 """Sets the suspect of this EventsUpdateRequest. 

109 

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

111 

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

113 """ 

114 

115 self._suspect = suspect 

116