fds.sdk.OFDB 0.1.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.
Files changed (75) hide show
  1. fds/__init__.py +0 -0
  2. fds/sdk/OFDB/__init__.py +28 -0
  3. fds/sdk/OFDB/api/__init__.py +3 -0
  4. fds/sdk/OFDB/api/audit_api.py +540 -0
  5. fds/sdk/OFDB/api/bulk_delete_api.py +540 -0
  6. fds/sdk/OFDB/api/data_api.py +645 -0
  7. fds/sdk/OFDB/api/dates_api.py +1038 -0
  8. fds/sdk/OFDB/api/job_status_api.py +308 -0
  9. fds/sdk/OFDB/api/schema_api.py +1020 -0
  10. fds/sdk/OFDB/api/stats_api.py +540 -0
  11. fds/sdk/OFDB/api/symbols_api.py +1038 -0
  12. fds/sdk/OFDB/api_client.py +939 -0
  13. fds/sdk/OFDB/apis/__init__.py +24 -0
  14. fds/sdk/OFDB/configuration.py +496 -0
  15. fds/sdk/OFDB/exceptions.py +160 -0
  16. fds/sdk/OFDB/model/__init__.py +5 -0
  17. fds/sdk/OFDB/model/add_dates_root.py +262 -0
  18. fds/sdk/OFDB/model/add_dates_root_data.py +266 -0
  19. fds/sdk/OFDB/model/add_fields_root.py +262 -0
  20. fds/sdk/OFDB/model/add_fields_root_data.py +266 -0
  21. fds/sdk/OFDB/model/add_symbols_root.py +262 -0
  22. fds/sdk/OFDB/model/add_symbols_root_data.py +266 -0
  23. fds/sdk/OFDB/model/bulk_delete_item_array.py +284 -0
  24. fds/sdk/OFDB/model/bulk_delete_item_object.py +264 -0
  25. fds/sdk/OFDB/model/bulk_delete_resp_item.py +311 -0
  26. fds/sdk/OFDB/model/bulk_delete_resp_item_array.py +279 -0
  27. fds/sdk/OFDB/model/bulk_delete_resp_item_nested.py +311 -0
  28. fds/sdk/OFDB/model/bulk_delete_resp_item_nested_array.py +279 -0
  29. fds/sdk/OFDB/model/bulk_delete_resp_item_nested_object.py +252 -0
  30. fds/sdk/OFDB/model/bulk_delete_resp_item_object.py +258 -0
  31. fds/sdk/OFDB/model/bulk_delete_resp_root.py +284 -0
  32. fds/sdk/OFDB/model/bulk_delete_root.py +262 -0
  33. fds/sdk/OFDB/model/bulk_delete_root_data.py +266 -0
  34. fds/sdk/OFDB/model/create_database_root.py +262 -0
  35. fds/sdk/OFDB/model/create_database_root_data.py +270 -0
  36. fds/sdk/OFDB/model/data_value.py +303 -0
  37. fds/sdk/OFDB/model/database_path_root.py +262 -0
  38. fds/sdk/OFDB/model/database_path_root_data.py +256 -0
  39. fds/sdk/OFDB/model/date_and_content_array.py +284 -0
  40. fds/sdk/OFDB/model/date_and_content_object.py +266 -0
  41. fds/sdk/OFDB/model/date_and_fields_object.py +262 -0
  42. fds/sdk/OFDB/model/dates_array.py +279 -0
  43. fds/sdk/OFDB/model/error_object.py +264 -0
  44. fds/sdk/OFDB/model/error_object_with_source.py +274 -0
  45. fds/sdk/OFDB/model/error_object_with_source_source.py +260 -0
  46. fds/sdk/OFDB/model/field_object.py +304 -0
  47. fds/sdk/OFDB/model/fields_array.py +284 -0
  48. fds/sdk/OFDB/model/inline_response200.py +262 -0
  49. fds/sdk/OFDB/model/inline_response2001.py +262 -0
  50. fds/sdk/OFDB/model/inline_response2001_data.py +272 -0
  51. fds/sdk/OFDB/model/inline_response2002.py +262 -0
  52. fds/sdk/OFDB/model/inline_response2003.py +262 -0
  53. fds/sdk/OFDB/model/inline_response2004.py +262 -0
  54. fds/sdk/OFDB/model/inline_response2005.py +262 -0
  55. fds/sdk/OFDB/model/inline_response2006.py +262 -0
  56. fds/sdk/OFDB/model/inline_response200_data.py +256 -0
  57. fds/sdk/OFDB/model/inline_response201.py +262 -0
  58. fds/sdk/OFDB/model/inline_response201_data.py +266 -0
  59. fds/sdk/OFDB/model/inline_response400.py +262 -0
  60. fds/sdk/OFDB/model/inline_response403.py +262 -0
  61. fds/sdk/OFDB/model/symbol_and_content_array.py +284 -0
  62. fds/sdk/OFDB/model/symbol_and_content_object.py +266 -0
  63. fds/sdk/OFDB/model/symbol_and_fields_object.py +262 -0
  64. fds/sdk/OFDB/model/symbols_array.py +279 -0
  65. fds/sdk/OFDB/model/update_dates_root.py +262 -0
  66. fds/sdk/OFDB/model/update_symbols_root.py +262 -0
  67. fds/sdk/OFDB/model_utils.py +2062 -0
  68. fds/sdk/OFDB/models/__init__.py +61 -0
  69. fds/sdk/OFDB/rest.py +347 -0
  70. fds/sdk/__init__.py +0 -0
  71. fds_sdk_ofdb-0.1.0.dist-info/METADATA +390 -0
  72. fds_sdk_ofdb-0.1.0.dist-info/RECORD +75 -0
  73. fds_sdk_ofdb-0.1.0.dist-info/WHEEL +5 -0
  74. fds_sdk_ofdb-0.1.0.dist-info/licenses/LICENSE +202 -0
  75. fds_sdk_ofdb-0.1.0.dist-info/top_level.txt +1 -0
fds/__init__.py ADDED
File without changes
@@ -0,0 +1,28 @@
1
+ # flake8: noqa
2
+
3
+ """
4
+ OFDB API
5
+
6
+ OFDB API # noqa: E501
7
+
8
+ The version of the OpenAPI document: 3.0.0
9
+ Contact: api@factset.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ __version__ = "0.1.0"
15
+
16
+ # import ApiClient
17
+ from fds.sdk.OFDB.api_client import ApiClient
18
+
19
+ # import Configuration
20
+ from fds.sdk.OFDB.configuration import Configuration
21
+
22
+ # import exceptions
23
+ from fds.sdk.OFDB.exceptions import OpenApiException
24
+ from fds.sdk.OFDB.exceptions import ApiAttributeError
25
+ from fds.sdk.OFDB.exceptions import ApiTypeError
26
+ from fds.sdk.OFDB.exceptions import ApiValueError
27
+ from fds.sdk.OFDB.exceptions import ApiKeyError
28
+ from fds.sdk.OFDB.exceptions import ApiException
@@ -0,0 +1,3 @@
1
+ # do not import all apis into this module because that uses a lot of memory and stack frames
2
+ # if you need the ability to import all apis from one package, import them with
3
+ # from fds.sdk.OFDB.apis import AuditApi
@@ -0,0 +1,540 @@
1
+ """
2
+ OFDB API
3
+
4
+ OFDB API # noqa: E501
5
+
6
+ The version of the OpenAPI document: 3.0.0
7
+ Contact: api@factset.com
8
+ Generated by: https://openapi-generator.tech
9
+ """
10
+
11
+
12
+ import re # noqa: F401
13
+ import sys # noqa: F401
14
+ from multiprocessing.pool import ApplyResult
15
+ import typing
16
+
17
+ from fds.sdk.OFDB.api_client import ApiClient, Endpoint as _Endpoint
18
+ from fds.sdk.OFDB.model_utils import ( # noqa: F401
19
+ check_allowed_values,
20
+ check_validations,
21
+ date,
22
+ datetime,
23
+ file_type,
24
+ none_type,
25
+ validate_and_convert_types
26
+ )
27
+ from fds.sdk.OFDB.exceptions import ApiException
28
+ from fds.sdk.OFDB.model.database_path_root import DatabasePathRoot
29
+ from fds.sdk.OFDB.model.inline_response200 import InlineResponse200
30
+ from fds.sdk.OFDB.model.inline_response201 import InlineResponse201
31
+ from fds.sdk.OFDB.model.inline_response400 import InlineResponse400
32
+ from fds.sdk.OFDB.model.inline_response403 import InlineResponse403
33
+
34
+
35
+
36
+
37
+
38
+ class AuditApi(object):
39
+ """NOTE: This class is auto generated by OpenAPI Generator
40
+ Ref: https://openapi-generator.tech
41
+
42
+ Do not edit the class manually.
43
+ """
44
+
45
+ def __init__(self, api_client=None):
46
+ if api_client is None:
47
+ api_client = ApiClient()
48
+ self.api_client = api_client
49
+
50
+ self.get_audit_endpoint = _Endpoint(
51
+ settings={
52
+ 'response_type': (
53
+ { 202: (InlineResponse201,), 400: (InlineResponse400,), 403: (InlineResponse403,), 404: (InlineResponse403,), 406: (InlineResponse403,), 429: (InlineResponse403,), },
54
+ None
55
+ ),
56
+ 'auth': [
57
+ 'FactSetApiKey',
58
+ 'FactSetOAuth2'
59
+ ],
60
+ 'endpoint_path': '/database/audit/get',
61
+ 'operation_id': 'get_audit',
62
+ 'http_method': 'POST',
63
+ 'servers': None,
64
+ },
65
+ params_map={
66
+ 'all': [
67
+ 'database_path_root',
68
+ ],
69
+ 'required': [],
70
+ 'nullable': [
71
+ ],
72
+ 'enum': [
73
+ ],
74
+ 'validation': [
75
+ ]
76
+ },
77
+ root_map={
78
+ 'validations': {
79
+ },
80
+ 'allowed_values': {
81
+ },
82
+ 'openapi_types': {
83
+ 'database_path_root':
84
+ (DatabasePathRoot,),
85
+ },
86
+ 'attribute_map': {
87
+ },
88
+ 'location_map': {
89
+ 'database_path_root': 'body',
90
+ },
91
+ 'collection_format_map': {
92
+ }
93
+ },
94
+ headers_map={
95
+ 'accept': [
96
+ 'application/json'
97
+ ],
98
+ 'content_type': [
99
+ 'application/json'
100
+ ]
101
+ },
102
+ api_client=api_client
103
+ )
104
+
105
+ self.get_resource_get_audit_endpoint = _Endpoint(
106
+ settings={
107
+ 'response_type': (
108
+ { 200: (InlineResponse200,), 400: (InlineResponse400,), 403: (InlineResponse403,), 404: (InlineResponse403,), 406: (InlineResponse403,), 429: (InlineResponse403,), },
109
+ None
110
+ ),
111
+ 'auth': [
112
+ 'FactSetApiKey',
113
+ 'FactSetOAuth2'
114
+ ],
115
+ 'endpoint_path': '/database/job/result/audit/get',
116
+ 'operation_id': 'get_resource_get_audit',
117
+ 'http_method': 'GET',
118
+ 'servers': None,
119
+ },
120
+ params_map={
121
+ 'all': [
122
+ 'job_id',
123
+ ],
124
+ 'required': [
125
+ 'job_id',
126
+ ],
127
+ 'nullable': [
128
+ ],
129
+ 'enum': [
130
+ ],
131
+ 'validation': [
132
+ ]
133
+ },
134
+ root_map={
135
+ 'validations': {
136
+ },
137
+ 'allowed_values': {
138
+ },
139
+ 'openapi_types': {
140
+ 'job_id':
141
+ (str,),
142
+ },
143
+ 'attribute_map': {
144
+ 'job_id': 'jobId',
145
+ },
146
+ 'location_map': {
147
+ 'job_id': 'query',
148
+ },
149
+ 'collection_format_map': {
150
+ }
151
+ },
152
+ headers_map={
153
+ 'accept': [
154
+ 'application/json'
155
+ ],
156
+ 'content_type': [],
157
+ },
158
+ api_client=api_client
159
+ )
160
+
161
+
162
+ @staticmethod
163
+ def apply_kwargs_defaults(kwargs, return_http_data_only, async_req):
164
+ kwargs["async_req"] = async_req
165
+ kwargs["_return_http_data_only"] = return_http_data_only
166
+ kwargs["_preload_content"] = kwargs.get("_preload_content", True)
167
+ kwargs["_request_timeout"] = kwargs.get("_request_timeout", None)
168
+ kwargs["_check_input_type"] = kwargs.get("_check_input_type", True)
169
+ kwargs["_check_return_type"] = kwargs.get("_check_return_type", True)
170
+ kwargs["_spec_property_naming"] = kwargs.get("_spec_property_naming", False)
171
+ kwargs["_content_type"] = kwargs.get("_content_type")
172
+ kwargs["_host_index"] = kwargs.get("_host_index")
173
+
174
+
175
+ def get_audit(
176
+ self,
177
+ **kwargs
178
+ ) -> InlineResponse201:
179
+ """get_audit # noqa: E501
180
+
181
+ Returns a list of the most recent \"modificationTimes\" in long datetime format # noqa: E501
182
+ This method makes a synchronous HTTP request. Returns the http data only
183
+
184
+
185
+ Keyword Args:
186
+ database_path_root (DatabasePathRoot): The databasePath to be fetched. [optional]
187
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
188
+ will be returned without reading/decoding response data.
189
+ Default is True. NOTE: if this API returns a file, it is the responsibility
190
+ of the caller to close the file stream.
191
+ _request_timeout (int/float/tuple): timeout setting for this request. If
192
+ one number provided, it will be total request timeout. It can also
193
+ be a pair (tuple) of (connection, read) timeouts.
194
+ Default is None.
195
+ _check_input_type (bool): specifies if type checking
196
+ should be done one the data sent to the server.
197
+ Default is True.
198
+ _check_return_type (bool): specifies if type checking
199
+ should be done one the data received from the server.
200
+ Default is True.
201
+ _spec_property_naming (bool): True if the variable names in the input data
202
+ are serialized names, as specified in the OpenAPI document.
203
+ False if the variable names in the input data
204
+ are pythonic names, e.g. snake case (default)
205
+ _content_type (str/None): force body content-type.
206
+ Default is None and content-type will be predicted by allowed
207
+ content-types and body.
208
+ _host_index (int/None): specifies the index of the server
209
+ that we want to use.
210
+ Default is read from the configuration.
211
+ Returns:
212
+ InlineResponse201
213
+ Response Object
214
+ """
215
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
216
+ return self.get_audit_endpoint.call_with_http_info(**kwargs)
217
+
218
+ def get_audit_with_http_info(
219
+ self,
220
+ **kwargs
221
+ ) -> typing.Tuple[InlineResponse201, int, typing.MutableMapping]:
222
+ """get_audit # noqa: E501
223
+
224
+ Returns a list of the most recent \"modificationTimes\" in long datetime format # noqa: E501
225
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
226
+
227
+
228
+ Keyword Args:
229
+ database_path_root (DatabasePathRoot): The databasePath to be fetched. [optional]
230
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
231
+ will be returned without reading/decoding response data.
232
+ Default is True. NOTE: if this API returns a file, it is the responsibility
233
+ of the caller to close the file stream.
234
+ _request_timeout (int/float/tuple): timeout setting for this request. If
235
+ one number provided, it will be total request timeout. It can also
236
+ be a pair (tuple) of (connection, read) timeouts.
237
+ Default is None.
238
+ _check_input_type (bool): specifies if type checking
239
+ should be done one the data sent to the server.
240
+ Default is True.
241
+ _check_return_type (bool): specifies if type checking
242
+ should be done one the data received from the server.
243
+ Default is True.
244
+ _spec_property_naming (bool): True if the variable names in the input data
245
+ are serialized names, as specified in the OpenAPI document.
246
+ False if the variable names in the input data
247
+ are pythonic names, e.g. snake case (default)
248
+ _content_type (str/None): force body content-type.
249
+ Default is None and content-type will be predicted by allowed
250
+ content-types and body.
251
+ _host_index (int/None): specifies the index of the server
252
+ that we want to use.
253
+ Default is read from the configuration.
254
+ Returns:
255
+ InlineResponse201
256
+ Response Object
257
+ int
258
+ Http Status Code
259
+ dict
260
+ Dictionary of the response headers
261
+ """
262
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
263
+ return self.get_audit_endpoint.call_with_http_info(**kwargs)
264
+
265
+ def get_audit_async(
266
+ self,
267
+ **kwargs
268
+ ) -> "ApplyResult[InlineResponse201]":
269
+ """get_audit # noqa: E501
270
+
271
+ Returns a list of the most recent \"modificationTimes\" in long datetime format # noqa: E501
272
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
273
+
274
+
275
+ Keyword Args:
276
+ database_path_root (DatabasePathRoot): The databasePath to be fetched. [optional]
277
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
278
+ will be returned without reading/decoding response data.
279
+ Default is True. NOTE: if this API returns a file, it is the responsibility
280
+ of the caller to close the file stream.
281
+ _request_timeout (int/float/tuple): timeout setting for this request. If
282
+ one number provided, it will be total request timeout. It can also
283
+ be a pair (tuple) of (connection, read) timeouts.
284
+ Default is None.
285
+ _check_input_type (bool): specifies if type checking
286
+ should be done one the data sent to the server.
287
+ Default is True.
288
+ _check_return_type (bool): specifies if type checking
289
+ should be done one the data received from the server.
290
+ Default is True.
291
+ _spec_property_naming (bool): True if the variable names in the input data
292
+ are serialized names, as specified in the OpenAPI document.
293
+ False if the variable names in the input data
294
+ are pythonic names, e.g. snake case (default)
295
+ _content_type (str/None): force body content-type.
296
+ Default is None and content-type will be predicted by allowed
297
+ content-types and body.
298
+ _host_index (int/None): specifies the index of the server
299
+ that we want to use.
300
+ Default is read from the configuration.
301
+ Returns:
302
+ ApplyResult[InlineResponse201]
303
+ """
304
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
305
+ return self.get_audit_endpoint.call_with_http_info(**kwargs)
306
+
307
+ def get_audit_with_http_info_async(
308
+ self,
309
+ **kwargs
310
+ ) -> "ApplyResult[typing.Tuple[InlineResponse201, int, typing.MutableMapping]]":
311
+ """get_audit # noqa: E501
312
+
313
+ Returns a list of the most recent \"modificationTimes\" in long datetime format # noqa: E501
314
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
315
+
316
+
317
+ Keyword Args:
318
+ database_path_root (DatabasePathRoot): The databasePath to be fetched. [optional]
319
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
320
+ will be returned without reading/decoding response data.
321
+ Default is True. NOTE: if this API returns a file, it is the responsibility
322
+ of the caller to close the file stream.
323
+ _request_timeout (int/float/tuple): timeout setting for this request. If
324
+ one number provided, it will be total request timeout. It can also
325
+ be a pair (tuple) of (connection, read) timeouts.
326
+ Default is None.
327
+ _check_input_type (bool): specifies if type checking
328
+ should be done one the data sent to the server.
329
+ Default is True.
330
+ _check_return_type (bool): specifies if type checking
331
+ should be done one the data received from the server.
332
+ Default is True.
333
+ _spec_property_naming (bool): True if the variable names in the input data
334
+ are serialized names, as specified in the OpenAPI document.
335
+ False if the variable names in the input data
336
+ are pythonic names, e.g. snake case (default)
337
+ _content_type (str/None): force body content-type.
338
+ Default is None and content-type will be predicted by allowed
339
+ content-types and body.
340
+ _host_index (int/None): specifies the index of the server
341
+ that we want to use.
342
+ Default is read from the configuration.
343
+ Returns:
344
+ ApplyResult[(InlineResponse201, int, typing.Dict)]
345
+ """
346
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
347
+ return self.get_audit_endpoint.call_with_http_info(**kwargs)
348
+
349
+
350
+ def get_resource_get_audit(
351
+ self,
352
+ job_id,
353
+ **kwargs
354
+ ) -> InlineResponse200:
355
+ """get_resource_get_audit # noqa: E501
356
+
357
+ Returns the end results of a long running request. The full URL is normally provided for you in the Location header of a finished long running response. # noqa: E501
358
+ This method makes a synchronous HTTP request. Returns the http data only
359
+
360
+ Args:
361
+ job_id (str): jobId generated from the audit endpoint.
362
+
363
+ Keyword Args:
364
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
365
+ will be returned without reading/decoding response data.
366
+ Default is True. NOTE: if this API returns a file, it is the responsibility
367
+ of the caller to close the file stream.
368
+ _request_timeout (int/float/tuple): timeout setting for this request. If
369
+ one number provided, it will be total request timeout. It can also
370
+ be a pair (tuple) of (connection, read) timeouts.
371
+ Default is None.
372
+ _check_input_type (bool): specifies if type checking
373
+ should be done one the data sent to the server.
374
+ Default is True.
375
+ _check_return_type (bool): specifies if type checking
376
+ should be done one the data received from the server.
377
+ Default is True.
378
+ _spec_property_naming (bool): True if the variable names in the input data
379
+ are serialized names, as specified in the OpenAPI document.
380
+ False if the variable names in the input data
381
+ are pythonic names, e.g. snake case (default)
382
+ _content_type (str/None): force body content-type.
383
+ Default is None and content-type will be predicted by allowed
384
+ content-types and body.
385
+ _host_index (int/None): specifies the index of the server
386
+ that we want to use.
387
+ Default is read from the configuration.
388
+ Returns:
389
+ InlineResponse200
390
+ Response Object
391
+ """
392
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=False)
393
+ kwargs['job_id'] = \
394
+ job_id
395
+ return self.get_resource_get_audit_endpoint.call_with_http_info(**kwargs)
396
+
397
+ def get_resource_get_audit_with_http_info(
398
+ self,
399
+ job_id,
400
+ **kwargs
401
+ ) -> typing.Tuple[InlineResponse200, int, typing.MutableMapping]:
402
+ """get_resource_get_audit # noqa: E501
403
+
404
+ Returns the end results of a long running request. The full URL is normally provided for you in the Location header of a finished long running response. # noqa: E501
405
+ This method makes a synchronous HTTP request. Returns http data, http status and headers
406
+
407
+ Args:
408
+ job_id (str): jobId generated from the audit endpoint.
409
+
410
+ Keyword Args:
411
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
412
+ will be returned without reading/decoding response data.
413
+ Default is True. NOTE: if this API returns a file, it is the responsibility
414
+ of the caller to close the file stream.
415
+ _request_timeout (int/float/tuple): timeout setting for this request. If
416
+ one number provided, it will be total request timeout. It can also
417
+ be a pair (tuple) of (connection, read) timeouts.
418
+ Default is None.
419
+ _check_input_type (bool): specifies if type checking
420
+ should be done one the data sent to the server.
421
+ Default is True.
422
+ _check_return_type (bool): specifies if type checking
423
+ should be done one the data received from the server.
424
+ Default is True.
425
+ _spec_property_naming (bool): True if the variable names in the input data
426
+ are serialized names, as specified in the OpenAPI document.
427
+ False if the variable names in the input data
428
+ are pythonic names, e.g. snake case (default)
429
+ _content_type (str/None): force body content-type.
430
+ Default is None and content-type will be predicted by allowed
431
+ content-types and body.
432
+ _host_index (int/None): specifies the index of the server
433
+ that we want to use.
434
+ Default is read from the configuration.
435
+ Returns:
436
+ InlineResponse200
437
+ Response Object
438
+ int
439
+ Http Status Code
440
+ dict
441
+ Dictionary of the response headers
442
+ """
443
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=False)
444
+ kwargs['job_id'] = \
445
+ job_id
446
+ return self.get_resource_get_audit_endpoint.call_with_http_info(**kwargs)
447
+
448
+ def get_resource_get_audit_async(
449
+ self,
450
+ job_id,
451
+ **kwargs
452
+ ) -> "ApplyResult[InlineResponse200]":
453
+ """get_resource_get_audit # noqa: E501
454
+
455
+ Returns the end results of a long running request. The full URL is normally provided for you in the Location header of a finished long running response. # noqa: E501
456
+ This method makes a asynchronous HTTP request. Returns the http data, wrapped in ApplyResult
457
+
458
+ Args:
459
+ job_id (str): jobId generated from the audit endpoint.
460
+
461
+ Keyword Args:
462
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
463
+ will be returned without reading/decoding response data.
464
+ Default is True. NOTE: if this API returns a file, it is the responsibility
465
+ of the caller to close the file stream.
466
+ _request_timeout (int/float/tuple): timeout setting for this request. If
467
+ one number provided, it will be total request timeout. It can also
468
+ be a pair (tuple) of (connection, read) timeouts.
469
+ Default is None.
470
+ _check_input_type (bool): specifies if type checking
471
+ should be done one the data sent to the server.
472
+ Default is True.
473
+ _check_return_type (bool): specifies if type checking
474
+ should be done one the data received from the server.
475
+ Default is True.
476
+ _spec_property_naming (bool): True if the variable names in the input data
477
+ are serialized names, as specified in the OpenAPI document.
478
+ False if the variable names in the input data
479
+ are pythonic names, e.g. snake case (default)
480
+ _content_type (str/None): force body content-type.
481
+ Default is None and content-type will be predicted by allowed
482
+ content-types and body.
483
+ _host_index (int/None): specifies the index of the server
484
+ that we want to use.
485
+ Default is read from the configuration.
486
+ Returns:
487
+ ApplyResult[InlineResponse200]
488
+ """
489
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=True, async_req=True)
490
+ kwargs['job_id'] = \
491
+ job_id
492
+ return self.get_resource_get_audit_endpoint.call_with_http_info(**kwargs)
493
+
494
+ def get_resource_get_audit_with_http_info_async(
495
+ self,
496
+ job_id,
497
+ **kwargs
498
+ ) -> "ApplyResult[typing.Tuple[InlineResponse200, int, typing.MutableMapping]]":
499
+ """get_resource_get_audit # noqa: E501
500
+
501
+ Returns the end results of a long running request. The full URL is normally provided for you in the Location header of a finished long running response. # noqa: E501
502
+ This method makes a asynchronous HTTP request. Returns http data, http status and headers, wrapped in ApplyResult
503
+
504
+ Args:
505
+ job_id (str): jobId generated from the audit endpoint.
506
+
507
+ Keyword Args:
508
+ _preload_content (bool): if False, the urllib3.HTTPResponse object
509
+ will be returned without reading/decoding response data.
510
+ Default is True. NOTE: if this API returns a file, it is the responsibility
511
+ of the caller to close the file stream.
512
+ _request_timeout (int/float/tuple): timeout setting for this request. If
513
+ one number provided, it will be total request timeout. It can also
514
+ be a pair (tuple) of (connection, read) timeouts.
515
+ Default is None.
516
+ _check_input_type (bool): specifies if type checking
517
+ should be done one the data sent to the server.
518
+ Default is True.
519
+ _check_return_type (bool): specifies if type checking
520
+ should be done one the data received from the server.
521
+ Default is True.
522
+ _spec_property_naming (bool): True if the variable names in the input data
523
+ are serialized names, as specified in the OpenAPI document.
524
+ False if the variable names in the input data
525
+ are pythonic names, e.g. snake case (default)
526
+ _content_type (str/None): force body content-type.
527
+ Default is None and content-type will be predicted by allowed
528
+ content-types and body.
529
+ _host_index (int/None): specifies the index of the server
530
+ that we want to use.
531
+ Default is read from the configuration.
532
+ Returns:
533
+ ApplyResult[(InlineResponse200, int, typing.Dict)]
534
+ """
535
+ self.apply_kwargs_defaults(kwargs=kwargs, return_http_data_only=False, async_req=True)
536
+ kwargs['job_id'] = \
537
+ job_id
538
+ return self.get_resource_get_audit_endpoint.call_with_http_info(**kwargs)
539
+
540
+