pulpcore_client 3.4.0.dev01590354301 → 3.5.0.dev01590700404
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pulpcore_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +15 -9
- data/docs/{Artifact.md → ArtifactRead.md} +2 -2
- data/docs/ArtifactsApi.md +4 -4
- data/docs/ExportersCoreExportsApi.md +2 -2
- data/docs/ExportersPulpApi.md +8 -8
- data/docs/{Import.md → ImportRead.md} +2 -2
- data/docs/ImportersCoreImportsApi.md +2 -2
- data/docs/ImportersPulpApi.md +8 -8
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +1 -1
- data/docs/InlineResponse2009.md +1 -1
- data/docs/PulpExport.md +10 -4
- data/docs/PulpExportRead.md +27 -0
- data/docs/PulpExporterRead.md +27 -0
- data/docs/PulpImporterRead.md +23 -0
- data/docs/{SigningService.md → SigningServiceRead.md} +2 -2
- data/docs/SigningServicesApi.md +2 -2
- data/docs/{TaskGroup.md → TaskGroupRead.md} +2 -2
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TaskRead.md +43 -0
- data/docs/TasksApi.md +2 -2
- data/docs/{UploadDetail.md → UploadDetailRead.md} +2 -2
- data/docs/UploadRead.md +23 -0
- data/docs/UploadsApi.md +4 -4
- data/docs/WorkerRead.md +23 -0
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client.rb +11 -5
- data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
- data/lib/pulpcore_client/api/exporters_core_exports_api.rb +3 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
- data/lib/pulpcore_client/api/importers_core_imports_api.rb +3 -3
- data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
- data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
- data/lib/pulpcore_client/api/tasks_api.rb +3 -3
- data/lib/pulpcore_client/api/uploads_api.rb +6 -6
- data/lib/pulpcore_client/api/workers_api.rb +3 -3
- data/lib/pulpcore_client/models/{artifact.rb → artifact_read.rb} +3 -3
- data/lib/pulpcore_client/models/{import.rb → import_read.rb} +3 -3
- data/lib/pulpcore_client/models/inline_response200.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
- data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
- data/lib/pulpcore_client/models/pulp_export.rb +59 -38
- data/lib/pulpcore_client/models/pulp_export_read.rb +259 -0
- data/lib/pulpcore_client/models/pulp_exporter_read.rb +311 -0
- data/lib/pulpcore_client/models/pulp_importer_read.rb +262 -0
- data/lib/pulpcore_client/models/{signing_service.rb → signing_service_read.rb} +3 -3
- data/lib/pulpcore_client/models/{task_group.rb → task_group_read.rb} +3 -3
- data/lib/pulpcore_client/models/task_read.rb +383 -0
- data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_read.rb} +3 -3
- data/lib/pulpcore_client/models/upload_read.rb +241 -0
- data/lib/pulpcore_client/models/worker_read.rb +251 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/artifacts_api_spec.rb +2 -2
- data/spec/api/exporters_core_exports_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_api_spec.rb +4 -4
- data/spec/api/importers_core_imports_api_spec.rb +1 -1
- data/spec/api/importers_pulp_api_spec.rb +4 -4
- data/spec/api/signing_services_api_spec.rb +1 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +2 -2
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/models/{artifact_spec.rb → artifact_read_spec.rb} +6 -6
- data/spec/models/{import_spec.rb → import_read_spec.rb} +6 -6
- data/spec/models/pulp_export_read_spec.rb +71 -0
- data/spec/models/pulp_export_spec.rb +20 -2
- data/spec/models/pulp_exporter_read_spec.rb +71 -0
- data/spec/models/pulp_importer_read_spec.rb +59 -0
- data/spec/models/{signing_service_spec.rb → signing_service_read_spec.rb} +6 -6
- data/spec/models/{task_group_spec.rb → task_group_read_spec.rb} +6 -6
- data/spec/models/task_read_spec.rb +119 -0
- data/spec/models/{upload_detail_spec.rb → upload_detail_read_spec.rb} +6 -6
- data/spec/models/upload_read_spec.rb +59 -0
- data/spec/models/worker_read_spec.rb +59 -0
- metadata +46 -22
@@ -23,7 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# ViewSet for viewing PulpExporters.
|
24
24
|
# @param data [PulpExporter]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [PulpExporterRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpcoreClient
|
|
33
33
|
# ViewSet for viewing PulpExporters.
|
34
34
|
# @param data [PulpExporter]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(PulpExporterRead, Integer, Hash)>] PulpExporterRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpcoreClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'PulpExporterRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -225,7 +225,7 @@ module PulpcoreClient
|
|
225
225
|
# @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
226
226
|
# @param data [PulpExporter]
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
|
-
# @return [
|
228
|
+
# @return [PulpExporterRead]
|
229
229
|
def partial_update(pulp_exporter_href, data, opts = {})
|
230
230
|
data, _status_code, _headers = partial_update_with_http_info(pulp_exporter_href, data, opts)
|
231
231
|
data
|
@@ -236,7 +236,7 @@ module PulpcoreClient
|
|
236
236
|
# @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
237
237
|
# @param data [PulpExporter]
|
238
238
|
# @param [Hash] opts the optional parameters
|
239
|
-
# @return [Array<(
|
239
|
+
# @return [Array<(PulpExporterRead, Integer, Hash)>] PulpExporterRead data, response status code and response headers
|
240
240
|
def partial_update_with_http_info(pulp_exporter_href, data, opts = {})
|
241
241
|
if @api_client.config.debugging
|
242
242
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.partial_update ...'
|
@@ -269,7 +269,7 @@ module PulpcoreClient
|
|
269
269
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
270
270
|
|
271
271
|
# return_type
|
272
|
-
return_type = opts[:return_type] || '
|
272
|
+
return_type = opts[:return_type] || 'PulpExporterRead'
|
273
273
|
|
274
274
|
# auth_names
|
275
275
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -296,7 +296,7 @@ module PulpcoreClient
|
|
296
296
|
# @param [Hash] opts the optional parameters
|
297
297
|
# @option opts [String] :fields A list of fields to include in the response.
|
298
298
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
299
|
-
# @return [
|
299
|
+
# @return [PulpExporterRead]
|
300
300
|
def read(pulp_exporter_href, opts = {})
|
301
301
|
data, _status_code, _headers = read_with_http_info(pulp_exporter_href, opts)
|
302
302
|
data
|
@@ -308,7 +308,7 @@ module PulpcoreClient
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
309
|
# @option opts [String] :fields A list of fields to include in the response.
|
310
310
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
311
|
-
# @return [Array<(
|
311
|
+
# @return [Array<(PulpExporterRead, Integer, Hash)>] PulpExporterRead data, response status code and response headers
|
312
312
|
def read_with_http_info(pulp_exporter_href, opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.read ...'
|
@@ -337,7 +337,7 @@ module PulpcoreClient
|
|
337
337
|
post_body = opts[:body]
|
338
338
|
|
339
339
|
# return_type
|
340
|
-
return_type = opts[:return_type] || '
|
340
|
+
return_type = opts[:return_type] || 'PulpExporterRead'
|
341
341
|
|
342
342
|
# auth_names
|
343
343
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -363,7 +363,7 @@ module PulpcoreClient
|
|
363
363
|
# @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
364
364
|
# @param data [PulpExporter]
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [
|
366
|
+
# @return [PulpExporterRead]
|
367
367
|
def update(pulp_exporter_href, data, opts = {})
|
368
368
|
data, _status_code, _headers = update_with_http_info(pulp_exporter_href, data, opts)
|
369
369
|
data
|
@@ -374,7 +374,7 @@ module PulpcoreClient
|
|
374
374
|
# @param pulp_exporter_href [String] URI of Pulp Exporter. e.g.: /pulp/api/v3/exporters/core/pulp/1/
|
375
375
|
# @param data [PulpExporter]
|
376
376
|
# @param [Hash] opts the optional parameters
|
377
|
-
# @return [Array<(
|
377
|
+
# @return [Array<(PulpExporterRead, Integer, Hash)>] PulpExporterRead data, response status code and response headers
|
378
378
|
def update_with_http_info(pulp_exporter_href, data, opts = {})
|
379
379
|
if @api_client.config.debugging
|
380
380
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.update ...'
|
@@ -407,7 +407,7 @@ module PulpcoreClient
|
|
407
407
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
408
408
|
|
409
409
|
# return_type
|
410
|
-
return_type = opts[:return_type] || '
|
410
|
+
return_type = opts[:return_type] || 'PulpExporterRead'
|
411
411
|
|
412
412
|
# auth_names
|
413
413
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -232,7 +232,7 @@ module PulpcoreClient
|
|
232
232
|
# @param [Hash] opts the optional parameters
|
233
233
|
# @option opts [String] :fields A list of fields to include in the response.
|
234
234
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
235
|
-
# @return [
|
235
|
+
# @return [ImportRead]
|
236
236
|
def read(pulp_import_href, opts = {})
|
237
237
|
data, _status_code, _headers = read_with_http_info(pulp_import_href, opts)
|
238
238
|
data
|
@@ -244,7 +244,7 @@ module PulpcoreClient
|
|
244
244
|
# @param [Hash] opts the optional parameters
|
245
245
|
# @option opts [String] :fields A list of fields to include in the response.
|
246
246
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
247
|
-
# @return [Array<(
|
247
|
+
# @return [Array<(ImportRead, Integer, Hash)>] ImportRead data, response status code and response headers
|
248
248
|
def read_with_http_info(pulp_import_href, opts = {})
|
249
249
|
if @api_client.config.debugging
|
250
250
|
@api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.read ...'
|
@@ -273,7 +273,7 @@ module PulpcoreClient
|
|
273
273
|
post_body = opts[:body]
|
274
274
|
|
275
275
|
# return_type
|
276
|
-
return_type = opts[:return_type] || '
|
276
|
+
return_type = opts[:return_type] || 'ImportRead'
|
277
277
|
|
278
278
|
# auth_names
|
279
279
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -23,7 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# ViewSet for PulpImporters.
|
24
24
|
# @param data [PulpImporter]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @return [
|
26
|
+
# @return [PulpImporterRead]
|
27
27
|
def create(data, opts = {})
|
28
28
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
29
29
|
data
|
@@ -33,7 +33,7 @@ module PulpcoreClient
|
|
33
33
|
# ViewSet for PulpImporters.
|
34
34
|
# @param data [PulpImporter]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @return [Array<(
|
36
|
+
# @return [Array<(PulpImporterRead, Integer, Hash)>] PulpImporterRead data, response status code and response headers
|
37
37
|
def create_with_http_info(data, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
39
|
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.create ...'
|
@@ -62,7 +62,7 @@ module PulpcoreClient
|
|
62
62
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
63
63
|
|
64
64
|
# return_type
|
65
|
-
return_type = opts[:return_type] || '
|
65
|
+
return_type = opts[:return_type] || 'PulpImporterRead'
|
66
66
|
|
67
67
|
# auth_names
|
68
68
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -225,7 +225,7 @@ module PulpcoreClient
|
|
225
225
|
# @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
226
226
|
# @param data [PulpImporter]
|
227
227
|
# @param [Hash] opts the optional parameters
|
228
|
-
# @return [
|
228
|
+
# @return [PulpImporterRead]
|
229
229
|
def partial_update(pulp_importer_href, data, opts = {})
|
230
230
|
data, _status_code, _headers = partial_update_with_http_info(pulp_importer_href, data, opts)
|
231
231
|
data
|
@@ -236,7 +236,7 @@ module PulpcoreClient
|
|
236
236
|
# @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
237
237
|
# @param data [PulpImporter]
|
238
238
|
# @param [Hash] opts the optional parameters
|
239
|
-
# @return [Array<(
|
239
|
+
# @return [Array<(PulpImporterRead, Integer, Hash)>] PulpImporterRead data, response status code and response headers
|
240
240
|
def partial_update_with_http_info(pulp_importer_href, data, opts = {})
|
241
241
|
if @api_client.config.debugging
|
242
242
|
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.partial_update ...'
|
@@ -269,7 +269,7 @@ module PulpcoreClient
|
|
269
269
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
270
270
|
|
271
271
|
# return_type
|
272
|
-
return_type = opts[:return_type] || '
|
272
|
+
return_type = opts[:return_type] || 'PulpImporterRead'
|
273
273
|
|
274
274
|
# auth_names
|
275
275
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -296,7 +296,7 @@ module PulpcoreClient
|
|
296
296
|
# @param [Hash] opts the optional parameters
|
297
297
|
# @option opts [String] :fields A list of fields to include in the response.
|
298
298
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
299
|
-
# @return [
|
299
|
+
# @return [PulpImporterRead]
|
300
300
|
def read(pulp_importer_href, opts = {})
|
301
301
|
data, _status_code, _headers = read_with_http_info(pulp_importer_href, opts)
|
302
302
|
data
|
@@ -308,7 +308,7 @@ module PulpcoreClient
|
|
308
308
|
# @param [Hash] opts the optional parameters
|
309
309
|
# @option opts [String] :fields A list of fields to include in the response.
|
310
310
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
311
|
-
# @return [Array<(
|
311
|
+
# @return [Array<(PulpImporterRead, Integer, Hash)>] PulpImporterRead data, response status code and response headers
|
312
312
|
def read_with_http_info(pulp_importer_href, opts = {})
|
313
313
|
if @api_client.config.debugging
|
314
314
|
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.read ...'
|
@@ -337,7 +337,7 @@ module PulpcoreClient
|
|
337
337
|
post_body = opts[:body]
|
338
338
|
|
339
339
|
# return_type
|
340
|
-
return_type = opts[:return_type] || '
|
340
|
+
return_type = opts[:return_type] || 'PulpImporterRead'
|
341
341
|
|
342
342
|
# auth_names
|
343
343
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -363,7 +363,7 @@ module PulpcoreClient
|
|
363
363
|
# @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
364
364
|
# @param data [PulpImporter]
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [
|
366
|
+
# @return [PulpImporterRead]
|
367
367
|
def update(pulp_importer_href, data, opts = {})
|
368
368
|
data, _status_code, _headers = update_with_http_info(pulp_importer_href, data, opts)
|
369
369
|
data
|
@@ -374,7 +374,7 @@ module PulpcoreClient
|
|
374
374
|
# @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
|
375
375
|
# @param data [PulpImporter]
|
376
376
|
# @param [Hash] opts the optional parameters
|
377
|
-
# @return [Array<(
|
377
|
+
# @return [Array<(PulpImporterRead, Integer, Hash)>] PulpImporterRead data, response status code and response headers
|
378
378
|
def update_with_http_info(pulp_importer_href, data, opts = {})
|
379
379
|
if @api_client.config.debugging
|
380
380
|
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.update ...'
|
@@ -407,7 +407,7 @@ module PulpcoreClient
|
|
407
407
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
408
408
|
|
409
409
|
# return_type
|
410
|
-
return_type = opts[:return_type] || '
|
410
|
+
return_type = opts[:return_type] || 'PulpImporterRead'
|
411
411
|
|
412
412
|
# auth_names
|
413
413
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -99,7 +99,7 @@ module PulpcoreClient
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @option opts [String] :fields A list of fields to include in the response.
|
101
101
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
102
|
-
# @return [
|
102
|
+
# @return [SigningServiceRead]
|
103
103
|
def read(signing_service_href, opts = {})
|
104
104
|
data, _status_code, _headers = read_with_http_info(signing_service_href, opts)
|
105
105
|
data
|
@@ -111,7 +111,7 @@ module PulpcoreClient
|
|
111
111
|
# @param [Hash] opts the optional parameters
|
112
112
|
# @option opts [String] :fields A list of fields to include in the response.
|
113
113
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
|
-
# @return [Array<(
|
114
|
+
# @return [Array<(SigningServiceRead, Integer, Hash)>] SigningServiceRead data, response status code and response headers
|
115
115
|
def read_with_http_info(signing_service_href, opts = {})
|
116
116
|
if @api_client.config.debugging
|
117
117
|
@api_client.config.logger.debug 'Calling API: SigningServicesApi.read ...'
|
@@ -140,7 +140,7 @@ module PulpcoreClient
|
|
140
140
|
post_body = opts[:body]
|
141
141
|
|
142
142
|
# return_type
|
143
|
-
return_type = opts[:return_type] || '
|
143
|
+
return_type = opts[:return_type] || 'SigningServiceRead'
|
144
144
|
|
145
145
|
# auth_names
|
146
146
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -93,7 +93,7 @@ module PulpcoreClient
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
94
|
# @option opts [String] :fields A list of fields to include in the response.
|
95
95
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
96
|
-
# @return [
|
96
|
+
# @return [TaskGroupRead]
|
97
97
|
def read(task_group_href, opts = {})
|
98
98
|
data, _status_code, _headers = read_with_http_info(task_group_href, opts)
|
99
99
|
data
|
@@ -104,7 +104,7 @@ module PulpcoreClient
|
|
104
104
|
# @param [Hash] opts the optional parameters
|
105
105
|
# @option opts [String] :fields A list of fields to include in the response.
|
106
106
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
|
-
# @return [Array<(
|
107
|
+
# @return [Array<(TaskGroupRead, Integer, Hash)>] TaskGroupRead data, response status code and response headers
|
108
108
|
def read_with_http_info(task_group_href, opts = {})
|
109
109
|
if @api_client.config.debugging
|
110
110
|
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.read ...'
|
@@ -133,7 +133,7 @@ module PulpcoreClient
|
|
133
133
|
post_body = opts[:body]
|
134
134
|
|
135
135
|
# return_type
|
136
|
-
return_type = opts[:return_type] || '
|
136
|
+
return_type = opts[:return_type] || 'TaskGroupRead'
|
137
137
|
|
138
138
|
# auth_names
|
139
139
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -220,7 +220,7 @@ module PulpcoreClient
|
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
221
|
# @option opts [String] :fields A list of fields to include in the response.
|
222
222
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
223
|
-
# @return [
|
223
|
+
# @return [TaskRead]
|
224
224
|
def read(task_href, opts = {})
|
225
225
|
data, _status_code, _headers = read_with_http_info(task_href, opts)
|
226
226
|
data
|
@@ -231,7 +231,7 @@ module PulpcoreClient
|
|
231
231
|
# @param [Hash] opts the optional parameters
|
232
232
|
# @option opts [String] :fields A list of fields to include in the response.
|
233
233
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
234
|
-
# @return [Array<(
|
234
|
+
# @return [Array<(TaskRead, Integer, Hash)>] TaskRead data, response status code and response headers
|
235
235
|
def read_with_http_info(task_href, opts = {})
|
236
236
|
if @api_client.config.debugging
|
237
237
|
@api_client.config.logger.debug 'Calling API: TasksApi.read ...'
|
@@ -260,7 +260,7 @@ module PulpcoreClient
|
|
260
260
|
post_body = opts[:body]
|
261
261
|
|
262
262
|
# return_type
|
263
|
-
return_type = opts[:return_type] || '
|
263
|
+
return_type = opts[:return_type] || 'TaskRead'
|
264
264
|
|
265
265
|
# auth_names
|
266
266
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -93,7 +93,7 @@ module PulpcoreClient
|
|
93
93
|
# View for chunked uploads.
|
94
94
|
# @param data [Upload]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
|
-
# @return [
|
96
|
+
# @return [UploadRead]
|
97
97
|
def create(data, opts = {})
|
98
98
|
data, _status_code, _headers = create_with_http_info(data, opts)
|
99
99
|
data
|
@@ -103,7 +103,7 @@ module PulpcoreClient
|
|
103
103
|
# View for chunked uploads.
|
104
104
|
# @param data [Upload]
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
|
-
# @return [Array<(
|
106
|
+
# @return [Array<(UploadRead, Integer, Hash)>] UploadRead data, response status code and response headers
|
107
107
|
def create_with_http_info(data, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
109
|
@api_client.config.logger.debug 'Calling API: UploadsApi.create ...'
|
@@ -132,7 +132,7 @@ module PulpcoreClient
|
|
132
132
|
post_body = opts[:body] || @api_client.object_to_http_body(data)
|
133
133
|
|
134
134
|
# return_type
|
135
|
-
return_type = opts[:return_type] || '
|
135
|
+
return_type = opts[:return_type] || 'UploadRead'
|
136
136
|
|
137
137
|
# auth_names
|
138
138
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -293,7 +293,7 @@ module PulpcoreClient
|
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @option opts [String] :fields A list of fields to include in the response.
|
295
295
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
296
|
-
# @return [
|
296
|
+
# @return [UploadDetailRead]
|
297
297
|
def read(upload_href, opts = {})
|
298
298
|
data, _status_code, _headers = read_with_http_info(upload_href, opts)
|
299
299
|
data
|
@@ -305,7 +305,7 @@ module PulpcoreClient
|
|
305
305
|
# @param [Hash] opts the optional parameters
|
306
306
|
# @option opts [String] :fields A list of fields to include in the response.
|
307
307
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
308
|
-
# @return [Array<(
|
308
|
+
# @return [Array<(UploadDetailRead, Integer, Hash)>] UploadDetailRead data, response status code and response headers
|
309
309
|
def read_with_http_info(upload_href, opts = {})
|
310
310
|
if @api_client.config.debugging
|
311
311
|
@api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
|
@@ -334,7 +334,7 @@ module PulpcoreClient
|
|
334
334
|
post_body = opts[:body]
|
335
335
|
|
336
336
|
# return_type
|
337
|
-
return_type = opts[:return_type] || '
|
337
|
+
return_type = opts[:return_type] || 'UploadDetailRead'
|
338
338
|
|
339
339
|
# auth_names
|
340
340
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -123,7 +123,7 @@ module PulpcoreClient
|
|
123
123
|
# @param [Hash] opts the optional parameters
|
124
124
|
# @option opts [String] :fields A list of fields to include in the response.
|
125
125
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
126
|
-
# @return [
|
126
|
+
# @return [WorkerRead]
|
127
127
|
def read(worker_href, opts = {})
|
128
128
|
data, _status_code, _headers = read_with_http_info(worker_href, opts)
|
129
129
|
data
|
@@ -134,7 +134,7 @@ module PulpcoreClient
|
|
134
134
|
# @param [Hash] opts the optional parameters
|
135
135
|
# @option opts [String] :fields A list of fields to include in the response.
|
136
136
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
137
|
-
# @return [Array<(
|
137
|
+
# @return [Array<(WorkerRead, Integer, Hash)>] WorkerRead data, response status code and response headers
|
138
138
|
def read_with_http_info(worker_href, opts = {})
|
139
139
|
if @api_client.config.debugging
|
140
140
|
@api_client.config.logger.debug 'Calling API: WorkersApi.read ...'
|
@@ -163,7 +163,7 @@ module PulpcoreClient
|
|
163
163
|
post_body = opts[:body]
|
164
164
|
|
165
165
|
# return_type
|
166
|
-
return_type = opts[:return_type] || '
|
166
|
+
return_type = opts[:return_type] || 'WorkerRead'
|
167
167
|
|
168
168
|
# auth_names
|
169
169
|
auth_names = opts[:auth_names] || ['Basic']
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpcoreClient
|
16
|
-
class
|
16
|
+
class ArtifactRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -91,13 +91,13 @@ module PulpcoreClient
|
|
91
91
|
# @param [Hash] attributes Model attributes in the form of hash
|
92
92
|
def initialize(attributes = {})
|
93
93
|
if (!attributes.is_a?(Hash))
|
94
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::
|
94
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::ArtifactRead` initialize method"
|
95
95
|
end
|
96
96
|
|
97
97
|
# check to see if the attribute exists and convert string to symbol for hash key
|
98
98
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
99
99
|
if (!self.class.attribute_map.key?(k.to_sym))
|
100
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::
|
100
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::ArtifactRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
101
101
|
end
|
102
102
|
h[k.to_sym] = v
|
103
103
|
}
|
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpcoreClient
|
16
|
-
class
|
16
|
+
class ImportRead
|
17
17
|
attr_accessor :pulp_href
|
18
18
|
|
19
19
|
# Timestamp of creation.
|
@@ -55,13 +55,13 @@ module PulpcoreClient
|
|
55
55
|
# @param [Hash] attributes Model attributes in the form of hash
|
56
56
|
def initialize(attributes = {})
|
57
57
|
if (!attributes.is_a?(Hash))
|
58
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::
|
58
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpcoreClient::ImportRead` initialize method"
|
59
59
|
end
|
60
60
|
|
61
61
|
# check to see if the attribute exists and convert string to symbol for hash key
|
62
62
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
63
63
|
if (!self.class.attribute_map.key?(k.to_sym))
|
64
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::
|
64
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpcoreClient::ImportRead`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
65
65
|
end
|
66
66
|
h[k.to_sym] = v
|
67
67
|
}
|