pulp_container_client 2.24.1 → 2.24.3
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 +13 -4
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
- data/docs/ContentBlobsApi.md +158 -0
- data/docs/ContentManifestsApi.md +158 -0
- data/docs/ContentSignaturesApi.md +158 -0
- data/docs/ContentTagsApi.md +158 -0
- data/docs/DistributionsContainerApi.md +76 -34
- data/docs/DistributionsPullThroughApi.md +76 -34
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/PulpContainerNamespacesApi.md +40 -16
- data/docs/RemotesContainerApi.md +72 -32
- data/docs/RemotesPullThroughApi.md +72 -32
- data/docs/RepositoriesContainerApi.md +138 -64
- data/docs/RepositoriesContainerPushApi.md +80 -36
- data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
- data/docs/RepositoriesContainerVersionsApi.md +22 -10
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +160 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +160 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +160 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +160 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +42 -3
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +42 -3
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +49 -49
- data/lib/pulp_container_client/models/container_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +69 -69
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +46 -46
- data/lib/pulp_container_client/models/unset_label.rb +1 -1
- data/lib/pulp_container_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/pulp_container_client.gemspec +0 -1
- data/spec/api/content_blobs_api_spec.rb +30 -0
- data/spec/api/content_manifests_api_spec.rb +30 -0
- data/spec/api/content_signatures_api_spec.rb +30 -0
- data/spec/api/content_tags_api_spec.rb +30 -0
- data/spec/api/distributions_container_api_spec.rb +14 -1
- data/spec/api/distributions_pull_through_api_spec.rb +14 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +21 -0
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
- data/spec/api/repositories_container_versions_api_spec.rb +5 -1
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +11 -11
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +11 -11
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +60 -80
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_pull_through_distribution_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_pull_through_distribution_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -63,6 +65,7 @@ module PulpContainerClient
|
|
|
63
65
|
if !content_type.nil?
|
|
64
66
|
header_params['Content-Type'] = content_type
|
|
65
67
|
end
|
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
69
|
|
|
67
70
|
# form parameters
|
|
68
71
|
form_params = opts[:form_params] || {}
|
|
@@ -97,6 +100,7 @@ module PulpContainerClient
|
|
|
97
100
|
# Trigger an asynchronous create task
|
|
98
101
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
99
102
|
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
104
|
# @return [AsyncOperationResponse]
|
|
101
105
|
def create(container_container_pull_through_distribution, opts = {})
|
|
102
106
|
data, _status_code, _headers = create_with_http_info(container_container_pull_through_distribution, opts)
|
|
@@ -107,6 +111,7 @@ module PulpContainerClient
|
|
|
107
111
|
# Trigger an asynchronous create task
|
|
108
112
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
109
113
|
# @param [Hash] opts the optional parameters
|
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
115
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
111
116
|
def create_with_http_info(container_container_pull_through_distribution, opts = {})
|
|
112
117
|
if @api_client.config.debugging
|
|
@@ -131,6 +136,7 @@ module PulpContainerClient
|
|
|
131
136
|
if !content_type.nil?
|
|
132
137
|
header_params['Content-Type'] = content_type
|
|
133
138
|
end
|
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
134
140
|
|
|
135
141
|
# form parameters
|
|
136
142
|
form_params = opts[:form_params] || {}
|
|
@@ -165,6 +171,7 @@ module PulpContainerClient
|
|
|
165
171
|
# Trigger an asynchronous delete task
|
|
166
172
|
# @param container_container_pull_through_distribution_href [String]
|
|
167
173
|
# @param [Hash] opts the optional parameters
|
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
175
|
# @return [AsyncOperationResponse]
|
|
169
176
|
def delete(container_container_pull_through_distribution_href, opts = {})
|
|
170
177
|
data, _status_code, _headers = delete_with_http_info(container_container_pull_through_distribution_href, opts)
|
|
@@ -175,6 +182,7 @@ module PulpContainerClient
|
|
|
175
182
|
# Trigger an asynchronous delete task
|
|
176
183
|
# @param container_container_pull_through_distribution_href [String]
|
|
177
184
|
# @param [Hash] opts the optional parameters
|
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
187
|
def delete_with_http_info(container_container_pull_through_distribution_href, opts = {})
|
|
180
188
|
if @api_client.config.debugging
|
|
@@ -194,6 +202,7 @@ module PulpContainerClient
|
|
|
194
202
|
header_params = opts[:header_params] || {}
|
|
195
203
|
# HTTP header 'Accept' (if needed)
|
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
197
206
|
|
|
198
207
|
# form parameters
|
|
199
208
|
form_params = opts[:form_params] || {}
|
|
@@ -227,10 +236,12 @@ module PulpContainerClient
|
|
|
227
236
|
# List container pull through distributions
|
|
228
237
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
229
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
230
240
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
231
241
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
232
242
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
233
243
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
244
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
234
245
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
235
246
|
# @option opts [String] :name Filter results where name matches value
|
|
236
247
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -242,7 +253,7 @@ module PulpContainerClient
|
|
|
242
253
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
243
254
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
244
255
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
245
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
256
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
246
257
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
247
258
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
248
259
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -262,10 +273,12 @@ module PulpContainerClient
|
|
|
262
273
|
# List container pull through distributions
|
|
263
274
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
264
275
|
# @param [Hash] opts the optional parameters
|
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
265
277
|
# @option opts [String] :base_path Filter results where base_path matches value
|
|
266
278
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
|
267
279
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
|
268
280
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
|
281
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
|
269
282
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
270
283
|
# @option opts [String] :name Filter results where name matches value
|
|
271
284
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -277,7 +290,7 @@ module PulpContainerClient
|
|
|
277
290
|
# @option opts [String] :name__regex Filter results where name matches regex value
|
|
278
291
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
279
292
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
280
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
293
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
281
294
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
|
282
295
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
|
283
296
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
@@ -293,7 +306,7 @@ module PulpContainerClient
|
|
|
293
306
|
if @api_client.config.debugging
|
|
294
307
|
@api_client.config.logger.debug 'Calling API: DistributionsPullThroughApi.list ...'
|
|
295
308
|
end
|
|
296
|
-
allowable_values = ["-base_path", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
309
|
+
allowable_values = ["-base_path", "-checkpoint", "-hidden", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "checkpoint", "hidden", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
|
297
310
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
298
311
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
299
312
|
end
|
|
@@ -306,6 +319,7 @@ module PulpContainerClient
|
|
|
306
319
|
query_params[:'base_path__contains'] = opts[:'base_path__contains'] if !opts[:'base_path__contains'].nil?
|
|
307
320
|
query_params[:'base_path__icontains'] = opts[:'base_path__icontains'] if !opts[:'base_path__icontains'].nil?
|
|
308
321
|
query_params[:'base_path__in'] = @api_client.build_collection_param(opts[:'base_path__in'], :csv) if !opts[:'base_path__in'].nil?
|
|
322
|
+
query_params[:'checkpoint'] = opts[:'checkpoint'] if !opts[:'checkpoint'].nil?
|
|
309
323
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
310
324
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
|
311
325
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
|
@@ -333,6 +347,7 @@ module PulpContainerClient
|
|
|
333
347
|
header_params = opts[:header_params] || {}
|
|
334
348
|
# HTTP header 'Accept' (if needed)
|
|
335
349
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
336
351
|
|
|
337
352
|
# form parameters
|
|
338
353
|
form_params = opts[:form_params] || {}
|
|
@@ -367,6 +382,7 @@ module PulpContainerClient
|
|
|
367
382
|
# List roles assigned to this object.
|
|
368
383
|
# @param container_container_pull_through_distribution_href [String]
|
|
369
384
|
# @param [Hash] opts the optional parameters
|
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
370
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
371
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
372
388
|
# @return [ObjectRolesResponse]
|
|
@@ -379,6 +395,7 @@ module PulpContainerClient
|
|
|
379
395
|
# List roles assigned to this object.
|
|
380
396
|
# @param container_container_pull_through_distribution_href [String]
|
|
381
397
|
# @param [Hash] opts the optional parameters
|
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
382
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
383
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
384
401
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -402,6 +419,7 @@ module PulpContainerClient
|
|
|
402
419
|
header_params = opts[:header_params] || {}
|
|
403
420
|
# HTTP header 'Accept' (if needed)
|
|
404
421
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
422
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
405
423
|
|
|
406
424
|
# form parameters
|
|
407
425
|
form_params = opts[:form_params] || {}
|
|
@@ -436,6 +454,7 @@ module PulpContainerClient
|
|
|
436
454
|
# List permissions available to the current user on this object.
|
|
437
455
|
# @param container_container_pull_through_distribution_href [String]
|
|
438
456
|
# @param [Hash] opts the optional parameters
|
|
457
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
439
458
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
440
459
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
441
460
|
# @return [MyPermissionsResponse]
|
|
@@ -448,6 +467,7 @@ module PulpContainerClient
|
|
|
448
467
|
# List permissions available to the current user on this object.
|
|
449
468
|
# @param container_container_pull_through_distribution_href [String]
|
|
450
469
|
# @param [Hash] opts the optional parameters
|
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
451
471
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
452
472
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
453
473
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -471,6 +491,7 @@ module PulpContainerClient
|
|
|
471
491
|
header_params = opts[:header_params] || {}
|
|
472
492
|
# HTTP header 'Accept' (if needed)
|
|
473
493
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
494
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
474
495
|
|
|
475
496
|
# form parameters
|
|
476
497
|
form_params = opts[:form_params] || {}
|
|
@@ -506,6 +527,7 @@ module PulpContainerClient
|
|
|
506
527
|
# @param container_container_pull_through_distribution_href [String]
|
|
507
528
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
|
508
529
|
# @param [Hash] opts the optional parameters
|
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
509
531
|
# @return [AsyncOperationResponse]
|
|
510
532
|
def partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
|
511
533
|
data, _status_code, _headers = partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
|
@@ -517,6 +539,7 @@ module PulpContainerClient
|
|
|
517
539
|
# @param container_container_pull_through_distribution_href [String]
|
|
518
540
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
|
519
541
|
# @param [Hash] opts the optional parameters
|
|
542
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
520
543
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
521
544
|
def partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
|
522
545
|
if @api_client.config.debugging
|
|
@@ -545,6 +568,7 @@ module PulpContainerClient
|
|
|
545
568
|
if !content_type.nil?
|
|
546
569
|
header_params['Content-Type'] = content_type
|
|
547
570
|
end
|
|
571
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
548
572
|
|
|
549
573
|
# form parameters
|
|
550
574
|
form_params = opts[:form_params] || {}
|
|
@@ -579,6 +603,7 @@ module PulpContainerClient
|
|
|
579
603
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
580
604
|
# @param container_container_pull_through_distribution_href [String]
|
|
581
605
|
# @param [Hash] opts the optional parameters
|
|
606
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
582
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
583
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
584
609
|
# @return [ContainerContainerPullThroughDistributionResponse]
|
|
@@ -591,6 +616,7 @@ module PulpContainerClient
|
|
|
591
616
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
|
592
617
|
# @param container_container_pull_through_distribution_href [String]
|
|
593
618
|
# @param [Hash] opts the optional parameters
|
|
619
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
594
620
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
595
621
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
596
622
|
# @return [Array<(ContainerContainerPullThroughDistributionResponse, Integer, Hash)>] ContainerContainerPullThroughDistributionResponse data, response status code and response headers
|
|
@@ -614,6 +640,7 @@ module PulpContainerClient
|
|
|
614
640
|
header_params = opts[:header_params] || {}
|
|
615
641
|
# HTTP header 'Accept' (if needed)
|
|
616
642
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
643
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
617
644
|
|
|
618
645
|
# form parameters
|
|
619
646
|
form_params = opts[:form_params] || {}
|
|
@@ -649,6 +676,7 @@ module PulpContainerClient
|
|
|
649
676
|
# @param container_container_pull_through_distribution_href [String]
|
|
650
677
|
# @param nested_role [NestedRole]
|
|
651
678
|
# @param [Hash] opts the optional parameters
|
|
679
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
652
680
|
# @return [NestedRoleResponse]
|
|
653
681
|
def remove_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
654
682
|
data, _status_code, _headers = remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
|
@@ -660,6 +688,7 @@ module PulpContainerClient
|
|
|
660
688
|
# @param container_container_pull_through_distribution_href [String]
|
|
661
689
|
# @param nested_role [NestedRole]
|
|
662
690
|
# @param [Hash] opts the optional parameters
|
|
691
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
663
692
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
664
693
|
def remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts = {})
|
|
665
694
|
if @api_client.config.debugging
|
|
@@ -688,6 +717,7 @@ module PulpContainerClient
|
|
|
688
717
|
if !content_type.nil?
|
|
689
718
|
header_params['Content-Type'] = content_type
|
|
690
719
|
end
|
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
691
721
|
|
|
692
722
|
# form parameters
|
|
693
723
|
form_params = opts[:form_params] || {}
|
|
@@ -723,6 +753,7 @@ module PulpContainerClient
|
|
|
723
753
|
# @param container_container_pull_through_distribution_href [String]
|
|
724
754
|
# @param set_label [SetLabel]
|
|
725
755
|
# @param [Hash] opts the optional parameters
|
|
756
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
726
757
|
# @return [SetLabelResponse]
|
|
727
758
|
def set_label(container_container_pull_through_distribution_href, set_label, opts = {})
|
|
728
759
|
data, _status_code, _headers = set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts)
|
|
@@ -734,6 +765,7 @@ module PulpContainerClient
|
|
|
734
765
|
# @param container_container_pull_through_distribution_href [String]
|
|
735
766
|
# @param set_label [SetLabel]
|
|
736
767
|
# @param [Hash] opts the optional parameters
|
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
737
769
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
|
738
770
|
def set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts = {})
|
|
739
771
|
if @api_client.config.debugging
|
|
@@ -762,6 +794,7 @@ module PulpContainerClient
|
|
|
762
794
|
if !content_type.nil?
|
|
763
795
|
header_params['Content-Type'] = content_type
|
|
764
796
|
end
|
|
797
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
765
798
|
|
|
766
799
|
# form parameters
|
|
767
800
|
form_params = opts[:form_params] || {}
|
|
@@ -797,6 +830,7 @@ module PulpContainerClient
|
|
|
797
830
|
# @param container_container_pull_through_distribution_href [String]
|
|
798
831
|
# @param unset_label [UnsetLabel]
|
|
799
832
|
# @param [Hash] opts the optional parameters
|
|
833
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
800
834
|
# @return [UnsetLabelResponse]
|
|
801
835
|
def unset_label(container_container_pull_through_distribution_href, unset_label, opts = {})
|
|
802
836
|
data, _status_code, _headers = unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts)
|
|
@@ -808,6 +842,7 @@ module PulpContainerClient
|
|
|
808
842
|
# @param container_container_pull_through_distribution_href [String]
|
|
809
843
|
# @param unset_label [UnsetLabel]
|
|
810
844
|
# @param [Hash] opts the optional parameters
|
|
845
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
811
846
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
|
812
847
|
def unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts = {})
|
|
813
848
|
if @api_client.config.debugging
|
|
@@ -836,6 +871,7 @@ module PulpContainerClient
|
|
|
836
871
|
if !content_type.nil?
|
|
837
872
|
header_params['Content-Type'] = content_type
|
|
838
873
|
end
|
|
874
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
839
875
|
|
|
840
876
|
# form parameters
|
|
841
877
|
form_params = opts[:form_params] || {}
|
|
@@ -871,6 +907,7 @@ module PulpContainerClient
|
|
|
871
907
|
# @param container_container_pull_through_distribution_href [String]
|
|
872
908
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
873
909
|
# @param [Hash] opts the optional parameters
|
|
910
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
874
911
|
# @return [AsyncOperationResponse]
|
|
875
912
|
def update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
|
876
913
|
data, _status_code, _headers = update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
|
@@ -882,6 +919,7 @@ module PulpContainerClient
|
|
|
882
919
|
# @param container_container_pull_through_distribution_href [String]
|
|
883
920
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
|
884
921
|
# @param [Hash] opts the optional parameters
|
|
922
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
885
923
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
886
924
|
def update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
|
887
925
|
if @api_client.config.debugging
|
|
@@ -910,6 +948,7 @@ module PulpContainerClient
|
|
|
910
948
|
if !content_type.nil?
|
|
911
949
|
header_params['Content-Type'] = content_type
|
|
912
950
|
end
|
|
951
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
913
952
|
|
|
914
953
|
# form parameters
|
|
915
954
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
|
24
24
|
# @param container_container_namespace_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(container_container_namespace_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
|
35
36
|
# @param container_container_namespace_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -63,6 +65,7 @@ module PulpContainerClient
|
|
|
63
65
|
if !content_type.nil?
|
|
64
66
|
header_params['Content-Type'] = content_type
|
|
65
67
|
end
|
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
66
69
|
|
|
67
70
|
# form parameters
|
|
68
71
|
form_params = opts[:form_params] || {}
|
|
@@ -97,6 +100,7 @@ module PulpContainerClient
|
|
|
97
100
|
# ViewSet for ContainerNamespaces.
|
|
98
101
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
99
102
|
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
104
|
# @return [ContainerContainerNamespaceResponse]
|
|
101
105
|
def create(container_container_namespace, opts = {})
|
|
102
106
|
data, _status_code, _headers = create_with_http_info(container_container_namespace, opts)
|
|
@@ -107,6 +111,7 @@ module PulpContainerClient
|
|
|
107
111
|
# ViewSet for ContainerNamespaces.
|
|
108
112
|
# @param container_container_namespace [ContainerContainerNamespace]
|
|
109
113
|
# @param [Hash] opts the optional parameters
|
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
110
115
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
111
116
|
def create_with_http_info(container_container_namespace, opts = {})
|
|
112
117
|
if @api_client.config.debugging
|
|
@@ -131,6 +136,7 @@ module PulpContainerClient
|
|
|
131
136
|
if !content_type.nil?
|
|
132
137
|
header_params['Content-Type'] = content_type
|
|
133
138
|
end
|
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
134
140
|
|
|
135
141
|
# form parameters
|
|
136
142
|
form_params = opts[:form_params] || {}
|
|
@@ -165,6 +171,7 @@ module PulpContainerClient
|
|
|
165
171
|
# Trigger an asynchronous delete task
|
|
166
172
|
# @param container_container_namespace_href [String]
|
|
167
173
|
# @param [Hash] opts the optional parameters
|
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
168
175
|
# @return [AsyncOperationResponse]
|
|
169
176
|
def delete(container_container_namespace_href, opts = {})
|
|
170
177
|
data, _status_code, _headers = delete_with_http_info(container_container_namespace_href, opts)
|
|
@@ -175,6 +182,7 @@ module PulpContainerClient
|
|
|
175
182
|
# Trigger an asynchronous delete task
|
|
176
183
|
# @param container_container_namespace_href [String]
|
|
177
184
|
# @param [Hash] opts the optional parameters
|
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
179
187
|
def delete_with_http_info(container_container_namespace_href, opts = {})
|
|
180
188
|
if @api_client.config.debugging
|
|
@@ -194,6 +202,7 @@ module PulpContainerClient
|
|
|
194
202
|
header_params = opts[:header_params] || {}
|
|
195
203
|
# HTTP header 'Accept' (if needed)
|
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
197
206
|
|
|
198
207
|
# form parameters
|
|
199
208
|
form_params = opts[:form_params] || {}
|
|
@@ -227,6 +236,7 @@ module PulpContainerClient
|
|
|
227
236
|
# List container namespaces
|
|
228
237
|
# ViewSet for ContainerNamespaces.
|
|
229
238
|
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
230
240
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
231
241
|
# @option opts [String] :name Filter results where name matches value
|
|
232
242
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -254,6 +264,7 @@ module PulpContainerClient
|
|
|
254
264
|
# List container namespaces
|
|
255
265
|
# ViewSet for ContainerNamespaces.
|
|
256
266
|
# @param [Hash] opts the optional parameters
|
|
267
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
257
268
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
258
269
|
# @option opts [String] :name Filter results where name matches value
|
|
259
270
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -309,6 +320,7 @@ module PulpContainerClient
|
|
|
309
320
|
header_params = opts[:header_params] || {}
|
|
310
321
|
# HTTP header 'Accept' (if needed)
|
|
311
322
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
323
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
312
324
|
|
|
313
325
|
# form parameters
|
|
314
326
|
form_params = opts[:form_params] || {}
|
|
@@ -343,6 +355,7 @@ module PulpContainerClient
|
|
|
343
355
|
# List roles assigned to this object.
|
|
344
356
|
# @param container_container_namespace_href [String]
|
|
345
357
|
# @param [Hash] opts the optional parameters
|
|
358
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
346
359
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
347
360
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
348
361
|
# @return [ObjectRolesResponse]
|
|
@@ -355,6 +368,7 @@ module PulpContainerClient
|
|
|
355
368
|
# List roles assigned to this object.
|
|
356
369
|
# @param container_container_namespace_href [String]
|
|
357
370
|
# @param [Hash] opts the optional parameters
|
|
371
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
358
372
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
359
373
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
360
374
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -378,6 +392,7 @@ module PulpContainerClient
|
|
|
378
392
|
header_params = opts[:header_params] || {}
|
|
379
393
|
# HTTP header 'Accept' (if needed)
|
|
380
394
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
395
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
381
396
|
|
|
382
397
|
# form parameters
|
|
383
398
|
form_params = opts[:form_params] || {}
|
|
@@ -412,6 +427,7 @@ module PulpContainerClient
|
|
|
412
427
|
# List permissions available to the current user on this object.
|
|
413
428
|
# @param container_container_namespace_href [String]
|
|
414
429
|
# @param [Hash] opts the optional parameters
|
|
430
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
415
431
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
416
432
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
417
433
|
# @return [MyPermissionsResponse]
|
|
@@ -424,6 +440,7 @@ module PulpContainerClient
|
|
|
424
440
|
# List permissions available to the current user on this object.
|
|
425
441
|
# @param container_container_namespace_href [String]
|
|
426
442
|
# @param [Hash] opts the optional parameters
|
|
443
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
427
444
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
428
445
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
429
446
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -447,6 +464,7 @@ module PulpContainerClient
|
|
|
447
464
|
header_params = opts[:header_params] || {}
|
|
448
465
|
# HTTP header 'Accept' (if needed)
|
|
449
466
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
467
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
450
468
|
|
|
451
469
|
# form parameters
|
|
452
470
|
form_params = opts[:form_params] || {}
|
|
@@ -481,6 +499,7 @@ module PulpContainerClient
|
|
|
481
499
|
# ViewSet for ContainerNamespaces.
|
|
482
500
|
# @param container_container_namespace_href [String]
|
|
483
501
|
# @param [Hash] opts the optional parameters
|
|
502
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
484
503
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
485
504
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
486
505
|
# @return [ContainerContainerNamespaceResponse]
|
|
@@ -493,6 +512,7 @@ module PulpContainerClient
|
|
|
493
512
|
# ViewSet for ContainerNamespaces.
|
|
494
513
|
# @param container_container_namespace_href [String]
|
|
495
514
|
# @param [Hash] opts the optional parameters
|
|
515
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
496
516
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
497
517
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
498
518
|
# @return [Array<(ContainerContainerNamespaceResponse, Integer, Hash)>] ContainerContainerNamespaceResponse data, response status code and response headers
|
|
@@ -516,6 +536,7 @@ module PulpContainerClient
|
|
|
516
536
|
header_params = opts[:header_params] || {}
|
|
517
537
|
# HTTP header 'Accept' (if needed)
|
|
518
538
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
539
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
519
540
|
|
|
520
541
|
# form parameters
|
|
521
542
|
form_params = opts[:form_params] || {}
|
|
@@ -551,6 +572,7 @@ module PulpContainerClient
|
|
|
551
572
|
# @param container_container_namespace_href [String]
|
|
552
573
|
# @param nested_role [NestedRole]
|
|
553
574
|
# @param [Hash] opts the optional parameters
|
|
575
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
554
576
|
# @return [NestedRoleResponse]
|
|
555
577
|
def remove_role(container_container_namespace_href, nested_role, opts = {})
|
|
556
578
|
data, _status_code, _headers = remove_role_with_http_info(container_container_namespace_href, nested_role, opts)
|
|
@@ -562,6 +584,7 @@ module PulpContainerClient
|
|
|
562
584
|
# @param container_container_namespace_href [String]
|
|
563
585
|
# @param nested_role [NestedRole]
|
|
564
586
|
# @param [Hash] opts the optional parameters
|
|
587
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
565
588
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
566
589
|
def remove_role_with_http_info(container_container_namespace_href, nested_role, opts = {})
|
|
567
590
|
if @api_client.config.debugging
|
|
@@ -590,6 +613,7 @@ module PulpContainerClient
|
|
|
590
613
|
if !content_type.nil?
|
|
591
614
|
header_params['Content-Type'] = content_type
|
|
592
615
|
end
|
|
616
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
593
617
|
|
|
594
618
|
# form parameters
|
|
595
619
|
form_params = opts[:form_params] || {}
|