pulpcore_client 3.4.1 → 3.5.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.
- checksums.yaml +4 -4
- data/README.md +10 -15
- data/docs/{ArtifactRead.md → Artifact.md} +2 -2
- data/docs/ArtifactsApi.md +10 -10
- data/docs/ExportersCoreExportsApi.md +2 -2
- data/docs/ExportersPulpApi.md +8 -8
- data/docs/GroupProgressReport.md +25 -0
- data/docs/{ImportRead.md → Import.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 +0 -8
- data/docs/{SigningServiceRead.md → SigningService.md} +2 -2
- data/docs/SigningServicesApi.md +2 -2
- data/docs/{TaskGroupRead.md → TaskGroup.md} +5 -3
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TasksApi.md +2 -2
- data/docs/{UploadDetailRead.md → UploadDetail.md} +2 -2
- data/docs/UploadsApi.md +4 -6
- data/docs/WorkersApi.md +4 -4
- data/lib/pulpcore_client/api/artifacts_api.rb +15 -15
- 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 -9
- data/lib/pulpcore_client/api/workers_api.rb +6 -6
- data/lib/pulpcore_client/models/{artifact_read.rb → artifact.rb} +3 -3
- data/lib/pulpcore_client/models/{pulp_importer_read.rb → group_progress_report.rb} +77 -46
- data/lib/pulpcore_client/models/{import_read.rb → import.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 +1 -62
- data/lib/pulpcore_client/models/{signing_service_read.rb → signing_service.rb} +3 -3
- data/lib/pulpcore_client/models/{task_group_read.rb → task_group.rb} +18 -7
- data/lib/pulpcore_client/models/{upload_detail_read.rb → upload_detail.rb} +3 -3
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +6 -11
- data/spec/api/artifacts_api_spec.rb +5 -5
- 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 -3
- data/spec/api/workers_api_spec.rb +2 -2
- data/spec/models/{artifact_read_spec.rb → artifact_spec.rb} +6 -6
- data/spec/models/{pulp_exporter_read_spec.rb → group_progress_report_spec.rb} +11 -17
- data/spec/models/{import_read_spec.rb → import_spec.rb} +6 -6
- data/spec/models/pulp_export_spec.rb +0 -24
- data/spec/models/{signing_service_read_spec.rb → signing_service_spec.rb} +6 -6
- data/spec/models/{task_group_read_spec.rb → task_group_spec.rb} +12 -6
- data/spec/models/{upload_detail_read_spec.rb → upload_detail_spec.rb} +6 -6
- metadata +26 -46
- data/docs/PulpExportRead.md +0 -27
- data/docs/PulpExporterRead.md +0 -27
- data/docs/PulpImporterRead.md +0 -23
- data/docs/TaskRead.md +0 -43
- data/docs/UploadRead.md +0 -23
- data/docs/WorkerRead.md +0 -23
- data/lib/pulpcore_client/models/pulp_export_read.rb +0 -259
- data/lib/pulpcore_client/models/pulp_exporter_read.rb +0 -311
- data/lib/pulpcore_client/models/task_read.rb +0 -383
- data/lib/pulpcore_client/models/upload_read.rb +0 -241
- data/lib/pulpcore_client/models/worker_read.rb +0 -251
- data/spec/models/pulp_export_read_spec.rb +0 -71
- data/spec/models/pulp_importer_read_spec.rb +0 -59
- data/spec/models/task_read_spec.rb +0 -119
- data/spec/models/upload_read_spec.rb +0 -59
- data/spec/models/worker_read_spec.rb +0 -59
data/docs/UploadsApi.md
CHANGED
|
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
|
|
|
70
70
|
|
|
71
71
|
## create
|
|
72
72
|
|
|
73
|
-
>
|
|
73
|
+
> Upload create(data)
|
|
74
74
|
|
|
75
75
|
Create an upload
|
|
76
76
|
|
|
@@ -109,7 +109,7 @@ Name | Type | Description | Notes
|
|
|
109
109
|
|
|
110
110
|
### Return type
|
|
111
111
|
|
|
112
|
-
[**
|
|
112
|
+
[**Upload**](Upload.md)
|
|
113
113
|
|
|
114
114
|
### Authorization
|
|
115
115
|
|
|
@@ -196,7 +196,6 @@ end
|
|
|
196
196
|
api_instance = PulpcoreClient::UploadsApi.new
|
|
197
197
|
opts = {
|
|
198
198
|
ordering: 'ordering_example', # String | Which field to use when ordering the results.
|
|
199
|
-
completed: 'completed_example', # String | ISO 8601 formatted dates are supported
|
|
200
199
|
limit: 56, # Integer | Number of results to return per page.
|
|
201
200
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
202
201
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
@@ -218,7 +217,6 @@ end
|
|
|
218
217
|
Name | Type | Description | Notes
|
|
219
218
|
------------- | ------------- | ------------- | -------------
|
|
220
219
|
**ordering** | **String**| Which field to use when ordering the results. | [optional]
|
|
221
|
-
**completed** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
222
220
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
223
221
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
224
222
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
@@ -240,7 +238,7 @@ Name | Type | Description | Notes
|
|
|
240
238
|
|
|
241
239
|
## read
|
|
242
240
|
|
|
243
|
-
>
|
|
241
|
+
> UploadDetail read(upload_href, opts)
|
|
244
242
|
|
|
245
243
|
Inspect an upload
|
|
246
244
|
|
|
@@ -285,7 +283,7 @@ Name | Type | Description | Notes
|
|
|
285
283
|
|
|
286
284
|
### Return type
|
|
287
285
|
|
|
288
|
-
[**
|
|
286
|
+
[**UploadDetail**](UploadDetail.md)
|
|
289
287
|
|
|
290
288
|
### Authorization
|
|
291
289
|
|
data/docs/WorkersApi.md
CHANGED
|
@@ -37,9 +37,9 @@ opts = {
|
|
|
37
37
|
last_heartbeat__gt: 'last_heartbeat__gt_example', # String | Filter results where last_heartbeat is greater than value
|
|
38
38
|
last_heartbeat__gte: 'last_heartbeat__gte_example', # String | Filter results where last_heartbeat is greater than or equal to value
|
|
39
39
|
last_heartbeat__range: 'last_heartbeat__range_example', # String | Filter results where last_heartbeat is between two comma separated values
|
|
40
|
+
last_heartbeat: 'last_heartbeat_example', # String | ISO 8601 formatted dates are supported
|
|
40
41
|
online: 'online_example', # String |
|
|
41
42
|
missing: 'missing_example', # String |
|
|
42
|
-
last_heartbeat: 'last_heartbeat_example', # String | ISO 8601 formatted dates are supported
|
|
43
43
|
limit: 56, # Integer | Number of results to return per page.
|
|
44
44
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
45
45
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
@@ -68,9 +68,9 @@ Name | Type | Description | Notes
|
|
|
68
68
|
**last_heartbeat__gt** | **String**| Filter results where last_heartbeat is greater than value | [optional]
|
|
69
69
|
**last_heartbeat__gte** | **String**| Filter results where last_heartbeat is greater than or equal to value | [optional]
|
|
70
70
|
**last_heartbeat__range** | **String**| Filter results where last_heartbeat is between two comma separated values | [optional]
|
|
71
|
+
**last_heartbeat** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
71
72
|
**online** | **String**| | [optional]
|
|
72
73
|
**missing** | **String**| | [optional]
|
|
73
|
-
**last_heartbeat** | **String**| ISO 8601 formatted dates are supported | [optional]
|
|
74
74
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
75
75
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
76
76
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
@@ -92,7 +92,7 @@ Name | Type | Description | Notes
|
|
|
92
92
|
|
|
93
93
|
## read
|
|
94
94
|
|
|
95
|
-
>
|
|
95
|
+
> Worker read(worker_href, opts)
|
|
96
96
|
|
|
97
97
|
Inspect a worker
|
|
98
98
|
|
|
@@ -135,7 +135,7 @@ Name | Type | Description | Notes
|
|
|
135
135
|
|
|
136
136
|
### Return type
|
|
137
137
|
|
|
138
|
-
[**
|
|
138
|
+
[**Worker**](Worker.md)
|
|
139
139
|
|
|
140
140
|
### Authorization
|
|
141
141
|
|
|
@@ -29,7 +29,7 @@ module PulpcoreClient
|
|
|
29
29
|
# @option opts [String] :sha256 The SHA-256 checksum of the file if available.
|
|
30
30
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
31
31
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
32
|
-
# @return [
|
|
32
|
+
# @return [Artifact]
|
|
33
33
|
def create(file, opts = {})
|
|
34
34
|
data, _status_code, _headers = create_with_http_info(file, opts)
|
|
35
35
|
data
|
|
@@ -45,7 +45,7 @@ module PulpcoreClient
|
|
|
45
45
|
# @option opts [String] :sha256 The SHA-256 checksum of the file if available.
|
|
46
46
|
# @option opts [String] :sha384 The SHA-384 checksum of the file if available.
|
|
47
47
|
# @option opts [String] :sha512 The SHA-512 checksum of the file if available.
|
|
48
|
-
# @return [Array<(
|
|
48
|
+
# @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
|
|
49
49
|
def create_with_http_info(file, opts = {})
|
|
50
50
|
if @api_client.config.debugging
|
|
51
51
|
@api_client.config.logger.debug 'Calling API: ArtifactsApi.create ...'
|
|
@@ -106,7 +106,7 @@ module PulpcoreClient
|
|
|
106
106
|
post_body = opts[:body]
|
|
107
107
|
|
|
108
108
|
# return_type
|
|
109
|
-
return_type = opts[:return_type] || '
|
|
109
|
+
return_type = opts[:return_type] || 'Artifact'
|
|
110
110
|
|
|
111
111
|
# auth_names
|
|
112
112
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -190,13 +190,13 @@ module PulpcoreClient
|
|
|
190
190
|
# List artifacts
|
|
191
191
|
# @param [Hash] opts the optional parameters
|
|
192
192
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
193
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
194
193
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
195
|
-
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
196
|
-
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
197
194
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
198
195
|
# @option opts [String] :sha384 Filter results where sha384 matches value
|
|
196
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
197
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
199
198
|
# @option opts [String] :sha512 Filter results where sha512 matches value
|
|
199
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
200
200
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
201
201
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
202
202
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -210,13 +210,13 @@ module PulpcoreClient
|
|
|
210
210
|
# List artifacts
|
|
211
211
|
# @param [Hash] opts the optional parameters
|
|
212
212
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
213
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
214
213
|
# @option opts [String] :md5 Filter results where md5 matches value
|
|
215
|
-
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
216
|
-
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
217
214
|
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
218
215
|
# @option opts [String] :sha384 Filter results where sha384 matches value
|
|
216
|
+
# @option opts [String] :sha1 Filter results where sha1 matches value
|
|
217
|
+
# @option opts [String] :sha224 Filter results where sha224 matches value
|
|
219
218
|
# @option opts [String] :sha512 Filter results where sha512 matches value
|
|
219
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF
|
|
220
220
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
221
221
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
222
222
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -232,13 +232,13 @@ module PulpcoreClient
|
|
|
232
232
|
# query parameters
|
|
233
233
|
query_params = opts[:query_params] || {}
|
|
234
234
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
235
|
-
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
236
235
|
query_params[:'md5'] = opts[:'md5'] if !opts[:'md5'].nil?
|
|
237
|
-
query_params[:'sha1'] = opts[:'sha1'] if !opts[:'sha1'].nil?
|
|
238
|
-
query_params[:'sha224'] = opts[:'sha224'] if !opts[:'sha224'].nil?
|
|
239
236
|
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
|
240
237
|
query_params[:'sha384'] = opts[:'sha384'] if !opts[:'sha384'].nil?
|
|
238
|
+
query_params[:'sha1'] = opts[:'sha1'] if !opts[:'sha1'].nil?
|
|
239
|
+
query_params[:'sha224'] = opts[:'sha224'] if !opts[:'sha224'].nil?
|
|
241
240
|
query_params[:'sha512'] = opts[:'sha512'] if !opts[:'sha512'].nil?
|
|
241
|
+
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
|
242
242
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
243
243
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
244
244
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
@@ -282,7 +282,7 @@ module PulpcoreClient
|
|
|
282
282
|
# @param [Hash] opts the optional parameters
|
|
283
283
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
284
284
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
285
|
-
# @return [
|
|
285
|
+
# @return [Artifact]
|
|
286
286
|
def read(artifact_href, opts = {})
|
|
287
287
|
data, _status_code, _headers = read_with_http_info(artifact_href, opts)
|
|
288
288
|
data
|
|
@@ -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 [Array<(
|
|
296
|
+
# @return [Array<(Artifact, Integer, Hash)>] Artifact data, response status code and response headers
|
|
297
297
|
def read_with_http_info(artifact_href, opts = {})
|
|
298
298
|
if @api_client.config.debugging
|
|
299
299
|
@api_client.config.logger.debug 'Calling API: ArtifactsApi.read ...'
|
|
@@ -322,7 +322,7 @@ module PulpcoreClient
|
|
|
322
322
|
post_body = opts[:body]
|
|
323
323
|
|
|
324
324
|
# return_type
|
|
325
|
-
return_type = opts[:return_type] || '
|
|
325
|
+
return_type = opts[:return_type] || 'Artifact'
|
|
326
326
|
|
|
327
327
|
# auth_names
|
|
328
328
|
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 [PulpExport]
|
|
236
236
|
def read(pulp_export_href, opts = {})
|
|
237
237
|
data, _status_code, _headers = read_with_http_info(pulp_export_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<(PulpExport, Integer, Hash)>] PulpExport data, response status code and response headers
|
|
248
248
|
def read_with_http_info(pulp_export_href, opts = {})
|
|
249
249
|
if @api_client.config.debugging
|
|
250
250
|
@api_client.config.logger.debug 'Calling API: ExportersCoreExportsApi.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] || 'PulpExport'
|
|
277
277
|
|
|
278
278
|
# auth_names
|
|
279
279
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -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 [PulpExporter]
|
|
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<(PulpExporter, Integer, Hash)>] PulpExporter 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] || 'PulpExporter'
|
|
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 [PulpExporter]
|
|
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<(PulpExporter, Integer, Hash)>] PulpExporter 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] || 'PulpExporter'
|
|
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 [PulpExporter]
|
|
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<(PulpExporter, Integer, Hash)>] PulpExporter 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] || 'PulpExporter'
|
|
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 [PulpExporter]
|
|
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<(PulpExporter, Integer, Hash)>] PulpExporter 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] || 'PulpExporter'
|
|
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 [Import]
|
|
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<(Import, Integer, Hash)>] Import 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] || 'Import'
|
|
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 [PulpImporter]
|
|
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<(PulpImporter, Integer, Hash)>] PulpImporter 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] || 'PulpImporter'
|
|
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 [PulpImporter]
|
|
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<(PulpImporter, Integer, Hash)>] PulpImporter 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] || 'PulpImporter'
|
|
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 [PulpImporter]
|
|
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<(PulpImporter, Integer, Hash)>] PulpImporter 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] || 'PulpImporter'
|
|
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 [PulpImporter]
|
|
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<(PulpImporter, Integer, Hash)>] PulpImporter 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] || 'PulpImporter'
|
|
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 [SigningService]
|
|
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<(SigningService, Integer, Hash)>] SigningService 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] || 'SigningService'
|
|
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 [TaskGroup]
|
|
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<(TaskGroup, Integer, Hash)>] TaskGroup 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] || 'TaskGroup'
|
|
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 [Task]
|
|
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<(Task, Integer, Hash)>] Task 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] || 'Task'
|
|
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 [Upload]
|
|
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<(Upload, Integer, Hash)>] Upload 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] || 'Upload'
|
|
136
136
|
|
|
137
137
|
# auth_names
|
|
138
138
|
auth_names = opts[:auth_names] || ['Basic']
|
|
@@ -217,7 +217,6 @@ module PulpcoreClient
|
|
|
217
217
|
# View for chunked uploads.
|
|
218
218
|
# @param [Hash] opts the optional parameters
|
|
219
219
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
220
|
-
# @option opts [String] :completed ISO 8601 formatted dates are supported
|
|
221
220
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
222
221
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
223
222
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -232,7 +231,6 @@ module PulpcoreClient
|
|
|
232
231
|
# View for chunked uploads.
|
|
233
232
|
# @param [Hash] opts the optional parameters
|
|
234
233
|
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
235
|
-
# @option opts [String] :completed ISO 8601 formatted dates are supported
|
|
236
234
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
237
235
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
238
236
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
@@ -248,7 +246,6 @@ module PulpcoreClient
|
|
|
248
246
|
# query parameters
|
|
249
247
|
query_params = opts[:query_params] || {}
|
|
250
248
|
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
251
|
-
query_params[:'completed'] = opts[:'completed'] if !opts[:'completed'].nil?
|
|
252
249
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
253
250
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
254
251
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
@@ -293,7 +290,7 @@ module PulpcoreClient
|
|
|
293
290
|
# @param [Hash] opts the optional parameters
|
|
294
291
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
295
292
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
296
|
-
# @return [
|
|
293
|
+
# @return [UploadDetail]
|
|
297
294
|
def read(upload_href, opts = {})
|
|
298
295
|
data, _status_code, _headers = read_with_http_info(upload_href, opts)
|
|
299
296
|
data
|
|
@@ -305,7 +302,7 @@ module PulpcoreClient
|
|
|
305
302
|
# @param [Hash] opts the optional parameters
|
|
306
303
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
307
304
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
308
|
-
# @return [Array<(
|
|
305
|
+
# @return [Array<(UploadDetail, Integer, Hash)>] UploadDetail data, response status code and response headers
|
|
309
306
|
def read_with_http_info(upload_href, opts = {})
|
|
310
307
|
if @api_client.config.debugging
|
|
311
308
|
@api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
|
|
@@ -334,7 +331,7 @@ module PulpcoreClient
|
|
|
334
331
|
post_body = opts[:body]
|
|
335
332
|
|
|
336
333
|
# return_type
|
|
337
|
-
return_type = opts[:return_type] || '
|
|
334
|
+
return_type = opts[:return_type] || 'UploadDetail'
|
|
338
335
|
|
|
339
336
|
# auth_names
|
|
340
337
|
auth_names = opts[:auth_names] || ['Basic']
|