regula-facesdk-webclient 6.4.198.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of regula-facesdk-webclient might be problematic. Click here for more details.

Files changed (133) hide show
  1. regula/__init__.py +0 -0
  2. regula/facesdk/__init__.py +0 -0
  3. regula/facesdk/webclient/__init__.py +15 -0
  4. regula/facesdk/webclient/ext/__init__.py +5 -0
  5. regula/facesdk/webclient/ext/api/__init__.py +3 -0
  6. regula/facesdk/webclient/ext/api/group_api.py +36 -0
  7. regula/facesdk/webclient/ext/api/match_api.py +46 -0
  8. regula/facesdk/webclient/ext/api/person_api.py +46 -0
  9. regula/facesdk/webclient/ext/api/sdk.py +28 -0
  10. regula/facesdk/webclient/ext/api/search_api.py +17 -0
  11. regula/facesdk/webclient/ext/common.py +7 -0
  12. regula/facesdk/webclient/ext/models/__init__.py +6 -0
  13. regula/facesdk/webclient/ext/models/detect_request.py +32 -0
  14. regula/facesdk/webclient/ext/models/match_image.py +19 -0
  15. regula/facesdk/webclient/ext/models/match_request.py +34 -0
  16. regula/facesdk/webclient/gen/__init__.py +27 -0
  17. regula/facesdk/webclient/gen/api/__init__.py +3 -0
  18. regula/facesdk/webclient/gen/api/diagnostics_api.py +162 -0
  19. regula/facesdk/webclient/gen/api/group_api.py +1040 -0
  20. regula/facesdk/webclient/gen/api/healthcheck_api.py +283 -0
  21. regula/facesdk/webclient/gen/api/liveness_2_0_api.py +168 -0
  22. regula/facesdk/webclient/gen/api/liveness_api.py +424 -0
  23. regula/facesdk/webclient/gen/api/match_api.py +463 -0
  24. regula/facesdk/webclient/gen/api/person_api.py +1345 -0
  25. regula/facesdk/webclient/gen/api/search_api.py +177 -0
  26. regula/facesdk/webclient/gen/api_client.py +695 -0
  27. regula/facesdk/webclient/gen/apis/__init__.py +22 -0
  28. regula/facesdk/webclient/gen/configuration.py +446 -0
  29. regula/facesdk/webclient/gen/exceptions.py +159 -0
  30. regula/facesdk/webclient/gen/model/__init__.py +5 -0
  31. regula/facesdk/webclient/gen/model/add_image_to_person_request.py +205 -0
  32. regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py +204 -0
  33. regula/facesdk/webclient/gen/model/add_image_to_person_response.py +262 -0
  34. regula/facesdk/webclient/gen/model/attribute_config.py +120 -0
  35. regula/facesdk/webclient/gen/model/attribute_config_list.py +92 -0
  36. regula/facesdk/webclient/gen/model/crop.py +208 -0
  37. regula/facesdk/webclient/gen/model/detect_request.py +204 -0
  38. regula/facesdk/webclient/gen/model/detect_request_attributes.py +120 -0
  39. regula/facesdk/webclient/gen/model/detect_response.py +147 -0
  40. regula/facesdk/webclient/gen/model/detect_response_all_of.py +120 -0
  41. regula/facesdk/webclient/gen/model/detect_result.py +231 -0
  42. regula/facesdk/webclient/gen/model/detection.py +258 -0
  43. regula/facesdk/webclient/gen/model/detection_attributes.py +148 -0
  44. regula/facesdk/webclient/gen/model/detection_face.py +260 -0
  45. regula/facesdk/webclient/gen/model/detection_quality.py +234 -0
  46. regula/facesdk/webclient/gen/model/device_info.py +231 -0
  47. regula/facesdk/webclient/gen/model/face_align_type_quality.py +109 -0
  48. regula/facesdk/webclient/gen/model/face_attribute.py +133 -0
  49. regula/facesdk/webclient/gen/model/face_image_quality_align_type.py +109 -0
  50. regula/facesdk/webclient/gen/model/face_image_quality_groups.py +118 -0
  51. regula/facesdk/webclient/gen/model/face_image_quality_groups_strings.py +118 -0
  52. regula/facesdk/webclient/gen/model/face_image_quality_status.py +103 -0
  53. regula/facesdk/webclient/gen/model/face_quality_config_name.py +238 -0
  54. regula/facesdk/webclient/gen/model/face_quality_scenarios.py +121 -0
  55. regula/facesdk/webclient/gen/model/face_quality_status.py +103 -0
  56. regula/facesdk/webclient/gen/model/face_rectangular.py +92 -0
  57. regula/facesdk/webclient/gen/model/face_sdk_result.py +121 -0
  58. regula/facesdk/webclient/gen/model/face_sdk_result_code.py +217 -0
  59. regula/facesdk/webclient/gen/model/faces_response.py +286 -0
  60. regula/facesdk/webclient/gen/model/faces_response_all_of.py +148 -0
  61. regula/facesdk/webclient/gen/model/filter_op.py +100 -0
  62. regula/facesdk/webclient/gen/model/filter_search_request.py +176 -0
  63. regula/facesdk/webclient/gen/model/group.py +206 -0
  64. regula/facesdk/webclient/gen/model/group_all_of.py +150 -0
  65. regula/facesdk/webclient/gen/model/group_page.py +178 -0
  66. regula/facesdk/webclient/gen/model/group_page_all_of.py +122 -0
  67. regula/facesdk/webclient/gen/model/group_response.py +150 -0
  68. regula/facesdk/webclient/gen/model/group_to_create.py +180 -0
  69. regula/facesdk/webclient/gen/model/image.py +290 -0
  70. regula/facesdk/webclient/gen/model/image_fields.py +258 -0
  71. regula/facesdk/webclient/gen/model/image_fields_image.py +204 -0
  72. regula/facesdk/webclient/gen/model/image_page.py +176 -0
  73. regula/facesdk/webclient/gen/model/image_page_all_of.py +120 -0
  74. regula/facesdk/webclient/gen/model/image_source.py +115 -0
  75. regula/facesdk/webclient/gen/model/liveness_transaction.py +334 -0
  76. regula/facesdk/webclient/gen/model/liveness_type.py +100 -0
  77. regula/facesdk/webclient/gen/model/match_and_search_request.py +178 -0
  78. regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py +178 -0
  79. regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py +148 -0
  80. regula/facesdk/webclient/gen/model/match_and_search_response.py +233 -0
  81. regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py +206 -0
  82. regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py +176 -0
  83. regula/facesdk/webclient/gen/model/match_image.py +205 -0
  84. regula/facesdk/webclient/gen/model/match_image_detection.py +178 -0
  85. regula/facesdk/webclient/gen/model/match_image_result.py +316 -0
  86. regula/facesdk/webclient/gen/model/match_request.py +204 -0
  87. regula/facesdk/webclient/gen/model/match_request_output_image_params.py +148 -0
  88. regula/facesdk/webclient/gen/model/match_request_output_image_params_crop.py +212 -0
  89. regula/facesdk/webclient/gen/model/match_response.py +205 -0
  90. regula/facesdk/webclient/gen/model/match_response_all_of.py +178 -0
  91. regula/facesdk/webclient/gen/model/operation_log.py +206 -0
  92. regula/facesdk/webclient/gen/model/output_image_params.py +146 -0
  93. regula/facesdk/webclient/gen/model/page.py +150 -0
  94. regula/facesdk/webclient/gen/model/person.py +318 -0
  95. regula/facesdk/webclient/gen/model/person_all_of.py +206 -0
  96. regula/facesdk/webclient/gen/model/person_created_response.py +178 -0
  97. regula/facesdk/webclient/gen/model/person_fields.py +234 -0
  98. regula/facesdk/webclient/gen/model/person_to_update_fields.py +206 -0
  99. regula/facesdk/webclient/gen/model/person_with_images.py +346 -0
  100. regula/facesdk/webclient/gen/model/person_with_images_all_of.py +122 -0
  101. regula/facesdk/webclient/gen/model/persons_page.py +176 -0
  102. regula/facesdk/webclient/gen/model/persons_page_all_of.py +120 -0
  103. regula/facesdk/webclient/gen/model/process_param.py +226 -0
  104. regula/facesdk/webclient/gen/model/process_param_attributes.py +120 -0
  105. regula/facesdk/webclient/gen/model/quality_config.py +154 -0
  106. regula/facesdk/webclient/gen/model/quality_config_list.py +92 -0
  107. regula/facesdk/webclient/gen/model/quality_detail.py +234 -0
  108. regula/facesdk/webclient/gen/model/quality_details_groups.py +202 -0
  109. regula/facesdk/webclient/gen/model/quality_request.py +146 -0
  110. regula/facesdk/webclient/gen/model/recognize_image.py +346 -0
  111. regula/facesdk/webclient/gen/model/recognize_image_all_of.py +150 -0
  112. regula/facesdk/webclient/gen/model/resize_options.py +178 -0
  113. regula/facesdk/webclient/gen/model/rgb.py +92 -0
  114. regula/facesdk/webclient/gen/model/search_bad_params.py +172 -0
  115. regula/facesdk/webclient/gen/model/search_detection.py +398 -0
  116. regula/facesdk/webclient/gen/model/search_parameters.py +174 -0
  117. regula/facesdk/webclient/gen/model/search_parameters_create_person.py +177 -0
  118. regula/facesdk/webclient/gen/model/search_person.py +372 -0
  119. regula/facesdk/webclient/gen/model/search_person_all_of.py +148 -0
  120. regula/facesdk/webclient/gen/model/search_request.py +338 -0
  121. regula/facesdk/webclient/gen/model/search_request_all_of.py +178 -0
  122. regula/facesdk/webclient/gen/model/search_result.py +313 -0
  123. regula/facesdk/webclient/gen/model/search_result_all_of.py +122 -0
  124. regula/facesdk/webclient/gen/model/transaction_config.py +92 -0
  125. regula/facesdk/webclient/gen/model/transaction_info.py +344 -0
  126. regula/facesdk/webclient/gen/model/update_group.py +150 -0
  127. regula/facesdk/webclient/gen/model_utils.py +2037 -0
  128. regula/facesdk/webclient/gen/models/__init__.py +96 -0
  129. regula/facesdk/webclient/gen/rest.py +346 -0
  130. regula_facesdk_webclient-6.4.198.dev0.dist-info/METADATA +73 -0
  131. regula_facesdk_webclient-6.4.198.dev0.dist-info/RECORD +133 -0
  132. regula_facesdk_webclient-6.4.198.dev0.dist-info/WHEEL +5 -0
  133. regula_facesdk_webclient-6.4.198.dev0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,313 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Regula Face SDK Web API
5
+
6
+ <a href=\"https://regulaforensics.com/products/face-recognition-sdk/ \" target=\"_blank\">Regula Face SDK</a> is a cross-platform biometric verification solution for a digital identity verification process and image quality assurance. The SDK enables convenient and reliable face capture on the client side (mobile, web, and desktop) and further processing on the client or server side. The Face SDK includes the following features: * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-detection\" target=\"_blank\">Face detection and image quality assessment</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-comparison-11\" target=\"_blank\">Face match (1:1)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#face-identification-1n\" target=\"_blank\">Face search (1:N)</a> * <a href=\"https://docs.regulaforensics.com/develop/face-sdk/overview/introduction/#liveness-assessment\" target=\"_blank\">Liveness detection</a> Here is the <a href=\"https://github.com/regulaforensics/FaceSDK-web-openapi \" target=\"_blank\">OpenAPI specification on GitHub</a>. ### Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
7
+
8
+ The version of the OpenAPI document: 6.2.0
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ from regula.facesdk.webclient.gen.configuration import Configuration
19
+
20
+
21
+ class SearchResult(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ 'code': 'int',
37
+ 'persons': '[SearchPerson]',
38
+ 'id': 'str, none_type',
39
+ 'created_at': 'str, none_type',
40
+ 'updated_at': 'str, none_type',
41
+ 'groups': '[str], none_type',
42
+ 'name': 'str, none_type',
43
+ 'metadata': '{str: (bool, date, datetime, dict, float, int, list, str, none_type)}',
44
+ }
45
+
46
+ attribute_map = {
47
+ 'code': 'code',
48
+ 'persons': 'persons',
49
+ 'id': 'id',
50
+ 'created_at': 'createdAt',
51
+ 'updated_at': 'updatedAt',
52
+ 'groups': 'groups',
53
+ 'name': 'name',
54
+ 'metadata': 'metadata',
55
+ }
56
+
57
+ def __init__(self, code=None, persons=None, id=None, created_at=None, updated_at=None, groups=None, name=None, metadata=None, local_vars_configuration=None): # noqa: E501
58
+ """SearchResult - a model defined in OpenAPI""" # noqa: E501
59
+ if local_vars_configuration is None:
60
+ local_vars_configuration = Configuration()
61
+ self.local_vars_configuration = local_vars_configuration
62
+
63
+ self._code = None
64
+ self._persons = None
65
+ self._id = None
66
+ self._created_at = None
67
+ self._updated_at = None
68
+ self._groups = None
69
+ self._name = None
70
+ self._metadata = None
71
+ self.discriminator = None
72
+
73
+ if code is not None:
74
+ self.code = code
75
+ if persons is not None:
76
+ self.persons = persons
77
+ self.id = id
78
+ self.created_at = created_at
79
+ self.updated_at = updated_at
80
+ self.groups = groups
81
+ self.name = name
82
+ if metadata is not None:
83
+ self.metadata = metadata
84
+
85
+ @property
86
+ def code(self):
87
+ """Gets the code of this SearchResult. # noqa: E501
88
+
89
+ Result code. It is returned only with response 200. # noqa: E501
90
+
91
+ :return: The code of this SearchResult. # noqa: E501
92
+ :rtype: int
93
+ """
94
+ return self._code
95
+
96
+ @code.setter
97
+ def code(self, code):
98
+ """Sets the code of this SearchResult.
99
+
100
+ Result code. It is returned only with response 200. # noqa: E501
101
+
102
+ :param code: The code of this SearchResult. # noqa: E501
103
+ :type code: int
104
+ """
105
+
106
+ self._code = code
107
+
108
+ @property
109
+ def persons(self):
110
+ """Gets the persons of this SearchResult. # noqa: E501
111
+
112
+ Array of Person images. It is returned only with response 200. # noqa: E501
113
+
114
+ :return: The persons of this SearchResult. # noqa: E501
115
+ :rtype: [SearchPerson]
116
+ """
117
+ return self._persons
118
+
119
+ @persons.setter
120
+ def persons(self, persons):
121
+ """Sets the persons of this SearchResult.
122
+
123
+ Array of Person images. It is returned only with response 200. # noqa: E501
124
+
125
+ :param persons: The persons of this SearchResult. # noqa: E501
126
+ :type persons: [SearchPerson]
127
+ """
128
+
129
+ self._persons = persons
130
+
131
+ @property
132
+ def id(self):
133
+ """Gets the id of this SearchResult. # noqa: E501
134
+
135
+ Person ID. The list of persons is sorted by decreasing ID value. # noqa: E501
136
+
137
+ :return: The id of this SearchResult. # noqa: E501
138
+ :rtype: str, none_type
139
+ """
140
+ return self._id
141
+
142
+ @id.setter
143
+ def id(self, id):
144
+ """Sets the id of this SearchResult.
145
+
146
+ Person ID. The list of persons is sorted by decreasing ID value. # noqa: E501
147
+
148
+ :param id: The id of this SearchResult. # noqa: E501
149
+ :type id: str, none_type
150
+ """
151
+
152
+ self._id = id
153
+
154
+ @property
155
+ def created_at(self):
156
+ """Gets the created_at of this SearchResult. # noqa: E501
157
+
158
+ Person creation date. # noqa: E501
159
+
160
+ :return: The created_at of this SearchResult. # noqa: E501
161
+ :rtype: str, none_type
162
+ """
163
+ return self._created_at
164
+
165
+ @created_at.setter
166
+ def created_at(self, created_at):
167
+ """Sets the created_at of this SearchResult.
168
+
169
+ Person creation date. # noqa: E501
170
+
171
+ :param created_at: The created_at of this SearchResult. # noqa: E501
172
+ :type created_at: str, none_type
173
+ """
174
+
175
+ self._created_at = created_at
176
+
177
+ @property
178
+ def updated_at(self):
179
+ """Gets the updated_at of this SearchResult. # noqa: E501
180
+
181
+ Person update date. # noqa: E501
182
+
183
+ :return: The updated_at of this SearchResult. # noqa: E501
184
+ :rtype: str, none_type
185
+ """
186
+ return self._updated_at
187
+
188
+ @updated_at.setter
189
+ def updated_at(self, updated_at):
190
+ """Sets the updated_at of this SearchResult.
191
+
192
+ Person update date. # noqa: E501
193
+
194
+ :param updated_at: The updated_at of this SearchResult. # noqa: E501
195
+ :type updated_at: str, none_type
196
+ """
197
+
198
+ self._updated_at = updated_at
199
+
200
+ @property
201
+ def groups(self):
202
+ """Gets the groups of this SearchResult. # noqa: E501
203
+
204
+ List of groups this person belongs to. # noqa: E501
205
+
206
+ :return: The groups of this SearchResult. # noqa: E501
207
+ :rtype: [str], none_type
208
+ """
209
+ return self._groups
210
+
211
+ @groups.setter
212
+ def groups(self, groups):
213
+ """Sets the groups of this SearchResult.
214
+
215
+ List of groups this person belongs to. # noqa: E501
216
+
217
+ :param groups: The groups of this SearchResult. # noqa: E501
218
+ :type groups: [str], none_type
219
+ """
220
+
221
+ self._groups = groups
222
+
223
+ @property
224
+ def name(self):
225
+ """Gets the name of this SearchResult. # noqa: E501
226
+
227
+ Person's name. # noqa: E501
228
+
229
+ :return: The name of this SearchResult. # noqa: E501
230
+ :rtype: str, none_type
231
+ """
232
+ return self._name
233
+
234
+ @name.setter
235
+ def name(self, name):
236
+ """Sets the name of this SearchResult.
237
+
238
+ Person's name. # noqa: E501
239
+
240
+ :param name: The name of this SearchResult. # noqa: E501
241
+ :type name: str, none_type
242
+ """
243
+
244
+ self._name = name
245
+
246
+ @property
247
+ def metadata(self):
248
+ """Gets the metadata of this SearchResult. # noqa: E501
249
+
250
+ A free-form object containing person's extended attributes. Available when a person is being created # noqa: E501
251
+
252
+ :return: The metadata of this SearchResult. # noqa: E501
253
+ :rtype: {str: (bool, date, datetime, dict, float, int, list, str, none_type)}
254
+ """
255
+ return self._metadata
256
+
257
+ @metadata.setter
258
+ def metadata(self, metadata):
259
+ """Sets the metadata of this SearchResult.
260
+
261
+ A free-form object containing person's extended attributes. Available when a person is being created # noqa: E501
262
+
263
+ :param metadata: The metadata of this SearchResult. # noqa: E501
264
+ :type metadata: {str: (bool, date, datetime, dict, float, int, list, str, none_type)}
265
+ """
266
+
267
+ self._metadata = metadata
268
+
269
+ def to_dict(self):
270
+ """Returns the model properties as a dict"""
271
+ result = {}
272
+
273
+ for attr, _ in six.iteritems(self.openapi_types):
274
+ value = getattr(self, attr)
275
+ if isinstance(value, list):
276
+ result[attr] = list(map(
277
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
278
+ value
279
+ ))
280
+ elif hasattr(value, "to_dict"):
281
+ result[attr] = value.to_dict()
282
+ elif isinstance(value, dict):
283
+ result[attr] = dict(map(
284
+ lambda item: (item[0], item[1].to_dict())
285
+ if hasattr(item[1], "to_dict") else item,
286
+ value.items()
287
+ ))
288
+ else:
289
+ result[attr] = value
290
+
291
+ return result
292
+
293
+ def to_str(self):
294
+ """Returns the string representation of the model"""
295
+ return pprint.pformat(self.to_dict())
296
+
297
+ def __repr__(self):
298
+ """For `print` and `pprint`"""
299
+ return self.to_str()
300
+
301
+ def __eq__(self, other):
302
+ """Returns true if both objects are equal"""
303
+ if not isinstance(other, SearchResult):
304
+ return False
305
+
306
+ return self.to_dict() == other.to_dict()
307
+
308
+ def __ne__(self, other):
309
+ """Returns true if both objects are not equal"""
310
+ if not isinstance(other, SearchResult):
311
+ return True
312
+
313
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,122 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Regula FaceSDK Web API
5
+
6
+ Regula FaceSDK Web API # noqa: E501
7
+
8
+ The version of the OpenAPI document: 3.2.0
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ from regula.facesdk.webclient.gen.configuration import Configuration
19
+
20
+
21
+ class SearchResultAllOf(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ 'code': 'int',
37
+ }
38
+
39
+ attribute_map = {
40
+ 'code': 'code',
41
+ }
42
+
43
+ def __init__(self, code=None, local_vars_configuration=None): # noqa: E501
44
+ """SearchResultAllOf - a model defined in OpenAPI""" # noqa: E501
45
+ if local_vars_configuration is None:
46
+ local_vars_configuration = Configuration()
47
+ self.local_vars_configuration = local_vars_configuration
48
+
49
+ self._code = None
50
+ self.discriminator = None
51
+
52
+ if code is not None:
53
+ self.code = code
54
+
55
+ @property
56
+ def code(self):
57
+ """Gets the code of this SearchResultAllOf. # noqa: E501
58
+
59
+ The search result code. # noqa: E501
60
+
61
+ :return: The code of this SearchResultAllOf. # noqa: E501
62
+ :rtype: int
63
+ """
64
+ return self._code
65
+
66
+ @code.setter
67
+ def code(self, code):
68
+ """Sets the code of this SearchResultAllOf.
69
+
70
+ The search result code. # noqa: E501
71
+
72
+ :param code: The code of this SearchResultAllOf. # noqa: E501
73
+ :type code: int
74
+ """
75
+
76
+ self._code = code
77
+
78
+ def to_dict(self):
79
+ """Returns the model properties as a dict"""
80
+ result = {}
81
+
82
+ for attr, _ in six.iteritems(self.openapi_types):
83
+ value = getattr(self, attr)
84
+ if isinstance(value, list):
85
+ result[attr] = list(map(
86
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
87
+ value
88
+ ))
89
+ elif hasattr(value, "to_dict"):
90
+ result[attr] = value.to_dict()
91
+ elif isinstance(value, dict):
92
+ result[attr] = dict(map(
93
+ lambda item: (item[0], item[1].to_dict())
94
+ if hasattr(item[1], "to_dict") else item,
95
+ value.items()
96
+ ))
97
+ else:
98
+ result[attr] = value
99
+
100
+ return result
101
+
102
+ def to_str(self):
103
+ """Returns the string representation of the model"""
104
+ return pprint.pformat(self.to_dict())
105
+
106
+ def __repr__(self):
107
+ """For `print` and `pprint`"""
108
+ return self.to_str()
109
+
110
+ def __eq__(self, other):
111
+ """Returns true if both objects are equal"""
112
+ if not isinstance(other, SearchResultAllOf):
113
+ return False
114
+
115
+ return self.to_dict() == other.to_dict()
116
+
117
+ def __ne__(self, other):
118
+ """Returns true if both objects are not equal"""
119
+ if not isinstance(other, SearchResultAllOf):
120
+ return True
121
+
122
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,92 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Regula FaceSDK Web API
5
+
6
+ Regula FaceSDK Web API # Clients * [JavaScript](https://github.com/regulaforensics/FaceSDK-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/FaceSDK-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/FaceSDK-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/FaceSDK-web-csharp-client) client for .NET & .NET Core # noqa: E501
7
+
8
+ The version of the OpenAPI document: 4.1.3
9
+ Generated by: https://openapi-generator.tech
10
+ """
11
+
12
+
13
+ import pprint
14
+ import re # noqa: F401
15
+
16
+ import six
17
+
18
+ from regula.facesdk.webclient.gen.configuration import Configuration
19
+
20
+
21
+ class TransactionConfig(object):
22
+ """NOTE: This class is auto generated by OpenAPI Generator.
23
+ Ref: https://openapi-generator.tech
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ openapi_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ openapi_types = {
36
+ }
37
+
38
+ attribute_map = {
39
+ }
40
+
41
+ def __init__(self, local_vars_configuration=None): # noqa: E501
42
+ """TransactionConfig - a model defined in OpenAPI""" # noqa: E501
43
+ if local_vars_configuration is None:
44
+ local_vars_configuration = Configuration()
45
+ self.local_vars_configuration = local_vars_configuration
46
+ self.discriminator = None
47
+
48
+ def to_dict(self):
49
+ """Returns the model properties as a dict"""
50
+ result = {}
51
+
52
+ for attr, _ in six.iteritems(self.openapi_types):
53
+ value = getattr(self, attr)
54
+ if isinstance(value, list):
55
+ result[attr] = list(map(
56
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
57
+ value
58
+ ))
59
+ elif hasattr(value, "to_dict"):
60
+ result[attr] = value.to_dict()
61
+ elif isinstance(value, dict):
62
+ result[attr] = dict(map(
63
+ lambda item: (item[0], item[1].to_dict())
64
+ if hasattr(item[1], "to_dict") else item,
65
+ value.items()
66
+ ))
67
+ else:
68
+ result[attr] = value
69
+
70
+ return result
71
+
72
+ def to_str(self):
73
+ """Returns the string representation of the model"""
74
+ return pprint.pformat(self.to_dict())
75
+
76
+ def __repr__(self):
77
+ """For `print` and `pprint`"""
78
+ return self.to_str()
79
+
80
+ def __eq__(self, other):
81
+ """Returns true if both objects are equal"""
82
+ if not isinstance(other, TransactionConfig):
83
+ return False
84
+
85
+ return self.to_dict() == other.to_dict()
86
+
87
+ def __ne__(self, other):
88
+ """Returns true if both objects are not equal"""
89
+ if not isinstance(other, TransactionConfig):
90
+ return True
91
+
92
+ return self.to_dict() != other.to_dict()