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.

Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -9
  3. data/docs/{Artifact.md → ArtifactRead.md} +2 -2
  4. data/docs/ArtifactsApi.md +4 -4
  5. data/docs/ExportersCoreExportsApi.md +2 -2
  6. data/docs/ExportersPulpApi.md +8 -8
  7. data/docs/{Import.md → ImportRead.md} +2 -2
  8. data/docs/ImportersCoreImportsApi.md +2 -2
  9. data/docs/ImportersPulpApi.md +8 -8
  10. data/docs/InlineResponse200.md +1 -1
  11. data/docs/InlineResponse2001.md +1 -1
  12. data/docs/InlineResponse2002.md +1 -1
  13. data/docs/InlineResponse2003.md +1 -1
  14. data/docs/InlineResponse2004.md +1 -1
  15. data/docs/InlineResponse2005.md +1 -1
  16. data/docs/InlineResponse2006.md +1 -1
  17. data/docs/InlineResponse2007.md +1 -1
  18. data/docs/InlineResponse2008.md +1 -1
  19. data/docs/InlineResponse2009.md +1 -1
  20. data/docs/PulpExport.md +10 -4
  21. data/docs/PulpExportRead.md +27 -0
  22. data/docs/PulpExporterRead.md +27 -0
  23. data/docs/PulpImporterRead.md +23 -0
  24. data/docs/{SigningService.md → SigningServiceRead.md} +2 -2
  25. data/docs/SigningServicesApi.md +2 -2
  26. data/docs/{TaskGroup.md → TaskGroupRead.md} +2 -2
  27. data/docs/TaskGroupsApi.md +2 -2
  28. data/docs/TaskRead.md +43 -0
  29. data/docs/TasksApi.md +2 -2
  30. data/docs/{UploadDetail.md → UploadDetailRead.md} +2 -2
  31. data/docs/UploadRead.md +23 -0
  32. data/docs/UploadsApi.md +4 -4
  33. data/docs/WorkerRead.md +23 -0
  34. data/docs/WorkersApi.md +2 -2
  35. data/lib/pulpcore_client.rb +11 -5
  36. data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
  37. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +3 -3
  38. data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
  39. data/lib/pulpcore_client/api/importers_core_imports_api.rb +3 -3
  40. data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
  41. data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
  42. data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
  43. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  44. data/lib/pulpcore_client/api/uploads_api.rb +6 -6
  45. data/lib/pulpcore_client/api/workers_api.rb +3 -3
  46. data/lib/pulpcore_client/models/{artifact.rb → artifact_read.rb} +3 -3
  47. data/lib/pulpcore_client/models/{import.rb → import_read.rb} +3 -3
  48. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  49. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  50. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  51. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  52. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  53. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  54. data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
  55. data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
  56. data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
  57. data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
  58. data/lib/pulpcore_client/models/pulp_export.rb +59 -38
  59. data/lib/pulpcore_client/models/pulp_export_read.rb +259 -0
  60. data/lib/pulpcore_client/models/pulp_exporter_read.rb +311 -0
  61. data/lib/pulpcore_client/models/pulp_importer_read.rb +262 -0
  62. data/lib/pulpcore_client/models/{signing_service.rb → signing_service_read.rb} +3 -3
  63. data/lib/pulpcore_client/models/{task_group.rb → task_group_read.rb} +3 -3
  64. data/lib/pulpcore_client/models/task_read.rb +383 -0
  65. data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_read.rb} +3 -3
  66. data/lib/pulpcore_client/models/upload_read.rb +241 -0
  67. data/lib/pulpcore_client/models/worker_read.rb +251 -0
  68. data/lib/pulpcore_client/version.rb +1 -1
  69. data/spec/api/artifacts_api_spec.rb +2 -2
  70. data/spec/api/exporters_core_exports_api_spec.rb +1 -1
  71. data/spec/api/exporters_pulp_api_spec.rb +4 -4
  72. data/spec/api/importers_core_imports_api_spec.rb +1 -1
  73. data/spec/api/importers_pulp_api_spec.rb +4 -4
  74. data/spec/api/signing_services_api_spec.rb +1 -1
  75. data/spec/api/task_groups_api_spec.rb +1 -1
  76. data/spec/api/tasks_api_spec.rb +1 -1
  77. data/spec/api/uploads_api_spec.rb +2 -2
  78. data/spec/api/workers_api_spec.rb +1 -1
  79. data/spec/models/{artifact_spec.rb → artifact_read_spec.rb} +6 -6
  80. data/spec/models/{import_spec.rb → import_read_spec.rb} +6 -6
  81. data/spec/models/pulp_export_read_spec.rb +71 -0
  82. data/spec/models/pulp_export_spec.rb +20 -2
  83. data/spec/models/pulp_exporter_read_spec.rb +71 -0
  84. data/spec/models/pulp_importer_read_spec.rb +59 -0
  85. data/spec/models/{signing_service_spec.rb → signing_service_read_spec.rb} +6 -6
  86. data/spec/models/{task_group_spec.rb → task_group_read_spec.rb} +6 -6
  87. data/spec/models/task_read_spec.rb +119 -0
  88. data/spec/models/{upload_detail_spec.rb → upload_detail_read_spec.rb} +6 -6
  89. data/spec/models/upload_read_spec.rb +59 -0
  90. data/spec/models/worker_read_spec.rb +59 -0
  91. 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 [PulpExporter]
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<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
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] || 'PulpExporter'
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 [PulpExporter]
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<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
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] || 'PulpExporter'
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 [PulpExporter]
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<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
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] || 'PulpExporter'
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 [PulpExporter]
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<(PulpExporter, Integer, Hash)>] PulpExporter data, response status code and response headers
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] || 'PulpExporter'
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 [Import]
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<(Import, Integer, Hash)>] Import data, response status code and response headers
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] || 'Import'
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 [PulpImporter]
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<(PulpImporter, Integer, Hash)>] PulpImporter data, response status code and response headers
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] || 'PulpImporter'
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 [PulpImporter]
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<(PulpImporter, Integer, Hash)>] PulpImporter data, response status code and response headers
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] || 'PulpImporter'
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 [PulpImporter]
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<(PulpImporter, Integer, Hash)>] PulpImporter data, response status code and response headers
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] || 'PulpImporter'
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 [PulpImporter]
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<(PulpImporter, Integer, Hash)>] PulpImporter data, response status code and response headers
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] || 'PulpImporter'
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 [SigningService]
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<(SigningService, Integer, Hash)>] SigningService data, response status code and response headers
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] || 'SigningService'
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 [TaskGroup]
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<(TaskGroup, Integer, Hash)>] TaskGroup data, response status code and response headers
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] || 'TaskGroup'
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 [Task]
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<(Task, Integer, Hash)>] Task data, response status code and response headers
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] || 'Task'
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 [Upload]
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<(Upload, Integer, Hash)>] Upload data, response status code and response headers
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] || 'Upload'
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 [UploadDetail]
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<(UploadDetail, Integer, Hash)>] UploadDetail data, response status code and response headers
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] || 'UploadDetail'
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 [Worker]
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<(Worker, Integer, Hash)>] Worker data, response status code and response headers
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] || 'Worker'
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 Artifact
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::Artifact` initialize method"
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::Artifact`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
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 Import
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::Import` initialize method"
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::Import`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
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
  }
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<Artifact>'
41
+ :'results' => :'Array<ArtifactRead>'
42
42
  }
43
43
  end
44
44