pulpcore_client 3.28.30 → 3.28.32
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 +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +5 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
|
@@ -24,8 +24,8 @@ module PulpcoreClient
|
|
|
24
24
|
# @param pulp_importer [PulpImporter]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [PulpImporterResponse]
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
27
|
+
def create(pulp_importer, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_with_http_info(pulp_importer, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
@@ -34,13 +34,13 @@ module PulpcoreClient
|
|
|
34
34
|
# @param pulp_importer [PulpImporter]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
37
|
-
def
|
|
37
|
+
def create_with_http_info(pulp_importer, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.create ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'pulp_importer' is set
|
|
42
42
|
if @api_client.config.client_side_validation && pulp_importer.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.create"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
46
|
local_var_path = '/pulp/api/v3/importers/core/pulp/'
|
|
@@ -78,7 +78,7 @@ module PulpcoreClient
|
|
|
78
78
|
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
80
80
|
if @api_client.config.debugging
|
|
81
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
81
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
82
|
end
|
|
83
83
|
return data, status_code, headers
|
|
84
84
|
end
|
|
@@ -88,8 +88,8 @@ module PulpcoreClient
|
|
|
88
88
|
# @param pulp_importer_href [String]
|
|
89
89
|
# @param [Hash] opts the optional parameters
|
|
90
90
|
# @return [nil]
|
|
91
|
-
def
|
|
92
|
-
|
|
91
|
+
def delete(pulp_importer_href, opts = {})
|
|
92
|
+
delete_with_http_info(pulp_importer_href, opts)
|
|
93
93
|
nil
|
|
94
94
|
end
|
|
95
95
|
|
|
@@ -98,13 +98,13 @@ module PulpcoreClient
|
|
|
98
98
|
# @param pulp_importer_href [String]
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
|
-
def
|
|
101
|
+
def delete_with_http_info(pulp_importer_href, opts = {})
|
|
102
102
|
if @api_client.config.debugging
|
|
103
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
103
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.delete ...'
|
|
104
104
|
end
|
|
105
105
|
# verify the required parameter 'pulp_importer_href' is set
|
|
106
106
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
107
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
107
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.delete"
|
|
108
108
|
end
|
|
109
109
|
# resource path
|
|
110
110
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -138,7 +138,7 @@ module PulpcoreClient
|
|
|
138
138
|
|
|
139
139
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
140
140
|
if @api_client.config.debugging
|
|
141
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
141
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
142
142
|
end
|
|
143
143
|
return data, status_code, headers
|
|
144
144
|
end
|
|
@@ -159,8 +159,8 @@ module PulpcoreClient
|
|
|
159
159
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
160
160
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
161
161
|
# @return [PaginatedPulpImporterResponseList]
|
|
162
|
-
def
|
|
163
|
-
data, _status_code, _headers =
|
|
162
|
+
def list(opts = {})
|
|
163
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
|
164
164
|
data
|
|
165
165
|
end
|
|
166
166
|
|
|
@@ -180,9 +180,9 @@ module PulpcoreClient
|
|
|
180
180
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
181
181
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
182
182
|
# @return [Array<(PaginatedPulpImporterResponseList, Integer, Hash)>] PaginatedPulpImporterResponseList data, response status code and response headers
|
|
183
|
-
def
|
|
183
|
+
def list_with_http_info(opts = {})
|
|
184
184
|
if @api_client.config.debugging
|
|
185
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
185
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.list ...'
|
|
186
186
|
end
|
|
187
187
|
allowable_values = ["-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
|
188
188
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -234,7 +234,7 @@ module PulpcoreClient
|
|
|
234
234
|
|
|
235
235
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
236
236
|
if @api_client.config.debugging
|
|
237
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
237
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
238
238
|
end
|
|
239
239
|
return data, status_code, headers
|
|
240
240
|
end
|
|
@@ -245,8 +245,8 @@ module PulpcoreClient
|
|
|
245
245
|
# @param patched_pulp_importer [PatchedPulpImporter]
|
|
246
246
|
# @param [Hash] opts the optional parameters
|
|
247
247
|
# @return [PulpImporterResponse]
|
|
248
|
-
def
|
|
249
|
-
data, _status_code, _headers =
|
|
248
|
+
def partial_update(pulp_importer_href, patched_pulp_importer, opts = {})
|
|
249
|
+
data, _status_code, _headers = partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts)
|
|
250
250
|
data
|
|
251
251
|
end
|
|
252
252
|
|
|
@@ -256,17 +256,17 @@ module PulpcoreClient
|
|
|
256
256
|
# @param patched_pulp_importer [PatchedPulpImporter]
|
|
257
257
|
# @param [Hash] opts the optional parameters
|
|
258
258
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
259
|
-
def
|
|
259
|
+
def partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts = {})
|
|
260
260
|
if @api_client.config.debugging
|
|
261
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
261
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.partial_update ...'
|
|
262
262
|
end
|
|
263
263
|
# verify the required parameter 'pulp_importer_href' is set
|
|
264
264
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
265
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
265
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.partial_update"
|
|
266
266
|
end
|
|
267
267
|
# verify the required parameter 'patched_pulp_importer' is set
|
|
268
268
|
if @api_client.config.client_side_validation && patched_pulp_importer.nil?
|
|
269
|
-
fail ArgumentError, "Missing the required parameter 'patched_pulp_importer' when calling ImportersPulpApi.
|
|
269
|
+
fail ArgumentError, "Missing the required parameter 'patched_pulp_importer' when calling ImportersPulpApi.partial_update"
|
|
270
270
|
end
|
|
271
271
|
# resource path
|
|
272
272
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -304,7 +304,7 @@ module PulpcoreClient
|
|
|
304
304
|
|
|
305
305
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
306
306
|
if @api_client.config.debugging
|
|
307
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
307
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
308
308
|
end
|
|
309
309
|
return data, status_code, headers
|
|
310
310
|
end
|
|
@@ -316,8 +316,8 @@ module PulpcoreClient
|
|
|
316
316
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
317
317
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
318
318
|
# @return [PulpImporterResponse]
|
|
319
|
-
def
|
|
320
|
-
data, _status_code, _headers =
|
|
319
|
+
def read(pulp_importer_href, opts = {})
|
|
320
|
+
data, _status_code, _headers = read_with_http_info(pulp_importer_href, opts)
|
|
321
321
|
data
|
|
322
322
|
end
|
|
323
323
|
|
|
@@ -328,13 +328,13 @@ module PulpcoreClient
|
|
|
328
328
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
329
329
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
330
330
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
331
|
-
def
|
|
331
|
+
def read_with_http_info(pulp_importer_href, opts = {})
|
|
332
332
|
if @api_client.config.debugging
|
|
333
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
333
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.read ...'
|
|
334
334
|
end
|
|
335
335
|
# verify the required parameter 'pulp_importer_href' is set
|
|
336
336
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
337
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
337
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.read"
|
|
338
338
|
end
|
|
339
339
|
# resource path
|
|
340
340
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -372,7 +372,7 @@ module PulpcoreClient
|
|
|
372
372
|
|
|
373
373
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
374
374
|
if @api_client.config.debugging
|
|
375
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
375
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
376
376
|
end
|
|
377
377
|
return data, status_code, headers
|
|
378
378
|
end
|
|
@@ -383,8 +383,8 @@ module PulpcoreClient
|
|
|
383
383
|
# @param pulp_importer [PulpImporter]
|
|
384
384
|
# @param [Hash] opts the optional parameters
|
|
385
385
|
# @return [PulpImporterResponse]
|
|
386
|
-
def
|
|
387
|
-
data, _status_code, _headers =
|
|
386
|
+
def update(pulp_importer_href, pulp_importer, opts = {})
|
|
387
|
+
data, _status_code, _headers = update_with_http_info(pulp_importer_href, pulp_importer, opts)
|
|
388
388
|
data
|
|
389
389
|
end
|
|
390
390
|
|
|
@@ -394,17 +394,17 @@ module PulpcoreClient
|
|
|
394
394
|
# @param pulp_importer [PulpImporter]
|
|
395
395
|
# @param [Hash] opts the optional parameters
|
|
396
396
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
|
397
|
-
def
|
|
397
|
+
def update_with_http_info(pulp_importer_href, pulp_importer, opts = {})
|
|
398
398
|
if @api_client.config.debugging
|
|
399
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.
|
|
399
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpApi.update ...'
|
|
400
400
|
end
|
|
401
401
|
# verify the required parameter 'pulp_importer_href' is set
|
|
402
402
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
403
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.
|
|
403
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpApi.update"
|
|
404
404
|
end
|
|
405
405
|
# verify the required parameter 'pulp_importer' is set
|
|
406
406
|
if @api_client.config.client_side_validation && pulp_importer.nil?
|
|
407
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.
|
|
407
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer' when calling ImportersPulpApi.update"
|
|
408
408
|
end
|
|
409
409
|
# resource path
|
|
410
410
|
local_var_path = '{pulp_importer_href}'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -442,7 +442,7 @@ module PulpcoreClient
|
|
|
442
442
|
|
|
443
443
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
444
444
|
if @api_client.config.debugging
|
|
445
|
-
@api_client.config.logger.debug "API called: ImportersPulpApi#
|
|
445
|
+
@api_client.config.logger.debug "API called: ImportersPulpApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
446
446
|
end
|
|
447
447
|
return data, status_code, headers
|
|
448
448
|
end
|
|
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
|
25
25
|
# @param pulp_import [PulpImport]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [TaskGroupOperationResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def create(pulp_importer_href, pulp_import, opts = {})
|
|
29
|
+
data, _status_code, _headers = create_with_http_info(pulp_importer_href, pulp_import, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module PulpcoreClient
|
|
|
36
36
|
# @param pulp_import [PulpImport]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def create_with_http_info(pulp_importer_href, pulp_import, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.create ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'pulp_importer_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.create"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'pulp_import' is set
|
|
48
48
|
if @api_client.config.client_side_validation && pulp_import.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'pulp_import' when calling ImportersPulpImportsApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'pulp_import' when calling ImportersPulpImportsApi.create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,7 +84,7 @@ module PulpcoreClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
@@ -94,8 +94,8 @@ module PulpcoreClient
|
|
|
94
94
|
# @param pulp_pulp_import_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def
|
|
98
|
-
|
|
97
|
+
def delete(pulp_pulp_import_href, opts = {})
|
|
98
|
+
delete_with_http_info(pulp_pulp_import_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -104,13 +104,13 @@ module PulpcoreClient
|
|
|
104
104
|
# @param pulp_pulp_import_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def delete_with_http_info(pulp_pulp_import_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.delete ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'pulp_pulp_import_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && pulp_pulp_import_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
116
|
local_var_path = '{pulp_pulp_import_href}'.sub('{' + 'pulp_pulp_import_href' + '}', CGI.escape(pulp_pulp_import_href.to_s).gsub('%2F', '/'))
|
|
@@ -144,7 +144,7 @@ module PulpcoreClient
|
|
|
144
144
|
|
|
145
145
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
147
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
@@ -158,8 +158,8 @@ module PulpcoreClient
|
|
|
158
158
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
159
159
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
160
160
|
# @return [PaginatedImportResponseList]
|
|
161
|
-
def
|
|
162
|
-
data, _status_code, _headers =
|
|
161
|
+
def list(pulp_importer_href, opts = {})
|
|
162
|
+
data, _status_code, _headers = list_with_http_info(pulp_importer_href, opts)
|
|
163
163
|
data
|
|
164
164
|
end
|
|
165
165
|
|
|
@@ -172,13 +172,13 @@ module PulpcoreClient
|
|
|
172
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
173
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
174
174
|
# @return [Array<(PaginatedImportResponseList, Integer, Hash)>] PaginatedImportResponseList data, response status code and response headers
|
|
175
|
-
def
|
|
175
|
+
def list_with_http_info(pulp_importer_href, opts = {})
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.list ...'
|
|
178
178
|
end
|
|
179
179
|
# verify the required parameter 'pulp_importer_href' is set
|
|
180
180
|
if @api_client.config.client_side_validation && pulp_importer_href.nil?
|
|
181
|
-
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'pulp_importer_href' when calling ImportersPulpImportsApi.list"
|
|
182
182
|
end
|
|
183
183
|
# resource path
|
|
184
184
|
local_var_path = '{pulp_importer_href}imports/'.sub('{' + 'pulp_importer_href' + '}', CGI.escape(pulp_importer_href.to_s).gsub('%2F', '/'))
|
|
@@ -218,7 +218,7 @@ module PulpcoreClient
|
|
|
218
218
|
|
|
219
219
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
220
220
|
if @api_client.config.debugging
|
|
221
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
221
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
222
222
|
end
|
|
223
223
|
return data, status_code, headers
|
|
224
224
|
end
|
|
@@ -230,8 +230,8 @@ module PulpcoreClient
|
|
|
230
230
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
231
231
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
232
232
|
# @return [ImportResponse]
|
|
233
|
-
def
|
|
234
|
-
data, _status_code, _headers =
|
|
233
|
+
def read(pulp_pulp_import_href, opts = {})
|
|
234
|
+
data, _status_code, _headers = read_with_http_info(pulp_pulp_import_href, opts)
|
|
235
235
|
data
|
|
236
236
|
end
|
|
237
237
|
|
|
@@ -242,13 +242,13 @@ module PulpcoreClient
|
|
|
242
242
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
243
243
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
244
244
|
# @return [Array<(ImportResponse, Integer, Hash)>] ImportResponse data, response status code and response headers
|
|
245
|
-
def
|
|
245
|
+
def read_with_http_info(pulp_pulp_import_href, opts = {})
|
|
246
246
|
if @api_client.config.debugging
|
|
247
|
-
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.
|
|
247
|
+
@api_client.config.logger.debug 'Calling API: ImportersPulpImportsApi.read ...'
|
|
248
248
|
end
|
|
249
249
|
# verify the required parameter 'pulp_pulp_import_href' is set
|
|
250
250
|
if @api_client.config.client_side_validation && pulp_pulp_import_href.nil?
|
|
251
|
-
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.
|
|
251
|
+
fail ArgumentError, "Missing the required parameter 'pulp_pulp_import_href' when calling ImportersPulpImportsApi.read"
|
|
252
252
|
end
|
|
253
253
|
# resource path
|
|
254
254
|
local_var_path = '{pulp_pulp_import_href}'.sub('{' + 'pulp_pulp_import_href' + '}', CGI.escape(pulp_pulp_import_href.to_s).gsub('%2F', '/'))
|
|
@@ -286,7 +286,7 @@ module PulpcoreClient
|
|
|
286
286
|
|
|
287
287
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
288
288
|
if @api_client.config.debugging
|
|
289
|
-
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#
|
|
289
|
+
@api_client.config.logger.debug "API called: ImportersPulpImportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
290
|
end
|
|
291
291
|
return data, status_code, headers
|
|
292
292
|
end
|
|
@@ -23,8 +23,8 @@ module PulpcoreClient
|
|
|
23
23
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [AsyncOperationResponse]
|
|
26
|
-
def
|
|
27
|
-
data, _status_code, _headers =
|
|
26
|
+
def delete(opts = {})
|
|
27
|
+
data, _status_code, _headers = delete_with_http_info(opts)
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -32,9 +32,9 @@ module PulpcoreClient
|
|
|
32
32
|
# DEPRECATED! Trigger an asynchronous task that deletes all orphaned content and artifacts. Use the `POST /pulp/api/v3/orphans/cleanup/` call instead.
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
|
-
def
|
|
35
|
+
def delete_with_http_info(opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: OrphansApi.
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: OrphansApi.delete ...'
|
|
38
38
|
end
|
|
39
39
|
# resource path
|
|
40
40
|
local_var_path = '/pulp/api/v3/orphans/'
|
|
@@ -70,7 +70,7 @@ module PulpcoreClient
|
|
|
70
70
|
|
|
71
71
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
72
72
|
if @api_client.config.debugging
|
|
73
|
-
@api_client.config.logger.debug "API called: OrphansApi#
|
|
73
|
+
@api_client.config.logger.debug "API called: OrphansApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
74
74
|
end
|
|
75
75
|
return data, status_code, headers
|
|
76
76
|
end
|
|
@@ -23,8 +23,8 @@ module PulpcoreClient
|
|
|
23
23
|
# @param orphans_cleanup [OrphansCleanup]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [AsyncOperationResponse]
|
|
26
|
-
def
|
|
27
|
-
data, _status_code, _headers =
|
|
26
|
+
def cleanup(orphans_cleanup, opts = {})
|
|
27
|
+
data, _status_code, _headers = cleanup_with_http_info(orphans_cleanup, opts)
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -32,13 +32,13 @@ module PulpcoreClient
|
|
|
32
32
|
# @param orphans_cleanup [OrphansCleanup]
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
|
-
def
|
|
35
|
+
def cleanup_with_http_info(orphans_cleanup, opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: OrphansCleanupApi.
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: OrphansCleanupApi.cleanup ...'
|
|
38
38
|
end
|
|
39
39
|
# verify the required parameter 'orphans_cleanup' is set
|
|
40
40
|
if @api_client.config.client_side_validation && orphans_cleanup.nil?
|
|
41
|
-
fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'orphans_cleanup' when calling OrphansCleanupApi.cleanup"
|
|
42
42
|
end
|
|
43
43
|
# resource path
|
|
44
44
|
local_var_path = '/pulp/api/v3/orphans/cleanup/'
|
|
@@ -76,7 +76,7 @@ module PulpcoreClient
|
|
|
76
76
|
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
78
78
|
if @api_client.config.debugging
|
|
79
|
-
@api_client.config.logger.debug "API called: OrphansCleanupApi#
|
|
79
|
+
@api_client.config.logger.debug "API called: OrphansCleanupApi#cleanup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
80
80
|
end
|
|
81
81
|
return data, status_code, headers
|
|
82
82
|
end
|
|
@@ -41,8 +41,8 @@ module PulpcoreClient
|
|
|
41
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
42
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
43
43
|
# @return [PaginatedPublicationResponseList]
|
|
44
|
-
def
|
|
45
|
-
data, _status_code, _headers =
|
|
44
|
+
def list(opts = {})
|
|
45
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
|
46
46
|
data
|
|
47
47
|
end
|
|
48
48
|
|
|
@@ -68,9 +68,9 @@ module PulpcoreClient
|
|
|
68
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
69
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
70
70
|
# @return [Array<(PaginatedPublicationResponseList, Integer, Hash)>] PaginatedPublicationResponseList data, response status code and response headers
|
|
71
|
-
def
|
|
71
|
+
def list_with_http_info(opts = {})
|
|
72
72
|
if @api_client.config.debugging
|
|
73
|
-
@api_client.config.logger.debug 'Calling API: PublicationsApi.
|
|
73
|
+
@api_client.config.logger.debug 'Calling API: PublicationsApi.list ...'
|
|
74
74
|
end
|
|
75
75
|
allowable_values = ["-complete", "-pass_through", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "complete", "pass_through", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
|
76
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -128,7 +128,7 @@ module PulpcoreClient
|
|
|
128
128
|
|
|
129
129
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
130
130
|
if @api_client.config.debugging
|
|
131
|
-
@api_client.config.logger.debug "API called: PublicationsApi#
|
|
131
|
+
@api_client.config.logger.debug "API called: PublicationsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
132
132
|
end
|
|
133
133
|
return data, status_code, headers
|
|
134
134
|
end
|
|
@@ -43,8 +43,8 @@ module PulpcoreClient
|
|
|
43
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
44
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
45
45
|
# @return [PaginatedRemoteResponseList]
|
|
46
|
-
def
|
|
47
|
-
data, _status_code, _headers =
|
|
46
|
+
def list(opts = {})
|
|
47
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
|
48
48
|
data
|
|
49
49
|
end
|
|
50
50
|
|
|
@@ -72,9 +72,9 @@ module PulpcoreClient
|
|
|
72
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
73
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
74
74
|
# @return [Array<(PaginatedRemoteResponseList, Integer, Hash)>] PaginatedRemoteResponseList data, response status code and response headers
|
|
75
|
-
def
|
|
75
|
+
def list_with_http_info(opts = {})
|
|
76
76
|
if @api_client.config.debugging
|
|
77
|
-
@api_client.config.logger.debug 'Calling API: RemotesApi.
|
|
77
|
+
@api_client.config.logger.debug 'Calling API: RemotesApi.list ...'
|
|
78
78
|
end
|
|
79
79
|
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
|
80
80
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -134,7 +134,7 @@ module PulpcoreClient
|
|
|
134
134
|
|
|
135
135
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
136
136
|
if @api_client.config.debugging
|
|
137
|
-
@api_client.config.logger.debug "API called: RemotesApi#
|
|
137
|
+
@api_client.config.logger.debug "API called: RemotesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
138
138
|
end
|
|
139
139
|
return data, status_code, headers
|
|
140
140
|
end
|
|
@@ -24,8 +24,8 @@ module PulpcoreClient
|
|
|
24
24
|
# @param repair [Repair]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
26
|
# @return [AsyncOperationResponse]
|
|
27
|
-
def
|
|
28
|
-
data, _status_code, _headers =
|
|
27
|
+
def post(repair, opts = {})
|
|
28
|
+
data, _status_code, _headers = post_with_http_info(repair, opts)
|
|
29
29
|
data
|
|
30
30
|
end
|
|
31
31
|
|
|
@@ -34,13 +34,13 @@ module PulpcoreClient
|
|
|
34
34
|
# @param repair [Repair]
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
36
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
37
|
-
def
|
|
37
|
+
def post_with_http_info(repair, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: RepairApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: RepairApi.post ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'repair' is set
|
|
42
42
|
if @api_client.config.client_side_validation && repair.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'repair' when calling RepairApi.post"
|
|
44
44
|
end
|
|
45
45
|
# resource path
|
|
46
46
|
local_var_path = '/pulp/api/v3/repair/'
|
|
@@ -78,7 +78,7 @@ module PulpcoreClient
|
|
|
78
78
|
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
80
80
|
if @api_client.config.debugging
|
|
81
|
-
@api_client.config.logger.debug "API called: RepairApi#
|
|
81
|
+
@api_client.config.logger.debug "API called: RepairApi#post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
82
82
|
end
|
|
83
83
|
return data, status_code, headers
|
|
84
84
|
end
|
|
@@ -48,8 +48,8 @@ module PulpcoreClient
|
|
|
48
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
49
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
50
50
|
# @return [PaginatedRepositoryResponseList]
|
|
51
|
-
def
|
|
52
|
-
data, _status_code, _headers =
|
|
51
|
+
def list(opts = {})
|
|
52
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
|
53
53
|
data
|
|
54
54
|
end
|
|
55
55
|
|
|
@@ -82,9 +82,9 @@ module PulpcoreClient
|
|
|
82
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
83
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
84
84
|
# @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
|
|
85
|
-
def
|
|
85
|
+
def list_with_http_info(opts = {})
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesApi.
|
|
87
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesApi.list ...'
|
|
88
88
|
end
|
|
89
89
|
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
|
90
90
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -149,7 +149,7 @@ module PulpcoreClient
|
|
|
149
149
|
|
|
150
150
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
151
151
|
if @api_client.config.debugging
|
|
152
|
-
@api_client.config.logger.debug "API called: RepositoriesApi#
|
|
152
|
+
@api_client.config.logger.debug "API called: RepositoriesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
153
153
|
end
|
|
154
154
|
return data, status_code, headers
|
|
155
155
|
end
|
|
@@ -23,8 +23,8 @@ module PulpcoreClient
|
|
|
23
23
|
# @param reclaim_space [ReclaimSpace]
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
25
|
# @return [AsyncOperationResponse]
|
|
26
|
-
def
|
|
27
|
-
data, _status_code, _headers =
|
|
26
|
+
def reclaim(reclaim_space, opts = {})
|
|
27
|
+
data, _status_code, _headers = reclaim_with_http_info(reclaim_space, opts)
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
@@ -32,13 +32,13 @@ module PulpcoreClient
|
|
|
32
32
|
# @param reclaim_space [ReclaimSpace]
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
34
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
35
|
-
def
|
|
35
|
+
def reclaim_with_http_info(reclaim_space, opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesReclaimSpaceApi.reclaim ...'
|
|
38
38
|
end
|
|
39
39
|
# verify the required parameter 'reclaim_space' is set
|
|
40
40
|
if @api_client.config.client_side_validation && reclaim_space.nil?
|
|
41
|
-
fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'reclaim_space' when calling RepositoriesReclaimSpaceApi.reclaim"
|
|
42
42
|
end
|
|
43
43
|
# resource path
|
|
44
44
|
local_var_path = '/pulp/api/v3/repositories/reclaim_space/'
|
|
@@ -76,7 +76,7 @@ module PulpcoreClient
|
|
|
76
76
|
|
|
77
77
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
78
78
|
if @api_client.config.debugging
|
|
79
|
-
@api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#
|
|
79
|
+
@api_client.config.logger.debug "API called: RepositoriesReclaimSpaceApi#reclaim\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
80
80
|
end
|
|
81
81
|
return data, status_code, headers
|
|
82
82
|
end
|