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
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-09 17:50 +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 attribute_map = {
38 'linked_id': 'linkedId',
39 'tag': 'tag',
40 'suspect': 'suspect'
41 }
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
56 @property
57 def linked_id(self) -> Optional[str]:
58 """Gets the linked_id of this EventsUpdateRequest. # noqa: E501
60 LinkedID value to assign to the existing event # noqa: E501
62 :return: The linked_id of this EventsUpdateRequest. # noqa: E501
63 """
64 return self._linked_id
66 @linked_id.setter
67 def linked_id(self, linked_id: Optional[str]):
68 """Sets the linked_id of this EventsUpdateRequest.
70 LinkedID value to assign to the existing event # noqa: E501
72 :param linked_id: The linked_id of this EventsUpdateRequest. # noqa: E501
73 """
75 self._linked_id = linked_id
77 @property
78 def tag(self) -> Optional[Tag]:
79 """Gets the tag of this EventsUpdateRequest. # noqa: E501
82 :return: The tag of this EventsUpdateRequest. # noqa: E501
83 """
84 return self._tag
86 @tag.setter
87 def tag(self, tag: Optional[Tag]):
88 """Sets the tag of this EventsUpdateRequest.
91 :param tag: The tag of this EventsUpdateRequest. # noqa: E501
92 """
94 self._tag = tag
96 @property
97 def suspect(self) -> Optional[bool]:
98 """Gets the suspect of this EventsUpdateRequest. # noqa: E501
100 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501
102 :return: The suspect of this EventsUpdateRequest. # noqa: E501
103 """
104 return self._suspect
106 @suspect.setter
107 def suspect(self, suspect: Optional[bool]):
108 """Sets the suspect of this EventsUpdateRequest.
110 Suspect flag indicating observed suspicious or fraudulent event # noqa: E501
112 :param suspect: The suspect of this EventsUpdateRequest. # noqa: E501
113 """
115 self._suspect = suspect