Coverage for fingerprint_pro_server_api_sdk/models/search_events_response.py: 97%
29 statements
« prev ^ index » next coverage.py v7.7.0, created at 2025-03-17 15:34 +0000
« prev ^ index » next coverage.py v7.7.0, created at 2025-03-17 15:34 +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.search_events_response_events import SearchEventsResponseEvents
19class SearchEventsResponse(BaseModel):
20 """
21 Contains a list of all identification events matching the specified search criteria.
23 NOTE: This class is auto generated by the swagger code generator program.
25 Do not edit the class manually.
26 """
27 """
28 Attributes:
29 swagger_types (dict): The key is attribute name
30 and the value is attribute type.
31 attribute_map (dict): The key is attribute name
32 and the value is json key in definition.
33 """
34 swagger_types = {
35 'events': 'list[SearchEventsResponseEvents]',
36 'pagination_key': 'str'
37 }
39 nullable_map = {
40 'events': False,
41 'pagination_key': False
42 }
44 attribute_map = {
45 'events': 'events',
46 'pagination_key': 'paginationKey'
47 }
49 def __init__(self, events=None, pagination_key=None): # noqa: E501
50 """SearchEventsResponse - a model defined in Swagger""" # noqa: E501
51 self._events = None
52 self._pagination_key = None
53 self.discriminator = None
54 if events is not None:
55 self.events = events
56 if pagination_key is not None:
57 self.pagination_key = pagination_key
59 @property
60 def events(self) -> Optional[List[SearchEventsResponseEvents]]:
61 """Gets the events of this SearchEventsResponse. # noqa: E501
64 :return: The events of this SearchEventsResponse. # noqa: E501
65 """
66 return self._events
68 @events.setter
69 def events(self, events: Optional[List[SearchEventsResponseEvents]]):
70 """Sets the events of this SearchEventsResponse.
73 :param events: The events of this SearchEventsResponse. # noqa: E501
74 """
76 self._events = events
78 @property
79 def pagination_key(self) -> Optional[str]:
80 """Gets the pagination_key of this SearchEventsResponse. # noqa: E501
82 Use this value in the `pagination_key` parameter to request the next page of search results. # noqa: E501
84 :return: The pagination_key of this SearchEventsResponse. # noqa: E501
85 """
86 return self._pagination_key
88 @pagination_key.setter
89 def pagination_key(self, pagination_key: Optional[str]):
90 """Sets the pagination_key of this SearchEventsResponse.
92 Use this value in the `pagination_key` parameter to request the next page of search results. # noqa: E501
94 :param pagination_key: The pagination_key of this SearchEventsResponse. # noqa: E501
95 """
97 self._pagination_key = pagination_key