regula-facesdk-webclient 7.2.372rc0__py3-none-any.whl → 7.2.374.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.
- regula/facesdk/webclient/ext/api/sdk.py +1 -1
- regula/facesdk/webclient/ext/models/detect_request.py +0 -3
- regula/facesdk/webclient/ext/models/match_request.py +0 -2
- regula/facesdk/webclient/gen/__init__.py +1 -1
- regula/facesdk/webclient/gen/api/group_api.py +1 -1
- regula/facesdk/webclient/gen/api/healthcheck_api.py +5 -1
- regula/facesdk/webclient/gen/api/liveness_2_0_api.py +139 -1
- regula/facesdk/webclient/gen/api/match_api.py +5 -5
- regula/facesdk/webclient/gen/api/person_api.py +1 -1
- regula/facesdk/webclient/gen/api/search_api.py +8 -1
- regula/facesdk/webclient/gen/api_client.py +1 -1
- regula/facesdk/webclient/gen/configuration.py +2 -2
- regula/facesdk/webclient/gen/exceptions.py +1 -1
- regula/facesdk/webclient/gen/model/add_image_to_person_request.py +58 -2
- regula/facesdk/webclient/gen/model/add_image_to_person_request_image.py +1 -1
- regula/facesdk/webclient/gen/model/add_image_to_person_response.py +1 -1
- regula/facesdk/webclient/gen/model/attribute_config.py +1 -1
- regula/facesdk/webclient/gen/model/attribute_config_list.py +1 -1
- regula/facesdk/webclient/gen/model/crop.py +2 -30
- regula/facesdk/webclient/gen/model/detect_attributes_details.py +150 -0
- regula/facesdk/webclient/gen/model/detect_details_meta.py +178 -0
- regula/facesdk/webclient/gen/model/detect_request.py +48 -20
- regula/facesdk/webclient/gen/model/detect_response.py +1 -1
- regula/facesdk/webclient/gen/model/detect_response_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/detect_result.py +26 -22
- regula/facesdk/webclient/gen/model/detection.py +4 -32
- regula/facesdk/webclient/gen/model/detection_attributes.py +8 -6
- regula/facesdk/webclient/gen/model/detection_face.py +2 -30
- regula/facesdk/webclient/gen/model/detection_quality.py +27 -27
- regula/facesdk/webclient/gen/model/device_info.py +1 -1
- regula/facesdk/webclient/gen/model/face_attribute.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_align_type.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_groups.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_groups_strings.py +1 -1
- regula/facesdk/webclient/gen/model/face_image_quality_status.py +1 -1
- regula/facesdk/webclient/gen/model/face_quality_config_name.py +1 -1
- regula/facesdk/webclient/gen/model/face_quality_scenarios.py +5 -2
- regula/facesdk/webclient/gen/model/face_rectangular.py +1 -1
- regula/facesdk/webclient/gen/model/face_sdk_result.py +1 -1
- regula/facesdk/webclient/gen/model/face_sdk_result_code.py +1 -1
- regula/facesdk/webclient/gen/model/faces_response.py +2 -30
- regula/facesdk/webclient/gen/model/faces_response_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/filter_op.py +1 -1
- regula/facesdk/webclient/gen/model/filter_search_request.py +1 -1
- regula/facesdk/webclient/gen/model/group.py +1 -1
- regula/facesdk/webclient/gen/model/group_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/group_page.py +1 -1
- regula/facesdk/webclient/gen/model/group_page_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/group_response.py +1 -1
- regula/facesdk/webclient/gen/model/group_to_create.py +1 -1
- regula/facesdk/webclient/gen/model/image.py +30 -2
- regula/facesdk/webclient/gen/model/image_fields.py +1 -1
- regula/facesdk/webclient/gen/model/image_page.py +1 -1
- regula/facesdk/webclient/gen/model/image_page_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/image_source.py +1 -1
- regula/facesdk/webclient/gen/model/liveness_type.py +1 -1
- regula/facesdk/webclient/gen/model/match_and_search_request.py +119 -7
- regula/facesdk/webclient/gen/model/match_and_search_request_all_of.py +58 -2
- regula/facesdk/webclient/gen/model/match_and_search_request_all_of_images.py +1 -1
- regula/facesdk/webclient/gen/model/match_and_search_request_images.py +176 -0
- regula/facesdk/webclient/gen/model/match_and_search_response.py +3 -3
- regula/facesdk/webclient/gen/model/match_and_search_response_all_of.py +3 -3
- regula/facesdk/webclient/gen/model/match_and_search_response_all_of_detections.py +1 -1
- regula/facesdk/webclient/gen/model/match_image.py +1 -1
- regula/facesdk/webclient/gen/model/match_image_detection.py +1 -1
- regula/facesdk/webclient/gen/model/match_image_result.py +1 -1
- regula/facesdk/webclient/gen/model/match_request.py +60 -31
- regula/facesdk/webclient/gen/model/match_response.py +1 -1
- regula/facesdk/webclient/gen/model/match_response_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/operation_log.py +1 -1
- regula/facesdk/webclient/gen/model/output_image_params.py +1 -1
- regula/facesdk/webclient/gen/model/page.py +1 -1
- regula/facesdk/webclient/gen/model/person.py +20 -19
- regula/facesdk/webclient/gen/model/person_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/person_fields.py +20 -19
- regula/facesdk/webclient/gen/model/person_to_update_fields.py +1 -1
- regula/facesdk/webclient/gen/model/person_with_images.py +20 -19
- regula/facesdk/webclient/gen/model/person_with_images_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/persons_page.py +1 -1
- regula/facesdk/webclient/gen/model/persons_page_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/persons_request.py +291 -0
- regula/facesdk/webclient/gen/model/persons_request_all_of.py +150 -0
- regula/facesdk/webclient/gen/model/process_param.py +1 -1
- regula/facesdk/webclient/gen/model/process_param_attributes.py +1 -1
- regula/facesdk/webclient/gen/model/quality_config.py +3 -3
- regula/facesdk/webclient/gen/model/quality_config_list.py +1 -1
- regula/facesdk/webclient/gen/model/quality_detail.py +5 -5
- regula/facesdk/webclient/gen/model/quality_details_groups.py +1 -1
- regula/facesdk/webclient/gen/model/quality_request.py +1 -1
- regula/facesdk/webclient/gen/model/recognize_image.py +30 -2
- regula/facesdk/webclient/gen/model/recognize_image_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/resize_options.py +1 -1
- regula/facesdk/webclient/gen/model/rgb.py +1 -1
- regula/facesdk/webclient/gen/model/search_bad_params.py +1 -1
- regula/facesdk/webclient/gen/model/search_detection.py +1 -1
- regula/facesdk/webclient/gen/model/search_parameters.py +1 -1
- regula/facesdk/webclient/gen/model/search_parameters_create_person.py +1 -1
- regula/facesdk/webclient/gen/model/search_person.py +20 -19
- regula/facesdk/webclient/gen/model/search_person_all_of.py +1 -1
- regula/facesdk/webclient/gen/model/search_request.py +58 -2
- regula/facesdk/webclient/gen/model/search_request_all_of.py +40 -68
- regula/facesdk/webclient/gen/model/search_result.py +2 -165
- regula/facesdk/webclient/gen/model/transaction_info.py +1 -1
- regula/facesdk/webclient/gen/model/update_group.py +1 -1
- regula/facesdk/webclient/gen/model_utils.py +1 -1
- regula/facesdk/webclient/gen/models/__init__.py +4 -2
- regula/facesdk/webclient/gen/rest.py +1 -1
- {regula_facesdk_webclient-7.2.372rc0.dist-info → regula_facesdk_webclient-7.2.374.dev0.dist-info}/METADATA +1 -1
- regula_facesdk_webclient-7.2.374.dev0.dist-info/RECORD +138 -0
- {regula_facesdk_webclient-7.2.372rc0.dist-info → regula_facesdk_webclient-7.2.374.dev0.dist-info}/WHEEL +1 -1
- regula_facesdk_webclient-7.2.372rc0.dist-info/RECORD +0 -133
- {regula_facesdk_webclient-7.2.372rc0.dist-info → regula_facesdk_webclient-7.2.374.dev0.dist-info}/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -37,7 +37,7 @@ class Person(object):
|
|
|
37
37
|
'external_id': 'str',
|
|
38
38
|
'metadata': '{str: (bool, date, datetime, dict, float, int, list, str, none_type)}',
|
|
39
39
|
'groups': '[str]',
|
|
40
|
-
'
|
|
40
|
+
'expire_at': 'str',
|
|
41
41
|
'id': 'str',
|
|
42
42
|
'created_at': 'str',
|
|
43
43
|
'updated_at': 'str',
|
|
@@ -48,13 +48,13 @@ class Person(object):
|
|
|
48
48
|
'external_id': 'externalId',
|
|
49
49
|
'metadata': 'metadata',
|
|
50
50
|
'groups': 'groups',
|
|
51
|
-
'
|
|
51
|
+
'expire_at': 'expireAt',
|
|
52
52
|
'id': 'id',
|
|
53
53
|
'created_at': 'createdAt',
|
|
54
54
|
'updated_at': 'updatedAt',
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
def __init__(self, name=None, external_id=None, metadata=None, groups=None,
|
|
57
|
+
def __init__(self, name=None, external_id=None, metadata=None, groups=None, expire_at=None, id=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501
|
|
58
58
|
"""Person - a model defined in OpenAPI""" # noqa: E501
|
|
59
59
|
if local_vars_configuration is None:
|
|
60
60
|
local_vars_configuration = Configuration()
|
|
@@ -64,7 +64,7 @@ class Person(object):
|
|
|
64
64
|
self._external_id = None
|
|
65
65
|
self._metadata = None
|
|
66
66
|
self._groups = None
|
|
67
|
-
self.
|
|
67
|
+
self._expire_at = None
|
|
68
68
|
self._id = None
|
|
69
69
|
self._created_at = None
|
|
70
70
|
self._updated_at = None
|
|
@@ -77,7 +77,8 @@ class Person(object):
|
|
|
77
77
|
self.metadata = metadata
|
|
78
78
|
if groups is not None:
|
|
79
79
|
self.groups = groups
|
|
80
|
-
|
|
80
|
+
if expire_at is not None:
|
|
81
|
+
self.expire_at = expire_at
|
|
81
82
|
if id is not None:
|
|
82
83
|
self.id = id
|
|
83
84
|
if created_at is not None:
|
|
@@ -180,27 +181,27 @@ class Person(object):
|
|
|
180
181
|
self._groups = groups
|
|
181
182
|
|
|
182
183
|
@property
|
|
183
|
-
def
|
|
184
|
-
"""Gets the
|
|
184
|
+
def expire_at(self):
|
|
185
|
+
"""Gets the expire_at of this Person. # noqa: E501
|
|
185
186
|
|
|
186
|
-
|
|
187
|
+
Person expiration date. # noqa: E501
|
|
187
188
|
|
|
188
|
-
:return: The
|
|
189
|
-
:rtype:
|
|
189
|
+
:return: The expire_at of this Person. # noqa: E501
|
|
190
|
+
:rtype: str
|
|
190
191
|
"""
|
|
191
|
-
return self.
|
|
192
|
+
return self._expire_at
|
|
192
193
|
|
|
193
|
-
@
|
|
194
|
-
def
|
|
195
|
-
"""Sets the
|
|
194
|
+
@expire_at.setter
|
|
195
|
+
def expire_at(self, expire_at):
|
|
196
|
+
"""Sets the expire_at of this Person.
|
|
196
197
|
|
|
197
|
-
|
|
198
|
+
Person expiration date. # noqa: E501
|
|
198
199
|
|
|
199
|
-
:param
|
|
200
|
-
:type
|
|
200
|
+
:param expire_at: The expire_at of this Person. # noqa: E501
|
|
201
|
+
:type expire_at: str
|
|
201
202
|
"""
|
|
202
203
|
|
|
203
|
-
self.
|
|
204
|
+
self._expire_at = expire_at
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
def id(self):
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -37,7 +37,7 @@ class PersonFields(object):
|
|
|
37
37
|
'external_id': 'str',
|
|
38
38
|
'metadata': '{str: (bool, date, datetime, dict, float, int, list, str, none_type)}',
|
|
39
39
|
'groups': '[str]',
|
|
40
|
-
'
|
|
40
|
+
'expire_at': 'str',
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
attribute_map = {
|
|
@@ -45,10 +45,10 @@ class PersonFields(object):
|
|
|
45
45
|
'external_id': 'externalId',
|
|
46
46
|
'metadata': 'metadata',
|
|
47
47
|
'groups': 'groups',
|
|
48
|
-
'
|
|
48
|
+
'expire_at': 'expireAt',
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
def __init__(self, name=None, external_id=None, metadata=None, groups=None,
|
|
51
|
+
def __init__(self, name=None, external_id=None, metadata=None, groups=None, expire_at=None, local_vars_configuration=None): # noqa: E501
|
|
52
52
|
"""PersonFields - a model defined in OpenAPI""" # noqa: E501
|
|
53
53
|
if local_vars_configuration is None:
|
|
54
54
|
local_vars_configuration = Configuration()
|
|
@@ -58,7 +58,7 @@ class PersonFields(object):
|
|
|
58
58
|
self._external_id = None
|
|
59
59
|
self._metadata = None
|
|
60
60
|
self._groups = None
|
|
61
|
-
self.
|
|
61
|
+
self._expire_at = None
|
|
62
62
|
self.discriminator = None
|
|
63
63
|
|
|
64
64
|
self.name = name
|
|
@@ -68,7 +68,8 @@ class PersonFields(object):
|
|
|
68
68
|
self.metadata = metadata
|
|
69
69
|
if groups is not None:
|
|
70
70
|
self.groups = groups
|
|
71
|
-
|
|
71
|
+
if expire_at is not None:
|
|
72
|
+
self.expire_at = expire_at
|
|
72
73
|
|
|
73
74
|
@property
|
|
74
75
|
def name(self):
|
|
@@ -165,27 +166,27 @@ class PersonFields(object):
|
|
|
165
166
|
self._groups = groups
|
|
166
167
|
|
|
167
168
|
@property
|
|
168
|
-
def
|
|
169
|
-
"""Gets the
|
|
169
|
+
def expire_at(self):
|
|
170
|
+
"""Gets the expire_at of this PersonFields. # noqa: E501
|
|
170
171
|
|
|
171
|
-
|
|
172
|
+
Person expiration date. # noqa: E501
|
|
172
173
|
|
|
173
|
-
:return: The
|
|
174
|
-
:rtype:
|
|
174
|
+
:return: The expire_at of this PersonFields. # noqa: E501
|
|
175
|
+
:rtype: str
|
|
175
176
|
"""
|
|
176
|
-
return self.
|
|
177
|
+
return self._expire_at
|
|
177
178
|
|
|
178
|
-
@
|
|
179
|
-
def
|
|
180
|
-
"""Sets the
|
|
179
|
+
@expire_at.setter
|
|
180
|
+
def expire_at(self, expire_at):
|
|
181
|
+
"""Sets the expire_at of this PersonFields.
|
|
181
182
|
|
|
182
|
-
|
|
183
|
+
Person expiration date. # noqa: E501
|
|
183
184
|
|
|
184
|
-
:param
|
|
185
|
-
:type
|
|
185
|
+
:param expire_at: The expire_at of this PersonFields. # noqa: E501
|
|
186
|
+
:type expire_at: str
|
|
186
187
|
"""
|
|
187
188
|
|
|
188
|
-
self.
|
|
189
|
+
self._expire_at = expire_at
|
|
189
190
|
|
|
190
191
|
def to_dict(self):
|
|
191
192
|
"""Returns the model properties as a dict"""
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -38,7 +38,7 @@ class PersonWithImages(object):
|
|
|
38
38
|
'external_id': 'str',
|
|
39
39
|
'metadata': '{str: (bool, date, datetime, dict, float, int, list, str, none_type)}',
|
|
40
40
|
'groups': '[str]',
|
|
41
|
-
'
|
|
41
|
+
'expire_at': 'str',
|
|
42
42
|
'id': 'str',
|
|
43
43
|
'created_at': 'str',
|
|
44
44
|
'updated_at': 'str',
|
|
@@ -50,13 +50,13 @@ class PersonWithImages(object):
|
|
|
50
50
|
'external_id': 'externalId',
|
|
51
51
|
'metadata': 'metadata',
|
|
52
52
|
'groups': 'groups',
|
|
53
|
-
'
|
|
53
|
+
'expire_at': 'expireAt',
|
|
54
54
|
'id': 'id',
|
|
55
55
|
'created_at': 'createdAt',
|
|
56
56
|
'updated_at': 'updatedAt',
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
def __init__(self, images=None, name=None, external_id=None, metadata=None, groups=None,
|
|
59
|
+
def __init__(self, images=None, name=None, external_id=None, metadata=None, groups=None, expire_at=None, id=None, created_at=None, updated_at=None, local_vars_configuration=None): # noqa: E501
|
|
60
60
|
"""PersonWithImages - a model defined in OpenAPI""" # noqa: E501
|
|
61
61
|
if local_vars_configuration is None:
|
|
62
62
|
local_vars_configuration = Configuration()
|
|
@@ -67,7 +67,7 @@ class PersonWithImages(object):
|
|
|
67
67
|
self._external_id = None
|
|
68
68
|
self._metadata = None
|
|
69
69
|
self._groups = None
|
|
70
|
-
self.
|
|
70
|
+
self._expire_at = None
|
|
71
71
|
self._id = None
|
|
72
72
|
self._created_at = None
|
|
73
73
|
self._updated_at = None
|
|
@@ -82,7 +82,8 @@ class PersonWithImages(object):
|
|
|
82
82
|
self.metadata = metadata
|
|
83
83
|
if groups is not None:
|
|
84
84
|
self.groups = groups
|
|
85
|
-
|
|
85
|
+
if expire_at is not None:
|
|
86
|
+
self.expire_at = expire_at
|
|
86
87
|
if id is not None:
|
|
87
88
|
self.id = id
|
|
88
89
|
if created_at is not None:
|
|
@@ -208,27 +209,27 @@ class PersonWithImages(object):
|
|
|
208
209
|
self._groups = groups
|
|
209
210
|
|
|
210
211
|
@property
|
|
211
|
-
def
|
|
212
|
-
"""Gets the
|
|
212
|
+
def expire_at(self):
|
|
213
|
+
"""Gets the expire_at of this PersonWithImages. # noqa: E501
|
|
213
214
|
|
|
214
|
-
|
|
215
|
+
Person expiration date. # noqa: E501
|
|
215
216
|
|
|
216
|
-
:return: The
|
|
217
|
-
:rtype:
|
|
217
|
+
:return: The expire_at of this PersonWithImages. # noqa: E501
|
|
218
|
+
:rtype: str
|
|
218
219
|
"""
|
|
219
|
-
return self.
|
|
220
|
+
return self._expire_at
|
|
220
221
|
|
|
221
|
-
@
|
|
222
|
-
def
|
|
223
|
-
"""Sets the
|
|
222
|
+
@expire_at.setter
|
|
223
|
+
def expire_at(self, expire_at):
|
|
224
|
+
"""Sets the expire_at of this PersonWithImages.
|
|
224
225
|
|
|
225
|
-
|
|
226
|
+
Person expiration date. # noqa: E501
|
|
226
227
|
|
|
227
|
-
:param
|
|
228
|
-
:type
|
|
228
|
+
:param expire_at: The expire_at of this PersonWithImages. # noqa: E501
|
|
229
|
+
:type expire_at: str
|
|
229
230
|
"""
|
|
230
231
|
|
|
231
|
-
self.
|
|
232
|
+
self._expire_at = expire_at
|
|
232
233
|
|
|
233
234
|
@property
|
|
234
235
|
def id(self):
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
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
7
|
|
|
8
|
-
The version of the OpenAPI document:
|
|
8
|
+
The version of the OpenAPI document: 7.2.0
|
|
9
9
|
Generated by: https://openapi-generator.tech
|
|
10
10
|
"""
|
|
11
11
|
|
|
@@ -0,0 +1,291 @@
|
|
|
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: 7.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 PersonsRequest(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
|
+
'name': 'str',
|
|
37
|
+
'external_id': 'str',
|
|
38
|
+
'metadata': '{str: (bool, date, datetime, dict, float, int, list, str, none_type)}',
|
|
39
|
+
'groups': '[str]',
|
|
40
|
+
'expire_at': 'str',
|
|
41
|
+
'tenant': 'str',
|
|
42
|
+
'env': 'str',
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
attribute_map = {
|
|
46
|
+
'name': 'name',
|
|
47
|
+
'external_id': 'externalId',
|
|
48
|
+
'metadata': 'metadata',
|
|
49
|
+
'groups': 'groups',
|
|
50
|
+
'expire_at': 'expireAt',
|
|
51
|
+
'tenant': 'tenant',
|
|
52
|
+
'env': 'env',
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, name=None, external_id=None, metadata=None, groups=None, expire_at=None, tenant=None, env=None, local_vars_configuration=None): # noqa: E501
|
|
56
|
+
"""PersonsRequest - a model defined in OpenAPI""" # noqa: E501
|
|
57
|
+
if local_vars_configuration is None:
|
|
58
|
+
local_vars_configuration = Configuration()
|
|
59
|
+
self.local_vars_configuration = local_vars_configuration
|
|
60
|
+
|
|
61
|
+
self._name = None
|
|
62
|
+
self._external_id = None
|
|
63
|
+
self._metadata = None
|
|
64
|
+
self._groups = None
|
|
65
|
+
self._expire_at = None
|
|
66
|
+
self._tenant = None
|
|
67
|
+
self._env = None
|
|
68
|
+
self.discriminator = None
|
|
69
|
+
|
|
70
|
+
self.name = name
|
|
71
|
+
if external_id is not None:
|
|
72
|
+
self.external_id = external_id
|
|
73
|
+
if metadata is not None:
|
|
74
|
+
self.metadata = metadata
|
|
75
|
+
if groups is not None:
|
|
76
|
+
self.groups = groups
|
|
77
|
+
if expire_at is not None:
|
|
78
|
+
self.expire_at = expire_at
|
|
79
|
+
if tenant is not None:
|
|
80
|
+
self.tenant = tenant
|
|
81
|
+
if env is not None:
|
|
82
|
+
self.env = env
|
|
83
|
+
|
|
84
|
+
@property
|
|
85
|
+
def name(self):
|
|
86
|
+
"""Gets the name of this PersonsRequest. # noqa: E501
|
|
87
|
+
|
|
88
|
+
Person's name. # noqa: E501
|
|
89
|
+
|
|
90
|
+
:return: The name of this PersonsRequest. # noqa: E501
|
|
91
|
+
:rtype: str
|
|
92
|
+
"""
|
|
93
|
+
return self._name
|
|
94
|
+
|
|
95
|
+
@name.setter
|
|
96
|
+
def name(self, name):
|
|
97
|
+
"""Sets the name of this PersonsRequest.
|
|
98
|
+
|
|
99
|
+
Person's name. # noqa: E501
|
|
100
|
+
|
|
101
|
+
:param name: The name of this PersonsRequest. # noqa: E501
|
|
102
|
+
:type name: str
|
|
103
|
+
"""
|
|
104
|
+
if self.local_vars_configuration.client_side_validation and name is None: # noqa: E501
|
|
105
|
+
raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
self._name = name
|
|
108
|
+
|
|
109
|
+
@property
|
|
110
|
+
def external_id(self):
|
|
111
|
+
"""Gets the external_id of this PersonsRequest. # noqa: E501
|
|
112
|
+
|
|
113
|
+
Person's ID, used for linking search results to an ID in an external system. Can be set when creating a Person, stored in the database, and included in the search to return only Persons with the specified ID. Optional. # noqa: E501
|
|
114
|
+
|
|
115
|
+
:return: The external_id of this PersonsRequest. # noqa: E501
|
|
116
|
+
:rtype: str
|
|
117
|
+
"""
|
|
118
|
+
return self._external_id
|
|
119
|
+
|
|
120
|
+
@external_id.setter
|
|
121
|
+
def external_id(self, external_id):
|
|
122
|
+
"""Sets the external_id of this PersonsRequest.
|
|
123
|
+
|
|
124
|
+
Person's ID, used for linking search results to an ID in an external system. Can be set when creating a Person, stored in the database, and included in the search to return only Persons with the specified ID. Optional. # noqa: E501
|
|
125
|
+
|
|
126
|
+
:param external_id: The external_id of this PersonsRequest. # noqa: E501
|
|
127
|
+
:type external_id: str
|
|
128
|
+
"""
|
|
129
|
+
|
|
130
|
+
self._external_id = external_id
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def metadata(self):
|
|
134
|
+
"""Gets the metadata of this PersonsRequest. # noqa: E501
|
|
135
|
+
|
|
136
|
+
A free-form object containing person's extended attributes. # noqa: E501
|
|
137
|
+
|
|
138
|
+
:return: The metadata of this PersonsRequest. # noqa: E501
|
|
139
|
+
:rtype: {str: (bool, date, datetime, dict, float, int, list, str, none_type)}
|
|
140
|
+
"""
|
|
141
|
+
return self._metadata
|
|
142
|
+
|
|
143
|
+
@metadata.setter
|
|
144
|
+
def metadata(self, metadata):
|
|
145
|
+
"""Sets the metadata of this PersonsRequest.
|
|
146
|
+
|
|
147
|
+
A free-form object containing person's extended attributes. # noqa: E501
|
|
148
|
+
|
|
149
|
+
:param metadata: The metadata of this PersonsRequest. # noqa: E501
|
|
150
|
+
:type metadata: {str: (bool, date, datetime, dict, float, int, list, str, none_type)}
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
self._metadata = metadata
|
|
154
|
+
|
|
155
|
+
@property
|
|
156
|
+
def groups(self):
|
|
157
|
+
"""Gets the groups of this PersonsRequest. # noqa: E501
|
|
158
|
+
|
|
159
|
+
Groups a person should be placed to. If no group is specified in request, a Default group is created and the person is placed to it. # noqa: E501
|
|
160
|
+
|
|
161
|
+
:return: The groups of this PersonsRequest. # noqa: E501
|
|
162
|
+
:rtype: [str]
|
|
163
|
+
"""
|
|
164
|
+
return self._groups
|
|
165
|
+
|
|
166
|
+
@groups.setter
|
|
167
|
+
def groups(self, groups):
|
|
168
|
+
"""Sets the groups of this PersonsRequest.
|
|
169
|
+
|
|
170
|
+
Groups a person should be placed to. If no group is specified in request, a Default group is created and the person is placed to it. # noqa: E501
|
|
171
|
+
|
|
172
|
+
:param groups: The groups of this PersonsRequest. # noqa: E501
|
|
173
|
+
:type groups: [str]
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
self._groups = groups
|
|
177
|
+
|
|
178
|
+
@property
|
|
179
|
+
def expire_at(self):
|
|
180
|
+
"""Gets the expire_at of this PersonsRequest. # noqa: E501
|
|
181
|
+
|
|
182
|
+
Person expiration date. # noqa: E501
|
|
183
|
+
|
|
184
|
+
:return: The expire_at of this PersonsRequest. # noqa: E501
|
|
185
|
+
:rtype: str
|
|
186
|
+
"""
|
|
187
|
+
return self._expire_at
|
|
188
|
+
|
|
189
|
+
@expire_at.setter
|
|
190
|
+
def expire_at(self, expire_at):
|
|
191
|
+
"""Sets the expire_at of this PersonsRequest.
|
|
192
|
+
|
|
193
|
+
Person expiration date. # noqa: E501
|
|
194
|
+
|
|
195
|
+
:param expire_at: The expire_at of this PersonsRequest. # noqa: E501
|
|
196
|
+
:type expire_at: str
|
|
197
|
+
"""
|
|
198
|
+
|
|
199
|
+
self._expire_at = expire_at
|
|
200
|
+
|
|
201
|
+
@property
|
|
202
|
+
def tenant(self):
|
|
203
|
+
"""Gets the tenant of this PersonsRequest. # noqa: E501
|
|
204
|
+
|
|
205
|
+
A label used to group transactions by customers, applications, or other criteria. # noqa: E501
|
|
206
|
+
|
|
207
|
+
:return: The tenant of this PersonsRequest. # noqa: E501
|
|
208
|
+
:rtype: str
|
|
209
|
+
"""
|
|
210
|
+
return self._tenant
|
|
211
|
+
|
|
212
|
+
@tenant.setter
|
|
213
|
+
def tenant(self, tenant):
|
|
214
|
+
"""Sets the tenant of this PersonsRequest.
|
|
215
|
+
|
|
216
|
+
A label used to group transactions by customers, applications, or other criteria. # noqa: E501
|
|
217
|
+
|
|
218
|
+
:param tenant: The tenant of this PersonsRequest. # noqa: E501
|
|
219
|
+
:type tenant: str
|
|
220
|
+
"""
|
|
221
|
+
|
|
222
|
+
self._tenant = tenant
|
|
223
|
+
|
|
224
|
+
@property
|
|
225
|
+
def env(self):
|
|
226
|
+
"""Gets the env of this PersonsRequest. # noqa: E501
|
|
227
|
+
|
|
228
|
+
A label used to differentiate transactions by development stages. # noqa: E501
|
|
229
|
+
|
|
230
|
+
:return: The env of this PersonsRequest. # noqa: E501
|
|
231
|
+
:rtype: str
|
|
232
|
+
"""
|
|
233
|
+
return self._env
|
|
234
|
+
|
|
235
|
+
@env.setter
|
|
236
|
+
def env(self, env):
|
|
237
|
+
"""Sets the env of this PersonsRequest.
|
|
238
|
+
|
|
239
|
+
A label used to differentiate transactions by development stages. # noqa: E501
|
|
240
|
+
|
|
241
|
+
:param env: The env of this PersonsRequest. # noqa: E501
|
|
242
|
+
:type env: str
|
|
243
|
+
"""
|
|
244
|
+
|
|
245
|
+
self._env = env
|
|
246
|
+
|
|
247
|
+
def to_dict(self):
|
|
248
|
+
"""Returns the model properties as a dict"""
|
|
249
|
+
result = {}
|
|
250
|
+
|
|
251
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
252
|
+
value = getattr(self, attr)
|
|
253
|
+
if isinstance(value, list):
|
|
254
|
+
result[attr] = list(map(
|
|
255
|
+
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
|
|
256
|
+
value
|
|
257
|
+
))
|
|
258
|
+
elif hasattr(value, "to_dict"):
|
|
259
|
+
result[attr] = value.to_dict()
|
|
260
|
+
elif isinstance(value, dict):
|
|
261
|
+
result[attr] = dict(map(
|
|
262
|
+
lambda item: (item[0], item[1].to_dict())
|
|
263
|
+
if hasattr(item[1], "to_dict") else item,
|
|
264
|
+
value.items()
|
|
265
|
+
))
|
|
266
|
+
else:
|
|
267
|
+
result[attr] = value
|
|
268
|
+
|
|
269
|
+
return result
|
|
270
|
+
|
|
271
|
+
def to_str(self):
|
|
272
|
+
"""Returns the string representation of the model"""
|
|
273
|
+
return pprint.pformat(self.to_dict())
|
|
274
|
+
|
|
275
|
+
def __repr__(self):
|
|
276
|
+
"""For `print` and `pprint`"""
|
|
277
|
+
return self.to_str()
|
|
278
|
+
|
|
279
|
+
def __eq__(self, other):
|
|
280
|
+
"""Returns true if both objects are equal"""
|
|
281
|
+
if not isinstance(other, PersonsRequest):
|
|
282
|
+
return False
|
|
283
|
+
|
|
284
|
+
return self.to_dict() == other.to_dict()
|
|
285
|
+
|
|
286
|
+
def __ne__(self, other):
|
|
287
|
+
"""Returns true if both objects are not equal"""
|
|
288
|
+
if not isinstance(other, PersonsRequest):
|
|
289
|
+
return True
|
|
290
|
+
|
|
291
|
+
return self.to_dict() != other.to_dict()
|