pulpcore_client 3.3.1 → 3.4.0

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 (99) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +20 -14
  3. data/docs/{Artifact.md → ArtifactRead.md} +2 -2
  4. data/docs/ArtifactsApi.md +5 -5
  5. data/docs/ExportersCoreExportsApi.md +13 -13
  6. data/docs/ExportersPulpApi.md +9 -9
  7. data/docs/{Import.md → ImportRead.md} +2 -2
  8. data/docs/ImportersCoreImportsApi.md +13 -13
  9. data/docs/ImportersPulpApi.md +9 -9
  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/OrphansApi.md +1 -1
  21. data/docs/PulpExport.md +12 -6
  22. data/docs/PulpExportRead.md +27 -0
  23. data/docs/PulpExporterRead.md +27 -0
  24. data/docs/PulpImporterRead.md +23 -0
  25. data/docs/{SigningService.md → SigningServiceRead.md} +2 -2
  26. data/docs/SigningServicesApi.md +3 -3
  27. data/docs/StatusApi.md +1 -1
  28. data/docs/{TaskGroup.md → TaskGroupRead.md} +4 -2
  29. data/docs/TaskGroupsApi.md +3 -3
  30. data/docs/TaskRead.md +43 -0
  31. data/docs/TasksApi.md +3 -3
  32. data/docs/{UploadDetail.md → UploadDetailRead.md} +2 -2
  33. data/docs/UploadRead.md +23 -0
  34. data/docs/UploadsApi.md +5 -5
  35. data/docs/Worker.md +3 -3
  36. data/docs/WorkerRead.md +23 -0
  37. data/docs/WorkersApi.md +3 -3
  38. data/lib/pulpcore_client/api/artifacts_api.rb +6 -6
  39. data/lib/pulpcore_client/api/exporters_core_exports_api.rb +21 -21
  40. data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
  41. data/lib/pulpcore_client/api/importers_core_imports_api.rb +21 -21
  42. data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
  43. data/lib/pulpcore_client/api/signing_services_api.rb +3 -3
  44. data/lib/pulpcore_client/api/task_groups_api.rb +3 -3
  45. data/lib/pulpcore_client/api/tasks_api.rb +3 -3
  46. data/lib/pulpcore_client/api/uploads_api.rb +6 -6
  47. data/lib/pulpcore_client/api/workers_api.rb +3 -3
  48. data/lib/pulpcore_client/configuration.rb +2 -2
  49. data/lib/pulpcore_client/models/{artifact.rb → artifact_read.rb} +3 -3
  50. data/lib/pulpcore_client/models/{import.rb → import_read.rb} +3 -3
  51. data/lib/pulpcore_client/models/inline_response200.rb +1 -1
  52. data/lib/pulpcore_client/models/inline_response2001.rb +1 -1
  53. data/lib/pulpcore_client/models/inline_response2002.rb +1 -1
  54. data/lib/pulpcore_client/models/inline_response2003.rb +1 -1
  55. data/lib/pulpcore_client/models/inline_response2004.rb +1 -1
  56. data/lib/pulpcore_client/models/inline_response2005.rb +1 -1
  57. data/lib/pulpcore_client/models/inline_response2006.rb +1 -1
  58. data/lib/pulpcore_client/models/inline_response2007.rb +1 -1
  59. data/lib/pulpcore_client/models/inline_response2008.rb +1 -1
  60. data/lib/pulpcore_client/models/inline_response2009.rb +1 -1
  61. data/lib/pulpcore_client/models/pulp_export.rb +59 -49
  62. data/lib/pulpcore_client/models/pulp_export_read.rb +259 -0
  63. data/lib/pulpcore_client/models/pulp_exporter.rb +1 -0
  64. data/lib/pulpcore_client/models/pulp_exporter_read.rb +311 -0
  65. data/lib/pulpcore_client/models/pulp_importer_read.rb +262 -0
  66. data/lib/pulpcore_client/models/{signing_service.rb → signing_service_read.rb} +3 -3
  67. data/lib/pulpcore_client/models/{task_group.rb → task_group_read.rb} +19 -4
  68. data/lib/pulpcore_client/models/task_read.rb +383 -0
  69. data/lib/pulpcore_client/models/{upload_detail.rb → upload_detail_read.rb} +3 -3
  70. data/lib/pulpcore_client/models/upload_read.rb +241 -0
  71. data/lib/pulpcore_client/models/worker.rb +10 -10
  72. data/lib/pulpcore_client/models/worker_read.rb +251 -0
  73. data/lib/pulpcore_client/version.rb +1 -1
  74. data/lib/pulpcore_client.rb +11 -5
  75. data/spec/api/artifacts_api_spec.rb +2 -2
  76. data/spec/api/exporters_core_exports_api_spec.rb +3 -3
  77. data/spec/api/exporters_pulp_api_spec.rb +4 -4
  78. data/spec/api/importers_core_imports_api_spec.rb +3 -3
  79. data/spec/api/importers_pulp_api_spec.rb +4 -4
  80. data/spec/api/signing_services_api_spec.rb +1 -1
  81. data/spec/api/task_groups_api_spec.rb +1 -1
  82. data/spec/api/tasks_api_spec.rb +1 -1
  83. data/spec/api/uploads_api_spec.rb +2 -2
  84. data/spec/api/workers_api_spec.rb +1 -1
  85. data/spec/configuration_spec.rb +3 -3
  86. data/spec/models/{artifact_spec.rb → artifact_read_spec.rb} +6 -6
  87. data/spec/models/{import_spec.rb → import_read_spec.rb} +6 -6
  88. data/spec/models/pulp_export_read_spec.rb +71 -0
  89. data/spec/models/pulp_export_spec.rb +20 -2
  90. data/spec/models/pulp_exporter_read_spec.rb +71 -0
  91. data/spec/models/pulp_importer_read_spec.rb +59 -0
  92. data/spec/models/{signing_service_spec.rb → signing_service_read_spec.rb} +6 -6
  93. data/spec/models/{task_group_spec.rb → task_group_read_spec.rb} +12 -6
  94. data/spec/models/task_read_spec.rb +119 -0
  95. data/spec/models/{upload_detail_spec.rb → upload_detail_read_spec.rb} +6 -6
  96. data/spec/models/upload_read_spec.rb +59 -0
  97. data/spec/models/worker_read_spec.rb +59 -0
  98. data/spec/models/worker_spec.rb +2 -2
  99. 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']
@@ -21,35 +21,35 @@ module PulpcoreClient
21
21
  end
22
22
  # Create a pulp import
23
23
  # Trigger an asynchronous task to import a Pulp export.
24
- # @param importer_pk [String]
24
+ # @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
25
25
  # @param data [PulpImport]
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @return [AsyncOperationResponse]
28
- def create(importer_pk, data, opts = {})
29
- data, _status_code, _headers = create_with_http_info(importer_pk, data, opts)
28
+ def create(pulp_importer_href, data, opts = {})
29
+ data, _status_code, _headers = create_with_http_info(pulp_importer_href, data, opts)
30
30
  data
31
31
  end
32
32
 
33
33
  # Create a pulp import
34
34
  # Trigger an asynchronous task to import a Pulp export.
35
- # @param importer_pk [String]
35
+ # @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
36
36
  # @param data [PulpImport]
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
- def create_with_http_info(importer_pk, data, opts = {})
39
+ def create_with_http_info(pulp_importer_href, data, opts = {})
40
40
  if @api_client.config.debugging
41
41
  @api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.create ...'
42
42
  end
43
- # verify the required parameter 'importer_pk' is set
44
- if @api_client.config.client_side_validation && importer_pk.nil?
45
- fail ArgumentError, "Missing the required parameter 'importer_pk' when calling ImportersCoreImportsApi.create"
43
+ # verify the required parameter 'pulp_importer_href' is set
44
+ if @api_client.config.client_side_validation && pulp_importer_href.nil?
45
+ fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersCoreImportsApi.create"
46
46
  end
47
47
  # verify the required parameter 'data' is set
48
48
  if @api_client.config.client_side_validation && data.nil?
49
49
  fail ArgumentError, "Missing the required parameter 'data' when calling ImportersCoreImportsApi.create"
50
50
  end
51
51
  # resource path
52
- local_var_path = '/pulp/api/v3/importers/core/pulp/{importer_pk}/imports/'.sub('{' + 'importer_pk' + '}', CGI.escape(importer_pk.to_s).gsub('%2F', '/'))
52
+ local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
53
53
 
54
54
  # query parameters
55
55
  query_params = opts[:query_params] || {}
@@ -151,7 +151,7 @@ module PulpcoreClient
151
151
 
152
152
  # List pulp imports
153
153
  # ViewSet for PulpImports.
154
- # @param importer_pk [String]
154
+ # @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
155
155
  # @param [Hash] opts the optional parameters
156
156
  # @option opts [String] :ordering Which field to use when ordering the results.
157
157
  # @option opts [Integer] :limit Number of results to return per page.
@@ -159,14 +159,14 @@ module PulpcoreClient
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
161
  # @return [InlineResponse2004]
162
- def list(importer_pk, opts = {})
163
- data, _status_code, _headers = list_with_http_info(importer_pk, opts)
162
+ def list(pulp_importer_href, opts = {})
163
+ data, _status_code, _headers = list_with_http_info(pulp_importer_href, opts)
164
164
  data
165
165
  end
166
166
 
167
167
  # List pulp imports
168
168
  # ViewSet for PulpImports.
169
- # @param importer_pk [String]
169
+ # @param pulp_importer_href [String] URI of Pulp Importer. e.g.: /pulp/api/v3/importers/core/pulp/1/
170
170
  # @param [Hash] opts the optional parameters
171
171
  # @option opts [String] :ordering Which field to use when ordering the results.
172
172
  # @option opts [Integer] :limit Number of results to return per page.
@@ -174,16 +174,16 @@ module PulpcoreClient
174
174
  # @option opts [String] :fields A list of fields to include in the response.
175
175
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
176
176
  # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
177
- def list_with_http_info(importer_pk, opts = {})
177
+ def list_with_http_info(pulp_importer_href, opts = {})
178
178
  if @api_client.config.debugging
179
179
  @api_client.config.logger.debug 'Calling API: ImportersCoreImportsApi.list ...'
180
180
  end
181
- # verify the required parameter 'importer_pk' is set
182
- if @api_client.config.client_side_validation && importer_pk.nil?
183
- fail ArgumentError, "Missing the required parameter 'importer_pk' when calling ImportersCoreImportsApi.list"
181
+ # verify the required parameter 'pulp_importer_href' is set
182
+ if @api_client.config.client_side_validation && pulp_importer_href.nil?
183
+ fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersCoreImportsApi.list"
184
184
  end
185
185
  # resource path
186
- local_var_path = '/pulp/api/v3/importers/core/pulp/{importer_pk}/imports/'.sub('{' + 'importer_pk' + '}', CGI.escape(importer_pk.to_s).gsub('%2F', '/'))
186
+ local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
187
187
 
188
188
  # query parameters
189
189
  query_params = opts[:query_params] || {}
@@ -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']
@@ -122,7 +122,7 @@ module PulpcoreClient
122
122
 
123
123
  def initialize
124
124
  @scheme = 'http'
125
- @host = 'localhost'
125
+ @host = 'pulp'
126
126
  @base_path = ''
127
127
  @api_key = {}
128
128
  @api_key_prefix = {}
@@ -202,7 +202,7 @@ module PulpcoreClient
202
202
  def server_settings
203
203
  [
204
204
  {
205
- url: "http://localhost:24817/",
205
+ url: "http://pulp/",
206
206
  description: "No description provided",
207
207
  }
208
208
  ]
@@ -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
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<PulpExporter>'
41
+ :'results' => :'Array<PulpExporterRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<PulpExport>'
41
+ :'results' => :'Array<PulpExportRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<PulpImporter>'
41
+ :'results' => :'Array<PulpImporterRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<Import>'
41
+ :'results' => :'Array<ImportRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<SigningService>'
41
+ :'results' => :'Array<SigningServiceRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<TaskGroup>'
41
+ :'results' => :'Array<TaskGroupRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpcoreClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<Task>'
41
+ :'results' => :'Array<TaskRead>'
42
42
  }
43
43
  end
44
44