pulp_rpm_client 3.31.0 → 3.31.2
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 +8 -5
- data/docs/AcsRpmApi.md +64 -28
- data/docs/ContentAdvisoriesApi.md +22 -8
- data/docs/ContentDistributionTreesApi.md +20 -8
- data/docs/ContentModulemdDefaultsApi.md +28 -12
- data/docs/ContentModulemdObsoletesApi.md +28 -12
- data/docs/ContentModulemdsApi.md +28 -12
- data/docs/ContentPackagecategoriesApi.md +20 -8
- data/docs/ContentPackageenvironmentsApi.md +20 -8
- data/docs/ContentPackagegroupsApi.md +20 -8
- data/docs/ContentPackagelangpacksApi.md +20 -8
- data/docs/ContentPackagesApi.md +24 -8
- data/docs/ContentRepoMetadataFilesApi.md +20 -8
- data/docs/DistributionsRpmApi.md +72 -32
- data/docs/PublicationsRpmApi.md +40 -16
- data/docs/RemotesRpmApi.md +72 -32
- data/docs/RemotesUlnApi.md +72 -32
- data/docs/RepositoriesRpmApi.md +88 -40
- data/docs/RepositoriesRpmVersionsApi.md +22 -10
- data/docs/RpmCompsApi.md +2 -0
- data/docs/RpmCopyApi.md +8 -4
- data/docs/RpmPruneApi.md +8 -4
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +33 -0
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +15 -0
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +12 -0
- data/lib/pulp_rpm_client/api/content_packages_api.rb +18 -0
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +12 -0
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +24 -0
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +36 -0
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +36 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +42 -0
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +15 -3
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +3 -0
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +3 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- data/spec/api/acs_rpm_api_spec.rb +11 -0
- data/spec/api/content_advisories_api_spec.rb +5 -0
- data/spec/api/content_distribution_trees_api_spec.rb +4 -0
- data/spec/api/content_modulemd_defaults_api_spec.rb +5 -0
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +5 -0
- data/spec/api/content_modulemds_api_spec.rb +5 -0
- data/spec/api/content_packagecategories_api_spec.rb +4 -0
- data/spec/api/content_packageenvironments_api_spec.rb +4 -0
- data/spec/api/content_packagegroups_api_spec.rb +4 -0
- data/spec/api/content_packagelangpacks_api_spec.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +6 -0
- data/spec/api/content_repo_metadata_files_api_spec.rb +4 -0
- data/spec/api/distributions_rpm_api_spec.rb +12 -0
- data/spec/api/publications_rpm_api_spec.rb +8 -0
- data/spec/api/remotes_rpm_api_spec.rb +12 -0
- data/spec/api/remotes_uln_api_spec.rb +12 -0
- data/spec/api/repositories_rpm_api_spec.rb +14 -0
- data/spec/api/repositories_rpm_versions_api_spec.rb +5 -1
- data/spec/api/rpm_comps_api_spec.rb +1 -0
- data/spec/api/rpm_copy_api_spec.rb +1 -0
- data/spec/api/rpm_prune_api_spec.rb +1 -0
- metadata +78 -78
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param rpm_rpm_publication_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(rpm_rpm_publication_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpRpmClient
|
|
35
36
|
# @param rpm_rpm_publication_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(rpm_rpm_publication_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
97
100
|
# Trigger an asynchronous task to create a new RPM content publication.
|
98
101
|
# @param rpm_rpm_publication [RpmRpmPublication]
|
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(rpm_rpm_publication, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(rpm_rpm_publication, opts)
|
@@ -107,6 +111,7 @@ module PulpRpmClient
|
|
107
111
|
# Trigger an asynchronous task to create a new RPM content publication.
|
108
112
|
# @param rpm_rpm_publication [RpmRpmPublication]
|
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(rpm_rpm_publication, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
165
171
|
# ViewSet for Rpm Publications.
|
166
172
|
# @param rpm_rpm_publication_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 [nil]
|
169
176
|
def delete(rpm_rpm_publication_href, opts = {})
|
170
177
|
delete_with_http_info(rpm_rpm_publication_href, opts)
|
@@ -175,6 +182,7 @@ module PulpRpmClient
|
|
175
182
|
# ViewSet for Rpm Publications.
|
176
183
|
# @param rpm_rpm_publication_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<(nil, Integer, Hash)>] nil, response status code and response headers
|
179
187
|
def delete_with_http_info(rpm_rpm_publication_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -192,6 +200,7 @@ module PulpRpmClient
|
|
192
200
|
|
193
201
|
# header parameters
|
194
202
|
header_params = opts[:header_params] || {}
|
203
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
204
|
|
196
205
|
# form parameters
|
197
206
|
form_params = opts[:form_params] || {}
|
@@ -225,6 +234,7 @@ module PulpRpmClient
|
|
225
234
|
# List rpm publications
|
226
235
|
# ViewSet for Rpm Publications.
|
227
236
|
# @param [Hash] opts the optional parameters
|
237
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
228
238
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
229
239
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
230
240
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -255,6 +265,7 @@ module PulpRpmClient
|
|
255
265
|
# List rpm publications
|
256
266
|
# ViewSet for Rpm Publications.
|
257
267
|
# @param [Hash] opts the optional parameters
|
268
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
258
269
|
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
259
270
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
260
271
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
@@ -316,6 +327,7 @@ module PulpRpmClient
|
|
316
327
|
header_params = opts[:header_params] || {}
|
317
328
|
# HTTP header 'Accept' (if needed)
|
318
329
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
330
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
319
331
|
|
320
332
|
# form parameters
|
321
333
|
form_params = opts[:form_params] || {}
|
@@ -350,6 +362,7 @@ module PulpRpmClient
|
|
350
362
|
# List roles assigned to this object.
|
351
363
|
# @param rpm_rpm_publication_href [String]
|
352
364
|
# @param [Hash] opts the optional parameters
|
365
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
353
366
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
354
367
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
355
368
|
# @return [ObjectRolesResponse]
|
@@ -362,6 +375,7 @@ module PulpRpmClient
|
|
362
375
|
# List roles assigned to this object.
|
363
376
|
# @param rpm_rpm_publication_href [String]
|
364
377
|
# @param [Hash] opts the optional parameters
|
378
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
365
379
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
366
380
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
367
381
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -385,6 +399,7 @@ module PulpRpmClient
|
|
385
399
|
header_params = opts[:header_params] || {}
|
386
400
|
# HTTP header 'Accept' (if needed)
|
387
401
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
402
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
388
403
|
|
389
404
|
# form parameters
|
390
405
|
form_params = opts[:form_params] || {}
|
@@ -419,6 +434,7 @@ module PulpRpmClient
|
|
419
434
|
# List permissions available to the current user on this object.
|
420
435
|
# @param rpm_rpm_publication_href [String]
|
421
436
|
# @param [Hash] opts the optional parameters
|
437
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
422
438
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
423
439
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
424
440
|
# @return [MyPermissionsResponse]
|
@@ -431,6 +447,7 @@ module PulpRpmClient
|
|
431
447
|
# List permissions available to the current user on this object.
|
432
448
|
# @param rpm_rpm_publication_href [String]
|
433
449
|
# @param [Hash] opts the optional parameters
|
450
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
434
451
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
435
452
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
436
453
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -454,6 +471,7 @@ module PulpRpmClient
|
|
454
471
|
header_params = opts[:header_params] || {}
|
455
472
|
# HTTP header 'Accept' (if needed)
|
456
473
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
474
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
457
475
|
|
458
476
|
# form parameters
|
459
477
|
form_params = opts[:form_params] || {}
|
@@ -488,6 +506,7 @@ module PulpRpmClient
|
|
488
506
|
# ViewSet for Rpm Publications.
|
489
507
|
# @param rpm_rpm_publication_href [String]
|
490
508
|
# @param [Hash] opts the optional parameters
|
509
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
491
510
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
492
511
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
493
512
|
# @return [RpmRpmPublicationResponse]
|
@@ -500,6 +519,7 @@ module PulpRpmClient
|
|
500
519
|
# ViewSet for Rpm Publications.
|
501
520
|
# @param rpm_rpm_publication_href [String]
|
502
521
|
# @param [Hash] opts the optional parameters
|
522
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
503
523
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
504
524
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
505
525
|
# @return [Array<(RpmRpmPublicationResponse, Integer, Hash)>] RpmRpmPublicationResponse data, response status code and response headers
|
@@ -523,6 +543,7 @@ module PulpRpmClient
|
|
523
543
|
header_params = opts[:header_params] || {}
|
524
544
|
# HTTP header 'Accept' (if needed)
|
525
545
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
546
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
526
547
|
|
527
548
|
# form parameters
|
528
549
|
form_params = opts[:form_params] || {}
|
@@ -558,6 +579,7 @@ module PulpRpmClient
|
|
558
579
|
# @param rpm_rpm_publication_href [String]
|
559
580
|
# @param nested_role [NestedRole]
|
560
581
|
# @param [Hash] opts the optional parameters
|
582
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
561
583
|
# @return [NestedRoleResponse]
|
562
584
|
def remove_role(rpm_rpm_publication_href, nested_role, opts = {})
|
563
585
|
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
@@ -569,6 +591,7 @@ module PulpRpmClient
|
|
569
591
|
# @param rpm_rpm_publication_href [String]
|
570
592
|
# @param nested_role [NestedRole]
|
571
593
|
# @param [Hash] opts the optional parameters
|
594
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
572
595
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
573
596
|
def remove_role_with_http_info(rpm_rpm_publication_href, nested_role, opts = {})
|
574
597
|
if @api_client.config.debugging
|
@@ -597,6 +620,7 @@ module PulpRpmClient
|
|
597
620
|
if !content_type.nil?
|
598
621
|
header_params['Content-Type'] = content_type
|
599
622
|
end
|
623
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
600
624
|
|
601
625
|
# form parameters
|
602
626
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpRpmClient
|
|
24
24
|
# @param rpm_rpm_remote_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(rpm_rpm_remote_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(rpm_rpm_remote_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpRpmClient
|
|
35
36
|
# @param rpm_rpm_remote_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(rpm_rpm_remote_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
97
100
|
# A ViewSet for RpmRemote.
|
98
101
|
# @param rpm_rpm_remote [RpmRpmRemote]
|
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 [RpmRpmRemoteResponse]
|
101
105
|
def create(rpm_rpm_remote, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(rpm_rpm_remote, opts)
|
@@ -107,6 +111,7 @@ module PulpRpmClient
|
|
107
111
|
# A ViewSet for RpmRemote.
|
108
112
|
# @param rpm_rpm_remote [RpmRpmRemote]
|
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<(RpmRpmRemoteResponse, Integer, Hash)>] RpmRpmRemoteResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(rpm_rpm_remote, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param rpm_rpm_remote_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(rpm_rpm_remote_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(rpm_rpm_remote_href, opts)
|
@@ -175,6 +182,7 @@ module PulpRpmClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param rpm_rpm_remote_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(rpm_rpm_remote_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpRpmClient
|
|
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 PulpRpmClient
|
|
227
236
|
# List rpm remotes
|
228
237
|
# A ViewSet for RpmRemote.
|
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
|
@@ -262,6 +272,7 @@ module PulpRpmClient
|
|
262
272
|
# List rpm remotes
|
263
273
|
# A ViewSet for RpmRemote.
|
264
274
|
# @param [Hash] opts the optional parameters
|
275
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
265
276
|
# @option opts [Integer] :limit Number of results to return per page.
|
266
277
|
# @option opts [String] :name Filter results where name matches value
|
267
278
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -333,6 +344,7 @@ module PulpRpmClient
|
|
333
344
|
header_params = opts[:header_params] || {}
|
334
345
|
# HTTP header 'Accept' (if needed)
|
335
346
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
347
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
336
348
|
|
337
349
|
# form parameters
|
338
350
|
form_params = opts[:form_params] || {}
|
@@ -367,6 +379,7 @@ module PulpRpmClient
|
|
367
379
|
# List roles assigned to this object.
|
368
380
|
# @param rpm_rpm_remote_href [String]
|
369
381
|
# @param [Hash] opts the optional parameters
|
382
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
370
383
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
371
384
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
372
385
|
# @return [ObjectRolesResponse]
|
@@ -379,6 +392,7 @@ module PulpRpmClient
|
|
379
392
|
# List roles assigned to this object.
|
380
393
|
# @param rpm_rpm_remote_href [String]
|
381
394
|
# @param [Hash] opts the optional parameters
|
395
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
396
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
397
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
398
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -402,6 +416,7 @@ module PulpRpmClient
|
|
402
416
|
header_params = opts[:header_params] || {}
|
403
417
|
# HTTP header 'Accept' (if needed)
|
404
418
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
419
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
405
420
|
|
406
421
|
# form parameters
|
407
422
|
form_params = opts[:form_params] || {}
|
@@ -436,6 +451,7 @@ module PulpRpmClient
|
|
436
451
|
# List permissions available to the current user on this object.
|
437
452
|
# @param rpm_rpm_remote_href [String]
|
438
453
|
# @param [Hash] opts the optional parameters
|
454
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
439
455
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
440
456
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
441
457
|
# @return [MyPermissionsResponse]
|
@@ -448,6 +464,7 @@ module PulpRpmClient
|
|
448
464
|
# List permissions available to the current user on this object.
|
449
465
|
# @param rpm_rpm_remote_href [String]
|
450
466
|
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
451
468
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
452
469
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
453
470
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -471,6 +488,7 @@ module PulpRpmClient
|
|
471
488
|
header_params = opts[:header_params] || {}
|
472
489
|
# HTTP header 'Accept' (if needed)
|
473
490
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
491
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
474
492
|
|
475
493
|
# form parameters
|
476
494
|
form_params = opts[:form_params] || {}
|
@@ -506,6 +524,7 @@ module PulpRpmClient
|
|
506
524
|
# @param rpm_rpm_remote_href [String]
|
507
525
|
# @param patchedrpm_rpm_remote [PatchedrpmRpmRemote]
|
508
526
|
# @param [Hash] opts the optional parameters
|
527
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
509
528
|
# @return [AsyncOperationResponse]
|
510
529
|
def partial_update(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts = {})
|
511
530
|
data, _status_code, _headers = partial_update_with_http_info(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts)
|
@@ -517,6 +536,7 @@ module PulpRpmClient
|
|
517
536
|
# @param rpm_rpm_remote_href [String]
|
518
537
|
# @param patchedrpm_rpm_remote [PatchedrpmRpmRemote]
|
519
538
|
# @param [Hash] opts the optional parameters
|
539
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
520
540
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
521
541
|
def partial_update_with_http_info(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts = {})
|
522
542
|
if @api_client.config.debugging
|
@@ -545,6 +565,7 @@ module PulpRpmClient
|
|
545
565
|
if !content_type.nil?
|
546
566
|
header_params['Content-Type'] = content_type
|
547
567
|
end
|
568
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
548
569
|
|
549
570
|
# form parameters
|
550
571
|
form_params = opts[:form_params] || {}
|
@@ -579,6 +600,7 @@ module PulpRpmClient
|
|
579
600
|
# A ViewSet for RpmRemote.
|
580
601
|
# @param rpm_rpm_remote_href [String]
|
581
602
|
# @param [Hash] opts the optional parameters
|
603
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
582
604
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
583
605
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
584
606
|
# @return [RpmRpmRemoteResponse]
|
@@ -591,6 +613,7 @@ module PulpRpmClient
|
|
591
613
|
# A ViewSet for RpmRemote.
|
592
614
|
# @param rpm_rpm_remote_href [String]
|
593
615
|
# @param [Hash] opts the optional parameters
|
616
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
594
617
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
595
618
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
596
619
|
# @return [Array<(RpmRpmRemoteResponse, Integer, Hash)>] RpmRpmRemoteResponse data, response status code and response headers
|
@@ -614,6 +637,7 @@ module PulpRpmClient
|
|
614
637
|
header_params = opts[:header_params] || {}
|
615
638
|
# HTTP header 'Accept' (if needed)
|
616
639
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
640
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
617
641
|
|
618
642
|
# form parameters
|
619
643
|
form_params = opts[:form_params] || {}
|
@@ -649,6 +673,7 @@ module PulpRpmClient
|
|
649
673
|
# @param rpm_rpm_remote_href [String]
|
650
674
|
# @param nested_role [NestedRole]
|
651
675
|
# @param [Hash] opts the optional parameters
|
676
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
652
677
|
# @return [NestedRoleResponse]
|
653
678
|
def remove_role(rpm_rpm_remote_href, nested_role, opts = {})
|
654
679
|
data, _status_code, _headers = remove_role_with_http_info(rpm_rpm_remote_href, nested_role, opts)
|
@@ -660,6 +685,7 @@ module PulpRpmClient
|
|
660
685
|
# @param rpm_rpm_remote_href [String]
|
661
686
|
# @param nested_role [NestedRole]
|
662
687
|
# @param [Hash] opts the optional parameters
|
688
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
663
689
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
664
690
|
def remove_role_with_http_info(rpm_rpm_remote_href, nested_role, opts = {})
|
665
691
|
if @api_client.config.debugging
|
@@ -688,6 +714,7 @@ module PulpRpmClient
|
|
688
714
|
if !content_type.nil?
|
689
715
|
header_params['Content-Type'] = content_type
|
690
716
|
end
|
717
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
691
718
|
|
692
719
|
# form parameters
|
693
720
|
form_params = opts[:form_params] || {}
|
@@ -723,6 +750,7 @@ module PulpRpmClient
|
|
723
750
|
# @param rpm_rpm_remote_href [String]
|
724
751
|
# @param set_label [SetLabel]
|
725
752
|
# @param [Hash] opts the optional parameters
|
753
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
726
754
|
# @return [SetLabelResponse]
|
727
755
|
def set_label(rpm_rpm_remote_href, set_label, opts = {})
|
728
756
|
data, _status_code, _headers = set_label_with_http_info(rpm_rpm_remote_href, set_label, opts)
|
@@ -734,6 +762,7 @@ module PulpRpmClient
|
|
734
762
|
# @param rpm_rpm_remote_href [String]
|
735
763
|
# @param set_label [SetLabel]
|
736
764
|
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
737
766
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
738
767
|
def set_label_with_http_info(rpm_rpm_remote_href, set_label, opts = {})
|
739
768
|
if @api_client.config.debugging
|
@@ -762,6 +791,7 @@ module PulpRpmClient
|
|
762
791
|
if !content_type.nil?
|
763
792
|
header_params['Content-Type'] = content_type
|
764
793
|
end
|
794
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
765
795
|
|
766
796
|
# form parameters
|
767
797
|
form_params = opts[:form_params] || {}
|
@@ -797,6 +827,7 @@ module PulpRpmClient
|
|
797
827
|
# @param rpm_rpm_remote_href [String]
|
798
828
|
# @param unset_label [UnsetLabel]
|
799
829
|
# @param [Hash] opts the optional parameters
|
830
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
800
831
|
# @return [UnsetLabelResponse]
|
801
832
|
def unset_label(rpm_rpm_remote_href, unset_label, opts = {})
|
802
833
|
data, _status_code, _headers = unset_label_with_http_info(rpm_rpm_remote_href, unset_label, opts)
|
@@ -808,6 +839,7 @@ module PulpRpmClient
|
|
808
839
|
# @param rpm_rpm_remote_href [String]
|
809
840
|
# @param unset_label [UnsetLabel]
|
810
841
|
# @param [Hash] opts the optional parameters
|
842
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
811
843
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
812
844
|
def unset_label_with_http_info(rpm_rpm_remote_href, unset_label, opts = {})
|
813
845
|
if @api_client.config.debugging
|
@@ -836,6 +868,7 @@ module PulpRpmClient
|
|
836
868
|
if !content_type.nil?
|
837
869
|
header_params['Content-Type'] = content_type
|
838
870
|
end
|
871
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
839
872
|
|
840
873
|
# form parameters
|
841
874
|
form_params = opts[:form_params] || {}
|
@@ -871,6 +904,7 @@ module PulpRpmClient
|
|
871
904
|
# @param rpm_rpm_remote_href [String]
|
872
905
|
# @param rpm_rpm_remote [RpmRpmRemote]
|
873
906
|
# @param [Hash] opts the optional parameters
|
907
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
874
908
|
# @return [AsyncOperationResponse]
|
875
909
|
def update(rpm_rpm_remote_href, rpm_rpm_remote, opts = {})
|
876
910
|
data, _status_code, _headers = update_with_http_info(rpm_rpm_remote_href, rpm_rpm_remote, opts)
|
@@ -882,6 +916,7 @@ module PulpRpmClient
|
|
882
916
|
# @param rpm_rpm_remote_href [String]
|
883
917
|
# @param rpm_rpm_remote [RpmRpmRemote]
|
884
918
|
# @param [Hash] opts the optional parameters
|
919
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
885
920
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
886
921
|
def update_with_http_info(rpm_rpm_remote_href, rpm_rpm_remote, opts = {})
|
887
922
|
if @api_client.config.debugging
|
@@ -910,6 +945,7 @@ module PulpRpmClient
|
|
910
945
|
if !content_type.nil?
|
911
946
|
header_params['Content-Type'] = content_type
|
912
947
|
end
|
948
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
913
949
|
|
914
950
|
# form parameters
|
915
951
|
form_params = opts[:form_params] || {}
|