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
« prev ^ index » next coverage.py v7.6.12, created at 2025-02-21 15:03 +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
16from fingerprint_pro_server_api_sdk.models.tag import Tag
19class EventsUpdateRequest(BaseModel):
20 """NOTE: This class is auto generated by the swagger code generator program.
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 }
37 nullable_map = {
38 'linked_id': False,
39 'tag': False,
40 'suspect': False
41 }
43 attribute_map = {
44 'linked_id': 'linkedId',
45 'tag': 'tag',
46 'suspect': 'suspect'
47 }
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
62 @property
63 def linked_id(self) -> Optional[str]:
64 """Gets the linked_id of this EventsUpdateRequest. # noqa: E501
66 LinkedID value to assign to the existing event # noqa: E501
68 :return: The linked_id of this EventsUpdateRequest. # noqa: E501
69 """
70 return self._linked_id
72 @linked_id.setter
73 def linked_id(self, linked_id: Optional[str]):
74 """Sets the linked_id of this EventsUpdateRequest.
76 LinkedID value to assign to the existing event # noqa: E501
78 :param linked_id: The linked_id of this EventsUpdateRequest. # noqa: E501
79 """
81 self._linked_id = linked_id
83 @property
84 def tag(self) -> Optional[Tag]:
85 """Gets the tag of this EventsUpdateRequest. # noqa: E501
88 :return: The tag of this EventsUpdateRequest. # noqa: E501
89 """
90 return self._tag
92 @tag.setter
93 def tag(self, tag: Optional[Tag]):
94 """Sets the tag of this EventsUpdateRequest.
97 :param tag: The tag of this EventsUpdateRequest. # noqa: E501
98 """
100 self._tag = tag
102 @property
103 def suspect(self) -> Optional[bool]:
104 """Gets the suspect of this EventsUpdateRequest. # noqa: E501
106 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501
108 :return: The suspect of this EventsUpdateRequest. # noqa: E501
109 """
110 return self._suspect
112 @suspect.setter
113 def suspect(self, suspect: Optional[bool]):
114 """Sets the suspect of this EventsUpdateRequest.
116 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501
118 :param suspect: The suspect of this EventsUpdateRequest. # noqa: E501
119 """
121 self._suspect = suspect