pulp_container_client 2.25.1 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +4 -4
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +20 -8
- data/docs/ContentManifestsApi.md +20 -8
- data/docs/ContentSignaturesApi.md +20 -8
- data/docs/ContentTagsApi.md +20 -8
- data/docs/DistributionsContainerApi.md +74 -34
- data/docs/DistributionsPullThroughApi.md +74 -34
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- 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/RepositoryVersionResponse.md +3 -1
- data/docs/TokenApi.md +14 -5
- data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +12 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- 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_blob_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +47 -47
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +47 -47
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +62 -62
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +0 -15
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +0 -15
- data/lib/pulp_container_client/models/container_container_push_repository.rb +42 -57
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +59 -74
- data/lib/pulp_container_client/models/container_container_remote.rb +0 -15
- data/lib/pulp_container_client/models/container_container_remote_response.rb +0 -15
- data/lib/pulp_container_client/models/container_container_repository.rb +0 -15
- data/lib/pulp_container_client/models/container_container_repository_response.rb +0 -15
- data/lib/pulp_container_client/models/container_manifest_response.rb +10 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +10 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +10 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -2
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -2
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +40 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +40 -40
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +0 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -53
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +0 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +0 -15
- data/lib/pulp_container_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_blobs_api_spec.rb +4 -0
- data/spec/api/content_manifests_api_spec.rb +4 -0
- data/spec/api/content_signatures_api_spec.rb +4 -0
- data/spec/api/content_tags_api_spec.rb +4 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- 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_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_push_repository_response_spec.rb +10 -10
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- 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
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +59 -59
@@ -24,6 +24,7 @@ module PulpContainerClient
|
|
24
24
|
# @param container_container_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_distribution_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpContainerClient
|
|
35
36
|
# @param container_container_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_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_distribution [ContainerContainerDistribution]
|
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_distribution, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(container_container_distribution, opts)
|
@@ -107,6 +111,7 @@ module PulpContainerClient
|
|
107
111
|
# Trigger an asynchronous create task
|
108
112
|
# @param container_container_distribution [ContainerContainerDistribution]
|
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_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_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_distribution_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(container_container_distribution_href, opts)
|
@@ -175,6 +182,7 @@ module PulpContainerClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param container_container_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_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,6 +236,7 @@ module PulpContainerClient
|
|
227
236
|
# List container distributions
|
228
237
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
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
|
@@ -264,6 +274,7 @@ module PulpContainerClient
|
|
264
274
|
# List container distributions
|
265
275
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
266
276
|
# @param [Hash] opts the optional parameters
|
277
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
267
278
|
# @option opts [String] :base_path Filter results where base_path matches value
|
268
279
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
269
280
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -339,6 +350,7 @@ module PulpContainerClient
|
|
339
350
|
header_params = opts[:header_params] || {}
|
340
351
|
# HTTP header 'Accept' (if needed)
|
341
352
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
353
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
342
354
|
|
343
355
|
# form parameters
|
344
356
|
form_params = opts[:form_params] || {}
|
@@ -373,6 +385,7 @@ module PulpContainerClient
|
|
373
385
|
# List roles assigned to this object.
|
374
386
|
# @param container_container_distribution_href [String]
|
375
387
|
# @param [Hash] opts the optional parameters
|
388
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
376
389
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
377
390
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
378
391
|
# @return [ObjectRolesResponse]
|
@@ -385,6 +398,7 @@ module PulpContainerClient
|
|
385
398
|
# List roles assigned to this object.
|
386
399
|
# @param container_container_distribution_href [String]
|
387
400
|
# @param [Hash] opts the optional parameters
|
401
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
388
402
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
389
403
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
390
404
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -408,6 +422,7 @@ module PulpContainerClient
|
|
408
422
|
header_params = opts[:header_params] || {}
|
409
423
|
# HTTP header 'Accept' (if needed)
|
410
424
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
425
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
411
426
|
|
412
427
|
# form parameters
|
413
428
|
form_params = opts[:form_params] || {}
|
@@ -442,6 +457,7 @@ module PulpContainerClient
|
|
442
457
|
# List permissions available to the current user on this object.
|
443
458
|
# @param container_container_distribution_href [String]
|
444
459
|
# @param [Hash] opts the optional parameters
|
460
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
445
461
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
446
462
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
447
463
|
# @return [MyPermissionsResponse]
|
@@ -454,6 +470,7 @@ module PulpContainerClient
|
|
454
470
|
# List permissions available to the current user on this object.
|
455
471
|
# @param container_container_distribution_href [String]
|
456
472
|
# @param [Hash] opts the optional parameters
|
473
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
457
474
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
458
475
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
459
476
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -477,6 +494,7 @@ module PulpContainerClient
|
|
477
494
|
header_params = opts[:header_params] || {}
|
478
495
|
# HTTP header 'Accept' (if needed)
|
479
496
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
497
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
480
498
|
|
481
499
|
# form parameters
|
482
500
|
form_params = opts[:form_params] || {}
|
@@ -512,6 +530,7 @@ module PulpContainerClient
|
|
512
530
|
# @param container_container_distribution_href [String]
|
513
531
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
514
532
|
# @param [Hash] opts the optional parameters
|
533
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
515
534
|
# @return [AsyncOperationResponse]
|
516
535
|
def partial_update(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
517
536
|
data, _status_code, _headers = partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts)
|
@@ -523,6 +542,7 @@ module PulpContainerClient
|
|
523
542
|
# @param container_container_distribution_href [String]
|
524
543
|
# @param patchedcontainer_container_distribution [PatchedcontainerContainerDistribution]
|
525
544
|
# @param [Hash] opts the optional parameters
|
545
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
526
546
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
527
547
|
def partial_update_with_http_info(container_container_distribution_href, patchedcontainer_container_distribution, opts = {})
|
528
548
|
if @api_client.config.debugging
|
@@ -551,6 +571,7 @@ module PulpContainerClient
|
|
551
571
|
if !content_type.nil?
|
552
572
|
header_params['Content-Type'] = content_type
|
553
573
|
end
|
574
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
554
575
|
|
555
576
|
# form parameters
|
556
577
|
form_params = opts[:form_params] || {}
|
@@ -585,6 +606,7 @@ module PulpContainerClient
|
|
585
606
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
586
607
|
# @param container_container_distribution_href [String]
|
587
608
|
# @param [Hash] opts the optional parameters
|
609
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
588
610
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
589
611
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
590
612
|
# @return [ContainerContainerDistributionResponse]
|
@@ -597,6 +619,7 @@ module PulpContainerClient
|
|
597
619
|
# The Container Distribution will serve the latest version of a Repository if ``repository`` is specified. The Container Distribution will serve a specific repository version if ``repository_version``. Note that **either** ``repository`` or ``repository_version`` can be set on a Container Distribution, but not both.
|
598
620
|
# @param container_container_distribution_href [String]
|
599
621
|
# @param [Hash] opts the optional parameters
|
622
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
600
623
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
601
624
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
602
625
|
# @return [Array<(ContainerContainerDistributionResponse, Integer, Hash)>] ContainerContainerDistributionResponse data, response status code and response headers
|
@@ -620,6 +643,7 @@ module PulpContainerClient
|
|
620
643
|
header_params = opts[:header_params] || {}
|
621
644
|
# HTTP header 'Accept' (if needed)
|
622
645
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
646
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
623
647
|
|
624
648
|
# form parameters
|
625
649
|
form_params = opts[:form_params] || {}
|
@@ -655,6 +679,7 @@ module PulpContainerClient
|
|
655
679
|
# @param container_container_distribution_href [String]
|
656
680
|
# @param nested_role [NestedRole]
|
657
681
|
# @param [Hash] opts the optional parameters
|
682
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
658
683
|
# @return [NestedRoleResponse]
|
659
684
|
def remove_role(container_container_distribution_href, nested_role, opts = {})
|
660
685
|
data, _status_code, _headers = remove_role_with_http_info(container_container_distribution_href, nested_role, opts)
|
@@ -666,6 +691,7 @@ module PulpContainerClient
|
|
666
691
|
# @param container_container_distribution_href [String]
|
667
692
|
# @param nested_role [NestedRole]
|
668
693
|
# @param [Hash] opts the optional parameters
|
694
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
669
695
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
670
696
|
def remove_role_with_http_info(container_container_distribution_href, nested_role, opts = {})
|
671
697
|
if @api_client.config.debugging
|
@@ -694,6 +720,7 @@ module PulpContainerClient
|
|
694
720
|
if !content_type.nil?
|
695
721
|
header_params['Content-Type'] = content_type
|
696
722
|
end
|
723
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
697
724
|
|
698
725
|
# form parameters
|
699
726
|
form_params = opts[:form_params] || {}
|
@@ -729,6 +756,7 @@ module PulpContainerClient
|
|
729
756
|
# @param container_container_distribution_href [String]
|
730
757
|
# @param set_label [SetLabel]
|
731
758
|
# @param [Hash] opts the optional parameters
|
759
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
732
760
|
# @return [SetLabelResponse]
|
733
761
|
def set_label(container_container_distribution_href, set_label, opts = {})
|
734
762
|
data, _status_code, _headers = set_label_with_http_info(container_container_distribution_href, set_label, opts)
|
@@ -740,6 +768,7 @@ module PulpContainerClient
|
|
740
768
|
# @param container_container_distribution_href [String]
|
741
769
|
# @param set_label [SetLabel]
|
742
770
|
# @param [Hash] opts the optional parameters
|
771
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
743
772
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
744
773
|
def set_label_with_http_info(container_container_distribution_href, set_label, opts = {})
|
745
774
|
if @api_client.config.debugging
|
@@ -768,6 +797,7 @@ module PulpContainerClient
|
|
768
797
|
if !content_type.nil?
|
769
798
|
header_params['Content-Type'] = content_type
|
770
799
|
end
|
800
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
771
801
|
|
772
802
|
# form parameters
|
773
803
|
form_params = opts[:form_params] || {}
|
@@ -803,6 +833,7 @@ module PulpContainerClient
|
|
803
833
|
# @param container_container_distribution_href [String]
|
804
834
|
# @param unset_label [UnsetLabel]
|
805
835
|
# @param [Hash] opts the optional parameters
|
836
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
806
837
|
# @return [UnsetLabelResponse]
|
807
838
|
def unset_label(container_container_distribution_href, unset_label, opts = {})
|
808
839
|
data, _status_code, _headers = unset_label_with_http_info(container_container_distribution_href, unset_label, opts)
|
@@ -814,6 +845,7 @@ module PulpContainerClient
|
|
814
845
|
# @param container_container_distribution_href [String]
|
815
846
|
# @param unset_label [UnsetLabel]
|
816
847
|
# @param [Hash] opts the optional parameters
|
848
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
817
849
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
818
850
|
def unset_label_with_http_info(container_container_distribution_href, unset_label, opts = {})
|
819
851
|
if @api_client.config.debugging
|
@@ -842,6 +874,7 @@ module PulpContainerClient
|
|
842
874
|
if !content_type.nil?
|
843
875
|
header_params['Content-Type'] = content_type
|
844
876
|
end
|
877
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
845
878
|
|
846
879
|
# form parameters
|
847
880
|
form_params = opts[:form_params] || {}
|
@@ -877,6 +910,7 @@ module PulpContainerClient
|
|
877
910
|
# @param container_container_distribution_href [String]
|
878
911
|
# @param container_container_distribution [ContainerContainerDistribution]
|
879
912
|
# @param [Hash] opts the optional parameters
|
913
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
880
914
|
# @return [AsyncOperationResponse]
|
881
915
|
def update(container_container_distribution_href, container_container_distribution, opts = {})
|
882
916
|
data, _status_code, _headers = update_with_http_info(container_container_distribution_href, container_container_distribution, opts)
|
@@ -888,6 +922,7 @@ module PulpContainerClient
|
|
888
922
|
# @param container_container_distribution_href [String]
|
889
923
|
# @param container_container_distribution [ContainerContainerDistribution]
|
890
924
|
# @param [Hash] opts the optional parameters
|
925
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
891
926
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
892
927
|
def update_with_http_info(container_container_distribution_href, container_container_distribution, opts = {})
|
893
928
|
if @api_client.config.debugging
|
@@ -916,6 +951,7 @@ module PulpContainerClient
|
|
916
951
|
if !content_type.nil?
|
917
952
|
header_params['Content-Type'] = content_type
|
918
953
|
end
|
954
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
919
955
|
|
920
956
|
# form parameters
|
921
957
|
form_params = opts[:form_params] || {}
|
@@ -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,6 +236,7 @@ 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
|
@@ -263,6 +273,7 @@ module PulpContainerClient
|
|
263
273
|
# List container pull through distributions
|
264
274
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
265
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
266
277
|
# @option opts [String] :base_path Filter results where base_path matches value
|
267
278
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
268
279
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -336,6 +347,7 @@ module PulpContainerClient
|
|
336
347
|
header_params = opts[:header_params] || {}
|
337
348
|
# HTTP header 'Accept' (if needed)
|
338
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?
|
339
351
|
|
340
352
|
# form parameters
|
341
353
|
form_params = opts[:form_params] || {}
|
@@ -370,6 +382,7 @@ module PulpContainerClient
|
|
370
382
|
# List roles assigned to this object.
|
371
383
|
# @param container_container_pull_through_distribution_href [String]
|
372
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
388
|
# @return [ObjectRolesResponse]
|
@@ -382,6 +395,7 @@ module PulpContainerClient
|
|
382
395
|
# List roles assigned to this object.
|
383
396
|
# @param container_container_pull_through_distribution_href [String]
|
384
397
|
# @param [Hash] opts the optional parameters
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
385
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
386
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
387
401
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -405,6 +419,7 @@ module PulpContainerClient
|
|
405
419
|
header_params = opts[:header_params] || {}
|
406
420
|
# HTTP header 'Accept' (if needed)
|
407
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?
|
408
423
|
|
409
424
|
# form parameters
|
410
425
|
form_params = opts[:form_params] || {}
|
@@ -439,6 +454,7 @@ module PulpContainerClient
|
|
439
454
|
# List permissions available to the current user on this object.
|
440
455
|
# @param container_container_pull_through_distribution_href [String]
|
441
456
|
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
442
458
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
443
459
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
444
460
|
# @return [MyPermissionsResponse]
|
@@ -451,6 +467,7 @@ module PulpContainerClient
|
|
451
467
|
# List permissions available to the current user on this object.
|
452
468
|
# @param container_container_pull_through_distribution_href [String]
|
453
469
|
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
454
471
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
455
472
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
456
473
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -474,6 +491,7 @@ module PulpContainerClient
|
|
474
491
|
header_params = opts[:header_params] || {}
|
475
492
|
# HTTP header 'Accept' (if needed)
|
476
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?
|
477
495
|
|
478
496
|
# form parameters
|
479
497
|
form_params = opts[:form_params] || {}
|
@@ -509,6 +527,7 @@ module PulpContainerClient
|
|
509
527
|
# @param container_container_pull_through_distribution_href [String]
|
510
528
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
511
529
|
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
512
531
|
# @return [AsyncOperationResponse]
|
513
532
|
def partial_update(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
514
533
|
data, _status_code, _headers = partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts)
|
@@ -520,6 +539,7 @@ module PulpContainerClient
|
|
520
539
|
# @param container_container_pull_through_distribution_href [String]
|
521
540
|
# @param patchedcontainer_container_pull_through_distribution [PatchedcontainerContainerPullThroughDistribution]
|
522
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
523
543
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
524
544
|
def partial_update_with_http_info(container_container_pull_through_distribution_href, patchedcontainer_container_pull_through_distribution, opts = {})
|
525
545
|
if @api_client.config.debugging
|
@@ -548,6 +568,7 @@ module PulpContainerClient
|
|
548
568
|
if !content_type.nil?
|
549
569
|
header_params['Content-Type'] = content_type
|
550
570
|
end
|
571
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
551
572
|
|
552
573
|
# form parameters
|
553
574
|
form_params = opts[:form_params] || {}
|
@@ -582,6 +603,7 @@ module PulpContainerClient
|
|
582
603
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
583
604
|
# @param container_container_pull_through_distribution_href [String]
|
584
605
|
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
585
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
586
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
587
609
|
# @return [ContainerContainerPullThroughDistributionResponse]
|
@@ -594,6 +616,7 @@ module PulpContainerClient
|
|
594
616
|
# A special pull-through Container Distribution that will reference distributions serving content.
|
595
617
|
# @param container_container_pull_through_distribution_href [String]
|
596
618
|
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
597
620
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
598
621
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
599
622
|
# @return [Array<(ContainerContainerPullThroughDistributionResponse, Integer, Hash)>] ContainerContainerPullThroughDistributionResponse data, response status code and response headers
|
@@ -617,6 +640,7 @@ module PulpContainerClient
|
|
617
640
|
header_params = opts[:header_params] || {}
|
618
641
|
# HTTP header 'Accept' (if needed)
|
619
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?
|
620
644
|
|
621
645
|
# form parameters
|
622
646
|
form_params = opts[:form_params] || {}
|
@@ -652,6 +676,7 @@ module PulpContainerClient
|
|
652
676
|
# @param container_container_pull_through_distribution_href [String]
|
653
677
|
# @param nested_role [NestedRole]
|
654
678
|
# @param [Hash] opts the optional parameters
|
679
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
655
680
|
# @return [NestedRoleResponse]
|
656
681
|
def remove_role(container_container_pull_through_distribution_href, nested_role, opts = {})
|
657
682
|
data, _status_code, _headers = remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts)
|
@@ -663,6 +688,7 @@ module PulpContainerClient
|
|
663
688
|
# @param container_container_pull_through_distribution_href [String]
|
664
689
|
# @param nested_role [NestedRole]
|
665
690
|
# @param [Hash] opts the optional parameters
|
691
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
666
692
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
667
693
|
def remove_role_with_http_info(container_container_pull_through_distribution_href, nested_role, opts = {})
|
668
694
|
if @api_client.config.debugging
|
@@ -691,6 +717,7 @@ module PulpContainerClient
|
|
691
717
|
if !content_type.nil?
|
692
718
|
header_params['Content-Type'] = content_type
|
693
719
|
end
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
694
721
|
|
695
722
|
# form parameters
|
696
723
|
form_params = opts[:form_params] || {}
|
@@ -726,6 +753,7 @@ module PulpContainerClient
|
|
726
753
|
# @param container_container_pull_through_distribution_href [String]
|
727
754
|
# @param set_label [SetLabel]
|
728
755
|
# @param [Hash] opts the optional parameters
|
756
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
729
757
|
# @return [SetLabelResponse]
|
730
758
|
def set_label(container_container_pull_through_distribution_href, set_label, opts = {})
|
731
759
|
data, _status_code, _headers = set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts)
|
@@ -737,6 +765,7 @@ module PulpContainerClient
|
|
737
765
|
# @param container_container_pull_through_distribution_href [String]
|
738
766
|
# @param set_label [SetLabel]
|
739
767
|
# @param [Hash] opts the optional parameters
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
740
769
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
741
770
|
def set_label_with_http_info(container_container_pull_through_distribution_href, set_label, opts = {})
|
742
771
|
if @api_client.config.debugging
|
@@ -765,6 +794,7 @@ module PulpContainerClient
|
|
765
794
|
if !content_type.nil?
|
766
795
|
header_params['Content-Type'] = content_type
|
767
796
|
end
|
797
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
768
798
|
|
769
799
|
# form parameters
|
770
800
|
form_params = opts[:form_params] || {}
|
@@ -800,6 +830,7 @@ module PulpContainerClient
|
|
800
830
|
# @param container_container_pull_through_distribution_href [String]
|
801
831
|
# @param unset_label [UnsetLabel]
|
802
832
|
# @param [Hash] opts the optional parameters
|
833
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
803
834
|
# @return [UnsetLabelResponse]
|
804
835
|
def unset_label(container_container_pull_through_distribution_href, unset_label, opts = {})
|
805
836
|
data, _status_code, _headers = unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts)
|
@@ -811,6 +842,7 @@ module PulpContainerClient
|
|
811
842
|
# @param container_container_pull_through_distribution_href [String]
|
812
843
|
# @param unset_label [UnsetLabel]
|
813
844
|
# @param [Hash] opts the optional parameters
|
845
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
814
846
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
815
847
|
def unset_label_with_http_info(container_container_pull_through_distribution_href, unset_label, opts = {})
|
816
848
|
if @api_client.config.debugging
|
@@ -839,6 +871,7 @@ module PulpContainerClient
|
|
839
871
|
if !content_type.nil?
|
840
872
|
header_params['Content-Type'] = content_type
|
841
873
|
end
|
874
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
842
875
|
|
843
876
|
# form parameters
|
844
877
|
form_params = opts[:form_params] || {}
|
@@ -874,6 +907,7 @@ module PulpContainerClient
|
|
874
907
|
# @param container_container_pull_through_distribution_href [String]
|
875
908
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
876
909
|
# @param [Hash] opts the optional parameters
|
910
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
877
911
|
# @return [AsyncOperationResponse]
|
878
912
|
def update(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
879
913
|
data, _status_code, _headers = update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts)
|
@@ -885,6 +919,7 @@ module PulpContainerClient
|
|
885
919
|
# @param container_container_pull_through_distribution_href [String]
|
886
920
|
# @param container_container_pull_through_distribution [ContainerContainerPullThroughDistribution]
|
887
921
|
# @param [Hash] opts the optional parameters
|
922
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
888
923
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
889
924
|
def update_with_http_info(container_container_pull_through_distribution_href, container_container_pull_through_distribution, opts = {})
|
890
925
|
if @api_client.config.debugging
|
@@ -913,6 +948,7 @@ module PulpContainerClient
|
|
913
948
|
if !content_type.nil?
|
914
949
|
header_params['Content-Type'] = content_type
|
915
950
|
end
|
951
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
916
952
|
|
917
953
|
# form parameters
|
918
954
|
form_params = opts[:form_params] || {}
|