Coverage for fingerprint_pro_server_api_sdk/models/search_events_response_events.py: 95%

21 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.products import Products 

17 

18 

19class SearchEventsResponseEvents(BaseModel): 

20 """ 

21 Device intelligence results for the identification event. 

22 

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

24 

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 'products': 'Products' 

36 } 

37 

38 nullable_map = { 

39 'products': False 

40 } 

41 

42 attribute_map = { 

43 'products': 'products' 

44 } 

45 

46 def __init__(self, products=None): # noqa: E501 

47 """SearchEventsResponseEvents - a model defined in Swagger""" # noqa: E501 

48 self._products = None 

49 self.discriminator = None 

50 self.products = products 

51 

52 @property 

53 def products(self) -> Products: 

54 """Gets the products of this SearchEventsResponseEvents. # noqa: E501 

55 

56 

57 :return: The products of this SearchEventsResponseEvents. # noqa: E501 

58 """ 

59 return self._products 

60 

61 @products.setter 

62 def products(self, products: Products): 

63 """Sets the products of this SearchEventsResponseEvents. 

64 

65 

66 :param products: The products of this SearchEventsResponseEvents. # noqa: E501 

67 """ 

68 if products is None: 

69 raise ValueError("Invalid value for `products`, must not be `None`") # noqa: E501 

70 

71 self._products = products 

72