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