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

38 statements  

« prev     ^ index     » next       coverage.py v7.14.2, created at 2026-06-22 14:27 +0000

1# coding: utf-8 

2 

3""" 

4 Server API v3 (deprecated) 

5 

6 > 🚧 Deprecation Notice > > This version of Server API is marked as deprecated starting on **Jan 7th 2026** and will be fully defunct on **Jan 7th 2027** according to our [API Deprecation Policy](https://dev.fingerprint.com/reference/api-deprecation-policy). If you still use this version, please follow our [migration guide](https://dev.fingerprint.com/reference/migrating-from-server-api-v3-to-v4) to migrate from this deprecated version to the new one. Fingerprint Server API allows you to search, update, and delete identification 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.integration_subintegration import IntegrationSubintegration 

17 

18 

19class Integration(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 'name': 'str', 

33 'version': 'str', 

34 'subintegration': 'IntegrationSubintegration' 

35 } 

36 

37 nullable_map = { 

38 'name': False, 

39 'version': False, 

40 'subintegration': False 

41 } 

42 

43 attribute_map = { 

44 'name': 'name', 

45 'version': 'version', 

46 'subintegration': 'subintegration' 

47 } 

48 

49 def __init__(self, name=None, version=None, subintegration=None): # noqa: E501 

50 """Integration - a model defined in Swagger""" # noqa: E501 

51 self._name = None 

52 self._version = None 

53 self._subintegration = None 

54 self.discriminator = None 

55 if name is not None: 

56 self.name = name 

57 if version is not None: 

58 self.version = version 

59 if subintegration is not None: 

60 self.subintegration = subintegration 

61 

62 @property 

63 def name(self) -> Optional[str]: 

64 """Gets the name of this Integration. # noqa: E501 

65 

66 The name of the specific integration, e.g. \"fingerprint-pro-react\". # noqa: E501 

67 

68 :return: The name of this Integration. # noqa: E501 

69 """ 

70 return self._name 

71 

72 @name.setter 

73 def name(self, name: Optional[str]): 

74 """Sets the name of this Integration. 

75 

76 The name of the specific integration, e.g. \"fingerprint-pro-react\". # noqa: E501 

77 

78 :param name: The name of this Integration. # noqa: E501 

79 """ 

80 

81 self._name = name 

82 

83 @property 

84 def version(self) -> Optional[str]: 

85 """Gets the version of this Integration. # noqa: E501 

86 

87 The version of the specific integration, e.g. \"3.11.10\". # noqa: E501 

88 

89 :return: The version of this Integration. # noqa: E501 

90 """ 

91 return self._version 

92 

93 @version.setter 

94 def version(self, version: Optional[str]): 

95 """Sets the version of this Integration. 

96 

97 The version of the specific integration, e.g. \"3.11.10\". # noqa: E501 

98 

99 :param version: The version of this Integration. # noqa: E501 

100 """ 

101 

102 self._version = version 

103 

104 @property 

105 def subintegration(self) -> Optional[IntegrationSubintegration]: 

106 """Gets the subintegration of this Integration. # noqa: E501 

107 

108 

109 :return: The subintegration of this Integration. # noqa: E501 

110 """ 

111 return self._subintegration 

112 

113 @subintegration.setter 

114 def subintegration(self, subintegration: Optional[IntegrationSubintegration]): 

115 """Sets the subintegration of this Integration. 

116 

117 

118 :param subintegration: The subintegration of this Integration. # noqa: E501 

119 """ 

120 

121 self._subintegration = subintegration 

122