rapidata 2.21.4__py3-none-any.whl → 2.22.0__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 rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +5 -0
- rapidata/api_client/__init__.py +8 -4
- rapidata/api_client/api/__init__.py +1 -0
- rapidata/api_client/api/evaluation_workflow_api.py +372 -0
- rapidata/api_client/api/identity_api.py +268 -0
- rapidata/api_client/api/rapid_api.py +353 -1987
- rapidata/api_client/api/simple_workflow_api.py +6 -6
- rapidata/api_client/models/__init__.py +7 -4
- rapidata/api_client/models/add_campaign_model.py +25 -1
- rapidata/api_client/models/add_validation_rapid_model_truth.py +24 -10
- rapidata/api_client/models/compare_result.py +2 -0
- rapidata/api_client/models/create_order_model.py +43 -2
- rapidata/api_client/models/evaluation_workflow_model1.py +115 -0
- rapidata/api_client/models/filter.py +2 -2
- rapidata/api_client/models/get_validation_rapids_result.py +11 -4
- rapidata/api_client/models/get_validation_rapids_result_truth.py +24 -10
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
- rapidata/api_client/models/get_workflow_results_result.py +118 -0
- rapidata/api_client/models/get_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/google_one_tap_login_model.py +87 -0
- rapidata/api_client/models/labeling_selection.py +22 -3
- rapidata/api_client/models/logic_operator.py +1 -0
- rapidata/api_client/models/rapid_response.py +3 -1
- rapidata/api_client/models/retrieval_mode.py +38 -0
- rapidata/api_client/models/root_filter.py +2 -2
- rapidata/api_client/models/skip_truth.py +94 -0
- rapidata/api_client/models/sticky_state.py +38 -0
- rapidata/api_client/models/update_validation_rapid_model.py +11 -4
- rapidata/api_client/models/update_validation_rapid_model_truth.py +24 -10
- rapidata/api_client/rest.py +1 -0
- rapidata/api_client_README.md +10 -11
- rapidata/rapidata_client/__init__.py +7 -0
- rapidata/rapidata_client/api/rapidata_exception.py +5 -3
- rapidata/rapidata_client/assets/__init__.py +1 -0
- rapidata/rapidata_client/assets/_media_asset.py +16 -10
- rapidata/rapidata_client/assets/_multi_asset.py +6 -0
- rapidata/rapidata_client/assets/_sessions.py +35 -0
- rapidata/rapidata_client/assets/_text_asset.py +6 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +2 -35
- rapidata/rapidata_client/logging/__init__.py +2 -0
- rapidata/rapidata_client/logging/logger.py +47 -0
- rapidata/rapidata_client/logging/output_manager.py +16 -0
- rapidata/rapidata_client/order/_rapidata_dataset.py +11 -15
- rapidata/rapidata_client/order/_rapidata_order_builder.py +15 -2
- rapidata/rapidata_client/order/rapidata_order.py +23 -14
- rapidata/rapidata_client/order/rapidata_order_manager.py +4 -2
- rapidata/rapidata_client/order/rapidata_results.py +2 -1
- rapidata/rapidata_client/rapidata_client.py +6 -1
- rapidata/rapidata_client/selection/__init__.py +1 -0
- rapidata/rapidata_client/selection/labeling_selection.py +8 -2
- rapidata/rapidata_client/selection/retrieval_modes.py +9 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +2 -1
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +2 -1
- rapidata/rapidata_client/validation/rapidata_validation_set.py +4 -34
- rapidata/rapidata_client/validation/rapids/rapids.py +6 -7
- rapidata/rapidata_client/validation/validation_set_manager.py +39 -36
- rapidata/service/credential_manager.py +22 -30
- rapidata/service/openapi_service.py +11 -0
- {rapidata-2.21.4.dist-info → rapidata-2.22.0.dist-info}/METADATA +2 -1
- {rapidata-2.21.4.dist-info → rapidata-2.22.0.dist-info}/RECORD +62 -49
- {rapidata-2.21.4.dist-info → rapidata-2.22.0.dist-info}/WHEEL +1 -1
- {rapidata-2.21.4.dist-info → rapidata-2.22.0.dist-info}/LICENSE +0 -0
|
@@ -25,8 +25,6 @@ from rapidata.api_client.models.create_demographic_rapid_model import CreateDemo
|
|
|
25
25
|
from rapidata.api_client.models.create_rapid_result import CreateRapidResult
|
|
26
26
|
from rapidata.api_client.models.get_rapid_responses_result import GetRapidResponsesResult
|
|
27
27
|
from rapidata.api_client.models.inspect_report_result import InspectReportResult
|
|
28
|
-
from rapidata.api_client.models.query_model import QueryModel
|
|
29
|
-
from rapidata.api_client.models.query_validation_rapids_result_paged_result import QueryValidationRapidsResultPagedResult
|
|
30
28
|
from rapidata.api_client.models.rapid_result_model import RapidResultModel
|
|
31
29
|
from rapidata.api_client.models.rapid_skipped_model import RapidSkippedModel
|
|
32
30
|
from rapidata.api_client.models.report_model import ReportModel
|
|
@@ -51,1635 +49,10 @@ class RapidApi:
|
|
|
51
49
|
|
|
52
50
|
|
|
53
51
|
@validate_call
|
|
54
|
-
def
|
|
55
|
-
self,
|
|
56
|
-
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
57
|
-
_request_timeout: Union[
|
|
58
|
-
None,
|
|
59
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
60
|
-
Tuple[
|
|
61
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
62
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
63
|
-
]
|
|
64
|
-
] = None,
|
|
65
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
66
|
-
_content_type: Optional[StrictStr] = None,
|
|
67
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
68
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
69
|
-
) -> None:
|
|
70
|
-
"""(Deprecated) Submits a user guess for a Rapid.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
:param rapid_result_model: The model containing the user guess.
|
|
74
|
-
:type rapid_result_model: RapidResultModel
|
|
75
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
76
|
-
number provided, it will be total request
|
|
77
|
-
timeout. It can also be a pair (tuple) of
|
|
78
|
-
(connection, read) timeouts.
|
|
79
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
80
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
81
|
-
request; this effectively ignores the
|
|
82
|
-
authentication in the spec for a single request.
|
|
83
|
-
:type _request_auth: dict, optional
|
|
84
|
-
:param _content_type: force content-type for the request.
|
|
85
|
-
:type _content_type: str, Optional
|
|
86
|
-
:param _headers: set to override the headers for a single
|
|
87
|
-
request; this effectively ignores the headers
|
|
88
|
-
in the spec for a single request.
|
|
89
|
-
:type _headers: dict, optional
|
|
90
|
-
:param _host_index: set to override the host_index for a single
|
|
91
|
-
request; this effectively ignores the host_index
|
|
92
|
-
in the spec for a single request.
|
|
93
|
-
:type _host_index: int, optional
|
|
94
|
-
:return: Returns the result object.
|
|
95
|
-
""" # noqa: E501
|
|
96
|
-
warnings.warn("POST /rapid/adduserguess is deprecated.", DeprecationWarning)
|
|
97
|
-
|
|
98
|
-
_param = self._rapid_adduserguess_post_serialize(
|
|
99
|
-
rapid_result_model=rapid_result_model,
|
|
100
|
-
_request_auth=_request_auth,
|
|
101
|
-
_content_type=_content_type,
|
|
102
|
-
_headers=_headers,
|
|
103
|
-
_host_index=_host_index
|
|
104
|
-
)
|
|
105
|
-
|
|
106
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
107
|
-
'200': None,
|
|
108
|
-
}
|
|
109
|
-
response_data = self.api_client.call_api(
|
|
110
|
-
*_param,
|
|
111
|
-
_request_timeout=_request_timeout
|
|
112
|
-
)
|
|
113
|
-
response_data.read()
|
|
114
|
-
return self.api_client.response_deserialize(
|
|
115
|
-
response_data=response_data,
|
|
116
|
-
response_types_map=_response_types_map,
|
|
117
|
-
).data
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
@validate_call
|
|
121
|
-
def rapid_adduserguess_post_with_http_info(
|
|
122
|
-
self,
|
|
123
|
-
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
124
|
-
_request_timeout: Union[
|
|
125
|
-
None,
|
|
126
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
127
|
-
Tuple[
|
|
128
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
129
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
130
|
-
]
|
|
131
|
-
] = None,
|
|
132
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
133
|
-
_content_type: Optional[StrictStr] = None,
|
|
134
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
136
|
-
) -> ApiResponse[None]:
|
|
137
|
-
"""(Deprecated) Submits a user guess for a Rapid.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
:param rapid_result_model: The model containing the user guess.
|
|
141
|
-
:type rapid_result_model: RapidResultModel
|
|
142
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
143
|
-
number provided, it will be total request
|
|
144
|
-
timeout. It can also be a pair (tuple) of
|
|
145
|
-
(connection, read) timeouts.
|
|
146
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
147
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
148
|
-
request; this effectively ignores the
|
|
149
|
-
authentication in the spec for a single request.
|
|
150
|
-
:type _request_auth: dict, optional
|
|
151
|
-
:param _content_type: force content-type for the request.
|
|
152
|
-
:type _content_type: str, Optional
|
|
153
|
-
:param _headers: set to override the headers for a single
|
|
154
|
-
request; this effectively ignores the headers
|
|
155
|
-
in the spec for a single request.
|
|
156
|
-
:type _headers: dict, optional
|
|
157
|
-
:param _host_index: set to override the host_index for a single
|
|
158
|
-
request; this effectively ignores the host_index
|
|
159
|
-
in the spec for a single request.
|
|
160
|
-
:type _host_index: int, optional
|
|
161
|
-
:return: Returns the result object.
|
|
162
|
-
""" # noqa: E501
|
|
163
|
-
warnings.warn("POST /rapid/adduserguess is deprecated.", DeprecationWarning)
|
|
164
|
-
|
|
165
|
-
_param = self._rapid_adduserguess_post_serialize(
|
|
166
|
-
rapid_result_model=rapid_result_model,
|
|
167
|
-
_request_auth=_request_auth,
|
|
168
|
-
_content_type=_content_type,
|
|
169
|
-
_headers=_headers,
|
|
170
|
-
_host_index=_host_index
|
|
171
|
-
)
|
|
172
|
-
|
|
173
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
174
|
-
'200': None,
|
|
175
|
-
}
|
|
176
|
-
response_data = self.api_client.call_api(
|
|
177
|
-
*_param,
|
|
178
|
-
_request_timeout=_request_timeout
|
|
179
|
-
)
|
|
180
|
-
response_data.read()
|
|
181
|
-
return self.api_client.response_deserialize(
|
|
182
|
-
response_data=response_data,
|
|
183
|
-
response_types_map=_response_types_map,
|
|
184
|
-
)
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
@validate_call
|
|
188
|
-
def rapid_adduserguess_post_without_preload_content(
|
|
189
|
-
self,
|
|
190
|
-
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
191
|
-
_request_timeout: Union[
|
|
192
|
-
None,
|
|
193
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
194
|
-
Tuple[
|
|
195
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
196
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
197
|
-
]
|
|
198
|
-
] = None,
|
|
199
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
200
|
-
_content_type: Optional[StrictStr] = None,
|
|
201
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
202
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
203
|
-
) -> RESTResponseType:
|
|
204
|
-
"""(Deprecated) Submits a user guess for a Rapid.
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
:param rapid_result_model: The model containing the user guess.
|
|
208
|
-
:type rapid_result_model: RapidResultModel
|
|
209
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
210
|
-
number provided, it will be total request
|
|
211
|
-
timeout. It can also be a pair (tuple) of
|
|
212
|
-
(connection, read) timeouts.
|
|
213
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
214
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
215
|
-
request; this effectively ignores the
|
|
216
|
-
authentication in the spec for a single request.
|
|
217
|
-
:type _request_auth: dict, optional
|
|
218
|
-
:param _content_type: force content-type for the request.
|
|
219
|
-
:type _content_type: str, Optional
|
|
220
|
-
:param _headers: set to override the headers for a single
|
|
221
|
-
request; this effectively ignores the headers
|
|
222
|
-
in the spec for a single request.
|
|
223
|
-
:type _headers: dict, optional
|
|
224
|
-
:param _host_index: set to override the host_index for a single
|
|
225
|
-
request; this effectively ignores the host_index
|
|
226
|
-
in the spec for a single request.
|
|
227
|
-
:type _host_index: int, optional
|
|
228
|
-
:return: Returns the result object.
|
|
229
|
-
""" # noqa: E501
|
|
230
|
-
warnings.warn("POST /rapid/adduserguess is deprecated.", DeprecationWarning)
|
|
231
|
-
|
|
232
|
-
_param = self._rapid_adduserguess_post_serialize(
|
|
233
|
-
rapid_result_model=rapid_result_model,
|
|
234
|
-
_request_auth=_request_auth,
|
|
235
|
-
_content_type=_content_type,
|
|
236
|
-
_headers=_headers,
|
|
237
|
-
_host_index=_host_index
|
|
238
|
-
)
|
|
239
|
-
|
|
240
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
241
|
-
'200': None,
|
|
242
|
-
}
|
|
243
|
-
response_data = self.api_client.call_api(
|
|
244
|
-
*_param,
|
|
245
|
-
_request_timeout=_request_timeout
|
|
246
|
-
)
|
|
247
|
-
return response_data.response
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
def _rapid_adduserguess_post_serialize(
|
|
251
|
-
self,
|
|
252
|
-
rapid_result_model,
|
|
253
|
-
_request_auth,
|
|
254
|
-
_content_type,
|
|
255
|
-
_headers,
|
|
256
|
-
_host_index,
|
|
257
|
-
) -> RequestSerialized:
|
|
258
|
-
|
|
259
|
-
_host = None
|
|
260
|
-
|
|
261
|
-
_collection_formats: Dict[str, str] = {
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
_path_params: Dict[str, str] = {}
|
|
265
|
-
_query_params: List[Tuple[str, str]] = []
|
|
266
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
267
|
-
_form_params: List[Tuple[str, str]] = []
|
|
268
|
-
_files: Dict[
|
|
269
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
270
|
-
] = {}
|
|
271
|
-
_body_params: Optional[bytes] = None
|
|
272
|
-
|
|
273
|
-
# process the path parameters
|
|
274
|
-
# process the query parameters
|
|
275
|
-
# process the header parameters
|
|
276
|
-
# process the form parameters
|
|
277
|
-
# process the body parameter
|
|
278
|
-
if rapid_result_model is not None:
|
|
279
|
-
_body_params = rapid_result_model
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
# set the HTTP header `Content-Type`
|
|
284
|
-
if _content_type:
|
|
285
|
-
_header_params['Content-Type'] = _content_type
|
|
286
|
-
else:
|
|
287
|
-
_default_content_type = (
|
|
288
|
-
self.api_client.select_header_content_type(
|
|
289
|
-
[
|
|
290
|
-
'application/json',
|
|
291
|
-
'text/json',
|
|
292
|
-
'application/*+json'
|
|
293
|
-
]
|
|
294
|
-
)
|
|
295
|
-
)
|
|
296
|
-
if _default_content_type is not None:
|
|
297
|
-
_header_params['Content-Type'] = _default_content_type
|
|
298
|
-
|
|
299
|
-
# authentication setting
|
|
300
|
-
_auth_settings: List[str] = [
|
|
301
|
-
'bearer',
|
|
302
|
-
'oauth2'
|
|
303
|
-
]
|
|
304
|
-
|
|
305
|
-
return self.api_client.param_serialize(
|
|
306
|
-
method='POST',
|
|
307
|
-
resource_path='/rapid/adduserguess',
|
|
308
|
-
path_params=_path_params,
|
|
309
|
-
query_params=_query_params,
|
|
310
|
-
header_params=_header_params,
|
|
311
|
-
body=_body_params,
|
|
312
|
-
post_params=_form_params,
|
|
313
|
-
files=_files,
|
|
314
|
-
auth_settings=_auth_settings,
|
|
315
|
-
collection_formats=_collection_formats,
|
|
316
|
-
_host=_host,
|
|
317
|
-
_request_auth=_request_auth
|
|
318
|
-
)
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
@validate_call
|
|
324
|
-
def rapid_createdemographicrapid_post(
|
|
325
|
-
self,
|
|
326
|
-
model: Optional[CreateDemographicRapidModel] = None,
|
|
327
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
328
|
-
_request_timeout: Union[
|
|
329
|
-
None,
|
|
330
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
331
|
-
Tuple[
|
|
332
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
333
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
334
|
-
]
|
|
335
|
-
] = None,
|
|
336
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
337
|
-
_content_type: Optional[StrictStr] = None,
|
|
338
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
339
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
340
|
-
) -> None:
|
|
341
|
-
"""(Deprecated) Creates a new Demographic Rapid.
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
:param model:
|
|
345
|
-
:type model: CreateDemographicRapidModel
|
|
346
|
-
:param file:
|
|
347
|
-
:type file: List[bytearray]
|
|
348
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
349
|
-
number provided, it will be total request
|
|
350
|
-
timeout. It can also be a pair (tuple) of
|
|
351
|
-
(connection, read) timeouts.
|
|
352
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
353
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
354
|
-
request; this effectively ignores the
|
|
355
|
-
authentication in the spec for a single request.
|
|
356
|
-
:type _request_auth: dict, optional
|
|
357
|
-
:param _content_type: force content-type for the request.
|
|
358
|
-
:type _content_type: str, Optional
|
|
359
|
-
:param _headers: set to override the headers for a single
|
|
360
|
-
request; this effectively ignores the headers
|
|
361
|
-
in the spec for a single request.
|
|
362
|
-
:type _headers: dict, optional
|
|
363
|
-
:param _host_index: set to override the host_index for a single
|
|
364
|
-
request; this effectively ignores the host_index
|
|
365
|
-
in the spec for a single request.
|
|
366
|
-
:type _host_index: int, optional
|
|
367
|
-
:return: Returns the result object.
|
|
368
|
-
""" # noqa: E501
|
|
369
|
-
warnings.warn("POST /rapid/createdemographicrapid is deprecated.", DeprecationWarning)
|
|
370
|
-
|
|
371
|
-
_param = self._rapid_createdemographicrapid_post_serialize(
|
|
372
|
-
model=model,
|
|
373
|
-
file=file,
|
|
374
|
-
_request_auth=_request_auth,
|
|
375
|
-
_content_type=_content_type,
|
|
376
|
-
_headers=_headers,
|
|
377
|
-
_host_index=_host_index
|
|
378
|
-
)
|
|
379
|
-
|
|
380
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
381
|
-
'200': None,
|
|
382
|
-
}
|
|
383
|
-
response_data = self.api_client.call_api(
|
|
384
|
-
*_param,
|
|
385
|
-
_request_timeout=_request_timeout
|
|
386
|
-
)
|
|
387
|
-
response_data.read()
|
|
388
|
-
return self.api_client.response_deserialize(
|
|
389
|
-
response_data=response_data,
|
|
390
|
-
response_types_map=_response_types_map,
|
|
391
|
-
).data
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
@validate_call
|
|
395
|
-
def rapid_createdemographicrapid_post_with_http_info(
|
|
396
|
-
self,
|
|
397
|
-
model: Optional[CreateDemographicRapidModel] = None,
|
|
398
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
399
|
-
_request_timeout: Union[
|
|
400
|
-
None,
|
|
401
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
402
|
-
Tuple[
|
|
403
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
404
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
405
|
-
]
|
|
406
|
-
] = None,
|
|
407
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
408
|
-
_content_type: Optional[StrictStr] = None,
|
|
409
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
410
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
411
|
-
) -> ApiResponse[None]:
|
|
412
|
-
"""(Deprecated) Creates a new Demographic Rapid.
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
:param model:
|
|
416
|
-
:type model: CreateDemographicRapidModel
|
|
417
|
-
:param file:
|
|
418
|
-
:type file: List[bytearray]
|
|
419
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
420
|
-
number provided, it will be total request
|
|
421
|
-
timeout. It can also be a pair (tuple) of
|
|
422
|
-
(connection, read) timeouts.
|
|
423
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
424
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
425
|
-
request; this effectively ignores the
|
|
426
|
-
authentication in the spec for a single request.
|
|
427
|
-
:type _request_auth: dict, optional
|
|
428
|
-
:param _content_type: force content-type for the request.
|
|
429
|
-
:type _content_type: str, Optional
|
|
430
|
-
:param _headers: set to override the headers for a single
|
|
431
|
-
request; this effectively ignores the headers
|
|
432
|
-
in the spec for a single request.
|
|
433
|
-
:type _headers: dict, optional
|
|
434
|
-
:param _host_index: set to override the host_index for a single
|
|
435
|
-
request; this effectively ignores the host_index
|
|
436
|
-
in the spec for a single request.
|
|
437
|
-
:type _host_index: int, optional
|
|
438
|
-
:return: Returns the result object.
|
|
439
|
-
""" # noqa: E501
|
|
440
|
-
warnings.warn("POST /rapid/createdemographicrapid is deprecated.", DeprecationWarning)
|
|
441
|
-
|
|
442
|
-
_param = self._rapid_createdemographicrapid_post_serialize(
|
|
443
|
-
model=model,
|
|
444
|
-
file=file,
|
|
445
|
-
_request_auth=_request_auth,
|
|
446
|
-
_content_type=_content_type,
|
|
447
|
-
_headers=_headers,
|
|
448
|
-
_host_index=_host_index
|
|
449
|
-
)
|
|
450
|
-
|
|
451
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
452
|
-
'200': None,
|
|
453
|
-
}
|
|
454
|
-
response_data = self.api_client.call_api(
|
|
455
|
-
*_param,
|
|
456
|
-
_request_timeout=_request_timeout
|
|
457
|
-
)
|
|
458
|
-
response_data.read()
|
|
459
|
-
return self.api_client.response_deserialize(
|
|
460
|
-
response_data=response_data,
|
|
461
|
-
response_types_map=_response_types_map,
|
|
462
|
-
)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
@validate_call
|
|
466
|
-
def rapid_createdemographicrapid_post_without_preload_content(
|
|
467
|
-
self,
|
|
468
|
-
model: Optional[CreateDemographicRapidModel] = None,
|
|
469
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
470
|
-
_request_timeout: Union[
|
|
471
|
-
None,
|
|
472
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
473
|
-
Tuple[
|
|
474
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
475
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
476
|
-
]
|
|
477
|
-
] = None,
|
|
478
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
479
|
-
_content_type: Optional[StrictStr] = None,
|
|
480
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
481
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
482
|
-
) -> RESTResponseType:
|
|
483
|
-
"""(Deprecated) Creates a new Demographic Rapid.
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
:param model:
|
|
487
|
-
:type model: CreateDemographicRapidModel
|
|
488
|
-
:param file:
|
|
489
|
-
:type file: List[bytearray]
|
|
490
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
491
|
-
number provided, it will be total request
|
|
492
|
-
timeout. It can also be a pair (tuple) of
|
|
493
|
-
(connection, read) timeouts.
|
|
494
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
495
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
496
|
-
request; this effectively ignores the
|
|
497
|
-
authentication in the spec for a single request.
|
|
498
|
-
:type _request_auth: dict, optional
|
|
499
|
-
:param _content_type: force content-type for the request.
|
|
500
|
-
:type _content_type: str, Optional
|
|
501
|
-
:param _headers: set to override the headers for a single
|
|
502
|
-
request; this effectively ignores the headers
|
|
503
|
-
in the spec for a single request.
|
|
504
|
-
:type _headers: dict, optional
|
|
505
|
-
:param _host_index: set to override the host_index for a single
|
|
506
|
-
request; this effectively ignores the host_index
|
|
507
|
-
in the spec for a single request.
|
|
508
|
-
:type _host_index: int, optional
|
|
509
|
-
:return: Returns the result object.
|
|
510
|
-
""" # noqa: E501
|
|
511
|
-
warnings.warn("POST /rapid/createdemographicrapid is deprecated.", DeprecationWarning)
|
|
512
|
-
|
|
513
|
-
_param = self._rapid_createdemographicrapid_post_serialize(
|
|
514
|
-
model=model,
|
|
515
|
-
file=file,
|
|
516
|
-
_request_auth=_request_auth,
|
|
517
|
-
_content_type=_content_type,
|
|
518
|
-
_headers=_headers,
|
|
519
|
-
_host_index=_host_index
|
|
520
|
-
)
|
|
521
|
-
|
|
522
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
523
|
-
'200': None,
|
|
524
|
-
}
|
|
525
|
-
response_data = self.api_client.call_api(
|
|
526
|
-
*_param,
|
|
527
|
-
_request_timeout=_request_timeout
|
|
528
|
-
)
|
|
529
|
-
return response_data.response
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
def _rapid_createdemographicrapid_post_serialize(
|
|
533
|
-
self,
|
|
534
|
-
model,
|
|
535
|
-
file,
|
|
536
|
-
_request_auth,
|
|
537
|
-
_content_type,
|
|
538
|
-
_headers,
|
|
539
|
-
_host_index,
|
|
540
|
-
) -> RequestSerialized:
|
|
541
|
-
|
|
542
|
-
_host = None
|
|
543
|
-
|
|
544
|
-
_collection_formats: Dict[str, str] = {
|
|
545
|
-
'file': 'multi',
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
_path_params: Dict[str, str] = {}
|
|
549
|
-
_query_params: List[Tuple[str, str]] = []
|
|
550
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
551
|
-
_form_params: List[Tuple[str, str]] = []
|
|
552
|
-
_files: Dict[
|
|
553
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
554
|
-
] = {}
|
|
555
|
-
_body_params: Optional[bytes] = None
|
|
556
|
-
|
|
557
|
-
# process the path parameters
|
|
558
|
-
# process the query parameters
|
|
559
|
-
# process the header parameters
|
|
560
|
-
# process the form parameters
|
|
561
|
-
if model is not None:
|
|
562
|
-
_form_params.append(('model', model))
|
|
563
|
-
if file is not None:
|
|
564
|
-
_files['file'] = file
|
|
565
|
-
# process the body parameter
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
# set the HTTP header `Content-Type`
|
|
570
|
-
if _content_type:
|
|
571
|
-
_header_params['Content-Type'] = _content_type
|
|
572
|
-
else:
|
|
573
|
-
_default_content_type = (
|
|
574
|
-
self.api_client.select_header_content_type(
|
|
575
|
-
[
|
|
576
|
-
'multipart/form-data'
|
|
577
|
-
]
|
|
578
|
-
)
|
|
579
|
-
)
|
|
580
|
-
if _default_content_type is not None:
|
|
581
|
-
_header_params['Content-Type'] = _default_content_type
|
|
582
|
-
|
|
583
|
-
# authentication setting
|
|
584
|
-
_auth_settings: List[str] = [
|
|
585
|
-
'bearer',
|
|
586
|
-
'oauth2'
|
|
587
|
-
]
|
|
588
|
-
|
|
589
|
-
return self.api_client.param_serialize(
|
|
590
|
-
method='POST',
|
|
591
|
-
resource_path='/rapid/createdemographicrapid',
|
|
592
|
-
path_params=_path_params,
|
|
593
|
-
query_params=_query_params,
|
|
594
|
-
header_params=_header_params,
|
|
595
|
-
body=_body_params,
|
|
596
|
-
post_params=_form_params,
|
|
597
|
-
files=_files,
|
|
598
|
-
auth_settings=_auth_settings,
|
|
599
|
-
collection_formats=_collection_formats,
|
|
600
|
-
_host=_host,
|
|
601
|
-
_request_auth=_request_auth
|
|
602
|
-
)
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
@validate_call
|
|
608
|
-
def rapid_demographic_post(
|
|
609
|
-
self,
|
|
610
|
-
model: Optional[CreateDemographicRapidModel] = None,
|
|
611
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
612
|
-
_request_timeout: Union[
|
|
613
|
-
None,
|
|
614
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
615
|
-
Tuple[
|
|
616
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
617
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
618
|
-
]
|
|
619
|
-
] = None,
|
|
620
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
621
|
-
_content_type: Optional[StrictStr] = None,
|
|
622
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
623
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
624
|
-
) -> CreateRapidResult:
|
|
625
|
-
"""Creates a new Demographic Rapid.
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
:param model:
|
|
629
|
-
:type model: CreateDemographicRapidModel
|
|
630
|
-
:param file:
|
|
631
|
-
:type file: List[bytearray]
|
|
632
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
633
|
-
number provided, it will be total request
|
|
634
|
-
timeout. It can also be a pair (tuple) of
|
|
635
|
-
(connection, read) timeouts.
|
|
636
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
637
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
638
|
-
request; this effectively ignores the
|
|
639
|
-
authentication in the spec for a single request.
|
|
640
|
-
:type _request_auth: dict, optional
|
|
641
|
-
:param _content_type: force content-type for the request.
|
|
642
|
-
:type _content_type: str, Optional
|
|
643
|
-
:param _headers: set to override the headers for a single
|
|
644
|
-
request; this effectively ignores the headers
|
|
645
|
-
in the spec for a single request.
|
|
646
|
-
:type _headers: dict, optional
|
|
647
|
-
:param _host_index: set to override the host_index for a single
|
|
648
|
-
request; this effectively ignores the host_index
|
|
649
|
-
in the spec for a single request.
|
|
650
|
-
:type _host_index: int, optional
|
|
651
|
-
:return: Returns the result object.
|
|
652
|
-
""" # noqa: E501
|
|
653
|
-
|
|
654
|
-
_param = self._rapid_demographic_post_serialize(
|
|
655
|
-
model=model,
|
|
656
|
-
file=file,
|
|
657
|
-
_request_auth=_request_auth,
|
|
658
|
-
_content_type=_content_type,
|
|
659
|
-
_headers=_headers,
|
|
660
|
-
_host_index=_host_index
|
|
661
|
-
)
|
|
662
|
-
|
|
663
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
664
|
-
'200': "CreateRapidResult",
|
|
665
|
-
}
|
|
666
|
-
response_data = self.api_client.call_api(
|
|
667
|
-
*_param,
|
|
668
|
-
_request_timeout=_request_timeout
|
|
669
|
-
)
|
|
670
|
-
response_data.read()
|
|
671
|
-
return self.api_client.response_deserialize(
|
|
672
|
-
response_data=response_data,
|
|
673
|
-
response_types_map=_response_types_map,
|
|
674
|
-
).data
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
@validate_call
|
|
678
|
-
def rapid_demographic_post_with_http_info(
|
|
679
|
-
self,
|
|
680
|
-
model: Optional[CreateDemographicRapidModel] = None,
|
|
681
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
682
|
-
_request_timeout: Union[
|
|
683
|
-
None,
|
|
684
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
685
|
-
Tuple[
|
|
686
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
687
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
688
|
-
]
|
|
689
|
-
] = None,
|
|
690
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
691
|
-
_content_type: Optional[StrictStr] = None,
|
|
692
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
693
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
694
|
-
) -> ApiResponse[CreateRapidResult]:
|
|
695
|
-
"""Creates a new Demographic Rapid.
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
:param model:
|
|
699
|
-
:type model: CreateDemographicRapidModel
|
|
700
|
-
:param file:
|
|
701
|
-
:type file: List[bytearray]
|
|
702
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
703
|
-
number provided, it will be total request
|
|
704
|
-
timeout. It can also be a pair (tuple) of
|
|
705
|
-
(connection, read) timeouts.
|
|
706
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
707
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
708
|
-
request; this effectively ignores the
|
|
709
|
-
authentication in the spec for a single request.
|
|
710
|
-
:type _request_auth: dict, optional
|
|
711
|
-
:param _content_type: force content-type for the request.
|
|
712
|
-
:type _content_type: str, Optional
|
|
713
|
-
:param _headers: set to override the headers for a single
|
|
714
|
-
request; this effectively ignores the headers
|
|
715
|
-
in the spec for a single request.
|
|
716
|
-
:type _headers: dict, optional
|
|
717
|
-
:param _host_index: set to override the host_index for a single
|
|
718
|
-
request; this effectively ignores the host_index
|
|
719
|
-
in the spec for a single request.
|
|
720
|
-
:type _host_index: int, optional
|
|
721
|
-
:return: Returns the result object.
|
|
722
|
-
""" # noqa: E501
|
|
723
|
-
|
|
724
|
-
_param = self._rapid_demographic_post_serialize(
|
|
725
|
-
model=model,
|
|
726
|
-
file=file,
|
|
727
|
-
_request_auth=_request_auth,
|
|
728
|
-
_content_type=_content_type,
|
|
729
|
-
_headers=_headers,
|
|
730
|
-
_host_index=_host_index
|
|
731
|
-
)
|
|
732
|
-
|
|
733
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
734
|
-
'200': "CreateRapidResult",
|
|
735
|
-
}
|
|
736
|
-
response_data = self.api_client.call_api(
|
|
737
|
-
*_param,
|
|
738
|
-
_request_timeout=_request_timeout
|
|
739
|
-
)
|
|
740
|
-
response_data.read()
|
|
741
|
-
return self.api_client.response_deserialize(
|
|
742
|
-
response_data=response_data,
|
|
743
|
-
response_types_map=_response_types_map,
|
|
744
|
-
)
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
@validate_call
|
|
748
|
-
def rapid_demographic_post_without_preload_content(
|
|
749
|
-
self,
|
|
750
|
-
model: Optional[CreateDemographicRapidModel] = None,
|
|
751
|
-
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
752
|
-
_request_timeout: Union[
|
|
753
|
-
None,
|
|
754
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
755
|
-
Tuple[
|
|
756
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
757
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
758
|
-
]
|
|
759
|
-
] = None,
|
|
760
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
761
|
-
_content_type: Optional[StrictStr] = None,
|
|
762
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
763
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
764
|
-
) -> RESTResponseType:
|
|
765
|
-
"""Creates a new Demographic Rapid.
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
:param model:
|
|
769
|
-
:type model: CreateDemographicRapidModel
|
|
770
|
-
:param file:
|
|
771
|
-
:type file: List[bytearray]
|
|
772
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
773
|
-
number provided, it will be total request
|
|
774
|
-
timeout. It can also be a pair (tuple) of
|
|
775
|
-
(connection, read) timeouts.
|
|
776
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
777
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
778
|
-
request; this effectively ignores the
|
|
779
|
-
authentication in the spec for a single request.
|
|
780
|
-
:type _request_auth: dict, optional
|
|
781
|
-
:param _content_type: force content-type for the request.
|
|
782
|
-
:type _content_type: str, Optional
|
|
783
|
-
:param _headers: set to override the headers for a single
|
|
784
|
-
request; this effectively ignores the headers
|
|
785
|
-
in the spec for a single request.
|
|
786
|
-
:type _headers: dict, optional
|
|
787
|
-
:param _host_index: set to override the host_index for a single
|
|
788
|
-
request; this effectively ignores the host_index
|
|
789
|
-
in the spec for a single request.
|
|
790
|
-
:type _host_index: int, optional
|
|
791
|
-
:return: Returns the result object.
|
|
792
|
-
""" # noqa: E501
|
|
793
|
-
|
|
794
|
-
_param = self._rapid_demographic_post_serialize(
|
|
795
|
-
model=model,
|
|
796
|
-
file=file,
|
|
797
|
-
_request_auth=_request_auth,
|
|
798
|
-
_content_type=_content_type,
|
|
799
|
-
_headers=_headers,
|
|
800
|
-
_host_index=_host_index
|
|
801
|
-
)
|
|
802
|
-
|
|
803
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
804
|
-
'200': "CreateRapidResult",
|
|
805
|
-
}
|
|
806
|
-
response_data = self.api_client.call_api(
|
|
807
|
-
*_param,
|
|
808
|
-
_request_timeout=_request_timeout
|
|
809
|
-
)
|
|
810
|
-
return response_data.response
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
def _rapid_demographic_post_serialize(
|
|
814
|
-
self,
|
|
815
|
-
model,
|
|
816
|
-
file,
|
|
817
|
-
_request_auth,
|
|
818
|
-
_content_type,
|
|
819
|
-
_headers,
|
|
820
|
-
_host_index,
|
|
821
|
-
) -> RequestSerialized:
|
|
822
|
-
|
|
823
|
-
_host = None
|
|
824
|
-
|
|
825
|
-
_collection_formats: Dict[str, str] = {
|
|
826
|
-
'file': 'multi',
|
|
827
|
-
}
|
|
828
|
-
|
|
829
|
-
_path_params: Dict[str, str] = {}
|
|
830
|
-
_query_params: List[Tuple[str, str]] = []
|
|
831
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
832
|
-
_form_params: List[Tuple[str, str]] = []
|
|
833
|
-
_files: Dict[
|
|
834
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
835
|
-
] = {}
|
|
836
|
-
_body_params: Optional[bytes] = None
|
|
837
|
-
|
|
838
|
-
# process the path parameters
|
|
839
|
-
# process the query parameters
|
|
840
|
-
# process the header parameters
|
|
841
|
-
# process the form parameters
|
|
842
|
-
if model is not None:
|
|
843
|
-
_form_params.append(('model', model))
|
|
844
|
-
if file is not None:
|
|
845
|
-
_files['file'] = file
|
|
846
|
-
# process the body parameter
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
# set the HTTP header `Accept`
|
|
850
|
-
if 'Accept' not in _header_params:
|
|
851
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
852
|
-
[
|
|
853
|
-
'text/plain',
|
|
854
|
-
'application/json',
|
|
855
|
-
'text/json'
|
|
856
|
-
]
|
|
857
|
-
)
|
|
858
|
-
|
|
859
|
-
# set the HTTP header `Content-Type`
|
|
860
|
-
if _content_type:
|
|
861
|
-
_header_params['Content-Type'] = _content_type
|
|
862
|
-
else:
|
|
863
|
-
_default_content_type = (
|
|
864
|
-
self.api_client.select_header_content_type(
|
|
865
|
-
[
|
|
866
|
-
'multipart/form-data'
|
|
867
|
-
]
|
|
868
|
-
)
|
|
869
|
-
)
|
|
870
|
-
if _default_content_type is not None:
|
|
871
|
-
_header_params['Content-Type'] = _default_content_type
|
|
872
|
-
|
|
873
|
-
# authentication setting
|
|
874
|
-
_auth_settings: List[str] = [
|
|
875
|
-
'bearer',
|
|
876
|
-
'oauth2'
|
|
877
|
-
]
|
|
878
|
-
|
|
879
|
-
return self.api_client.param_serialize(
|
|
880
|
-
method='POST',
|
|
881
|
-
resource_path='/rapid/demographic',
|
|
882
|
-
path_params=_path_params,
|
|
883
|
-
query_params=_query_params,
|
|
884
|
-
header_params=_header_params,
|
|
885
|
-
body=_body_params,
|
|
886
|
-
post_params=_form_params,
|
|
887
|
-
files=_files,
|
|
888
|
-
auth_settings=_auth_settings,
|
|
889
|
-
collection_formats=_collection_formats,
|
|
890
|
-
_host=_host,
|
|
891
|
-
_request_auth=_request_auth
|
|
892
|
-
)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
@validate_call
|
|
898
|
-
def rapid_queryvalidationrapids_get(
|
|
899
|
-
self,
|
|
900
|
-
validation_set_id: Annotated[Optional[StrictStr], Field(description="The validation set to query.")] = None,
|
|
901
|
-
model: Annotated[Optional[QueryModel], Field(description="The query model.")] = None,
|
|
902
|
-
_request_timeout: Union[
|
|
903
|
-
None,
|
|
904
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
905
|
-
Tuple[
|
|
906
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
907
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
908
|
-
]
|
|
909
|
-
] = None,
|
|
910
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
911
|
-
_content_type: Optional[StrictStr] = None,
|
|
912
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
913
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
914
|
-
) -> QueryValidationRapidsResultPagedResult:
|
|
915
|
-
"""(Deprecated) Queries the validation rapids for a specific validation set.
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
:param validation_set_id: The validation set to query.
|
|
919
|
-
:type validation_set_id: str
|
|
920
|
-
:param model: The query model.
|
|
921
|
-
:type model: QueryModel
|
|
922
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
923
|
-
number provided, it will be total request
|
|
924
|
-
timeout. It can also be a pair (tuple) of
|
|
925
|
-
(connection, read) timeouts.
|
|
926
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
927
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
928
|
-
request; this effectively ignores the
|
|
929
|
-
authentication in the spec for a single request.
|
|
930
|
-
:type _request_auth: dict, optional
|
|
931
|
-
:param _content_type: force content-type for the request.
|
|
932
|
-
:type _content_type: str, Optional
|
|
933
|
-
:param _headers: set to override the headers for a single
|
|
934
|
-
request; this effectively ignores the headers
|
|
935
|
-
in the spec for a single request.
|
|
936
|
-
:type _headers: dict, optional
|
|
937
|
-
:param _host_index: set to override the host_index for a single
|
|
938
|
-
request; this effectively ignores the host_index
|
|
939
|
-
in the spec for a single request.
|
|
940
|
-
:type _host_index: int, optional
|
|
941
|
-
:return: Returns the result object.
|
|
942
|
-
""" # noqa: E501
|
|
943
|
-
warnings.warn("GET /rapid/queryvalidationrapids is deprecated.", DeprecationWarning)
|
|
944
|
-
|
|
945
|
-
_param = self._rapid_queryvalidationrapids_get_serialize(
|
|
946
|
-
validation_set_id=validation_set_id,
|
|
947
|
-
model=model,
|
|
948
|
-
_request_auth=_request_auth,
|
|
949
|
-
_content_type=_content_type,
|
|
950
|
-
_headers=_headers,
|
|
951
|
-
_host_index=_host_index
|
|
952
|
-
)
|
|
953
|
-
|
|
954
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
955
|
-
'200': "QueryValidationRapidsResultPagedResult",
|
|
956
|
-
}
|
|
957
|
-
response_data = self.api_client.call_api(
|
|
958
|
-
*_param,
|
|
959
|
-
_request_timeout=_request_timeout
|
|
960
|
-
)
|
|
961
|
-
response_data.read()
|
|
962
|
-
return self.api_client.response_deserialize(
|
|
963
|
-
response_data=response_data,
|
|
964
|
-
response_types_map=_response_types_map,
|
|
965
|
-
).data
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
@validate_call
|
|
969
|
-
def rapid_queryvalidationrapids_get_with_http_info(
|
|
970
|
-
self,
|
|
971
|
-
validation_set_id: Annotated[Optional[StrictStr], Field(description="The validation set to query.")] = None,
|
|
972
|
-
model: Annotated[Optional[QueryModel], Field(description="The query model.")] = None,
|
|
973
|
-
_request_timeout: Union[
|
|
974
|
-
None,
|
|
975
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
976
|
-
Tuple[
|
|
977
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
978
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
979
|
-
]
|
|
980
|
-
] = None,
|
|
981
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
982
|
-
_content_type: Optional[StrictStr] = None,
|
|
983
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
984
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
985
|
-
) -> ApiResponse[QueryValidationRapidsResultPagedResult]:
|
|
986
|
-
"""(Deprecated) Queries the validation rapids for a specific validation set.
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
:param validation_set_id: The validation set to query.
|
|
990
|
-
:type validation_set_id: str
|
|
991
|
-
:param model: The query model.
|
|
992
|
-
:type model: QueryModel
|
|
993
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
994
|
-
number provided, it will be total request
|
|
995
|
-
timeout. It can also be a pair (tuple) of
|
|
996
|
-
(connection, read) timeouts.
|
|
997
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
998
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
999
|
-
request; this effectively ignores the
|
|
1000
|
-
authentication in the spec for a single request.
|
|
1001
|
-
:type _request_auth: dict, optional
|
|
1002
|
-
:param _content_type: force content-type for the request.
|
|
1003
|
-
:type _content_type: str, Optional
|
|
1004
|
-
:param _headers: set to override the headers for a single
|
|
1005
|
-
request; this effectively ignores the headers
|
|
1006
|
-
in the spec for a single request.
|
|
1007
|
-
:type _headers: dict, optional
|
|
1008
|
-
:param _host_index: set to override the host_index for a single
|
|
1009
|
-
request; this effectively ignores the host_index
|
|
1010
|
-
in the spec for a single request.
|
|
1011
|
-
:type _host_index: int, optional
|
|
1012
|
-
:return: Returns the result object.
|
|
1013
|
-
""" # noqa: E501
|
|
1014
|
-
warnings.warn("GET /rapid/queryvalidationrapids is deprecated.", DeprecationWarning)
|
|
1015
|
-
|
|
1016
|
-
_param = self._rapid_queryvalidationrapids_get_serialize(
|
|
1017
|
-
validation_set_id=validation_set_id,
|
|
1018
|
-
model=model,
|
|
1019
|
-
_request_auth=_request_auth,
|
|
1020
|
-
_content_type=_content_type,
|
|
1021
|
-
_headers=_headers,
|
|
1022
|
-
_host_index=_host_index
|
|
1023
|
-
)
|
|
1024
|
-
|
|
1025
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1026
|
-
'200': "QueryValidationRapidsResultPagedResult",
|
|
1027
|
-
}
|
|
1028
|
-
response_data = self.api_client.call_api(
|
|
1029
|
-
*_param,
|
|
1030
|
-
_request_timeout=_request_timeout
|
|
1031
|
-
)
|
|
1032
|
-
response_data.read()
|
|
1033
|
-
return self.api_client.response_deserialize(
|
|
1034
|
-
response_data=response_data,
|
|
1035
|
-
response_types_map=_response_types_map,
|
|
1036
|
-
)
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
@validate_call
|
|
1040
|
-
def rapid_queryvalidationrapids_get_without_preload_content(
|
|
1041
|
-
self,
|
|
1042
|
-
validation_set_id: Annotated[Optional[StrictStr], Field(description="The validation set to query.")] = None,
|
|
1043
|
-
model: Annotated[Optional[QueryModel], Field(description="The query model.")] = None,
|
|
1044
|
-
_request_timeout: Union[
|
|
1045
|
-
None,
|
|
1046
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1047
|
-
Tuple[
|
|
1048
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1049
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1050
|
-
]
|
|
1051
|
-
] = None,
|
|
1052
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1053
|
-
_content_type: Optional[StrictStr] = None,
|
|
1054
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1055
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1056
|
-
) -> RESTResponseType:
|
|
1057
|
-
"""(Deprecated) Queries the validation rapids for a specific validation set.
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
:param validation_set_id: The validation set to query.
|
|
1061
|
-
:type validation_set_id: str
|
|
1062
|
-
:param model: The query model.
|
|
1063
|
-
:type model: QueryModel
|
|
1064
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1065
|
-
number provided, it will be total request
|
|
1066
|
-
timeout. It can also be a pair (tuple) of
|
|
1067
|
-
(connection, read) timeouts.
|
|
1068
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1069
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1070
|
-
request; this effectively ignores the
|
|
1071
|
-
authentication in the spec for a single request.
|
|
1072
|
-
:type _request_auth: dict, optional
|
|
1073
|
-
:param _content_type: force content-type for the request.
|
|
1074
|
-
:type _content_type: str, Optional
|
|
1075
|
-
:param _headers: set to override the headers for a single
|
|
1076
|
-
request; this effectively ignores the headers
|
|
1077
|
-
in the spec for a single request.
|
|
1078
|
-
:type _headers: dict, optional
|
|
1079
|
-
:param _host_index: set to override the host_index for a single
|
|
1080
|
-
request; this effectively ignores the host_index
|
|
1081
|
-
in the spec for a single request.
|
|
1082
|
-
:type _host_index: int, optional
|
|
1083
|
-
:return: Returns the result object.
|
|
1084
|
-
""" # noqa: E501
|
|
1085
|
-
warnings.warn("GET /rapid/queryvalidationrapids is deprecated.", DeprecationWarning)
|
|
1086
|
-
|
|
1087
|
-
_param = self._rapid_queryvalidationrapids_get_serialize(
|
|
1088
|
-
validation_set_id=validation_set_id,
|
|
1089
|
-
model=model,
|
|
1090
|
-
_request_auth=_request_auth,
|
|
1091
|
-
_content_type=_content_type,
|
|
1092
|
-
_headers=_headers,
|
|
1093
|
-
_host_index=_host_index
|
|
1094
|
-
)
|
|
1095
|
-
|
|
1096
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1097
|
-
'200': "QueryValidationRapidsResultPagedResult",
|
|
1098
|
-
}
|
|
1099
|
-
response_data = self.api_client.call_api(
|
|
1100
|
-
*_param,
|
|
1101
|
-
_request_timeout=_request_timeout
|
|
1102
|
-
)
|
|
1103
|
-
return response_data.response
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
def _rapid_queryvalidationrapids_get_serialize(
|
|
1107
|
-
self,
|
|
1108
|
-
validation_set_id,
|
|
1109
|
-
model,
|
|
1110
|
-
_request_auth,
|
|
1111
|
-
_content_type,
|
|
1112
|
-
_headers,
|
|
1113
|
-
_host_index,
|
|
1114
|
-
) -> RequestSerialized:
|
|
1115
|
-
|
|
1116
|
-
_host = None
|
|
1117
|
-
|
|
1118
|
-
_collection_formats: Dict[str, str] = {
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
_path_params: Dict[str, str] = {}
|
|
1122
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1123
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1124
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1125
|
-
_files: Dict[
|
|
1126
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1127
|
-
] = {}
|
|
1128
|
-
_body_params: Optional[bytes] = None
|
|
1129
|
-
|
|
1130
|
-
# process the path parameters
|
|
1131
|
-
# process the query parameters
|
|
1132
|
-
if validation_set_id is not None:
|
|
1133
|
-
|
|
1134
|
-
_query_params.append(('validationSetId', validation_set_id))
|
|
1135
|
-
|
|
1136
|
-
if model is not None:
|
|
1137
|
-
|
|
1138
|
-
_query_params.append(('model', model))
|
|
1139
|
-
|
|
1140
|
-
# process the header parameters
|
|
1141
|
-
# process the form parameters
|
|
1142
|
-
# process the body parameter
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
# set the HTTP header `Accept`
|
|
1146
|
-
if 'Accept' not in _header_params:
|
|
1147
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1148
|
-
[
|
|
1149
|
-
'text/plain',
|
|
1150
|
-
'application/json',
|
|
1151
|
-
'text/json'
|
|
1152
|
-
]
|
|
1153
|
-
)
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
# authentication setting
|
|
1157
|
-
_auth_settings: List[str] = [
|
|
1158
|
-
'bearer',
|
|
1159
|
-
'oauth2'
|
|
1160
|
-
]
|
|
1161
|
-
|
|
1162
|
-
return self.api_client.param_serialize(
|
|
1163
|
-
method='GET',
|
|
1164
|
-
resource_path='/rapid/queryvalidationrapids',
|
|
1165
|
-
path_params=_path_params,
|
|
1166
|
-
query_params=_query_params,
|
|
1167
|
-
header_params=_header_params,
|
|
1168
|
-
body=_body_params,
|
|
1169
|
-
post_params=_form_params,
|
|
1170
|
-
files=_files,
|
|
1171
|
-
auth_settings=_auth_settings,
|
|
1172
|
-
collection_formats=_collection_formats,
|
|
1173
|
-
_host=_host,
|
|
1174
|
-
_request_auth=_request_auth
|
|
1175
|
-
)
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
@validate_call
|
|
1181
|
-
def rapid_rapid_bag_is_valid_get(
|
|
1182
|
-
self,
|
|
1183
|
-
_request_timeout: Union[
|
|
1184
|
-
None,
|
|
1185
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1186
|
-
Tuple[
|
|
1187
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1188
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1189
|
-
]
|
|
1190
|
-
] = None,
|
|
1191
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1192
|
-
_content_type: Optional[StrictStr] = None,
|
|
1193
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1194
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1195
|
-
) -> AreRapidsActiveResult:
|
|
1196
|
-
"""Validates that the rapids associated with the current user are active.
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1200
|
-
number provided, it will be total request
|
|
1201
|
-
timeout. It can also be a pair (tuple) of
|
|
1202
|
-
(connection, read) timeouts.
|
|
1203
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1204
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1205
|
-
request; this effectively ignores the
|
|
1206
|
-
authentication in the spec for a single request.
|
|
1207
|
-
:type _request_auth: dict, optional
|
|
1208
|
-
:param _content_type: force content-type for the request.
|
|
1209
|
-
:type _content_type: str, Optional
|
|
1210
|
-
:param _headers: set to override the headers for a single
|
|
1211
|
-
request; this effectively ignores the headers
|
|
1212
|
-
in the spec for a single request.
|
|
1213
|
-
:type _headers: dict, optional
|
|
1214
|
-
:param _host_index: set to override the host_index for a single
|
|
1215
|
-
request; this effectively ignores the host_index
|
|
1216
|
-
in the spec for a single request.
|
|
1217
|
-
:type _host_index: int, optional
|
|
1218
|
-
:return: Returns the result object.
|
|
1219
|
-
""" # noqa: E501
|
|
1220
|
-
|
|
1221
|
-
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
1222
|
-
_request_auth=_request_auth,
|
|
1223
|
-
_content_type=_content_type,
|
|
1224
|
-
_headers=_headers,
|
|
1225
|
-
_host_index=_host_index
|
|
1226
|
-
)
|
|
1227
|
-
|
|
1228
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1229
|
-
'200': "AreRapidsActiveResult",
|
|
1230
|
-
}
|
|
1231
|
-
response_data = self.api_client.call_api(
|
|
1232
|
-
*_param,
|
|
1233
|
-
_request_timeout=_request_timeout
|
|
1234
|
-
)
|
|
1235
|
-
response_data.read()
|
|
1236
|
-
return self.api_client.response_deserialize(
|
|
1237
|
-
response_data=response_data,
|
|
1238
|
-
response_types_map=_response_types_map,
|
|
1239
|
-
).data
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
@validate_call
|
|
1243
|
-
def rapid_rapid_bag_is_valid_get_with_http_info(
|
|
1244
|
-
self,
|
|
1245
|
-
_request_timeout: Union[
|
|
1246
|
-
None,
|
|
1247
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1248
|
-
Tuple[
|
|
1249
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1250
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1251
|
-
]
|
|
1252
|
-
] = None,
|
|
1253
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1254
|
-
_content_type: Optional[StrictStr] = None,
|
|
1255
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1256
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1257
|
-
) -> ApiResponse[AreRapidsActiveResult]:
|
|
1258
|
-
"""Validates that the rapids associated with the current user are active.
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1262
|
-
number provided, it will be total request
|
|
1263
|
-
timeout. It can also be a pair (tuple) of
|
|
1264
|
-
(connection, read) timeouts.
|
|
1265
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1266
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1267
|
-
request; this effectively ignores the
|
|
1268
|
-
authentication in the spec for a single request.
|
|
1269
|
-
:type _request_auth: dict, optional
|
|
1270
|
-
:param _content_type: force content-type for the request.
|
|
1271
|
-
:type _content_type: str, Optional
|
|
1272
|
-
:param _headers: set to override the headers for a single
|
|
1273
|
-
request; this effectively ignores the headers
|
|
1274
|
-
in the spec for a single request.
|
|
1275
|
-
:type _headers: dict, optional
|
|
1276
|
-
:param _host_index: set to override the host_index for a single
|
|
1277
|
-
request; this effectively ignores the host_index
|
|
1278
|
-
in the spec for a single request.
|
|
1279
|
-
:type _host_index: int, optional
|
|
1280
|
-
:return: Returns the result object.
|
|
1281
|
-
""" # noqa: E501
|
|
1282
|
-
|
|
1283
|
-
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
1284
|
-
_request_auth=_request_auth,
|
|
1285
|
-
_content_type=_content_type,
|
|
1286
|
-
_headers=_headers,
|
|
1287
|
-
_host_index=_host_index
|
|
1288
|
-
)
|
|
1289
|
-
|
|
1290
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1291
|
-
'200': "AreRapidsActiveResult",
|
|
1292
|
-
}
|
|
1293
|
-
response_data = self.api_client.call_api(
|
|
1294
|
-
*_param,
|
|
1295
|
-
_request_timeout=_request_timeout
|
|
1296
|
-
)
|
|
1297
|
-
response_data.read()
|
|
1298
|
-
return self.api_client.response_deserialize(
|
|
1299
|
-
response_data=response_data,
|
|
1300
|
-
response_types_map=_response_types_map,
|
|
1301
|
-
)
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
@validate_call
|
|
1305
|
-
def rapid_rapid_bag_is_valid_get_without_preload_content(
|
|
1306
|
-
self,
|
|
1307
|
-
_request_timeout: Union[
|
|
1308
|
-
None,
|
|
1309
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1310
|
-
Tuple[
|
|
1311
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1312
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1313
|
-
]
|
|
1314
|
-
] = None,
|
|
1315
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1316
|
-
_content_type: Optional[StrictStr] = None,
|
|
1317
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1318
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1319
|
-
) -> RESTResponseType:
|
|
1320
|
-
"""Validates that the rapids associated with the current user are active.
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1324
|
-
number provided, it will be total request
|
|
1325
|
-
timeout. It can also be a pair (tuple) of
|
|
1326
|
-
(connection, read) timeouts.
|
|
1327
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1328
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1329
|
-
request; this effectively ignores the
|
|
1330
|
-
authentication in the spec for a single request.
|
|
1331
|
-
:type _request_auth: dict, optional
|
|
1332
|
-
:param _content_type: force content-type for the request.
|
|
1333
|
-
:type _content_type: str, Optional
|
|
1334
|
-
:param _headers: set to override the headers for a single
|
|
1335
|
-
request; this effectively ignores the headers
|
|
1336
|
-
in the spec for a single request.
|
|
1337
|
-
:type _headers: dict, optional
|
|
1338
|
-
:param _host_index: set to override the host_index for a single
|
|
1339
|
-
request; this effectively ignores the host_index
|
|
1340
|
-
in the spec for a single request.
|
|
1341
|
-
:type _host_index: int, optional
|
|
1342
|
-
:return: Returns the result object.
|
|
1343
|
-
""" # noqa: E501
|
|
1344
|
-
|
|
1345
|
-
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
1346
|
-
_request_auth=_request_auth,
|
|
1347
|
-
_content_type=_content_type,
|
|
1348
|
-
_headers=_headers,
|
|
1349
|
-
_host_index=_host_index
|
|
1350
|
-
)
|
|
1351
|
-
|
|
1352
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1353
|
-
'200': "AreRapidsActiveResult",
|
|
1354
|
-
}
|
|
1355
|
-
response_data = self.api_client.call_api(
|
|
1356
|
-
*_param,
|
|
1357
|
-
_request_timeout=_request_timeout
|
|
1358
|
-
)
|
|
1359
|
-
return response_data.response
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
def _rapid_rapid_bag_is_valid_get_serialize(
|
|
1363
|
-
self,
|
|
1364
|
-
_request_auth,
|
|
1365
|
-
_content_type,
|
|
1366
|
-
_headers,
|
|
1367
|
-
_host_index,
|
|
1368
|
-
) -> RequestSerialized:
|
|
1369
|
-
|
|
1370
|
-
_host = None
|
|
1371
|
-
|
|
1372
|
-
_collection_formats: Dict[str, str] = {
|
|
1373
|
-
}
|
|
1374
|
-
|
|
1375
|
-
_path_params: Dict[str, str] = {}
|
|
1376
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1377
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1378
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1379
|
-
_files: Dict[
|
|
1380
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1381
|
-
] = {}
|
|
1382
|
-
_body_params: Optional[bytes] = None
|
|
1383
|
-
|
|
1384
|
-
# process the path parameters
|
|
1385
|
-
# process the query parameters
|
|
1386
|
-
# process the header parameters
|
|
1387
|
-
# process the form parameters
|
|
1388
|
-
# process the body parameter
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
# set the HTTP header `Accept`
|
|
1392
|
-
if 'Accept' not in _header_params:
|
|
1393
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1394
|
-
[
|
|
1395
|
-
'text/plain',
|
|
1396
|
-
'application/json',
|
|
1397
|
-
'text/json'
|
|
1398
|
-
]
|
|
1399
|
-
)
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
# authentication setting
|
|
1403
|
-
_auth_settings: List[str] = [
|
|
1404
|
-
'bearer',
|
|
1405
|
-
'oauth2'
|
|
1406
|
-
]
|
|
1407
|
-
|
|
1408
|
-
return self.api_client.param_serialize(
|
|
1409
|
-
method='GET',
|
|
1410
|
-
resource_path='/rapid/rapid-bag/is-valid',
|
|
1411
|
-
path_params=_path_params,
|
|
1412
|
-
query_params=_query_params,
|
|
1413
|
-
header_params=_header_params,
|
|
1414
|
-
body=_body_params,
|
|
1415
|
-
post_params=_form_params,
|
|
1416
|
-
files=_files,
|
|
1417
|
-
auth_settings=_auth_settings,
|
|
1418
|
-
collection_formats=_collection_formats,
|
|
1419
|
-
_host=_host,
|
|
1420
|
-
_request_auth=_request_auth
|
|
1421
|
-
)
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
@validate_call
|
|
1427
|
-
def rapid_rapid_id_delete(
|
|
1428
|
-
self,
|
|
1429
|
-
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
1430
|
-
_request_timeout: Union[
|
|
1431
|
-
None,
|
|
1432
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1433
|
-
Tuple[
|
|
1434
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1435
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1436
|
-
]
|
|
1437
|
-
] = None,
|
|
1438
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1439
|
-
_content_type: Optional[StrictStr] = None,
|
|
1440
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1441
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1442
|
-
) -> None:
|
|
1443
|
-
"""Deletes a rapid.
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
:param rapid_id: The rapid to be deleted (required)
|
|
1447
|
-
:type rapid_id: str
|
|
1448
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1449
|
-
number provided, it will be total request
|
|
1450
|
-
timeout. It can also be a pair (tuple) of
|
|
1451
|
-
(connection, read) timeouts.
|
|
1452
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1453
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1454
|
-
request; this effectively ignores the
|
|
1455
|
-
authentication in the spec for a single request.
|
|
1456
|
-
:type _request_auth: dict, optional
|
|
1457
|
-
:param _content_type: force content-type for the request.
|
|
1458
|
-
:type _content_type: str, Optional
|
|
1459
|
-
:param _headers: set to override the headers for a single
|
|
1460
|
-
request; this effectively ignores the headers
|
|
1461
|
-
in the spec for a single request.
|
|
1462
|
-
:type _headers: dict, optional
|
|
1463
|
-
:param _host_index: set to override the host_index for a single
|
|
1464
|
-
request; this effectively ignores the host_index
|
|
1465
|
-
in the spec for a single request.
|
|
1466
|
-
:type _host_index: int, optional
|
|
1467
|
-
:return: Returns the result object.
|
|
1468
|
-
""" # noqa: E501
|
|
1469
|
-
|
|
1470
|
-
_param = self._rapid_rapid_id_delete_serialize(
|
|
1471
|
-
rapid_id=rapid_id,
|
|
1472
|
-
_request_auth=_request_auth,
|
|
1473
|
-
_content_type=_content_type,
|
|
1474
|
-
_headers=_headers,
|
|
1475
|
-
_host_index=_host_index
|
|
1476
|
-
)
|
|
1477
|
-
|
|
1478
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1479
|
-
'204': None,
|
|
1480
|
-
}
|
|
1481
|
-
response_data = self.api_client.call_api(
|
|
1482
|
-
*_param,
|
|
1483
|
-
_request_timeout=_request_timeout
|
|
1484
|
-
)
|
|
1485
|
-
response_data.read()
|
|
1486
|
-
return self.api_client.response_deserialize(
|
|
1487
|
-
response_data=response_data,
|
|
1488
|
-
response_types_map=_response_types_map,
|
|
1489
|
-
).data
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
@validate_call
|
|
1493
|
-
def rapid_rapid_id_delete_with_http_info(
|
|
1494
|
-
self,
|
|
1495
|
-
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
1496
|
-
_request_timeout: Union[
|
|
1497
|
-
None,
|
|
1498
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1499
|
-
Tuple[
|
|
1500
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1501
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1502
|
-
]
|
|
1503
|
-
] = None,
|
|
1504
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1505
|
-
_content_type: Optional[StrictStr] = None,
|
|
1506
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1507
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1508
|
-
) -> ApiResponse[None]:
|
|
1509
|
-
"""Deletes a rapid.
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
:param rapid_id: The rapid to be deleted (required)
|
|
1513
|
-
:type rapid_id: str
|
|
1514
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1515
|
-
number provided, it will be total request
|
|
1516
|
-
timeout. It can also be a pair (tuple) of
|
|
1517
|
-
(connection, read) timeouts.
|
|
1518
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1519
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1520
|
-
request; this effectively ignores the
|
|
1521
|
-
authentication in the spec for a single request.
|
|
1522
|
-
:type _request_auth: dict, optional
|
|
1523
|
-
:param _content_type: force content-type for the request.
|
|
1524
|
-
:type _content_type: str, Optional
|
|
1525
|
-
:param _headers: set to override the headers for a single
|
|
1526
|
-
request; this effectively ignores the headers
|
|
1527
|
-
in the spec for a single request.
|
|
1528
|
-
:type _headers: dict, optional
|
|
1529
|
-
:param _host_index: set to override the host_index for a single
|
|
1530
|
-
request; this effectively ignores the host_index
|
|
1531
|
-
in the spec for a single request.
|
|
1532
|
-
:type _host_index: int, optional
|
|
1533
|
-
:return: Returns the result object.
|
|
1534
|
-
""" # noqa: E501
|
|
1535
|
-
|
|
1536
|
-
_param = self._rapid_rapid_id_delete_serialize(
|
|
1537
|
-
rapid_id=rapid_id,
|
|
1538
|
-
_request_auth=_request_auth,
|
|
1539
|
-
_content_type=_content_type,
|
|
1540
|
-
_headers=_headers,
|
|
1541
|
-
_host_index=_host_index
|
|
1542
|
-
)
|
|
1543
|
-
|
|
1544
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1545
|
-
'204': None,
|
|
1546
|
-
}
|
|
1547
|
-
response_data = self.api_client.call_api(
|
|
1548
|
-
*_param,
|
|
1549
|
-
_request_timeout=_request_timeout
|
|
1550
|
-
)
|
|
1551
|
-
response_data.read()
|
|
1552
|
-
return self.api_client.response_deserialize(
|
|
1553
|
-
response_data=response_data,
|
|
1554
|
-
response_types_map=_response_types_map,
|
|
1555
|
-
)
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
@validate_call
|
|
1559
|
-
def rapid_rapid_id_delete_without_preload_content(
|
|
1560
|
-
self,
|
|
1561
|
-
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
1562
|
-
_request_timeout: Union[
|
|
1563
|
-
None,
|
|
1564
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1565
|
-
Tuple[
|
|
1566
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1567
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1568
|
-
]
|
|
1569
|
-
] = None,
|
|
1570
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1571
|
-
_content_type: Optional[StrictStr] = None,
|
|
1572
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1573
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1574
|
-
) -> RESTResponseType:
|
|
1575
|
-
"""Deletes a rapid.
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
:param rapid_id: The rapid to be deleted (required)
|
|
1579
|
-
:type rapid_id: str
|
|
1580
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1581
|
-
number provided, it will be total request
|
|
1582
|
-
timeout. It can also be a pair (tuple) of
|
|
1583
|
-
(connection, read) timeouts.
|
|
1584
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1585
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1586
|
-
request; this effectively ignores the
|
|
1587
|
-
authentication in the spec for a single request.
|
|
1588
|
-
:type _request_auth: dict, optional
|
|
1589
|
-
:param _content_type: force content-type for the request.
|
|
1590
|
-
:type _content_type: str, Optional
|
|
1591
|
-
:param _headers: set to override the headers for a single
|
|
1592
|
-
request; this effectively ignores the headers
|
|
1593
|
-
in the spec for a single request.
|
|
1594
|
-
:type _headers: dict, optional
|
|
1595
|
-
:param _host_index: set to override the host_index for a single
|
|
1596
|
-
request; this effectively ignores the host_index
|
|
1597
|
-
in the spec for a single request.
|
|
1598
|
-
:type _host_index: int, optional
|
|
1599
|
-
:return: Returns the result object.
|
|
1600
|
-
""" # noqa: E501
|
|
1601
|
-
|
|
1602
|
-
_param = self._rapid_rapid_id_delete_serialize(
|
|
1603
|
-
rapid_id=rapid_id,
|
|
1604
|
-
_request_auth=_request_auth,
|
|
1605
|
-
_content_type=_content_type,
|
|
1606
|
-
_headers=_headers,
|
|
1607
|
-
_host_index=_host_index
|
|
1608
|
-
)
|
|
1609
|
-
|
|
1610
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1611
|
-
'204': None,
|
|
1612
|
-
}
|
|
1613
|
-
response_data = self.api_client.call_api(
|
|
1614
|
-
*_param,
|
|
1615
|
-
_request_timeout=_request_timeout
|
|
1616
|
-
)
|
|
1617
|
-
return response_data.response
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
def _rapid_rapid_id_delete_serialize(
|
|
1621
|
-
self,
|
|
1622
|
-
rapid_id,
|
|
1623
|
-
_request_auth,
|
|
1624
|
-
_content_type,
|
|
1625
|
-
_headers,
|
|
1626
|
-
_host_index,
|
|
1627
|
-
) -> RequestSerialized:
|
|
1628
|
-
|
|
1629
|
-
_host = None
|
|
1630
|
-
|
|
1631
|
-
_collection_formats: Dict[str, str] = {
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
|
-
_path_params: Dict[str, str] = {}
|
|
1635
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1636
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1637
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1638
|
-
_files: Dict[
|
|
1639
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1640
|
-
] = {}
|
|
1641
|
-
_body_params: Optional[bytes] = None
|
|
1642
|
-
|
|
1643
|
-
# process the path parameters
|
|
1644
|
-
if rapid_id is not None:
|
|
1645
|
-
_path_params['rapidId'] = rapid_id
|
|
1646
|
-
# process the query parameters
|
|
1647
|
-
# process the header parameters
|
|
1648
|
-
# process the form parameters
|
|
1649
|
-
# process the body parameter
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
# authentication setting
|
|
1655
|
-
_auth_settings: List[str] = [
|
|
1656
|
-
'bearer',
|
|
1657
|
-
'oauth2'
|
|
1658
|
-
]
|
|
1659
|
-
|
|
1660
|
-
return self.api_client.param_serialize(
|
|
1661
|
-
method='DELETE',
|
|
1662
|
-
resource_path='/rapid/{rapidId}',
|
|
1663
|
-
path_params=_path_params,
|
|
1664
|
-
query_params=_query_params,
|
|
1665
|
-
header_params=_header_params,
|
|
1666
|
-
body=_body_params,
|
|
1667
|
-
post_params=_form_params,
|
|
1668
|
-
files=_files,
|
|
1669
|
-
auth_settings=_auth_settings,
|
|
1670
|
-
collection_formats=_collection_formats,
|
|
1671
|
-
_host=_host,
|
|
1672
|
-
_request_auth=_request_auth
|
|
1673
|
-
)
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
@validate_call
|
|
1679
|
-
def rapid_rapid_id_report_post(
|
|
52
|
+
def rapid_demographic_post(
|
|
1680
53
|
self,
|
|
1681
|
-
|
|
1682
|
-
|
|
54
|
+
model: Optional[CreateDemographicRapidModel] = None,
|
|
55
|
+
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1683
56
|
_request_timeout: Union[
|
|
1684
57
|
None,
|
|
1685
58
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1692,14 +65,14 @@ class RapidApi:
|
|
|
1692
65
|
_content_type: Optional[StrictStr] = None,
|
|
1693
66
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1694
67
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1695
|
-
) ->
|
|
1696
|
-
"""
|
|
68
|
+
) -> CreateRapidResult:
|
|
69
|
+
"""Creates a new Demographic Rapid.
|
|
1697
70
|
|
|
1698
71
|
|
|
1699
|
-
:param
|
|
1700
|
-
:type
|
|
1701
|
-
:param
|
|
1702
|
-
:type
|
|
72
|
+
:param model:
|
|
73
|
+
:type model: CreateDemographicRapidModel
|
|
74
|
+
:param file:
|
|
75
|
+
:type file: List[bytearray]
|
|
1703
76
|
:param _request_timeout: timeout setting for this request. If one
|
|
1704
77
|
number provided, it will be total request
|
|
1705
78
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1722,9 +95,9 @@ class RapidApi:
|
|
|
1722
95
|
:return: Returns the result object.
|
|
1723
96
|
""" # noqa: E501
|
|
1724
97
|
|
|
1725
|
-
_param = self.
|
|
1726
|
-
|
|
1727
|
-
|
|
98
|
+
_param = self._rapid_demographic_post_serialize(
|
|
99
|
+
model=model,
|
|
100
|
+
file=file,
|
|
1728
101
|
_request_auth=_request_auth,
|
|
1729
102
|
_content_type=_content_type,
|
|
1730
103
|
_headers=_headers,
|
|
@@ -1732,7 +105,7 @@ class RapidApi:
|
|
|
1732
105
|
)
|
|
1733
106
|
|
|
1734
107
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1735
|
-
'
|
|
108
|
+
'200': "CreateRapidResult",
|
|
1736
109
|
}
|
|
1737
110
|
response_data = self.api_client.call_api(
|
|
1738
111
|
*_param,
|
|
@@ -1746,10 +119,10 @@ class RapidApi:
|
|
|
1746
119
|
|
|
1747
120
|
|
|
1748
121
|
@validate_call
|
|
1749
|
-
def
|
|
122
|
+
def rapid_demographic_post_with_http_info(
|
|
1750
123
|
self,
|
|
1751
|
-
|
|
1752
|
-
|
|
124
|
+
model: Optional[CreateDemographicRapidModel] = None,
|
|
125
|
+
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1753
126
|
_request_timeout: Union[
|
|
1754
127
|
None,
|
|
1755
128
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1762,14 +135,14 @@ class RapidApi:
|
|
|
1762
135
|
_content_type: Optional[StrictStr] = None,
|
|
1763
136
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1764
137
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1765
|
-
) -> ApiResponse[
|
|
1766
|
-
"""
|
|
138
|
+
) -> ApiResponse[CreateRapidResult]:
|
|
139
|
+
"""Creates a new Demographic Rapid.
|
|
1767
140
|
|
|
1768
141
|
|
|
1769
|
-
:param
|
|
1770
|
-
:type
|
|
1771
|
-
:param
|
|
1772
|
-
:type
|
|
142
|
+
:param model:
|
|
143
|
+
:type model: CreateDemographicRapidModel
|
|
144
|
+
:param file:
|
|
145
|
+
:type file: List[bytearray]
|
|
1773
146
|
:param _request_timeout: timeout setting for this request. If one
|
|
1774
147
|
number provided, it will be total request
|
|
1775
148
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1792,9 +165,9 @@ class RapidApi:
|
|
|
1792
165
|
:return: Returns the result object.
|
|
1793
166
|
""" # noqa: E501
|
|
1794
167
|
|
|
1795
|
-
_param = self.
|
|
1796
|
-
|
|
1797
|
-
|
|
168
|
+
_param = self._rapid_demographic_post_serialize(
|
|
169
|
+
model=model,
|
|
170
|
+
file=file,
|
|
1798
171
|
_request_auth=_request_auth,
|
|
1799
172
|
_content_type=_content_type,
|
|
1800
173
|
_headers=_headers,
|
|
@@ -1802,7 +175,7 @@ class RapidApi:
|
|
|
1802
175
|
)
|
|
1803
176
|
|
|
1804
177
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1805
|
-
'
|
|
178
|
+
'200': "CreateRapidResult",
|
|
1806
179
|
}
|
|
1807
180
|
response_data = self.api_client.call_api(
|
|
1808
181
|
*_param,
|
|
@@ -1816,10 +189,10 @@ class RapidApi:
|
|
|
1816
189
|
|
|
1817
190
|
|
|
1818
191
|
@validate_call
|
|
1819
|
-
def
|
|
192
|
+
def rapid_demographic_post_without_preload_content(
|
|
1820
193
|
self,
|
|
1821
|
-
|
|
1822
|
-
|
|
194
|
+
model: Optional[CreateDemographicRapidModel] = None,
|
|
195
|
+
file: Optional[List[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]]] = None,
|
|
1823
196
|
_request_timeout: Union[
|
|
1824
197
|
None,
|
|
1825
198
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1833,13 +206,13 @@ class RapidApi:
|
|
|
1833
206
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1834
207
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1835
208
|
) -> RESTResponseType:
|
|
1836
|
-
"""
|
|
209
|
+
"""Creates a new Demographic Rapid.
|
|
1837
210
|
|
|
1838
211
|
|
|
1839
|
-
:param
|
|
1840
|
-
:type
|
|
1841
|
-
:param
|
|
1842
|
-
:type
|
|
212
|
+
:param model:
|
|
213
|
+
:type model: CreateDemographicRapidModel
|
|
214
|
+
:param file:
|
|
215
|
+
:type file: List[bytearray]
|
|
1843
216
|
:param _request_timeout: timeout setting for this request. If one
|
|
1844
217
|
number provided, it will be total request
|
|
1845
218
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1862,9 +235,9 @@ class RapidApi:
|
|
|
1862
235
|
:return: Returns the result object.
|
|
1863
236
|
""" # noqa: E501
|
|
1864
237
|
|
|
1865
|
-
_param = self.
|
|
1866
|
-
|
|
1867
|
-
|
|
238
|
+
_param = self._rapid_demographic_post_serialize(
|
|
239
|
+
model=model,
|
|
240
|
+
file=file,
|
|
1868
241
|
_request_auth=_request_auth,
|
|
1869
242
|
_content_type=_content_type,
|
|
1870
243
|
_headers=_headers,
|
|
@@ -1872,7 +245,7 @@ class RapidApi:
|
|
|
1872
245
|
)
|
|
1873
246
|
|
|
1874
247
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1875
|
-
'
|
|
248
|
+
'200': "CreateRapidResult",
|
|
1876
249
|
}
|
|
1877
250
|
response_data = self.api_client.call_api(
|
|
1878
251
|
*_param,
|
|
@@ -1881,10 +254,10 @@ class RapidApi:
|
|
|
1881
254
|
return response_data.response
|
|
1882
255
|
|
|
1883
256
|
|
|
1884
|
-
def
|
|
257
|
+
def _rapid_demographic_post_serialize(
|
|
1885
258
|
self,
|
|
1886
|
-
|
|
1887
|
-
|
|
259
|
+
model,
|
|
260
|
+
file,
|
|
1888
261
|
_request_auth,
|
|
1889
262
|
_content_type,
|
|
1890
263
|
_headers,
|
|
@@ -1894,6 +267,7 @@ class RapidApi:
|
|
|
1894
267
|
_host = None
|
|
1895
268
|
|
|
1896
269
|
_collection_formats: Dict[str, str] = {
|
|
270
|
+
'file': 'multi',
|
|
1897
271
|
}
|
|
1898
272
|
|
|
1899
273
|
_path_params: Dict[str, str] = {}
|
|
@@ -1906,16 +280,25 @@ class RapidApi:
|
|
|
1906
280
|
_body_params: Optional[bytes] = None
|
|
1907
281
|
|
|
1908
282
|
# process the path parameters
|
|
1909
|
-
if rapid_id is not None:
|
|
1910
|
-
_path_params['rapidId'] = rapid_id
|
|
1911
283
|
# process the query parameters
|
|
1912
284
|
# process the header parameters
|
|
1913
285
|
# process the form parameters
|
|
286
|
+
if model is not None:
|
|
287
|
+
_form_params.append(('model', model))
|
|
288
|
+
if file is not None:
|
|
289
|
+
_files['file'] = file
|
|
1914
290
|
# process the body parameter
|
|
1915
|
-
if report_model is not None:
|
|
1916
|
-
_body_params = report_model
|
|
1917
291
|
|
|
1918
292
|
|
|
293
|
+
# set the HTTP header `Accept`
|
|
294
|
+
if 'Accept' not in _header_params:
|
|
295
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
296
|
+
[
|
|
297
|
+
'text/plain',
|
|
298
|
+
'application/json',
|
|
299
|
+
'text/json'
|
|
300
|
+
]
|
|
301
|
+
)
|
|
1919
302
|
|
|
1920
303
|
# set the HTTP header `Content-Type`
|
|
1921
304
|
if _content_type:
|
|
@@ -1924,9 +307,7 @@ class RapidApi:
|
|
|
1924
307
|
_default_content_type = (
|
|
1925
308
|
self.api_client.select_header_content_type(
|
|
1926
309
|
[
|
|
1927
|
-
'
|
|
1928
|
-
'text/json',
|
|
1929
|
-
'application/*+json'
|
|
310
|
+
'multipart/form-data'
|
|
1930
311
|
]
|
|
1931
312
|
)
|
|
1932
313
|
)
|
|
@@ -1941,7 +322,7 @@ class RapidApi:
|
|
|
1941
322
|
|
|
1942
323
|
return self.api_client.param_serialize(
|
|
1943
324
|
method='POST',
|
|
1944
|
-
resource_path='/rapid/
|
|
325
|
+
resource_path='/rapid/demographic',
|
|
1945
326
|
path_params=_path_params,
|
|
1946
327
|
query_params=_query_params,
|
|
1947
328
|
header_params=_header_params,
|
|
@@ -1958,9 +339,8 @@ class RapidApi:
|
|
|
1958
339
|
|
|
1959
340
|
|
|
1960
341
|
@validate_call
|
|
1961
|
-
def
|
|
342
|
+
def rapid_rapid_bag_is_valid_get(
|
|
1962
343
|
self,
|
|
1963
|
-
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
1964
344
|
_request_timeout: Union[
|
|
1965
345
|
None,
|
|
1966
346
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1973,12 +353,10 @@ class RapidApi:
|
|
|
1973
353
|
_content_type: Optional[StrictStr] = None,
|
|
1974
354
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1975
355
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1976
|
-
) ->
|
|
1977
|
-
"""
|
|
356
|
+
) -> AreRapidsActiveResult:
|
|
357
|
+
"""Validates that the rapids associated with the current user are active.
|
|
1978
358
|
|
|
1979
359
|
|
|
1980
|
-
:param rapid_id: The rapid to get the responses for. (required)
|
|
1981
|
-
:type rapid_id: str
|
|
1982
360
|
:param _request_timeout: timeout setting for this request. If one
|
|
1983
361
|
number provided, it will be total request
|
|
1984
362
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2001,8 +379,7 @@ class RapidApi:
|
|
|
2001
379
|
:return: Returns the result object.
|
|
2002
380
|
""" # noqa: E501
|
|
2003
381
|
|
|
2004
|
-
_param = self.
|
|
2005
|
-
rapid_id=rapid_id,
|
|
382
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
2006
383
|
_request_auth=_request_auth,
|
|
2007
384
|
_content_type=_content_type,
|
|
2008
385
|
_headers=_headers,
|
|
@@ -2010,7 +387,7 @@ class RapidApi:
|
|
|
2010
387
|
)
|
|
2011
388
|
|
|
2012
389
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2013
|
-
'200': "
|
|
390
|
+
'200': "AreRapidsActiveResult",
|
|
2014
391
|
}
|
|
2015
392
|
response_data = self.api_client.call_api(
|
|
2016
393
|
*_param,
|
|
@@ -2024,9 +401,8 @@ class RapidApi:
|
|
|
2024
401
|
|
|
2025
402
|
|
|
2026
403
|
@validate_call
|
|
2027
|
-
def
|
|
404
|
+
def rapid_rapid_bag_is_valid_get_with_http_info(
|
|
2028
405
|
self,
|
|
2029
|
-
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
2030
406
|
_request_timeout: Union[
|
|
2031
407
|
None,
|
|
2032
408
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2039,12 +415,10 @@ class RapidApi:
|
|
|
2039
415
|
_content_type: Optional[StrictStr] = None,
|
|
2040
416
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2041
417
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2042
|
-
) -> ApiResponse[
|
|
2043
|
-
"""
|
|
418
|
+
) -> ApiResponse[AreRapidsActiveResult]:
|
|
419
|
+
"""Validates that the rapids associated with the current user are active.
|
|
2044
420
|
|
|
2045
421
|
|
|
2046
|
-
:param rapid_id: The rapid to get the responses for. (required)
|
|
2047
|
-
:type rapid_id: str
|
|
2048
422
|
:param _request_timeout: timeout setting for this request. If one
|
|
2049
423
|
number provided, it will be total request
|
|
2050
424
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2067,8 +441,7 @@ class RapidApi:
|
|
|
2067
441
|
:return: Returns the result object.
|
|
2068
442
|
""" # noqa: E501
|
|
2069
443
|
|
|
2070
|
-
_param = self.
|
|
2071
|
-
rapid_id=rapid_id,
|
|
444
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
2072
445
|
_request_auth=_request_auth,
|
|
2073
446
|
_content_type=_content_type,
|
|
2074
447
|
_headers=_headers,
|
|
@@ -2076,7 +449,7 @@ class RapidApi:
|
|
|
2076
449
|
)
|
|
2077
450
|
|
|
2078
451
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2079
|
-
'200': "
|
|
452
|
+
'200': "AreRapidsActiveResult",
|
|
2080
453
|
}
|
|
2081
454
|
response_data = self.api_client.call_api(
|
|
2082
455
|
*_param,
|
|
@@ -2090,9 +463,8 @@ class RapidApi:
|
|
|
2090
463
|
|
|
2091
464
|
|
|
2092
465
|
@validate_call
|
|
2093
|
-
def
|
|
466
|
+
def rapid_rapid_bag_is_valid_get_without_preload_content(
|
|
2094
467
|
self,
|
|
2095
|
-
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
2096
468
|
_request_timeout: Union[
|
|
2097
469
|
None,
|
|
2098
470
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2106,11 +478,9 @@ class RapidApi:
|
|
|
2106
478
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2107
479
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2108
480
|
) -> RESTResponseType:
|
|
2109
|
-
"""
|
|
481
|
+
"""Validates that the rapids associated with the current user are active.
|
|
2110
482
|
|
|
2111
483
|
|
|
2112
|
-
:param rapid_id: The rapid to get the responses for. (required)
|
|
2113
|
-
:type rapid_id: str
|
|
2114
484
|
:param _request_timeout: timeout setting for this request. If one
|
|
2115
485
|
number provided, it will be total request
|
|
2116
486
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2133,8 +503,7 @@ class RapidApi:
|
|
|
2133
503
|
:return: Returns the result object.
|
|
2134
504
|
""" # noqa: E501
|
|
2135
505
|
|
|
2136
|
-
_param = self.
|
|
2137
|
-
rapid_id=rapid_id,
|
|
506
|
+
_param = self._rapid_rapid_bag_is_valid_get_serialize(
|
|
2138
507
|
_request_auth=_request_auth,
|
|
2139
508
|
_content_type=_content_type,
|
|
2140
509
|
_headers=_headers,
|
|
@@ -2142,7 +511,7 @@ class RapidApi:
|
|
|
2142
511
|
)
|
|
2143
512
|
|
|
2144
513
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2145
|
-
'200': "
|
|
514
|
+
'200': "AreRapidsActiveResult",
|
|
2146
515
|
}
|
|
2147
516
|
response_data = self.api_client.call_api(
|
|
2148
517
|
*_param,
|
|
@@ -2151,9 +520,8 @@ class RapidApi:
|
|
|
2151
520
|
return response_data.response
|
|
2152
521
|
|
|
2153
522
|
|
|
2154
|
-
def
|
|
523
|
+
def _rapid_rapid_bag_is_valid_get_serialize(
|
|
2155
524
|
self,
|
|
2156
|
-
rapid_id,
|
|
2157
525
|
_request_auth,
|
|
2158
526
|
_content_type,
|
|
2159
527
|
_headers,
|
|
@@ -2175,8 +543,6 @@ class RapidApi:
|
|
|
2175
543
|
_body_params: Optional[bytes] = None
|
|
2176
544
|
|
|
2177
545
|
# process the path parameters
|
|
2178
|
-
if rapid_id is not None:
|
|
2179
|
-
_path_params['rapidId'] = rapid_id
|
|
2180
546
|
# process the query parameters
|
|
2181
547
|
# process the header parameters
|
|
2182
548
|
# process the form parameters
|
|
@@ -2202,7 +568,7 @@ class RapidApi:
|
|
|
2202
568
|
|
|
2203
569
|
return self.api_client.param_serialize(
|
|
2204
570
|
method='GET',
|
|
2205
|
-
resource_path='/rapid/
|
|
571
|
+
resource_path='/rapid/rapid-bag/is-valid',
|
|
2206
572
|
path_params=_path_params,
|
|
2207
573
|
query_params=_query_params,
|
|
2208
574
|
header_params=_header_params,
|
|
@@ -2219,9 +585,9 @@ class RapidApi:
|
|
|
2219
585
|
|
|
2220
586
|
|
|
2221
587
|
@validate_call
|
|
2222
|
-
def
|
|
588
|
+
def rapid_rapid_id_delete(
|
|
2223
589
|
self,
|
|
2224
|
-
|
|
590
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
2225
591
|
_request_timeout: Union[
|
|
2226
592
|
None,
|
|
2227
593
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2234,12 +600,12 @@ class RapidApi:
|
|
|
2234
600
|
_content_type: Optional[StrictStr] = None,
|
|
2235
601
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2236
602
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2237
|
-
) ->
|
|
2238
|
-
"""
|
|
603
|
+
) -> None:
|
|
604
|
+
"""Deletes a rapid.
|
|
2239
605
|
|
|
2240
606
|
|
|
2241
|
-
:param
|
|
2242
|
-
:type
|
|
607
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
608
|
+
:type rapid_id: str
|
|
2243
609
|
:param _request_timeout: timeout setting for this request. If one
|
|
2244
610
|
number provided, it will be total request
|
|
2245
611
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2262,8 +628,8 @@ class RapidApi:
|
|
|
2262
628
|
:return: Returns the result object.
|
|
2263
629
|
""" # noqa: E501
|
|
2264
630
|
|
|
2265
|
-
_param = self.
|
|
2266
|
-
|
|
631
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
632
|
+
rapid_id=rapid_id,
|
|
2267
633
|
_request_auth=_request_auth,
|
|
2268
634
|
_content_type=_content_type,
|
|
2269
635
|
_headers=_headers,
|
|
@@ -2271,7 +637,7 @@ class RapidApi:
|
|
|
2271
637
|
)
|
|
2272
638
|
|
|
2273
639
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2274
|
-
'
|
|
640
|
+
'204': None,
|
|
2275
641
|
}
|
|
2276
642
|
response_data = self.api_client.call_api(
|
|
2277
643
|
*_param,
|
|
@@ -2285,9 +651,9 @@ class RapidApi:
|
|
|
2285
651
|
|
|
2286
652
|
|
|
2287
653
|
@validate_call
|
|
2288
|
-
def
|
|
654
|
+
def rapid_rapid_id_delete_with_http_info(
|
|
2289
655
|
self,
|
|
2290
|
-
|
|
656
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
2291
657
|
_request_timeout: Union[
|
|
2292
658
|
None,
|
|
2293
659
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2300,12 +666,12 @@ class RapidApi:
|
|
|
2300
666
|
_content_type: Optional[StrictStr] = None,
|
|
2301
667
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2302
668
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2303
|
-
) -> ApiResponse[
|
|
2304
|
-
"""
|
|
669
|
+
) -> ApiResponse[None]:
|
|
670
|
+
"""Deletes a rapid.
|
|
2305
671
|
|
|
2306
672
|
|
|
2307
|
-
:param
|
|
2308
|
-
:type
|
|
673
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
674
|
+
:type rapid_id: str
|
|
2309
675
|
:param _request_timeout: timeout setting for this request. If one
|
|
2310
676
|
number provided, it will be total request
|
|
2311
677
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2328,8 +694,8 @@ class RapidApi:
|
|
|
2328
694
|
:return: Returns the result object.
|
|
2329
695
|
""" # noqa: E501
|
|
2330
696
|
|
|
2331
|
-
_param = self.
|
|
2332
|
-
|
|
697
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
698
|
+
rapid_id=rapid_id,
|
|
2333
699
|
_request_auth=_request_auth,
|
|
2334
700
|
_content_type=_content_type,
|
|
2335
701
|
_headers=_headers,
|
|
@@ -2337,7 +703,7 @@ class RapidApi:
|
|
|
2337
703
|
)
|
|
2338
704
|
|
|
2339
705
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2340
|
-
'
|
|
706
|
+
'204': None,
|
|
2341
707
|
}
|
|
2342
708
|
response_data = self.api_client.call_api(
|
|
2343
709
|
*_param,
|
|
@@ -2351,9 +717,9 @@ class RapidApi:
|
|
|
2351
717
|
|
|
2352
718
|
|
|
2353
719
|
@validate_call
|
|
2354
|
-
def
|
|
720
|
+
def rapid_rapid_id_delete_without_preload_content(
|
|
2355
721
|
self,
|
|
2356
|
-
|
|
722
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to be deleted")],
|
|
2357
723
|
_request_timeout: Union[
|
|
2358
724
|
None,
|
|
2359
725
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2367,11 +733,11 @@ class RapidApi:
|
|
|
2367
733
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2368
734
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2369
735
|
) -> RESTResponseType:
|
|
2370
|
-
"""
|
|
736
|
+
"""Deletes a rapid.
|
|
2371
737
|
|
|
2372
738
|
|
|
2373
|
-
:param
|
|
2374
|
-
:type
|
|
739
|
+
:param rapid_id: The rapid to be deleted (required)
|
|
740
|
+
:type rapid_id: str
|
|
2375
741
|
:param _request_timeout: timeout setting for this request. If one
|
|
2376
742
|
number provided, it will be total request
|
|
2377
743
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2394,8 +760,8 @@ class RapidApi:
|
|
|
2394
760
|
:return: Returns the result object.
|
|
2395
761
|
""" # noqa: E501
|
|
2396
762
|
|
|
2397
|
-
_param = self.
|
|
2398
|
-
|
|
763
|
+
_param = self._rapid_rapid_id_delete_serialize(
|
|
764
|
+
rapid_id=rapid_id,
|
|
2399
765
|
_request_auth=_request_auth,
|
|
2400
766
|
_content_type=_content_type,
|
|
2401
767
|
_headers=_headers,
|
|
@@ -2403,7 +769,7 @@ class RapidApi:
|
|
|
2403
769
|
)
|
|
2404
770
|
|
|
2405
771
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2406
|
-
'
|
|
772
|
+
'204': None,
|
|
2407
773
|
}
|
|
2408
774
|
response_data = self.api_client.call_api(
|
|
2409
775
|
*_param,
|
|
@@ -2412,9 +778,9 @@ class RapidApi:
|
|
|
2412
778
|
return response_data.response
|
|
2413
779
|
|
|
2414
780
|
|
|
2415
|
-
def
|
|
781
|
+
def _rapid_rapid_id_delete_serialize(
|
|
2416
782
|
self,
|
|
2417
|
-
|
|
783
|
+
rapid_id,
|
|
2418
784
|
_request_auth,
|
|
2419
785
|
_content_type,
|
|
2420
786
|
_headers,
|
|
@@ -2436,23 +802,14 @@ class RapidApi:
|
|
|
2436
802
|
_body_params: Optional[bytes] = None
|
|
2437
803
|
|
|
2438
804
|
# process the path parameters
|
|
2439
|
-
if
|
|
2440
|
-
_path_params['
|
|
805
|
+
if rapid_id is not None:
|
|
806
|
+
_path_params['rapidId'] = rapid_id
|
|
2441
807
|
# process the query parameters
|
|
2442
808
|
# process the header parameters
|
|
2443
809
|
# process the form parameters
|
|
2444
810
|
# process the body parameter
|
|
2445
811
|
|
|
2446
812
|
|
|
2447
|
-
# set the HTTP header `Accept`
|
|
2448
|
-
if 'Accept' not in _header_params:
|
|
2449
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2450
|
-
[
|
|
2451
|
-
'text/plain',
|
|
2452
|
-
'application/json',
|
|
2453
|
-
'text/json'
|
|
2454
|
-
]
|
|
2455
|
-
)
|
|
2456
813
|
|
|
2457
814
|
|
|
2458
815
|
# authentication setting
|
|
@@ -2462,8 +819,8 @@ class RapidApi:
|
|
|
2462
819
|
]
|
|
2463
820
|
|
|
2464
821
|
return self.api_client.param_serialize(
|
|
2465
|
-
method='
|
|
2466
|
-
resource_path='/rapid/
|
|
822
|
+
method='DELETE',
|
|
823
|
+
resource_path='/rapid/{rapidId}',
|
|
2467
824
|
path_params=_path_params,
|
|
2468
825
|
query_params=_query_params,
|
|
2469
826
|
header_params=_header_params,
|
|
@@ -2480,9 +837,10 @@ class RapidApi:
|
|
|
2480
837
|
|
|
2481
838
|
|
|
2482
839
|
@validate_call
|
|
2483
|
-
def
|
|
840
|
+
def rapid_rapid_id_report_post(
|
|
2484
841
|
self,
|
|
2485
|
-
|
|
842
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
843
|
+
report_model: Annotated[Optional[ReportModel], Field(description="The body request.")] = None,
|
|
2486
844
|
_request_timeout: Union[
|
|
2487
845
|
None,
|
|
2488
846
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2495,12 +853,14 @@ class RapidApi:
|
|
|
2495
853
|
_content_type: Optional[StrictStr] = None,
|
|
2496
854
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2497
855
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2498
|
-
) ->
|
|
2499
|
-
"""
|
|
856
|
+
) -> None:
|
|
857
|
+
"""Used to report an issue with a rapid.
|
|
2500
858
|
|
|
2501
859
|
|
|
2502
|
-
:param
|
|
2503
|
-
:type
|
|
860
|
+
:param rapid_id: The rapid to report. (required)
|
|
861
|
+
:type rapid_id: str
|
|
862
|
+
:param report_model: The body request.
|
|
863
|
+
:type report_model: ReportModel
|
|
2504
864
|
:param _request_timeout: timeout setting for this request. If one
|
|
2505
865
|
number provided, it will be total request
|
|
2506
866
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2523,8 +883,9 @@ class RapidApi:
|
|
|
2523
883
|
:return: Returns the result object.
|
|
2524
884
|
""" # noqa: E501
|
|
2525
885
|
|
|
2526
|
-
_param = self.
|
|
2527
|
-
|
|
886
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
887
|
+
rapid_id=rapid_id,
|
|
888
|
+
report_model=report_model,
|
|
2528
889
|
_request_auth=_request_auth,
|
|
2529
890
|
_content_type=_content_type,
|
|
2530
891
|
_headers=_headers,
|
|
@@ -2532,7 +893,7 @@ class RapidApi:
|
|
|
2532
893
|
)
|
|
2533
894
|
|
|
2534
895
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2535
|
-
'
|
|
896
|
+
'204': None,
|
|
2536
897
|
}
|
|
2537
898
|
response_data = self.api_client.call_api(
|
|
2538
899
|
*_param,
|
|
@@ -2546,9 +907,10 @@ class RapidApi:
|
|
|
2546
907
|
|
|
2547
908
|
|
|
2548
909
|
@validate_call
|
|
2549
|
-
def
|
|
910
|
+
def rapid_rapid_id_report_post_with_http_info(
|
|
2550
911
|
self,
|
|
2551
|
-
|
|
912
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
913
|
+
report_model: Annotated[Optional[ReportModel], Field(description="The body request.")] = None,
|
|
2552
914
|
_request_timeout: Union[
|
|
2553
915
|
None,
|
|
2554
916
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2561,12 +923,14 @@ class RapidApi:
|
|
|
2561
923
|
_content_type: Optional[StrictStr] = None,
|
|
2562
924
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2563
925
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2564
|
-
) -> ApiResponse[
|
|
2565
|
-
"""
|
|
926
|
+
) -> ApiResponse[None]:
|
|
927
|
+
"""Used to report an issue with a rapid.
|
|
2566
928
|
|
|
2567
929
|
|
|
2568
|
-
:param
|
|
2569
|
-
:type
|
|
930
|
+
:param rapid_id: The rapid to report. (required)
|
|
931
|
+
:type rapid_id: str
|
|
932
|
+
:param report_model: The body request.
|
|
933
|
+
:type report_model: ReportModel
|
|
2570
934
|
:param _request_timeout: timeout setting for this request. If one
|
|
2571
935
|
number provided, it will be total request
|
|
2572
936
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2589,8 +953,9 @@ class RapidApi:
|
|
|
2589
953
|
:return: Returns the result object.
|
|
2590
954
|
""" # noqa: E501
|
|
2591
955
|
|
|
2592
|
-
_param = self.
|
|
2593
|
-
|
|
956
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
957
|
+
rapid_id=rapid_id,
|
|
958
|
+
report_model=report_model,
|
|
2594
959
|
_request_auth=_request_auth,
|
|
2595
960
|
_content_type=_content_type,
|
|
2596
961
|
_headers=_headers,
|
|
@@ -2598,7 +963,7 @@ class RapidApi:
|
|
|
2598
963
|
)
|
|
2599
964
|
|
|
2600
965
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2601
|
-
'
|
|
966
|
+
'204': None,
|
|
2602
967
|
}
|
|
2603
968
|
response_data = self.api_client.call_api(
|
|
2604
969
|
*_param,
|
|
@@ -2612,9 +977,10 @@ class RapidApi:
|
|
|
2612
977
|
|
|
2613
978
|
|
|
2614
979
|
@validate_call
|
|
2615
|
-
def
|
|
980
|
+
def rapid_rapid_id_report_post_without_preload_content(
|
|
2616
981
|
self,
|
|
2617
|
-
|
|
982
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to report.")],
|
|
983
|
+
report_model: Annotated[Optional[ReportModel], Field(description="The body request.")] = None,
|
|
2618
984
|
_request_timeout: Union[
|
|
2619
985
|
None,
|
|
2620
986
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2628,11 +994,13 @@ class RapidApi:
|
|
|
2628
994
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2629
995
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2630
996
|
) -> RESTResponseType:
|
|
2631
|
-
"""
|
|
997
|
+
"""Used to report an issue with a rapid.
|
|
2632
998
|
|
|
2633
999
|
|
|
2634
|
-
:param
|
|
2635
|
-
:type
|
|
1000
|
+
:param rapid_id: The rapid to report. (required)
|
|
1001
|
+
:type rapid_id: str
|
|
1002
|
+
:param report_model: The body request.
|
|
1003
|
+
:type report_model: ReportModel
|
|
2636
1004
|
:param _request_timeout: timeout setting for this request. If one
|
|
2637
1005
|
number provided, it will be total request
|
|
2638
1006
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2655,8 +1023,9 @@ class RapidApi:
|
|
|
2655
1023
|
:return: Returns the result object.
|
|
2656
1024
|
""" # noqa: E501
|
|
2657
1025
|
|
|
2658
|
-
_param = self.
|
|
2659
|
-
|
|
1026
|
+
_param = self._rapid_rapid_id_report_post_serialize(
|
|
1027
|
+
rapid_id=rapid_id,
|
|
1028
|
+
report_model=report_model,
|
|
2660
1029
|
_request_auth=_request_auth,
|
|
2661
1030
|
_content_type=_content_type,
|
|
2662
1031
|
_headers=_headers,
|
|
@@ -2664,7 +1033,7 @@ class RapidApi:
|
|
|
2664
1033
|
)
|
|
2665
1034
|
|
|
2666
1035
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2667
|
-
'
|
|
1036
|
+
'204': None,
|
|
2668
1037
|
}
|
|
2669
1038
|
response_data = self.api_client.call_api(
|
|
2670
1039
|
*_param,
|
|
@@ -2673,9 +1042,10 @@ class RapidApi:
|
|
|
2673
1042
|
return response_data.response
|
|
2674
1043
|
|
|
2675
1044
|
|
|
2676
|
-
def
|
|
1045
|
+
def _rapid_rapid_id_report_post_serialize(
|
|
2677
1046
|
self,
|
|
2678
|
-
|
|
1047
|
+
rapid_id,
|
|
1048
|
+
report_model,
|
|
2679
1049
|
_request_auth,
|
|
2680
1050
|
_content_type,
|
|
2681
1051
|
_headers,
|
|
@@ -2697,23 +1067,16 @@ class RapidApi:
|
|
|
2697
1067
|
_body_params: Optional[bytes] = None
|
|
2698
1068
|
|
|
2699
1069
|
# process the path parameters
|
|
1070
|
+
if rapid_id is not None:
|
|
1071
|
+
_path_params['rapidId'] = rapid_id
|
|
2700
1072
|
# process the query parameters
|
|
2701
1073
|
# process the header parameters
|
|
2702
1074
|
# process the form parameters
|
|
2703
1075
|
# process the body parameter
|
|
2704
|
-
if
|
|
2705
|
-
_body_params =
|
|
1076
|
+
if report_model is not None:
|
|
1077
|
+
_body_params = report_model
|
|
2706
1078
|
|
|
2707
1079
|
|
|
2708
|
-
# set the HTTP header `Accept`
|
|
2709
|
-
if 'Accept' not in _header_params:
|
|
2710
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2711
|
-
[
|
|
2712
|
-
'text/plain',
|
|
2713
|
-
'application/json',
|
|
2714
|
-
'text/json'
|
|
2715
|
-
]
|
|
2716
|
-
)
|
|
2717
1080
|
|
|
2718
1081
|
# set the HTTP header `Content-Type`
|
|
2719
1082
|
if _content_type:
|
|
@@ -2739,7 +1102,7 @@ class RapidApi:
|
|
|
2739
1102
|
|
|
2740
1103
|
return self.api_client.param_serialize(
|
|
2741
1104
|
method='POST',
|
|
2742
|
-
resource_path='/rapid/
|
|
1105
|
+
resource_path='/rapid/{rapidId}/report',
|
|
2743
1106
|
path_params=_path_params,
|
|
2744
1107
|
query_params=_query_params,
|
|
2745
1108
|
header_params=_header_params,
|
|
@@ -2756,9 +1119,9 @@ class RapidApi:
|
|
|
2756
1119
|
|
|
2757
1120
|
|
|
2758
1121
|
@validate_call
|
|
2759
|
-
def
|
|
1122
|
+
def rapid_rapid_id_responses_get(
|
|
2760
1123
|
self,
|
|
2761
|
-
|
|
1124
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
2762
1125
|
_request_timeout: Union[
|
|
2763
1126
|
None,
|
|
2764
1127
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2771,12 +1134,12 @@ class RapidApi:
|
|
|
2771
1134
|
_content_type: Optional[StrictStr] = None,
|
|
2772
1135
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2773
1136
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2774
|
-
) ->
|
|
2775
|
-
"""
|
|
1137
|
+
) -> GetRapidResponsesResult:
|
|
1138
|
+
"""Gets all responses for a given rapid.
|
|
2776
1139
|
|
|
2777
1140
|
|
|
2778
|
-
:param
|
|
2779
|
-
:type
|
|
1141
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1142
|
+
:type rapid_id: str
|
|
2780
1143
|
:param _request_timeout: timeout setting for this request. If one
|
|
2781
1144
|
number provided, it will be total request
|
|
2782
1145
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2799,8 +1162,8 @@ class RapidApi:
|
|
|
2799
1162
|
:return: Returns the result object.
|
|
2800
1163
|
""" # noqa: E501
|
|
2801
1164
|
|
|
2802
|
-
_param = self.
|
|
2803
|
-
|
|
1165
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1166
|
+
rapid_id=rapid_id,
|
|
2804
1167
|
_request_auth=_request_auth,
|
|
2805
1168
|
_content_type=_content_type,
|
|
2806
1169
|
_headers=_headers,
|
|
@@ -2808,7 +1171,7 @@ class RapidApi:
|
|
|
2808
1171
|
)
|
|
2809
1172
|
|
|
2810
1173
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2811
|
-
'200': "
|
|
1174
|
+
'200': "GetRapidResponsesResult",
|
|
2812
1175
|
}
|
|
2813
1176
|
response_data = self.api_client.call_api(
|
|
2814
1177
|
*_param,
|
|
@@ -2822,9 +1185,9 @@ class RapidApi:
|
|
|
2822
1185
|
|
|
2823
1186
|
|
|
2824
1187
|
@validate_call
|
|
2825
|
-
def
|
|
1188
|
+
def rapid_rapid_id_responses_get_with_http_info(
|
|
2826
1189
|
self,
|
|
2827
|
-
|
|
1190
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
2828
1191
|
_request_timeout: Union[
|
|
2829
1192
|
None,
|
|
2830
1193
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2837,12 +1200,12 @@ class RapidApi:
|
|
|
2837
1200
|
_content_type: Optional[StrictStr] = None,
|
|
2838
1201
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2839
1202
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2840
|
-
) -> ApiResponse[
|
|
2841
|
-
"""
|
|
1203
|
+
) -> ApiResponse[GetRapidResponsesResult]:
|
|
1204
|
+
"""Gets all responses for a given rapid.
|
|
2842
1205
|
|
|
2843
1206
|
|
|
2844
|
-
:param
|
|
2845
|
-
:type
|
|
1207
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1208
|
+
:type rapid_id: str
|
|
2846
1209
|
:param _request_timeout: timeout setting for this request. If one
|
|
2847
1210
|
number provided, it will be total request
|
|
2848
1211
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2865,8 +1228,8 @@ class RapidApi:
|
|
|
2865
1228
|
:return: Returns the result object.
|
|
2866
1229
|
""" # noqa: E501
|
|
2867
1230
|
|
|
2868
|
-
_param = self.
|
|
2869
|
-
|
|
1231
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1232
|
+
rapid_id=rapid_id,
|
|
2870
1233
|
_request_auth=_request_auth,
|
|
2871
1234
|
_content_type=_content_type,
|
|
2872
1235
|
_headers=_headers,
|
|
@@ -2874,7 +1237,7 @@ class RapidApi:
|
|
|
2874
1237
|
)
|
|
2875
1238
|
|
|
2876
1239
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2877
|
-
'200': "
|
|
1240
|
+
'200': "GetRapidResponsesResult",
|
|
2878
1241
|
}
|
|
2879
1242
|
response_data = self.api_client.call_api(
|
|
2880
1243
|
*_param,
|
|
@@ -2888,9 +1251,9 @@ class RapidApi:
|
|
|
2888
1251
|
|
|
2889
1252
|
|
|
2890
1253
|
@validate_call
|
|
2891
|
-
def
|
|
1254
|
+
def rapid_rapid_id_responses_get_without_preload_content(
|
|
2892
1255
|
self,
|
|
2893
|
-
|
|
1256
|
+
rapid_id: Annotated[StrictStr, Field(description="The rapid to get the responses for.")],
|
|
2894
1257
|
_request_timeout: Union[
|
|
2895
1258
|
None,
|
|
2896
1259
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2904,11 +1267,11 @@ class RapidApi:
|
|
|
2904
1267
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2905
1268
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2906
1269
|
) -> RESTResponseType:
|
|
2907
|
-
"""
|
|
1270
|
+
"""Gets all responses for a given rapid.
|
|
2908
1271
|
|
|
2909
1272
|
|
|
2910
|
-
:param
|
|
2911
|
-
:type
|
|
1273
|
+
:param rapid_id: The rapid to get the responses for. (required)
|
|
1274
|
+
:type rapid_id: str
|
|
2912
1275
|
:param _request_timeout: timeout setting for this request. If one
|
|
2913
1276
|
number provided, it will be total request
|
|
2914
1277
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2931,8 +1294,8 @@ class RapidApi:
|
|
|
2931
1294
|
:return: Returns the result object.
|
|
2932
1295
|
""" # noqa: E501
|
|
2933
1296
|
|
|
2934
|
-
_param = self.
|
|
2935
|
-
|
|
1297
|
+
_param = self._rapid_rapid_id_responses_get_serialize(
|
|
1298
|
+
rapid_id=rapid_id,
|
|
2936
1299
|
_request_auth=_request_auth,
|
|
2937
1300
|
_content_type=_content_type,
|
|
2938
1301
|
_headers=_headers,
|
|
@@ -2940,7 +1303,7 @@ class RapidApi:
|
|
|
2940
1303
|
)
|
|
2941
1304
|
|
|
2942
1305
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2943
|
-
'200': "
|
|
1306
|
+
'200': "GetRapidResponsesResult",
|
|
2944
1307
|
}
|
|
2945
1308
|
response_data = self.api_client.call_api(
|
|
2946
1309
|
*_param,
|
|
@@ -2949,9 +1312,9 @@ class RapidApi:
|
|
|
2949
1312
|
return response_data.response
|
|
2950
1313
|
|
|
2951
1314
|
|
|
2952
|
-
def
|
|
1315
|
+
def _rapid_rapid_id_responses_get_serialize(
|
|
2953
1316
|
self,
|
|
2954
|
-
|
|
1317
|
+
rapid_id,
|
|
2955
1318
|
_request_auth,
|
|
2956
1319
|
_content_type,
|
|
2957
1320
|
_headers,
|
|
@@ -2973,39 +1336,24 @@ class RapidApi:
|
|
|
2973
1336
|
_body_params: Optional[bytes] = None
|
|
2974
1337
|
|
|
2975
1338
|
# process the path parameters
|
|
1339
|
+
if rapid_id is not None:
|
|
1340
|
+
_path_params['rapidId'] = rapid_id
|
|
2976
1341
|
# process the query parameters
|
|
2977
1342
|
# process the header parameters
|
|
2978
1343
|
# process the form parameters
|
|
2979
1344
|
# process the body parameter
|
|
2980
|
-
if rapid_skipped_model is not None:
|
|
2981
|
-
_body_params = rapid_skipped_model
|
|
2982
1345
|
|
|
2983
1346
|
|
|
2984
1347
|
# set the HTTP header `Accept`
|
|
2985
1348
|
if 'Accept' not in _header_params:
|
|
2986
1349
|
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2987
|
-
[
|
|
2988
|
-
'text/plain',
|
|
2989
|
-
'application/json',
|
|
2990
|
-
'text/json'
|
|
2991
|
-
]
|
|
2992
|
-
)
|
|
2993
|
-
|
|
2994
|
-
# set the HTTP header `Content-Type`
|
|
2995
|
-
if _content_type:
|
|
2996
|
-
_header_params['Content-Type'] = _content_type
|
|
2997
|
-
else:
|
|
2998
|
-
_default_content_type = (
|
|
2999
|
-
self.api_client.select_header_content_type(
|
|
3000
|
-
[
|
|
3001
|
-
'application/json',
|
|
3002
|
-
'text/json',
|
|
3003
|
-
'application/*+json'
|
|
3004
|
-
]
|
|
3005
|
-
)
|
|
1350
|
+
[
|
|
1351
|
+
'text/plain',
|
|
1352
|
+
'application/json',
|
|
1353
|
+
'text/json'
|
|
1354
|
+
]
|
|
3006
1355
|
)
|
|
3007
|
-
|
|
3008
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1356
|
+
|
|
3009
1357
|
|
|
3010
1358
|
# authentication setting
|
|
3011
1359
|
_auth_settings: List[str] = [
|
|
@@ -3014,8 +1362,8 @@ class RapidApi:
|
|
|
3014
1362
|
]
|
|
3015
1363
|
|
|
3016
1364
|
return self.api_client.param_serialize(
|
|
3017
|
-
method='
|
|
3018
|
-
resource_path='/rapid/
|
|
1365
|
+
method='GET',
|
|
1366
|
+
resource_path='/rapid/{rapidId}/responses',
|
|
3019
1367
|
path_params=_path_params,
|
|
3020
1368
|
query_params=_query_params,
|
|
3021
1369
|
header_params=_header_params,
|
|
@@ -3032,9 +1380,9 @@ class RapidApi:
|
|
|
3032
1380
|
|
|
3033
1381
|
|
|
3034
1382
|
@validate_call
|
|
3035
|
-
def
|
|
1383
|
+
def rapid_report_report_id_get(
|
|
3036
1384
|
self,
|
|
3037
|
-
|
|
1385
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
3038
1386
|
_request_timeout: Union[
|
|
3039
1387
|
None,
|
|
3040
1388
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3047,12 +1395,12 @@ class RapidApi:
|
|
|
3047
1395
|
_content_type: Optional[StrictStr] = None,
|
|
3048
1396
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3049
1397
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3050
|
-
) ->
|
|
3051
|
-
"""
|
|
1398
|
+
) -> InspectReportResult:
|
|
1399
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
3052
1400
|
|
|
3053
1401
|
|
|
3054
|
-
:param
|
|
3055
|
-
:type
|
|
1402
|
+
:param report_id: The report id (required)
|
|
1403
|
+
:type report_id: str
|
|
3056
1404
|
:param _request_timeout: timeout setting for this request. If one
|
|
3057
1405
|
number provided, it will be total request
|
|
3058
1406
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3074,10 +1422,9 @@ class RapidApi:
|
|
|
3074
1422
|
:type _host_index: int, optional
|
|
3075
1423
|
:return: Returns the result object.
|
|
3076
1424
|
""" # noqa: E501
|
|
3077
|
-
warnings.warn("POST /rapid/skipuserguess is deprecated.", DeprecationWarning)
|
|
3078
1425
|
|
|
3079
|
-
_param = self.
|
|
3080
|
-
|
|
1426
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
1427
|
+
report_id=report_id,
|
|
3081
1428
|
_request_auth=_request_auth,
|
|
3082
1429
|
_content_type=_content_type,
|
|
3083
1430
|
_headers=_headers,
|
|
@@ -3085,7 +1432,7 @@ class RapidApi:
|
|
|
3085
1432
|
)
|
|
3086
1433
|
|
|
3087
1434
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3088
|
-
'200':
|
|
1435
|
+
'200': "InspectReportResult",
|
|
3089
1436
|
}
|
|
3090
1437
|
response_data = self.api_client.call_api(
|
|
3091
1438
|
*_param,
|
|
@@ -3099,9 +1446,9 @@ class RapidApi:
|
|
|
3099
1446
|
|
|
3100
1447
|
|
|
3101
1448
|
@validate_call
|
|
3102
|
-
def
|
|
1449
|
+
def rapid_report_report_id_get_with_http_info(
|
|
3103
1450
|
self,
|
|
3104
|
-
|
|
1451
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
3105
1452
|
_request_timeout: Union[
|
|
3106
1453
|
None,
|
|
3107
1454
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3114,12 +1461,12 @@ class RapidApi:
|
|
|
3114
1461
|
_content_type: Optional[StrictStr] = None,
|
|
3115
1462
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3116
1463
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3117
|
-
) -> ApiResponse[
|
|
3118
|
-
"""
|
|
1464
|
+
) -> ApiResponse[InspectReportResult]:
|
|
1465
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
3119
1466
|
|
|
3120
1467
|
|
|
3121
|
-
:param
|
|
3122
|
-
:type
|
|
1468
|
+
:param report_id: The report id (required)
|
|
1469
|
+
:type report_id: str
|
|
3123
1470
|
:param _request_timeout: timeout setting for this request. If one
|
|
3124
1471
|
number provided, it will be total request
|
|
3125
1472
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3141,10 +1488,9 @@ class RapidApi:
|
|
|
3141
1488
|
:type _host_index: int, optional
|
|
3142
1489
|
:return: Returns the result object.
|
|
3143
1490
|
""" # noqa: E501
|
|
3144
|
-
warnings.warn("POST /rapid/skipuserguess is deprecated.", DeprecationWarning)
|
|
3145
1491
|
|
|
3146
|
-
_param = self.
|
|
3147
|
-
|
|
1492
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
1493
|
+
report_id=report_id,
|
|
3148
1494
|
_request_auth=_request_auth,
|
|
3149
1495
|
_content_type=_content_type,
|
|
3150
1496
|
_headers=_headers,
|
|
@@ -3152,7 +1498,7 @@ class RapidApi:
|
|
|
3152
1498
|
)
|
|
3153
1499
|
|
|
3154
1500
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3155
|
-
'200':
|
|
1501
|
+
'200': "InspectReportResult",
|
|
3156
1502
|
}
|
|
3157
1503
|
response_data = self.api_client.call_api(
|
|
3158
1504
|
*_param,
|
|
@@ -3166,9 +1512,9 @@ class RapidApi:
|
|
|
3166
1512
|
|
|
3167
1513
|
|
|
3168
1514
|
@validate_call
|
|
3169
|
-
def
|
|
1515
|
+
def rapid_report_report_id_get_without_preload_content(
|
|
3170
1516
|
self,
|
|
3171
|
-
|
|
1517
|
+
report_id: Annotated[StrictStr, Field(description="The report id")],
|
|
3172
1518
|
_request_timeout: Union[
|
|
3173
1519
|
None,
|
|
3174
1520
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3182,11 +1528,11 @@ class RapidApi:
|
|
|
3182
1528
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3183
1529
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3184
1530
|
) -> RESTResponseType:
|
|
3185
|
-
"""
|
|
1531
|
+
"""Inspects a report's dump. Can be used to restore zustand state or anything alike.
|
|
3186
1532
|
|
|
3187
1533
|
|
|
3188
|
-
:param
|
|
3189
|
-
:type
|
|
1534
|
+
:param report_id: The report id (required)
|
|
1535
|
+
:type report_id: str
|
|
3190
1536
|
:param _request_timeout: timeout setting for this request. If one
|
|
3191
1537
|
number provided, it will be total request
|
|
3192
1538
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3208,10 +1554,9 @@ class RapidApi:
|
|
|
3208
1554
|
:type _host_index: int, optional
|
|
3209
1555
|
:return: Returns the result object.
|
|
3210
1556
|
""" # noqa: E501
|
|
3211
|
-
warnings.warn("POST /rapid/skipuserguess is deprecated.", DeprecationWarning)
|
|
3212
1557
|
|
|
3213
|
-
_param = self.
|
|
3214
|
-
|
|
1558
|
+
_param = self._rapid_report_report_id_get_serialize(
|
|
1559
|
+
report_id=report_id,
|
|
3215
1560
|
_request_auth=_request_auth,
|
|
3216
1561
|
_content_type=_content_type,
|
|
3217
1562
|
_headers=_headers,
|
|
@@ -3219,7 +1564,7 @@ class RapidApi:
|
|
|
3219
1564
|
)
|
|
3220
1565
|
|
|
3221
1566
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3222
|
-
'200':
|
|
1567
|
+
'200': "InspectReportResult",
|
|
3223
1568
|
}
|
|
3224
1569
|
response_data = self.api_client.call_api(
|
|
3225
1570
|
*_param,
|
|
@@ -3228,9 +1573,9 @@ class RapidApi:
|
|
|
3228
1573
|
return response_data.response
|
|
3229
1574
|
|
|
3230
1575
|
|
|
3231
|
-
def
|
|
1576
|
+
def _rapid_report_report_id_get_serialize(
|
|
3232
1577
|
self,
|
|
3233
|
-
|
|
1578
|
+
report_id,
|
|
3234
1579
|
_request_auth,
|
|
3235
1580
|
_content_type,
|
|
3236
1581
|
_headers,
|
|
@@ -3252,30 +1597,24 @@ class RapidApi:
|
|
|
3252
1597
|
_body_params: Optional[bytes] = None
|
|
3253
1598
|
|
|
3254
1599
|
# process the path parameters
|
|
1600
|
+
if report_id is not None:
|
|
1601
|
+
_path_params['reportId'] = report_id
|
|
3255
1602
|
# process the query parameters
|
|
3256
1603
|
# process the header parameters
|
|
3257
1604
|
# process the form parameters
|
|
3258
1605
|
# process the body parameter
|
|
3259
|
-
if rapid_skipped_model is not None:
|
|
3260
|
-
_body_params = rapid_skipped_model
|
|
3261
1606
|
|
|
3262
1607
|
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
'application/json',
|
|
3272
|
-
'text/json',
|
|
3273
|
-
'application/*+json'
|
|
3274
|
-
]
|
|
3275
|
-
)
|
|
1608
|
+
# set the HTTP header `Accept`
|
|
1609
|
+
if 'Accept' not in _header_params:
|
|
1610
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1611
|
+
[
|
|
1612
|
+
'text/plain',
|
|
1613
|
+
'application/json',
|
|
1614
|
+
'text/json'
|
|
1615
|
+
]
|
|
3276
1616
|
)
|
|
3277
|
-
|
|
3278
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1617
|
+
|
|
3279
1618
|
|
|
3280
1619
|
# authentication setting
|
|
3281
1620
|
_auth_settings: List[str] = [
|
|
@@ -3284,8 +1623,8 @@ class RapidApi:
|
|
|
3284
1623
|
]
|
|
3285
1624
|
|
|
3286
1625
|
return self.api_client.param_serialize(
|
|
3287
|
-
method='
|
|
3288
|
-
resource_path='/rapid/
|
|
1626
|
+
method='GET',
|
|
1627
|
+
resource_path='/rapid/report/{reportId}',
|
|
3289
1628
|
path_params=_path_params,
|
|
3290
1629
|
query_params=_query_params,
|
|
3291
1630
|
header_params=_header_params,
|
|
@@ -3302,8 +1641,9 @@ class RapidApi:
|
|
|
3302
1641
|
|
|
3303
1642
|
|
|
3304
1643
|
@validate_call
|
|
3305
|
-
def
|
|
1644
|
+
def rapid_response_post(
|
|
3306
1645
|
self,
|
|
1646
|
+
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
3307
1647
|
_request_timeout: Union[
|
|
3308
1648
|
None,
|
|
3309
1649
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3316,10 +1656,12 @@ class RapidApi:
|
|
|
3316
1656
|
_content_type: Optional[StrictStr] = None,
|
|
3317
1657
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3318
1658
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3319
|
-
) ->
|
|
3320
|
-
"""
|
|
1659
|
+
) -> AddUserResponseResult:
|
|
1660
|
+
"""Submits a response for a Rapid.
|
|
3321
1661
|
|
|
3322
1662
|
|
|
1663
|
+
:param rapid_result_model: The model containing the user guess.
|
|
1664
|
+
:type rapid_result_model: RapidResultModel
|
|
3323
1665
|
:param _request_timeout: timeout setting for this request. If one
|
|
3324
1666
|
number provided, it will be total request
|
|
3325
1667
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3341,9 +1683,9 @@ class RapidApi:
|
|
|
3341
1683
|
:type _host_index: int, optional
|
|
3342
1684
|
:return: Returns the result object.
|
|
3343
1685
|
""" # noqa: E501
|
|
3344
|
-
warnings.warn("GET /rapid/validatecurrentrapidbag is deprecated.", DeprecationWarning)
|
|
3345
1686
|
|
|
3346
|
-
_param = self.
|
|
1687
|
+
_param = self._rapid_response_post_serialize(
|
|
1688
|
+
rapid_result_model=rapid_result_model,
|
|
3347
1689
|
_request_auth=_request_auth,
|
|
3348
1690
|
_content_type=_content_type,
|
|
3349
1691
|
_headers=_headers,
|
|
@@ -3351,7 +1693,7 @@ class RapidApi:
|
|
|
3351
1693
|
)
|
|
3352
1694
|
|
|
3353
1695
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3354
|
-
'200':
|
|
1696
|
+
'200': "AddUserResponseResult",
|
|
3355
1697
|
}
|
|
3356
1698
|
response_data = self.api_client.call_api(
|
|
3357
1699
|
*_param,
|
|
@@ -3365,8 +1707,9 @@ class RapidApi:
|
|
|
3365
1707
|
|
|
3366
1708
|
|
|
3367
1709
|
@validate_call
|
|
3368
|
-
def
|
|
1710
|
+
def rapid_response_post_with_http_info(
|
|
3369
1711
|
self,
|
|
1712
|
+
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
3370
1713
|
_request_timeout: Union[
|
|
3371
1714
|
None,
|
|
3372
1715
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3379,10 +1722,12 @@ class RapidApi:
|
|
|
3379
1722
|
_content_type: Optional[StrictStr] = None,
|
|
3380
1723
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3381
1724
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3382
|
-
) -> ApiResponse[
|
|
3383
|
-
"""
|
|
1725
|
+
) -> ApiResponse[AddUserResponseResult]:
|
|
1726
|
+
"""Submits a response for a Rapid.
|
|
3384
1727
|
|
|
3385
1728
|
|
|
1729
|
+
:param rapid_result_model: The model containing the user guess.
|
|
1730
|
+
:type rapid_result_model: RapidResultModel
|
|
3386
1731
|
:param _request_timeout: timeout setting for this request. If one
|
|
3387
1732
|
number provided, it will be total request
|
|
3388
1733
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3404,9 +1749,9 @@ class RapidApi:
|
|
|
3404
1749
|
:type _host_index: int, optional
|
|
3405
1750
|
:return: Returns the result object.
|
|
3406
1751
|
""" # noqa: E501
|
|
3407
|
-
warnings.warn("GET /rapid/validatecurrentrapidbag is deprecated.", DeprecationWarning)
|
|
3408
1752
|
|
|
3409
|
-
_param = self.
|
|
1753
|
+
_param = self._rapid_response_post_serialize(
|
|
1754
|
+
rapid_result_model=rapid_result_model,
|
|
3410
1755
|
_request_auth=_request_auth,
|
|
3411
1756
|
_content_type=_content_type,
|
|
3412
1757
|
_headers=_headers,
|
|
@@ -3414,7 +1759,7 @@ class RapidApi:
|
|
|
3414
1759
|
)
|
|
3415
1760
|
|
|
3416
1761
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3417
|
-
'200':
|
|
1762
|
+
'200': "AddUserResponseResult",
|
|
3418
1763
|
}
|
|
3419
1764
|
response_data = self.api_client.call_api(
|
|
3420
1765
|
*_param,
|
|
@@ -3428,8 +1773,9 @@ class RapidApi:
|
|
|
3428
1773
|
|
|
3429
1774
|
|
|
3430
1775
|
@validate_call
|
|
3431
|
-
def
|
|
1776
|
+
def rapid_response_post_without_preload_content(
|
|
3432
1777
|
self,
|
|
1778
|
+
rapid_result_model: Annotated[Optional[RapidResultModel], Field(description="The model containing the user guess.")] = None,
|
|
3433
1779
|
_request_timeout: Union[
|
|
3434
1780
|
None,
|
|
3435
1781
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3443,9 +1789,11 @@ class RapidApi:
|
|
|
3443
1789
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3444
1790
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3445
1791
|
) -> RESTResponseType:
|
|
3446
|
-
"""
|
|
1792
|
+
"""Submits a response for a Rapid.
|
|
3447
1793
|
|
|
3448
1794
|
|
|
1795
|
+
:param rapid_result_model: The model containing the user guess.
|
|
1796
|
+
:type rapid_result_model: RapidResultModel
|
|
3449
1797
|
:param _request_timeout: timeout setting for this request. If one
|
|
3450
1798
|
number provided, it will be total request
|
|
3451
1799
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3467,9 +1815,9 @@ class RapidApi:
|
|
|
3467
1815
|
:type _host_index: int, optional
|
|
3468
1816
|
:return: Returns the result object.
|
|
3469
1817
|
""" # noqa: E501
|
|
3470
|
-
warnings.warn("GET /rapid/validatecurrentrapidbag is deprecated.", DeprecationWarning)
|
|
3471
1818
|
|
|
3472
|
-
_param = self.
|
|
1819
|
+
_param = self._rapid_response_post_serialize(
|
|
1820
|
+
rapid_result_model=rapid_result_model,
|
|
3473
1821
|
_request_auth=_request_auth,
|
|
3474
1822
|
_content_type=_content_type,
|
|
3475
1823
|
_headers=_headers,
|
|
@@ -3477,7 +1825,7 @@ class RapidApi:
|
|
|
3477
1825
|
)
|
|
3478
1826
|
|
|
3479
1827
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3480
|
-
'200':
|
|
1828
|
+
'200': "AddUserResponseResult",
|
|
3481
1829
|
}
|
|
3482
1830
|
response_data = self.api_client.call_api(
|
|
3483
1831
|
*_param,
|
|
@@ -3486,8 +1834,9 @@ class RapidApi:
|
|
|
3486
1834
|
return response_data.response
|
|
3487
1835
|
|
|
3488
1836
|
|
|
3489
|
-
def
|
|
1837
|
+
def _rapid_response_post_serialize(
|
|
3490
1838
|
self,
|
|
1839
|
+
rapid_result_model,
|
|
3491
1840
|
_request_auth,
|
|
3492
1841
|
_content_type,
|
|
3493
1842
|
_headers,
|
|
@@ -3513,9 +1862,35 @@ class RapidApi:
|
|
|
3513
1862
|
# process the header parameters
|
|
3514
1863
|
# process the form parameters
|
|
3515
1864
|
# process the body parameter
|
|
1865
|
+
if rapid_result_model is not None:
|
|
1866
|
+
_body_params = rapid_result_model
|
|
3516
1867
|
|
|
3517
1868
|
|
|
1869
|
+
# set the HTTP header `Accept`
|
|
1870
|
+
if 'Accept' not in _header_params:
|
|
1871
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1872
|
+
[
|
|
1873
|
+
'text/plain',
|
|
1874
|
+
'application/json',
|
|
1875
|
+
'text/json'
|
|
1876
|
+
]
|
|
1877
|
+
)
|
|
3518
1878
|
|
|
1879
|
+
# set the HTTP header `Content-Type`
|
|
1880
|
+
if _content_type:
|
|
1881
|
+
_header_params['Content-Type'] = _content_type
|
|
1882
|
+
else:
|
|
1883
|
+
_default_content_type = (
|
|
1884
|
+
self.api_client.select_header_content_type(
|
|
1885
|
+
[
|
|
1886
|
+
'application/json',
|
|
1887
|
+
'text/json',
|
|
1888
|
+
'application/*+json'
|
|
1889
|
+
]
|
|
1890
|
+
)
|
|
1891
|
+
)
|
|
1892
|
+
if _default_content_type is not None:
|
|
1893
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3519
1894
|
|
|
3520
1895
|
# authentication setting
|
|
3521
1896
|
_auth_settings: List[str] = [
|
|
@@ -3524,8 +1899,8 @@ class RapidApi:
|
|
|
3524
1899
|
]
|
|
3525
1900
|
|
|
3526
1901
|
return self.api_client.param_serialize(
|
|
3527
|
-
method='
|
|
3528
|
-
resource_path='/rapid/
|
|
1902
|
+
method='POST',
|
|
1903
|
+
resource_path='/rapid/response',
|
|
3529
1904
|
path_params=_path_params,
|
|
3530
1905
|
query_params=_query_params,
|
|
3531
1906
|
header_params=_header_params,
|
|
@@ -3542,10 +1917,9 @@ class RapidApi:
|
|
|
3542
1917
|
|
|
3543
1918
|
|
|
3544
1919
|
@validate_call
|
|
3545
|
-
def
|
|
1920
|
+
def rapid_skip_post(
|
|
3546
1921
|
self,
|
|
3547
|
-
|
|
3548
|
-
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
1922
|
+
rapid_skipped_model: Annotated[Optional[RapidSkippedModel], Field(description="The model containing the Rapid to skip.")] = None,
|
|
3549
1923
|
_request_timeout: Union[
|
|
3550
1924
|
None,
|
|
3551
1925
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3558,14 +1932,12 @@ class RapidApi:
|
|
|
3558
1932
|
_content_type: Optional[StrictStr] = None,
|
|
3559
1933
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3560
1934
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3561
|
-
) ->
|
|
3562
|
-
"""
|
|
1935
|
+
) -> AddUserResponseResult:
|
|
1936
|
+
"""Skips a Rapid for the user.
|
|
3563
1937
|
|
|
3564
1938
|
|
|
3565
|
-
:param
|
|
3566
|
-
:type
|
|
3567
|
-
:param update_validation_rapid_model: The body request
|
|
3568
|
-
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
1939
|
+
:param rapid_skipped_model: The model containing the Rapid to skip.
|
|
1940
|
+
:type rapid_skipped_model: RapidSkippedModel
|
|
3569
1941
|
:param _request_timeout: timeout setting for this request. If one
|
|
3570
1942
|
number provided, it will be total request
|
|
3571
1943
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3588,9 +1960,8 @@ class RapidApi:
|
|
|
3588
1960
|
:return: Returns the result object.
|
|
3589
1961
|
""" # noqa: E501
|
|
3590
1962
|
|
|
3591
|
-
_param = self.
|
|
3592
|
-
|
|
3593
|
-
update_validation_rapid_model=update_validation_rapid_model,
|
|
1963
|
+
_param = self._rapid_skip_post_serialize(
|
|
1964
|
+
rapid_skipped_model=rapid_skipped_model,
|
|
3594
1965
|
_request_auth=_request_auth,
|
|
3595
1966
|
_content_type=_content_type,
|
|
3596
1967
|
_headers=_headers,
|
|
@@ -3598,7 +1969,7 @@ class RapidApi:
|
|
|
3598
1969
|
)
|
|
3599
1970
|
|
|
3600
1971
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3601
|
-
'
|
|
1972
|
+
'200': "AddUserResponseResult",
|
|
3602
1973
|
}
|
|
3603
1974
|
response_data = self.api_client.call_api(
|
|
3604
1975
|
*_param,
|
|
@@ -3612,10 +1983,9 @@ class RapidApi:
|
|
|
3612
1983
|
|
|
3613
1984
|
|
|
3614
1985
|
@validate_call
|
|
3615
|
-
def
|
|
1986
|
+
def rapid_skip_post_with_http_info(
|
|
3616
1987
|
self,
|
|
3617
|
-
|
|
3618
|
-
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
1988
|
+
rapid_skipped_model: Annotated[Optional[RapidSkippedModel], Field(description="The model containing the Rapid to skip.")] = None,
|
|
3619
1989
|
_request_timeout: Union[
|
|
3620
1990
|
None,
|
|
3621
1991
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3628,14 +1998,12 @@ class RapidApi:
|
|
|
3628
1998
|
_content_type: Optional[StrictStr] = None,
|
|
3629
1999
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3630
2000
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3631
|
-
) -> ApiResponse[
|
|
3632
|
-
"""
|
|
2001
|
+
) -> ApiResponse[AddUserResponseResult]:
|
|
2002
|
+
"""Skips a Rapid for the user.
|
|
3633
2003
|
|
|
3634
2004
|
|
|
3635
|
-
:param
|
|
3636
|
-
:type
|
|
3637
|
-
:param update_validation_rapid_model: The body request
|
|
3638
|
-
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
2005
|
+
:param rapid_skipped_model: The model containing the Rapid to skip.
|
|
2006
|
+
:type rapid_skipped_model: RapidSkippedModel
|
|
3639
2007
|
:param _request_timeout: timeout setting for this request. If one
|
|
3640
2008
|
number provided, it will be total request
|
|
3641
2009
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3658,9 +2026,8 @@ class RapidApi:
|
|
|
3658
2026
|
:return: Returns the result object.
|
|
3659
2027
|
""" # noqa: E501
|
|
3660
2028
|
|
|
3661
|
-
_param = self.
|
|
3662
|
-
|
|
3663
|
-
update_validation_rapid_model=update_validation_rapid_model,
|
|
2029
|
+
_param = self._rapid_skip_post_serialize(
|
|
2030
|
+
rapid_skipped_model=rapid_skipped_model,
|
|
3664
2031
|
_request_auth=_request_auth,
|
|
3665
2032
|
_content_type=_content_type,
|
|
3666
2033
|
_headers=_headers,
|
|
@@ -3668,7 +2035,7 @@ class RapidApi:
|
|
|
3668
2035
|
)
|
|
3669
2036
|
|
|
3670
2037
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3671
|
-
'
|
|
2038
|
+
'200': "AddUserResponseResult",
|
|
3672
2039
|
}
|
|
3673
2040
|
response_data = self.api_client.call_api(
|
|
3674
2041
|
*_param,
|
|
@@ -3682,10 +2049,9 @@ class RapidApi:
|
|
|
3682
2049
|
|
|
3683
2050
|
|
|
3684
2051
|
@validate_call
|
|
3685
|
-
def
|
|
2052
|
+
def rapid_skip_post_without_preload_content(
|
|
3686
2053
|
self,
|
|
3687
|
-
|
|
3688
|
-
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
2054
|
+
rapid_skipped_model: Annotated[Optional[RapidSkippedModel], Field(description="The model containing the Rapid to skip.")] = None,
|
|
3689
2055
|
_request_timeout: Union[
|
|
3690
2056
|
None,
|
|
3691
2057
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3699,13 +2065,11 @@ class RapidApi:
|
|
|
3699
2065
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3700
2066
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3701
2067
|
) -> RESTResponseType:
|
|
3702
|
-
"""
|
|
2068
|
+
"""Skips a Rapid for the user.
|
|
3703
2069
|
|
|
3704
2070
|
|
|
3705
|
-
:param
|
|
3706
|
-
:type
|
|
3707
|
-
:param update_validation_rapid_model: The body request
|
|
3708
|
-
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
2071
|
+
:param rapid_skipped_model: The model containing the Rapid to skip.
|
|
2072
|
+
:type rapid_skipped_model: RapidSkippedModel
|
|
3709
2073
|
:param _request_timeout: timeout setting for this request. If one
|
|
3710
2074
|
number provided, it will be total request
|
|
3711
2075
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3728,9 +2092,8 @@ class RapidApi:
|
|
|
3728
2092
|
:return: Returns the result object.
|
|
3729
2093
|
""" # noqa: E501
|
|
3730
2094
|
|
|
3731
|
-
_param = self.
|
|
3732
|
-
|
|
3733
|
-
update_validation_rapid_model=update_validation_rapid_model,
|
|
2095
|
+
_param = self._rapid_skip_post_serialize(
|
|
2096
|
+
rapid_skipped_model=rapid_skipped_model,
|
|
3734
2097
|
_request_auth=_request_auth,
|
|
3735
2098
|
_content_type=_content_type,
|
|
3736
2099
|
_headers=_headers,
|
|
@@ -3738,7 +2101,7 @@ class RapidApi:
|
|
|
3738
2101
|
)
|
|
3739
2102
|
|
|
3740
2103
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3741
|
-
'
|
|
2104
|
+
'200': "AddUserResponseResult",
|
|
3742
2105
|
}
|
|
3743
2106
|
response_data = self.api_client.call_api(
|
|
3744
2107
|
*_param,
|
|
@@ -3747,10 +2110,9 @@ class RapidApi:
|
|
|
3747
2110
|
return response_data.response
|
|
3748
2111
|
|
|
3749
2112
|
|
|
3750
|
-
def
|
|
2113
|
+
def _rapid_skip_post_serialize(
|
|
3751
2114
|
self,
|
|
3752
|
-
|
|
3753
|
-
update_validation_rapid_model,
|
|
2115
|
+
rapid_skipped_model,
|
|
3754
2116
|
_request_auth,
|
|
3755
2117
|
_content_type,
|
|
3756
2118
|
_headers,
|
|
@@ -3772,16 +2134,23 @@ class RapidApi:
|
|
|
3772
2134
|
_body_params: Optional[bytes] = None
|
|
3773
2135
|
|
|
3774
2136
|
# process the path parameters
|
|
3775
|
-
if rapid_id is not None:
|
|
3776
|
-
_path_params['rapidId'] = rapid_id
|
|
3777
2137
|
# process the query parameters
|
|
3778
2138
|
# process the header parameters
|
|
3779
2139
|
# process the form parameters
|
|
3780
2140
|
# process the body parameter
|
|
3781
|
-
if
|
|
3782
|
-
_body_params =
|
|
2141
|
+
if rapid_skipped_model is not None:
|
|
2142
|
+
_body_params = rapid_skipped_model
|
|
3783
2143
|
|
|
3784
2144
|
|
|
2145
|
+
# set the HTTP header `Accept`
|
|
2146
|
+
if 'Accept' not in _header_params:
|
|
2147
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2148
|
+
[
|
|
2149
|
+
'text/plain',
|
|
2150
|
+
'application/json',
|
|
2151
|
+
'text/json'
|
|
2152
|
+
]
|
|
2153
|
+
)
|
|
3785
2154
|
|
|
3786
2155
|
# set the HTTP header `Content-Type`
|
|
3787
2156
|
if _content_type:
|
|
@@ -3806,8 +2175,8 @@ class RapidApi:
|
|
|
3806
2175
|
]
|
|
3807
2176
|
|
|
3808
2177
|
return self.api_client.param_serialize(
|
|
3809
|
-
method='
|
|
3810
|
-
resource_path='/rapid/
|
|
2178
|
+
method='POST',
|
|
2179
|
+
resource_path='/rapid/skip',
|
|
3811
2180
|
path_params=_path_params,
|
|
3812
2181
|
query_params=_query_params,
|
|
3813
2182
|
header_params=_header_params,
|
|
@@ -3824,10 +2193,10 @@ class RapidApi:
|
|
|
3824
2193
|
|
|
3825
2194
|
|
|
3826
2195
|
@validate_call
|
|
3827
|
-
def
|
|
2196
|
+
def rapid_validation_rapid_id_patch(
|
|
3828
2197
|
self,
|
|
3829
|
-
rapid_id: StrictStr,
|
|
3830
|
-
update_validation_rapid_model: Optional[UpdateValidationRapidModel] = None,
|
|
2198
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
2199
|
+
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
3831
2200
|
_request_timeout: Union[
|
|
3832
2201
|
None,
|
|
3833
2202
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3841,12 +2210,12 @@ class RapidApi:
|
|
|
3841
2210
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3842
2211
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3843
2212
|
) -> None:
|
|
3844
|
-
"""
|
|
2213
|
+
"""Updates the validation information of a rapid.
|
|
3845
2214
|
|
|
3846
2215
|
|
|
3847
|
-
:param rapid_id:
|
|
2216
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
3848
2217
|
:type rapid_id: str
|
|
3849
|
-
:param update_validation_rapid_model:
|
|
2218
|
+
:param update_validation_rapid_model: The body request
|
|
3850
2219
|
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
3851
2220
|
:param _request_timeout: timeout setting for this request. If one
|
|
3852
2221
|
number provided, it will be total request
|
|
@@ -3869,9 +2238,8 @@ class RapidApi:
|
|
|
3869
2238
|
:type _host_index: int, optional
|
|
3870
2239
|
:return: Returns the result object.
|
|
3871
2240
|
""" # noqa: E501
|
|
3872
|
-
warnings.warn("PUT /rapid/validation/{rapidId} is deprecated.", DeprecationWarning)
|
|
3873
2241
|
|
|
3874
|
-
_param = self.
|
|
2242
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
3875
2243
|
rapid_id=rapid_id,
|
|
3876
2244
|
update_validation_rapid_model=update_validation_rapid_model,
|
|
3877
2245
|
_request_auth=_request_auth,
|
|
@@ -3881,7 +2249,7 @@ class RapidApi:
|
|
|
3881
2249
|
)
|
|
3882
2250
|
|
|
3883
2251
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3884
|
-
'
|
|
2252
|
+
'204': None,
|
|
3885
2253
|
}
|
|
3886
2254
|
response_data = self.api_client.call_api(
|
|
3887
2255
|
*_param,
|
|
@@ -3895,10 +2263,10 @@ class RapidApi:
|
|
|
3895
2263
|
|
|
3896
2264
|
|
|
3897
2265
|
@validate_call
|
|
3898
|
-
def
|
|
2266
|
+
def rapid_validation_rapid_id_patch_with_http_info(
|
|
3899
2267
|
self,
|
|
3900
|
-
rapid_id: StrictStr,
|
|
3901
|
-
update_validation_rapid_model: Optional[UpdateValidationRapidModel] = None,
|
|
2268
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
2269
|
+
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
3902
2270
|
_request_timeout: Union[
|
|
3903
2271
|
None,
|
|
3904
2272
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3912,12 +2280,12 @@ class RapidApi:
|
|
|
3912
2280
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3913
2281
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3914
2282
|
) -> ApiResponse[None]:
|
|
3915
|
-
"""
|
|
2283
|
+
"""Updates the validation information of a rapid.
|
|
3916
2284
|
|
|
3917
2285
|
|
|
3918
|
-
:param rapid_id:
|
|
2286
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
3919
2287
|
:type rapid_id: str
|
|
3920
|
-
:param update_validation_rapid_model:
|
|
2288
|
+
:param update_validation_rapid_model: The body request
|
|
3921
2289
|
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
3922
2290
|
:param _request_timeout: timeout setting for this request. If one
|
|
3923
2291
|
number provided, it will be total request
|
|
@@ -3940,9 +2308,8 @@ class RapidApi:
|
|
|
3940
2308
|
:type _host_index: int, optional
|
|
3941
2309
|
:return: Returns the result object.
|
|
3942
2310
|
""" # noqa: E501
|
|
3943
|
-
warnings.warn("PUT /rapid/validation/{rapidId} is deprecated.", DeprecationWarning)
|
|
3944
2311
|
|
|
3945
|
-
_param = self.
|
|
2312
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
3946
2313
|
rapid_id=rapid_id,
|
|
3947
2314
|
update_validation_rapid_model=update_validation_rapid_model,
|
|
3948
2315
|
_request_auth=_request_auth,
|
|
@@ -3952,7 +2319,7 @@ class RapidApi:
|
|
|
3952
2319
|
)
|
|
3953
2320
|
|
|
3954
2321
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3955
|
-
'
|
|
2322
|
+
'204': None,
|
|
3956
2323
|
}
|
|
3957
2324
|
response_data = self.api_client.call_api(
|
|
3958
2325
|
*_param,
|
|
@@ -3966,10 +2333,10 @@ class RapidApi:
|
|
|
3966
2333
|
|
|
3967
2334
|
|
|
3968
2335
|
@validate_call
|
|
3969
|
-
def
|
|
2336
|
+
def rapid_validation_rapid_id_patch_without_preload_content(
|
|
3970
2337
|
self,
|
|
3971
|
-
rapid_id: StrictStr,
|
|
3972
|
-
update_validation_rapid_model: Optional[UpdateValidationRapidModel] = None,
|
|
2338
|
+
rapid_id: Annotated[StrictStr, Field(description="The id of the rapid to update")],
|
|
2339
|
+
update_validation_rapid_model: Annotated[Optional[UpdateValidationRapidModel], Field(description="The body request")] = None,
|
|
3973
2340
|
_request_timeout: Union[
|
|
3974
2341
|
None,
|
|
3975
2342
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3983,12 +2350,12 @@ class RapidApi:
|
|
|
3983
2350
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3984
2351
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3985
2352
|
) -> RESTResponseType:
|
|
3986
|
-
"""
|
|
2353
|
+
"""Updates the validation information of a rapid.
|
|
3987
2354
|
|
|
3988
2355
|
|
|
3989
|
-
:param rapid_id:
|
|
2356
|
+
:param rapid_id: The id of the rapid to update (required)
|
|
3990
2357
|
:type rapid_id: str
|
|
3991
|
-
:param update_validation_rapid_model:
|
|
2358
|
+
:param update_validation_rapid_model: The body request
|
|
3992
2359
|
:type update_validation_rapid_model: UpdateValidationRapidModel
|
|
3993
2360
|
:param _request_timeout: timeout setting for this request. If one
|
|
3994
2361
|
number provided, it will be total request
|
|
@@ -4011,9 +2378,8 @@ class RapidApi:
|
|
|
4011
2378
|
:type _host_index: int, optional
|
|
4012
2379
|
:return: Returns the result object.
|
|
4013
2380
|
""" # noqa: E501
|
|
4014
|
-
warnings.warn("PUT /rapid/validation/{rapidId} is deprecated.", DeprecationWarning)
|
|
4015
2381
|
|
|
4016
|
-
_param = self.
|
|
2382
|
+
_param = self._rapid_validation_rapid_id_patch_serialize(
|
|
4017
2383
|
rapid_id=rapid_id,
|
|
4018
2384
|
update_validation_rapid_model=update_validation_rapid_model,
|
|
4019
2385
|
_request_auth=_request_auth,
|
|
@@ -4023,7 +2389,7 @@ class RapidApi:
|
|
|
4023
2389
|
)
|
|
4024
2390
|
|
|
4025
2391
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4026
|
-
'
|
|
2392
|
+
'204': None,
|
|
4027
2393
|
}
|
|
4028
2394
|
response_data = self.api_client.call_api(
|
|
4029
2395
|
*_param,
|
|
@@ -4032,7 +2398,7 @@ class RapidApi:
|
|
|
4032
2398
|
return response_data.response
|
|
4033
2399
|
|
|
4034
2400
|
|
|
4035
|
-
def
|
|
2401
|
+
def _rapid_validation_rapid_id_patch_serialize(
|
|
4036
2402
|
self,
|
|
4037
2403
|
rapid_id,
|
|
4038
2404
|
update_validation_rapid_model,
|
|
@@ -4091,7 +2457,7 @@ class RapidApi:
|
|
|
4091
2457
|
]
|
|
4092
2458
|
|
|
4093
2459
|
return self.api_client.param_serialize(
|
|
4094
|
-
method='
|
|
2460
|
+
method='PATCH',
|
|
4095
2461
|
resource_path='/rapid/validation/{rapidId}',
|
|
4096
2462
|
path_params=_path_params,
|
|
4097
2463
|
query_params=_query_params,
|