pulpcore_client 3.28.30 → 3.28.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +8 -8
- 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 +31 -31
- 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 +8 -8
- metadata +2 -10
- 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_exporter [PulpExporter]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [PulpExporterResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def create(pulp_exporter, opts = {})
|
28
|
+
data, _status_code, _headers = create_with_http_info(pulp_exporter, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,13 +34,13 @@ module PulpcoreClient
|
|
34
34
|
# @param pulp_exporter [PulpExporter]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def create_with_http_info(pulp_exporter, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'pulp_exporter' is set
|
42
42
|
if @api_client.config.client_side_validation && pulp_exporter.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter' when calling ExportersPulpApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter' when calling ExportersPulpApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/pulp/api/v3/exporters/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: ExportersPulpApi#
|
81
|
+
@api_client.config.logger.debug "API called: ExportersPulpApi#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_exporter_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [AsyncOperationResponse]
|
91
|
-
def
|
92
|
-
data, _status_code, _headers =
|
91
|
+
def delete(pulp_exporter_href, opts = {})
|
92
|
+
data, _status_code, _headers = delete_with_http_info(pulp_exporter_href, opts)
|
93
93
|
data
|
94
94
|
end
|
95
95
|
|
@@ -98,13 +98,13 @@ module PulpcoreClient
|
|
98
98
|
# @param pulp_exporter_href [String]
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
101
|
-
def
|
101
|
+
def delete_with_http_info(pulp_exporter_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.
|
103
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'pulp_exporter_href' is set
|
106
106
|
if @api_client.config.client_side_validation && pulp_exporter_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.
|
107
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -140,7 +140,7 @@ module PulpcoreClient
|
|
140
140
|
|
141
141
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
142
142
|
if @api_client.config.debugging
|
143
|
-
@api_client.config.logger.debug "API called: ExportersPulpApi#
|
143
|
+
@api_client.config.logger.debug "API called: ExportersPulpApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
144
144
|
end
|
145
145
|
return data, status_code, headers
|
146
146
|
end
|
@@ -161,8 +161,8 @@ module PulpcoreClient
|
|
161
161
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
162
162
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
163
|
# @return [PaginatedPulpExporterResponseList]
|
164
|
-
def
|
165
|
-
data, _status_code, _headers =
|
164
|
+
def list(opts = {})
|
165
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
166
166
|
data
|
167
167
|
end
|
168
168
|
|
@@ -182,9 +182,9 @@ module PulpcoreClient
|
|
182
182
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
183
183
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
184
184
|
# @return [Array<(PaginatedPulpExporterResponseList, Integer, Hash)>] PaginatedPulpExporterResponseList data, response status code and response headers
|
185
|
-
def
|
185
|
+
def list_with_http_info(opts = {})
|
186
186
|
if @api_client.config.debugging
|
187
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.
|
187
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.list ...'
|
188
188
|
end
|
189
189
|
allowable_values = ["-name", "-path", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "name", "path", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
190
190
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -236,7 +236,7 @@ module PulpcoreClient
|
|
236
236
|
|
237
237
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
238
238
|
if @api_client.config.debugging
|
239
|
-
@api_client.config.logger.debug "API called: ExportersPulpApi#
|
239
|
+
@api_client.config.logger.debug "API called: ExportersPulpApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
240
240
|
end
|
241
241
|
return data, status_code, headers
|
242
242
|
end
|
@@ -247,8 +247,8 @@ module PulpcoreClient
|
|
247
247
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
248
248
|
# @param [Hash] opts the optional parameters
|
249
249
|
# @return [AsyncOperationResponse]
|
250
|
-
def
|
251
|
-
data, _status_code, _headers =
|
250
|
+
def partial_update(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
251
|
+
data, _status_code, _headers = partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts)
|
252
252
|
data
|
253
253
|
end
|
254
254
|
|
@@ -258,17 +258,17 @@ module PulpcoreClient
|
|
258
258
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
259
259
|
# @param [Hash] opts the optional parameters
|
260
260
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
261
|
-
def
|
261
|
+
def partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
262
262
|
if @api_client.config.debugging
|
263
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.
|
263
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.partial_update ...'
|
264
264
|
end
|
265
265
|
# verify the required parameter 'pulp_exporter_href' is set
|
266
266
|
if @api_client.config.client_side_validation && pulp_exporter_href.nil?
|
267
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.
|
267
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.partial_update"
|
268
268
|
end
|
269
269
|
# verify the required parameter 'patched_pulp_exporter' is set
|
270
270
|
if @api_client.config.client_side_validation && patched_pulp_exporter.nil?
|
271
|
-
fail ArgumentError, "Missing the required parameter 'patched_pulp_exporter' when calling ExportersPulpApi.
|
271
|
+
fail ArgumentError, "Missing the required parameter 'patched_pulp_exporter' when calling ExportersPulpApi.partial_update"
|
272
272
|
end
|
273
273
|
# resource path
|
274
274
|
local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -306,7 +306,7 @@ module PulpcoreClient
|
|
306
306
|
|
307
307
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
308
308
|
if @api_client.config.debugging
|
309
|
-
@api_client.config.logger.debug "API called: ExportersPulpApi#
|
309
|
+
@api_client.config.logger.debug "API called: ExportersPulpApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
310
310
|
end
|
311
311
|
return data, status_code, headers
|
312
312
|
end
|
@@ -318,8 +318,8 @@ module PulpcoreClient
|
|
318
318
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
319
319
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
320
320
|
# @return [PulpExporterResponse]
|
321
|
-
def
|
322
|
-
data, _status_code, _headers =
|
321
|
+
def read(pulp_exporter_href, opts = {})
|
322
|
+
data, _status_code, _headers = read_with_http_info(pulp_exporter_href, opts)
|
323
323
|
data
|
324
324
|
end
|
325
325
|
|
@@ -330,13 +330,13 @@ module PulpcoreClient
|
|
330
330
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
331
331
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
332
|
# @return [Array<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
333
|
-
def
|
333
|
+
def read_with_http_info(pulp_exporter_href, opts = {})
|
334
334
|
if @api_client.config.debugging
|
335
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.
|
335
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.read ...'
|
336
336
|
end
|
337
337
|
# verify the required parameter 'pulp_exporter_href' is set
|
338
338
|
if @api_client.config.client_side_validation && pulp_exporter_href.nil?
|
339
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.
|
339
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.read"
|
340
340
|
end
|
341
341
|
# resource path
|
342
342
|
local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -374,7 +374,7 @@ module PulpcoreClient
|
|
374
374
|
|
375
375
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
376
376
|
if @api_client.config.debugging
|
377
|
-
@api_client.config.logger.debug "API called: ExportersPulpApi#
|
377
|
+
@api_client.config.logger.debug "API called: ExportersPulpApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
378
378
|
end
|
379
379
|
return data, status_code, headers
|
380
380
|
end
|
@@ -385,8 +385,8 @@ module PulpcoreClient
|
|
385
385
|
# @param pulp_exporter [PulpExporter]
|
386
386
|
# @param [Hash] opts the optional parameters
|
387
387
|
# @return [AsyncOperationResponse]
|
388
|
-
def
|
389
|
-
data, _status_code, _headers =
|
388
|
+
def update(pulp_exporter_href, pulp_exporter, opts = {})
|
389
|
+
data, _status_code, _headers = update_with_http_info(pulp_exporter_href, pulp_exporter, opts)
|
390
390
|
data
|
391
391
|
end
|
392
392
|
|
@@ -396,17 +396,17 @@ module PulpcoreClient
|
|
396
396
|
# @param pulp_exporter [PulpExporter]
|
397
397
|
# @param [Hash] opts the optional parameters
|
398
398
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
399
|
-
def
|
399
|
+
def update_with_http_info(pulp_exporter_href, pulp_exporter, opts = {})
|
400
400
|
if @api_client.config.debugging
|
401
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.
|
401
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.update ...'
|
402
402
|
end
|
403
403
|
# verify the required parameter 'pulp_exporter_href' is set
|
404
404
|
if @api_client.config.client_side_validation && pulp_exporter_href.nil?
|
405
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.
|
405
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpApi.update"
|
406
406
|
end
|
407
407
|
# verify the required parameter 'pulp_exporter' is set
|
408
408
|
if @api_client.config.client_side_validation && pulp_exporter.nil?
|
409
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter' when calling ExportersPulpApi.
|
409
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter' when calling ExportersPulpApi.update"
|
410
410
|
end
|
411
411
|
# resource path
|
412
412
|
local_var_path = '{pulp_exporter_href}'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_href.to_s).gsub('%2F', '/'))
|
@@ -444,7 +444,7 @@ module PulpcoreClient
|
|
444
444
|
|
445
445
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
446
446
|
if @api_client.config.debugging
|
447
|
-
@api_client.config.logger.debug "API called: ExportersPulpApi#
|
447
|
+
@api_client.config.logger.debug "API called: ExportersPulpApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
448
448
|
end
|
449
449
|
return data, status_code, headers
|
450
450
|
end
|
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
25
25
|
# @param pulp_export [PulpExport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [AsyncOperationResponse]
|
28
|
-
def
|
29
|
-
data, _status_code, _headers =
|
28
|
+
def create(pulp_exporter_href, pulp_export, opts = {})
|
29
|
+
data, _status_code, _headers = create_with_http_info(pulp_exporter_href, pulp_export, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
@@ -36,17 +36,17 @@ module PulpcoreClient
|
|
36
36
|
# @param pulp_export [PulpExport]
|
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
|
39
|
+
def create_with_http_info(pulp_exporter_href, pulp_export, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.
|
41
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.create ...'
|
42
42
|
end
|
43
43
|
# verify the required parameter 'pulp_exporter_href' is set
|
44
44
|
if @api_client.config.client_side_validation && pulp_exporter_href.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpExportsApi.
|
45
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpExportsApi.create"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'pulp_export' is set
|
48
48
|
if @api_client.config.client_side_validation && pulp_export.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'pulp_export' when calling ExportersPulpExportsApi.
|
49
|
+
fail ArgumentError, "Missing the required parameter 'pulp_export' when calling ExportersPulpExportsApi.create"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_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: ExportersPulpExportsApi#
|
87
|
+
@api_client.config.logger.debug "API called: ExportersPulpExportsApi#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_export_href [String]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [nil]
|
97
|
-
def
|
98
|
-
|
97
|
+
def delete(pulp_pulp_export_href, opts = {})
|
98
|
+
delete_with_http_info(pulp_pulp_export_href, opts)
|
99
99
|
nil
|
100
100
|
end
|
101
101
|
|
@@ -104,13 +104,13 @@ module PulpcoreClient
|
|
104
104
|
# @param pulp_pulp_export_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_export_href, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.
|
109
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.delete ...'
|
110
110
|
end
|
111
111
|
# verify the required parameter 'pulp_pulp_export_href' is set
|
112
112
|
if @api_client.config.client_side_validation && pulp_pulp_export_href.nil?
|
113
|
-
fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersPulpExportsApi.
|
113
|
+
fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersPulpExportsApi.delete"
|
114
114
|
end
|
115
115
|
# resource path
|
116
116
|
local_var_path = '{pulp_pulp_export_href}'.sub('{' + 'pulp_pulp_export_href' + '}', CGI.escape(pulp_pulp_export_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: ExportersPulpExportsApi#
|
147
|
+
@api_client.config.logger.debug "API called: ExportersPulpExportsApi#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 [PaginatedPulpExportResponseList]
|
161
|
-
def
|
162
|
-
data, _status_code, _headers =
|
161
|
+
def list(pulp_exporter_href, opts = {})
|
162
|
+
data, _status_code, _headers = list_with_http_info(pulp_exporter_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<(PaginatedPulpExportResponseList, Integer, Hash)>] PaginatedPulpExportResponseList data, response status code and response headers
|
175
|
-
def
|
175
|
+
def list_with_http_info(pulp_exporter_href, opts = {})
|
176
176
|
if @api_client.config.debugging
|
177
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.
|
177
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.list ...'
|
178
178
|
end
|
179
179
|
# verify the required parameter 'pulp_exporter_href' is set
|
180
180
|
if @api_client.config.client_side_validation && pulp_exporter_href.nil?
|
181
|
-
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpExportsApi.
|
181
|
+
fail ArgumentError, "Missing the required parameter 'pulp_exporter_href' when calling ExportersPulpExportsApi.list"
|
182
182
|
end
|
183
183
|
# resource path
|
184
184
|
local_var_path = '{pulp_exporter_href}exports/'.sub('{' + 'pulp_exporter_href' + '}', CGI.escape(pulp_exporter_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: ExportersPulpExportsApi#
|
221
|
+
@api_client.config.logger.debug "API called: ExportersPulpExportsApi#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 [PulpExportResponse]
|
233
|
-
def
|
234
|
-
data, _status_code, _headers =
|
233
|
+
def read(pulp_pulp_export_href, opts = {})
|
234
|
+
data, _status_code, _headers = read_with_http_info(pulp_pulp_export_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<(PulpExportResponse, Integer, Hash)>] PulpExportResponse data, response status code and response headers
|
245
|
-
def
|
245
|
+
def read_with_http_info(pulp_pulp_export_href, opts = {})
|
246
246
|
if @api_client.config.debugging
|
247
|
-
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.
|
247
|
+
@api_client.config.logger.debug 'Calling API: ExportersPulpExportsApi.read ...'
|
248
248
|
end
|
249
249
|
# verify the required parameter 'pulp_pulp_export_href' is set
|
250
250
|
if @api_client.config.client_side_validation && pulp_pulp_export_href.nil?
|
251
|
-
fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersPulpExportsApi.
|
251
|
+
fail ArgumentError, "Missing the required parameter 'pulp_pulp_export_href' when calling ExportersPulpExportsApi.read"
|
252
252
|
end
|
253
253
|
# resource path
|
254
254
|
local_var_path = '{pulp_pulp_export_href}'.sub('{' + 'pulp_pulp_export_href' + '}', CGI.escape(pulp_pulp_export_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: ExportersPulpExportsApi#
|
289
|
+
@api_client.config.logger.debug "API called: ExportersPulpExportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
290
290
|
end
|
291
291
|
return data, status_code, headers
|
292
292
|
end
|