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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf839d3b838d94de5b9bfb5fae96086914c681eb0153a72fc3642d319b04a6e6
|
4
|
+
data.tar.gz: 2fe0740ff03ef571cdce5482f97b71704c2ff49c52636ed394f845bdf53b445b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 796e207a2a2888aab4beb318a7e5e5a81db12d85147d64d2aed87a0f49ce848d5fab27902c2227a5b8b10dd20575753c0c4b829f46723aed568bd1e3ded251c4
|
7
|
+
data.tar.gz: 3e060bc814b0ab570b493f4765cde023224077c5518055b99b75c0e4991eaba83385493d2006c0b69025baf02266b065ee5025772e5e96a51147103baa0cc877
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 3.31.
|
10
|
+
- Package version: 3.31.2
|
11
11
|
- Generator version: 7.10.0
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
@@ -25,16 +25,16 @@ gem build pulp_rpm_client.gemspec
|
|
25
25
|
Then either install the gem locally:
|
26
26
|
|
27
27
|
```shell
|
28
|
-
gem install ./pulp_rpm_client-3.31.
|
28
|
+
gem install ./pulp_rpm_client-3.31.2.gem
|
29
29
|
```
|
30
30
|
|
31
|
-
(for development, run `gem install --dev ./pulp_rpm_client-3.31.
|
31
|
+
(for development, run `gem install --dev ./pulp_rpm_client-3.31.2.gem` to install the development dependencies)
|
32
32
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
34
34
|
|
35
35
|
Finally add this to the Gemfile:
|
36
36
|
|
37
|
-
gem 'pulp_rpm_client', '~> 3.31.
|
37
|
+
gem 'pulp_rpm_client', '~> 3.31.2'
|
38
38
|
|
39
39
|
### Install from Git
|
40
40
|
|
@@ -70,10 +70,13 @@ end
|
|
70
70
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
71
71
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
72
72
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
73
|
+
opts = {
|
74
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
75
|
+
}
|
73
76
|
|
74
77
|
begin
|
75
78
|
#Add a role
|
76
|
-
result = api_instance.add_role(rpm_rpm_alternate_content_source_href, nested_role)
|
79
|
+
result = api_instance.add_role(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
77
80
|
p result
|
78
81
|
rescue PulpRpmClient::ApiError => e
|
79
82
|
puts "Exception when calling AcsRpmApi->add_role: #{e}"
|
data/docs/AcsRpmApi.md
CHANGED
@@ -19,7 +19,7 @@ All URIs are relative to *http://localhost:24817*
|
|
19
19
|
|
20
20
|
## add_role
|
21
21
|
|
22
|
-
> <NestedRoleResponse> add_role(rpm_rpm_alternate_content_source_href, nested_role)
|
22
|
+
> <NestedRoleResponse> add_role(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
23
23
|
|
24
24
|
Add a role
|
25
25
|
|
@@ -40,10 +40,13 @@ end
|
|
40
40
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
41
41
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
42
42
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
43
|
+
opts = {
|
44
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
45
|
+
}
|
43
46
|
|
44
47
|
begin
|
45
48
|
# Add a role
|
46
|
-
result = api_instance.add_role(rpm_rpm_alternate_content_source_href, nested_role)
|
49
|
+
result = api_instance.add_role(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
47
50
|
p result
|
48
51
|
rescue PulpRpmClient::ApiError => e
|
49
52
|
puts "Error when calling AcsRpmApi->add_role: #{e}"
|
@@ -54,12 +57,12 @@ end
|
|
54
57
|
|
55
58
|
This returns an Array which contains the response data, status code and headers.
|
56
59
|
|
57
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role)
|
60
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
58
61
|
|
59
62
|
```ruby
|
60
63
|
begin
|
61
64
|
# Add a role
|
62
|
-
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role)
|
65
|
+
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
63
66
|
p status_code # => 2xx
|
64
67
|
p headers # => { ... }
|
65
68
|
p data # => <NestedRoleResponse>
|
@@ -74,6 +77,7 @@ end
|
|
74
77
|
| ---- | ---- | ----------- | ----- |
|
75
78
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
76
79
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
80
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
77
81
|
|
78
82
|
### Return type
|
79
83
|
|
@@ -91,7 +95,7 @@ end
|
|
91
95
|
|
92
96
|
## create
|
93
97
|
|
94
|
-
> <RpmRpmAlternateContentSourceResponse> create(rpm_rpm_alternate_content_source)
|
98
|
+
> <RpmRpmAlternateContentSourceResponse> create(rpm_rpm_alternate_content_source, opts)
|
95
99
|
|
96
100
|
Create a rpm alternate content source
|
97
101
|
|
@@ -111,10 +115,13 @@ end
|
|
111
115
|
|
112
116
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
113
117
|
rpm_rpm_alternate_content_source = PulpRpmClient::RpmRpmAlternateContentSource.new({name: 'name_example', remote: 'remote_example'}) # RpmRpmAlternateContentSource |
|
118
|
+
opts = {
|
119
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
120
|
+
}
|
114
121
|
|
115
122
|
begin
|
116
123
|
# Create a rpm alternate content source
|
117
|
-
result = api_instance.create(rpm_rpm_alternate_content_source)
|
124
|
+
result = api_instance.create(rpm_rpm_alternate_content_source, opts)
|
118
125
|
p result
|
119
126
|
rescue PulpRpmClient::ApiError => e
|
120
127
|
puts "Error when calling AcsRpmApi->create: #{e}"
|
@@ -125,12 +132,12 @@ end
|
|
125
132
|
|
126
133
|
This returns an Array which contains the response data, status code and headers.
|
127
134
|
|
128
|
-
> <Array(<RpmRpmAlternateContentSourceResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_alternate_content_source)
|
135
|
+
> <Array(<RpmRpmAlternateContentSourceResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_alternate_content_source, opts)
|
129
136
|
|
130
137
|
```ruby
|
131
138
|
begin
|
132
139
|
# Create a rpm alternate content source
|
133
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_alternate_content_source)
|
140
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_alternate_content_source, opts)
|
134
141
|
p status_code # => 2xx
|
135
142
|
p headers # => { ... }
|
136
143
|
p data # => <RpmRpmAlternateContentSourceResponse>
|
@@ -144,6 +151,7 @@ end
|
|
144
151
|
| Name | Type | Description | Notes |
|
145
152
|
| ---- | ---- | ----------- | ----- |
|
146
153
|
| **rpm_rpm_alternate_content_source** | [**RpmRpmAlternateContentSource**](RpmRpmAlternateContentSource.md) | | |
|
154
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
147
155
|
|
148
156
|
### Return type
|
149
157
|
|
@@ -161,7 +169,7 @@ end
|
|
161
169
|
|
162
170
|
## delete
|
163
171
|
|
164
|
-
> <AsyncOperationResponse> delete(rpm_rpm_alternate_content_source_href)
|
172
|
+
> <AsyncOperationResponse> delete(rpm_rpm_alternate_content_source_href, opts)
|
165
173
|
|
166
174
|
Delete a rpm alternate content source
|
167
175
|
|
@@ -181,10 +189,13 @@ end
|
|
181
189
|
|
182
190
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
183
191
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
192
|
+
opts = {
|
193
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
194
|
+
}
|
184
195
|
|
185
196
|
begin
|
186
197
|
# Delete a rpm alternate content source
|
187
|
-
result = api_instance.delete(rpm_rpm_alternate_content_source_href)
|
198
|
+
result = api_instance.delete(rpm_rpm_alternate_content_source_href, opts)
|
188
199
|
p result
|
189
200
|
rescue PulpRpmClient::ApiError => e
|
190
201
|
puts "Error when calling AcsRpmApi->delete: #{e}"
|
@@ -195,12 +206,12 @@ end
|
|
195
206
|
|
196
207
|
This returns an Array which contains the response data, status code and headers.
|
197
208
|
|
198
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_alternate_content_source_href)
|
209
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
199
210
|
|
200
211
|
```ruby
|
201
212
|
begin
|
202
213
|
# Delete a rpm alternate content source
|
203
|
-
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_alternate_content_source_href)
|
214
|
+
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
204
215
|
p status_code # => 2xx
|
205
216
|
p headers # => { ... }
|
206
217
|
p data # => <AsyncOperationResponse>
|
@@ -214,6 +225,7 @@ end
|
|
214
225
|
| Name | Type | Description | Notes |
|
215
226
|
| ---- | ---- | ----------- | ----- |
|
216
227
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
228
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
217
229
|
|
218
230
|
### Return type
|
219
231
|
|
@@ -251,6 +263,7 @@ end
|
|
251
263
|
|
252
264
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
253
265
|
opts = {
|
266
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
254
267
|
limit: 56, # Integer | Number of results to return per page.
|
255
268
|
name: 'name_example', # String | Filter results where name matches value
|
256
269
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -302,6 +315,7 @@ end
|
|
302
315
|
|
303
316
|
| Name | Type | Description | Notes |
|
304
317
|
| ---- | ---- | ----------- | ----- |
|
318
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
305
319
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
306
320
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
307
321
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -358,6 +372,7 @@ end
|
|
358
372
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
359
373
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
360
374
|
opts = {
|
375
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
361
376
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
362
377
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
363
378
|
}
|
@@ -394,6 +409,7 @@ end
|
|
394
409
|
| Name | Type | Description | Notes |
|
395
410
|
| ---- | ---- | ----------- | ----- |
|
396
411
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
412
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
397
413
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
398
414
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
399
415
|
|
@@ -434,6 +450,7 @@ end
|
|
434
450
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
435
451
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
436
452
|
opts = {
|
453
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
437
454
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
438
455
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
439
456
|
}
|
@@ -470,6 +487,7 @@ end
|
|
470
487
|
| Name | Type | Description | Notes |
|
471
488
|
| ---- | ---- | ----------- | ----- |
|
472
489
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
490
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
473
491
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
474
492
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
475
493
|
|
@@ -489,7 +507,7 @@ end
|
|
489
507
|
|
490
508
|
## partial_update
|
491
509
|
|
492
|
-
> <AsyncOperationResponse> partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source)
|
510
|
+
> <AsyncOperationResponse> partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts)
|
493
511
|
|
494
512
|
Update a rpm alternate content source
|
495
513
|
|
@@ -510,10 +528,13 @@ end
|
|
510
528
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
511
529
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
512
530
|
patchedrpm_rpm_alternate_content_source = PulpRpmClient::PatchedrpmRpmAlternateContentSource.new # PatchedrpmRpmAlternateContentSource |
|
531
|
+
opts = {
|
532
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
533
|
+
}
|
513
534
|
|
514
535
|
begin
|
515
536
|
# Update a rpm alternate content source
|
516
|
-
result = api_instance.partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source)
|
537
|
+
result = api_instance.partial_update(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts)
|
517
538
|
p result
|
518
539
|
rescue PulpRpmClient::ApiError => e
|
519
540
|
puts "Error when calling AcsRpmApi->partial_update: #{e}"
|
@@ -524,12 +545,12 @@ end
|
|
524
545
|
|
525
546
|
This returns an Array which contains the response data, status code and headers.
|
526
547
|
|
527
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source)
|
548
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts)
|
528
549
|
|
529
550
|
```ruby
|
530
551
|
begin
|
531
552
|
# Update a rpm alternate content source
|
532
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source)
|
553
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_alternate_content_source_href, patchedrpm_rpm_alternate_content_source, opts)
|
533
554
|
p status_code # => 2xx
|
534
555
|
p headers # => { ... }
|
535
556
|
p data # => <AsyncOperationResponse>
|
@@ -544,6 +565,7 @@ end
|
|
544
565
|
| ---- | ---- | ----------- | ----- |
|
545
566
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
546
567
|
| **patchedrpm_rpm_alternate_content_source** | [**PatchedrpmRpmAlternateContentSource**](PatchedrpmRpmAlternateContentSource.md) | | |
|
568
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
547
569
|
|
548
570
|
### Return type
|
549
571
|
|
@@ -582,6 +604,7 @@ end
|
|
582
604
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
583
605
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
584
606
|
opts = {
|
607
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
585
608
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
586
609
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
587
610
|
}
|
@@ -618,6 +641,7 @@ end
|
|
618
641
|
| Name | Type | Description | Notes |
|
619
642
|
| ---- | ---- | ----------- | ----- |
|
620
643
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
644
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
621
645
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
622
646
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
623
647
|
|
@@ -637,7 +661,7 @@ end
|
|
637
661
|
|
638
662
|
## refresh
|
639
663
|
|
640
|
-
> <TaskGroupOperationResponse> refresh(rpm_rpm_alternate_content_source_href)
|
664
|
+
> <TaskGroupOperationResponse> refresh(rpm_rpm_alternate_content_source_href, opts)
|
641
665
|
|
642
666
|
|
643
667
|
|
@@ -657,10 +681,13 @@ end
|
|
657
681
|
|
658
682
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
659
683
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
684
|
+
opts = {
|
685
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
686
|
+
}
|
660
687
|
|
661
688
|
begin
|
662
689
|
|
663
|
-
result = api_instance.refresh(rpm_rpm_alternate_content_source_href)
|
690
|
+
result = api_instance.refresh(rpm_rpm_alternate_content_source_href, opts)
|
664
691
|
p result
|
665
692
|
rescue PulpRpmClient::ApiError => e
|
666
693
|
puts "Error when calling AcsRpmApi->refresh: #{e}"
|
@@ -671,12 +698,12 @@ end
|
|
671
698
|
|
672
699
|
This returns an Array which contains the response data, status code and headers.
|
673
700
|
|
674
|
-
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> refresh_with_http_info(rpm_rpm_alternate_content_source_href)
|
701
|
+
> <Array(<TaskGroupOperationResponse>, Integer, Hash)> refresh_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
675
702
|
|
676
703
|
```ruby
|
677
704
|
begin
|
678
705
|
|
679
|
-
data, status_code, headers = api_instance.refresh_with_http_info(rpm_rpm_alternate_content_source_href)
|
706
|
+
data, status_code, headers = api_instance.refresh_with_http_info(rpm_rpm_alternate_content_source_href, opts)
|
680
707
|
p status_code # => 2xx
|
681
708
|
p headers # => { ... }
|
682
709
|
p data # => <TaskGroupOperationResponse>
|
@@ -690,6 +717,7 @@ end
|
|
690
717
|
| Name | Type | Description | Notes |
|
691
718
|
| ---- | ---- | ----------- | ----- |
|
692
719
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
720
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
693
721
|
|
694
722
|
### Return type
|
695
723
|
|
@@ -707,7 +735,7 @@ end
|
|
707
735
|
|
708
736
|
## remove_role
|
709
737
|
|
710
|
-
> <NestedRoleResponse> remove_role(rpm_rpm_alternate_content_source_href, nested_role)
|
738
|
+
> <NestedRoleResponse> remove_role(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
711
739
|
|
712
740
|
Remove a role
|
713
741
|
|
@@ -728,10 +756,13 @@ end
|
|
728
756
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
729
757
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
730
758
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
759
|
+
opts = {
|
760
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
761
|
+
}
|
731
762
|
|
732
763
|
begin
|
733
764
|
# Remove a role
|
734
|
-
result = api_instance.remove_role(rpm_rpm_alternate_content_source_href, nested_role)
|
765
|
+
result = api_instance.remove_role(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
735
766
|
p result
|
736
767
|
rescue PulpRpmClient::ApiError => e
|
737
768
|
puts "Error when calling AcsRpmApi->remove_role: #{e}"
|
@@ -742,12 +773,12 @@ end
|
|
742
773
|
|
743
774
|
This returns an Array which contains the response data, status code and headers.
|
744
775
|
|
745
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role)
|
776
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
746
777
|
|
747
778
|
```ruby
|
748
779
|
begin
|
749
780
|
# Remove a role
|
750
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role)
|
781
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_alternate_content_source_href, nested_role, opts)
|
751
782
|
p status_code # => 2xx
|
752
783
|
p headers # => { ... }
|
753
784
|
p data # => <NestedRoleResponse>
|
@@ -762,6 +793,7 @@ end
|
|
762
793
|
| ---- | ---- | ----------- | ----- |
|
763
794
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
764
795
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
796
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
765
797
|
|
766
798
|
### Return type
|
767
799
|
|
@@ -779,7 +811,7 @@ end
|
|
779
811
|
|
780
812
|
## update
|
781
813
|
|
782
|
-
> <AsyncOperationResponse> update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
|
814
|
+
> <AsyncOperationResponse> update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts)
|
783
815
|
|
784
816
|
Update a rpm alternate content source
|
785
817
|
|
@@ -800,10 +832,13 @@ end
|
|
800
832
|
api_instance = PulpRpmClient::AcsRpmApi.new
|
801
833
|
rpm_rpm_alternate_content_source_href = 'rpm_rpm_alternate_content_source_href_example' # String |
|
802
834
|
rpm_rpm_alternate_content_source = PulpRpmClient::RpmRpmAlternateContentSource.new({name: 'name_example', remote: 'remote_example'}) # RpmRpmAlternateContentSource |
|
835
|
+
opts = {
|
836
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
837
|
+
}
|
803
838
|
|
804
839
|
begin
|
805
840
|
# Update a rpm alternate content source
|
806
|
-
result = api_instance.update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
|
841
|
+
result = api_instance.update(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts)
|
807
842
|
p result
|
808
843
|
rescue PulpRpmClient::ApiError => e
|
809
844
|
puts "Error when calling AcsRpmApi->update: #{e}"
|
@@ -814,12 +849,12 @@ end
|
|
814
849
|
|
815
850
|
This returns an Array which contains the response data, status code and headers.
|
816
851
|
|
817
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
|
852
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts)
|
818
853
|
|
819
854
|
```ruby
|
820
855
|
begin
|
821
856
|
# Update a rpm alternate content source
|
822
|
-
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source)
|
857
|
+
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_alternate_content_source_href, rpm_rpm_alternate_content_source, opts)
|
823
858
|
p status_code # => 2xx
|
824
859
|
p headers # => { ... }
|
825
860
|
p data # => <AsyncOperationResponse>
|
@@ -834,6 +869,7 @@ end
|
|
834
869
|
| ---- | ---- | ----------- | ----- |
|
835
870
|
| **rpm_rpm_alternate_content_source_href** | **String** | | |
|
836
871
|
| **rpm_rpm_alternate_content_source** | [**RpmRpmAlternateContentSource**](RpmRpmAlternateContentSource.md) | | |
|
872
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
837
873
|
|
838
874
|
### Return type
|
839
875
|
|
@@ -33,6 +33,7 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
35
35
|
opts = {
|
36
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
36
37
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
37
38
|
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
38
39
|
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
@@ -71,6 +72,7 @@ end
|
|
71
72
|
|
72
73
|
| Name | Type | Description | Notes |
|
73
74
|
| ---- | ---- | ----------- | ----- |
|
75
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
76
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
75
77
|
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
76
78
|
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
@@ -113,6 +115,7 @@ end
|
|
113
115
|
|
114
116
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
115
117
|
opts = {
|
118
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
116
119
|
id: 'id_example', # String | Filter results where id matches value
|
117
120
|
id__in: ['inner_example'], # Array<String> | Filter results where id is in a comma-separated list of values
|
118
121
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -171,6 +174,7 @@ end
|
|
171
174
|
|
172
175
|
| Name | Type | Description | Notes |
|
173
176
|
| ---- | ---- | ----------- | ----- |
|
177
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
174
178
|
| **id** | **String** | Filter results where id matches value | [optional] |
|
175
179
|
| **id__in** | [**Array<String>**](String.md) | Filter results where id is in a comma-separated list of values | [optional] |
|
176
180
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -234,6 +238,7 @@ end
|
|
234
238
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
235
239
|
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
236
240
|
opts = {
|
241
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
237
242
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
238
243
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
239
244
|
}
|
@@ -270,6 +275,7 @@ end
|
|
270
275
|
| Name | Type | Description | Notes |
|
271
276
|
| ---- | ---- | ----------- | ----- |
|
272
277
|
| **rpm_update_record_href** | **String** | | |
|
278
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
273
279
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
274
280
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
275
281
|
|
@@ -289,7 +295,7 @@ end
|
|
289
295
|
|
290
296
|
## set_label
|
291
297
|
|
292
|
-
> <SetLabelResponse> set_label(rpm_update_record_href, set_label)
|
298
|
+
> <SetLabelResponse> set_label(rpm_update_record_href, set_label, opts)
|
293
299
|
|
294
300
|
Set a label
|
295
301
|
|
@@ -310,10 +316,13 @@ end
|
|
310
316
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
311
317
|
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
312
318
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
319
|
+
opts = {
|
320
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
321
|
+
}
|
313
322
|
|
314
323
|
begin
|
315
324
|
# Set a label
|
316
|
-
result = api_instance.set_label(rpm_update_record_href, set_label)
|
325
|
+
result = api_instance.set_label(rpm_update_record_href, set_label, opts)
|
317
326
|
p result
|
318
327
|
rescue PulpRpmClient::ApiError => e
|
319
328
|
puts "Error when calling ContentAdvisoriesApi->set_label: #{e}"
|
@@ -324,12 +333,12 @@ end
|
|
324
333
|
|
325
334
|
This returns an Array which contains the response data, status code and headers.
|
326
335
|
|
327
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_update_record_href, set_label)
|
336
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_update_record_href, set_label, opts)
|
328
337
|
|
329
338
|
```ruby
|
330
339
|
begin
|
331
340
|
# Set a label
|
332
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_update_record_href, set_label)
|
341
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_update_record_href, set_label, opts)
|
333
342
|
p status_code # => 2xx
|
334
343
|
p headers # => { ... }
|
335
344
|
p data # => <SetLabelResponse>
|
@@ -344,6 +353,7 @@ end
|
|
344
353
|
| ---- | ---- | ----------- | ----- |
|
345
354
|
| **rpm_update_record_href** | **String** | | |
|
346
355
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
356
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
347
357
|
|
348
358
|
### Return type
|
349
359
|
|
@@ -361,7 +371,7 @@ end
|
|
361
371
|
|
362
372
|
## unset_label
|
363
373
|
|
364
|
-
> <UnsetLabelResponse> unset_label(rpm_update_record_href, unset_label)
|
374
|
+
> <UnsetLabelResponse> unset_label(rpm_update_record_href, unset_label, opts)
|
365
375
|
|
366
376
|
Unset a label
|
367
377
|
|
@@ -382,10 +392,13 @@ end
|
|
382
392
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
383
393
|
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
384
394
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
395
|
+
opts = {
|
396
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
397
|
+
}
|
385
398
|
|
386
399
|
begin
|
387
400
|
# Unset a label
|
388
|
-
result = api_instance.unset_label(rpm_update_record_href, unset_label)
|
401
|
+
result = api_instance.unset_label(rpm_update_record_href, unset_label, opts)
|
389
402
|
p result
|
390
403
|
rescue PulpRpmClient::ApiError => e
|
391
404
|
puts "Error when calling ContentAdvisoriesApi->unset_label: #{e}"
|
@@ -396,12 +409,12 @@ end
|
|
396
409
|
|
397
410
|
This returns an Array which contains the response data, status code and headers.
|
398
411
|
|
399
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_update_record_href, unset_label)
|
412
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_update_record_href, unset_label, opts)
|
400
413
|
|
401
414
|
```ruby
|
402
415
|
begin
|
403
416
|
# Unset a label
|
404
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_update_record_href, unset_label)
|
417
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_update_record_href, unset_label, opts)
|
405
418
|
p status_code # => 2xx
|
406
419
|
p headers # => { ... }
|
407
420
|
p data # => <UnsetLabelResponse>
|
@@ -416,6 +429,7 @@ end
|
|
416
429
|
| ---- | ---- | ----------- | ----- |
|
417
430
|
| **rpm_update_record_href** | **String** | | |
|
418
431
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
432
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
419
433
|
|
420
434
|
### Return type
|
421
435
|
|