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
data/docs/RepositoriesRpmApi.md
CHANGED
@@ -22,7 +22,7 @@ All URIs are relative to *http://localhost:24817*
|
|
22
22
|
|
23
23
|
## add_role
|
24
24
|
|
25
|
-
> <NestedRoleResponse> add_role(rpm_rpm_repository_href, nested_role
|
25
|
+
> <NestedRoleResponse> add_role(rpm_rpm_repository_href, nested_role)
|
26
26
|
|
27
27
|
Add a role
|
28
28
|
|
@@ -43,13 +43,10 @@ end
|
|
43
43
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
44
44
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
45
45
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
46
|
-
opts = {
|
47
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
48
|
-
}
|
49
46
|
|
50
47
|
begin
|
51
48
|
# Add a role
|
52
|
-
result = api_instance.add_role(rpm_rpm_repository_href, nested_role
|
49
|
+
result = api_instance.add_role(rpm_rpm_repository_href, nested_role)
|
53
50
|
p result
|
54
51
|
rescue PulpRpmClient::ApiError => e
|
55
52
|
puts "Error when calling RepositoriesRpmApi->add_role: #{e}"
|
@@ -60,12 +57,12 @@ end
|
|
60
57
|
|
61
58
|
This returns an Array which contains the response data, status code and headers.
|
62
59
|
|
63
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_repository_href, nested_role
|
60
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_repository_href, nested_role)
|
64
61
|
|
65
62
|
```ruby
|
66
63
|
begin
|
67
64
|
# Add a role
|
68
|
-
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_repository_href, nested_role
|
65
|
+
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_repository_href, nested_role)
|
69
66
|
p status_code # => 2xx
|
70
67
|
p headers # => { ... }
|
71
68
|
p data # => <NestedRoleResponse>
|
@@ -80,7 +77,6 @@ end
|
|
80
77
|
| ---- | ---- | ----------- | ----- |
|
81
78
|
| **rpm_rpm_repository_href** | **String** | | |
|
82
79
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
83
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
84
80
|
|
85
81
|
### Return type
|
86
82
|
|
@@ -98,7 +94,7 @@ end
|
|
98
94
|
|
99
95
|
## create
|
100
96
|
|
101
|
-
> <RpmRpmRepositoryResponse> create(rpm_rpm_repository
|
97
|
+
> <RpmRpmRepositoryResponse> create(rpm_rpm_repository)
|
102
98
|
|
103
99
|
Create a rpm repository
|
104
100
|
|
@@ -118,13 +114,10 @@ end
|
|
118
114
|
|
119
115
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
120
116
|
rpm_rpm_repository = PulpRpmClient::RpmRpmRepository.new({name: 'name_example'}) # RpmRpmRepository |
|
121
|
-
opts = {
|
122
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
123
|
-
}
|
124
117
|
|
125
118
|
begin
|
126
119
|
# Create a rpm repository
|
127
|
-
result = api_instance.create(rpm_rpm_repository
|
120
|
+
result = api_instance.create(rpm_rpm_repository)
|
128
121
|
p result
|
129
122
|
rescue PulpRpmClient::ApiError => e
|
130
123
|
puts "Error when calling RepositoriesRpmApi->create: #{e}"
|
@@ -135,12 +128,12 @@ end
|
|
135
128
|
|
136
129
|
This returns an Array which contains the response data, status code and headers.
|
137
130
|
|
138
|
-
> <Array(<RpmRpmRepositoryResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_repository
|
131
|
+
> <Array(<RpmRpmRepositoryResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_repository)
|
139
132
|
|
140
133
|
```ruby
|
141
134
|
begin
|
142
135
|
# Create a rpm repository
|
143
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_repository
|
136
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_repository)
|
144
137
|
p status_code # => 2xx
|
145
138
|
p headers # => { ... }
|
146
139
|
p data # => <RpmRpmRepositoryResponse>
|
@@ -154,7 +147,6 @@ end
|
|
154
147
|
| Name | Type | Description | Notes |
|
155
148
|
| ---- | ---- | ----------- | ----- |
|
156
149
|
| **rpm_rpm_repository** | [**RpmRpmRepository**](RpmRpmRepository.md) | | |
|
157
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
158
150
|
|
159
151
|
### Return type
|
160
152
|
|
@@ -172,7 +164,7 @@ end
|
|
172
164
|
|
173
165
|
## delete
|
174
166
|
|
175
|
-
> <AsyncOperationResponse> delete(rpm_rpm_repository_href
|
167
|
+
> <AsyncOperationResponse> delete(rpm_rpm_repository_href)
|
176
168
|
|
177
169
|
Delete a rpm repository
|
178
170
|
|
@@ -192,13 +184,10 @@ end
|
|
192
184
|
|
193
185
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
194
186
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
195
|
-
opts = {
|
196
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
197
|
-
}
|
198
187
|
|
199
188
|
begin
|
200
189
|
# Delete a rpm repository
|
201
|
-
result = api_instance.delete(rpm_rpm_repository_href
|
190
|
+
result = api_instance.delete(rpm_rpm_repository_href)
|
202
191
|
p result
|
203
192
|
rescue PulpRpmClient::ApiError => e
|
204
193
|
puts "Error when calling RepositoriesRpmApi->delete: #{e}"
|
@@ -209,12 +198,12 @@ end
|
|
209
198
|
|
210
199
|
This returns an Array which contains the response data, status code and headers.
|
211
200
|
|
212
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_repository_href
|
201
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_repository_href)
|
213
202
|
|
214
203
|
```ruby
|
215
204
|
begin
|
216
205
|
# Delete a rpm repository
|
217
|
-
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_repository_href
|
206
|
+
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_repository_href)
|
218
207
|
p status_code # => 2xx
|
219
208
|
p headers # => { ... }
|
220
209
|
p data # => <AsyncOperationResponse>
|
@@ -228,7 +217,6 @@ end
|
|
228
217
|
| Name | Type | Description | Notes |
|
229
218
|
| ---- | ---- | ----------- | ----- |
|
230
219
|
| **rpm_rpm_repository_href** | **String** | | |
|
231
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
232
220
|
|
233
221
|
### Return type
|
234
222
|
|
@@ -266,7 +254,6 @@ end
|
|
266
254
|
|
267
255
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
268
256
|
opts = {
|
269
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
270
257
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF/PRN
|
271
258
|
limit: 56, # Integer | Number of results to return per page.
|
272
259
|
name: 'name_example', # String | Filter results where name matches value
|
@@ -330,7 +317,6 @@ end
|
|
330
317
|
|
331
318
|
| Name | Type | Description | Notes |
|
332
319
|
| ---- | ---- | ----------- | ----- |
|
333
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
334
320
|
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
335
321
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
336
322
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
@@ -399,7 +385,6 @@ end
|
|
399
385
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
400
386
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
401
387
|
opts = {
|
402
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
403
388
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
404
389
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
405
390
|
}
|
@@ -436,7 +421,6 @@ end
|
|
436
421
|
| Name | Type | Description | Notes |
|
437
422
|
| ---- | ---- | ----------- | ----- |
|
438
423
|
| **rpm_rpm_repository_href** | **String** | | |
|
439
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
440
424
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
441
425
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
442
426
|
|
@@ -456,7 +440,7 @@ end
|
|
456
440
|
|
457
441
|
## modify
|
458
442
|
|
459
|
-
> <AsyncOperationResponse> modify(rpm_rpm_repository_href, repository_add_remove_content
|
443
|
+
> <AsyncOperationResponse> modify(rpm_rpm_repository_href, repository_add_remove_content)
|
460
444
|
|
461
445
|
Modify Repository Content
|
462
446
|
|
@@ -477,13 +461,10 @@ end
|
|
477
461
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
478
462
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
479
463
|
repository_add_remove_content = PulpRpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
480
|
-
opts = {
|
481
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
482
|
-
}
|
483
464
|
|
484
465
|
begin
|
485
466
|
# Modify Repository Content
|
486
|
-
result = api_instance.modify(rpm_rpm_repository_href, repository_add_remove_content
|
467
|
+
result = api_instance.modify(rpm_rpm_repository_href, repository_add_remove_content)
|
487
468
|
p result
|
488
469
|
rescue PulpRpmClient::ApiError => e
|
489
470
|
puts "Error when calling RepositoriesRpmApi->modify: #{e}"
|
@@ -494,12 +475,12 @@ end
|
|
494
475
|
|
495
476
|
This returns an Array which contains the response data, status code and headers.
|
496
477
|
|
497
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(rpm_rpm_repository_href, repository_add_remove_content
|
478
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(rpm_rpm_repository_href, repository_add_remove_content)
|
498
479
|
|
499
480
|
```ruby
|
500
481
|
begin
|
501
482
|
# Modify Repository Content
|
502
|
-
data, status_code, headers = api_instance.modify_with_http_info(rpm_rpm_repository_href, repository_add_remove_content
|
483
|
+
data, status_code, headers = api_instance.modify_with_http_info(rpm_rpm_repository_href, repository_add_remove_content)
|
503
484
|
p status_code # => 2xx
|
504
485
|
p headers # => { ... }
|
505
486
|
p data # => <AsyncOperationResponse>
|
@@ -514,7 +495,6 @@ end
|
|
514
495
|
| ---- | ---- | ----------- | ----- |
|
515
496
|
| **rpm_rpm_repository_href** | **String** | | |
|
516
497
|
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
517
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
518
498
|
|
519
499
|
### Return type
|
520
500
|
|
@@ -553,7 +533,6 @@ end
|
|
553
533
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
554
534
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
555
535
|
opts = {
|
556
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
557
536
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
558
537
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
559
538
|
}
|
@@ -590,7 +569,6 @@ end
|
|
590
569
|
| Name | Type | Description | Notes |
|
591
570
|
| ---- | ---- | ----------- | ----- |
|
592
571
|
| **rpm_rpm_repository_href** | **String** | | |
|
593
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
594
572
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
595
573
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
596
574
|
|
@@ -610,7 +588,7 @@ end
|
|
610
588
|
|
611
589
|
## partial_update
|
612
590
|
|
613
|
-
> <AsyncOperationResponse> partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository
|
591
|
+
> <AsyncOperationResponse> partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository)
|
614
592
|
|
615
593
|
Update a rpm repository
|
616
594
|
|
@@ -631,13 +609,10 @@ end
|
|
631
609
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
632
610
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
633
611
|
patchedrpm_rpm_repository = PulpRpmClient::PatchedrpmRpmRepository.new # PatchedrpmRpmRepository |
|
634
|
-
opts = {
|
635
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
636
|
-
}
|
637
612
|
|
638
613
|
begin
|
639
614
|
# Update a rpm repository
|
640
|
-
result = api_instance.partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository
|
615
|
+
result = api_instance.partial_update(rpm_rpm_repository_href, patchedrpm_rpm_repository)
|
641
616
|
p result
|
642
617
|
rescue PulpRpmClient::ApiError => e
|
643
618
|
puts "Error when calling RepositoriesRpmApi->partial_update: #{e}"
|
@@ -648,12 +623,12 @@ end
|
|
648
623
|
|
649
624
|
This returns an Array which contains the response data, status code and headers.
|
650
625
|
|
651
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_repository_href, patchedrpm_rpm_repository
|
626
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_repository_href, patchedrpm_rpm_repository)
|
652
627
|
|
653
628
|
```ruby
|
654
629
|
begin
|
655
630
|
# Update a rpm repository
|
656
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_repository_href, patchedrpm_rpm_repository
|
631
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_repository_href, patchedrpm_rpm_repository)
|
657
632
|
p status_code # => 2xx
|
658
633
|
p headers # => { ... }
|
659
634
|
p data # => <AsyncOperationResponse>
|
@@ -668,7 +643,6 @@ end
|
|
668
643
|
| ---- | ---- | ----------- | ----- |
|
669
644
|
| **rpm_rpm_repository_href** | **String** | | |
|
670
645
|
| **patchedrpm_rpm_repository** | [**PatchedrpmRpmRepository**](PatchedrpmRpmRepository.md) | | |
|
671
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
672
646
|
|
673
647
|
### Return type
|
674
648
|
|
@@ -707,7 +681,6 @@ end
|
|
707
681
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
708
682
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
709
683
|
opts = {
|
710
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
711
684
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
712
685
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
713
686
|
}
|
@@ -744,7 +717,6 @@ end
|
|
744
717
|
| Name | Type | Description | Notes |
|
745
718
|
| ---- | ---- | ----------- | ----- |
|
746
719
|
| **rpm_rpm_repository_href** | **String** | | |
|
747
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
748
720
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
749
721
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
750
722
|
|
@@ -764,7 +736,7 @@ end
|
|
764
736
|
|
765
737
|
## remove_role
|
766
738
|
|
767
|
-
> <NestedRoleResponse> remove_role(rpm_rpm_repository_href, nested_role
|
739
|
+
> <NestedRoleResponse> remove_role(rpm_rpm_repository_href, nested_role)
|
768
740
|
|
769
741
|
Remove a role
|
770
742
|
|
@@ -785,13 +757,10 @@ end
|
|
785
757
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
786
758
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
787
759
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
788
|
-
opts = {
|
789
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
790
|
-
}
|
791
760
|
|
792
761
|
begin
|
793
762
|
# Remove a role
|
794
|
-
result = api_instance.remove_role(rpm_rpm_repository_href, nested_role
|
763
|
+
result = api_instance.remove_role(rpm_rpm_repository_href, nested_role)
|
795
764
|
p result
|
796
765
|
rescue PulpRpmClient::ApiError => e
|
797
766
|
puts "Error when calling RepositoriesRpmApi->remove_role: #{e}"
|
@@ -802,12 +771,12 @@ end
|
|
802
771
|
|
803
772
|
This returns an Array which contains the response data, status code and headers.
|
804
773
|
|
805
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_repository_href, nested_role
|
774
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_repository_href, nested_role)
|
806
775
|
|
807
776
|
```ruby
|
808
777
|
begin
|
809
778
|
# Remove a role
|
810
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_repository_href, nested_role
|
779
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_repository_href, nested_role)
|
811
780
|
p status_code # => 2xx
|
812
781
|
p headers # => { ... }
|
813
782
|
p data # => <NestedRoleResponse>
|
@@ -822,7 +791,6 @@ end
|
|
822
791
|
| ---- | ---- | ----------- | ----- |
|
823
792
|
| **rpm_rpm_repository_href** | **String** | | |
|
824
793
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
825
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
826
794
|
|
827
795
|
### Return type
|
828
796
|
|
@@ -840,7 +808,7 @@ end
|
|
840
808
|
|
841
809
|
## set_label
|
842
810
|
|
843
|
-
> <SetLabelResponse> set_label(rpm_rpm_repository_href, set_label
|
811
|
+
> <SetLabelResponse> set_label(rpm_rpm_repository_href, set_label)
|
844
812
|
|
845
813
|
Set a label
|
846
814
|
|
@@ -861,13 +829,10 @@ end
|
|
861
829
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
862
830
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
863
831
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
864
|
-
opts = {
|
865
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
866
|
-
}
|
867
832
|
|
868
833
|
begin
|
869
834
|
# Set a label
|
870
|
-
result = api_instance.set_label(rpm_rpm_repository_href, set_label
|
835
|
+
result = api_instance.set_label(rpm_rpm_repository_href, set_label)
|
871
836
|
p result
|
872
837
|
rescue PulpRpmClient::ApiError => e
|
873
838
|
puts "Error when calling RepositoriesRpmApi->set_label: #{e}"
|
@@ -878,12 +843,12 @@ end
|
|
878
843
|
|
879
844
|
This returns an Array which contains the response data, status code and headers.
|
880
845
|
|
881
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_repository_href, set_label
|
846
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_repository_href, set_label)
|
882
847
|
|
883
848
|
```ruby
|
884
849
|
begin
|
885
850
|
# Set a label
|
886
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_repository_href, set_label
|
851
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_repository_href, set_label)
|
887
852
|
p status_code # => 2xx
|
888
853
|
p headers # => { ... }
|
889
854
|
p data # => <SetLabelResponse>
|
@@ -898,7 +863,6 @@ end
|
|
898
863
|
| ---- | ---- | ----------- | ----- |
|
899
864
|
| **rpm_rpm_repository_href** | **String** | | |
|
900
865
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
901
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
902
866
|
|
903
867
|
### Return type
|
904
868
|
|
@@ -916,7 +880,7 @@ end
|
|
916
880
|
|
917
881
|
## sync
|
918
882
|
|
919
|
-
> <AsyncOperationResponse> sync(rpm_rpm_repository_href, rpm_repository_sync_url
|
883
|
+
> <AsyncOperationResponse> sync(rpm_rpm_repository_href, rpm_repository_sync_url)
|
920
884
|
|
921
885
|
Sync from remote
|
922
886
|
|
@@ -937,13 +901,10 @@ end
|
|
937
901
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
938
902
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
939
903
|
rpm_repository_sync_url = PulpRpmClient::RpmRepositorySyncURL.new # RpmRepositorySyncURL |
|
940
|
-
opts = {
|
941
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
942
|
-
}
|
943
904
|
|
944
905
|
begin
|
945
906
|
# Sync from remote
|
946
|
-
result = api_instance.sync(rpm_rpm_repository_href, rpm_repository_sync_url
|
907
|
+
result = api_instance.sync(rpm_rpm_repository_href, rpm_repository_sync_url)
|
947
908
|
p result
|
948
909
|
rescue PulpRpmClient::ApiError => e
|
949
910
|
puts "Error when calling RepositoriesRpmApi->sync: #{e}"
|
@@ -954,12 +915,12 @@ end
|
|
954
915
|
|
955
916
|
This returns an Array which contains the response data, status code and headers.
|
956
917
|
|
957
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(rpm_rpm_repository_href, rpm_repository_sync_url
|
918
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(rpm_rpm_repository_href, rpm_repository_sync_url)
|
958
919
|
|
959
920
|
```ruby
|
960
921
|
begin
|
961
922
|
# Sync from remote
|
962
|
-
data, status_code, headers = api_instance.sync_with_http_info(rpm_rpm_repository_href, rpm_repository_sync_url
|
923
|
+
data, status_code, headers = api_instance.sync_with_http_info(rpm_rpm_repository_href, rpm_repository_sync_url)
|
963
924
|
p status_code # => 2xx
|
964
925
|
p headers # => { ... }
|
965
926
|
p data # => <AsyncOperationResponse>
|
@@ -974,7 +935,6 @@ end
|
|
974
935
|
| ---- | ---- | ----------- | ----- |
|
975
936
|
| **rpm_rpm_repository_href** | **String** | | |
|
976
937
|
| **rpm_repository_sync_url** | [**RpmRepositorySyncURL**](RpmRepositorySyncURL.md) | | |
|
977
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
978
938
|
|
979
939
|
### Return type
|
980
940
|
|
@@ -992,7 +952,7 @@ end
|
|
992
952
|
|
993
953
|
## unset_label
|
994
954
|
|
995
|
-
> <UnsetLabelResponse> unset_label(rpm_rpm_repository_href, unset_label
|
955
|
+
> <UnsetLabelResponse> unset_label(rpm_rpm_repository_href, unset_label)
|
996
956
|
|
997
957
|
Unset a label
|
998
958
|
|
@@ -1013,13 +973,10 @@ end
|
|
1013
973
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
1014
974
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
1015
975
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
1016
|
-
opts = {
|
1017
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1018
|
-
}
|
1019
976
|
|
1020
977
|
begin
|
1021
978
|
# Unset a label
|
1022
|
-
result = api_instance.unset_label(rpm_rpm_repository_href, unset_label
|
979
|
+
result = api_instance.unset_label(rpm_rpm_repository_href, unset_label)
|
1023
980
|
p result
|
1024
981
|
rescue PulpRpmClient::ApiError => e
|
1025
982
|
puts "Error when calling RepositoriesRpmApi->unset_label: #{e}"
|
@@ -1030,12 +987,12 @@ end
|
|
1030
987
|
|
1031
988
|
This returns an Array which contains the response data, status code and headers.
|
1032
989
|
|
1033
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_repository_href, unset_label
|
990
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_repository_href, unset_label)
|
1034
991
|
|
1035
992
|
```ruby
|
1036
993
|
begin
|
1037
994
|
# Unset a label
|
1038
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_repository_href, unset_label
|
995
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_repository_href, unset_label)
|
1039
996
|
p status_code # => 2xx
|
1040
997
|
p headers # => { ... }
|
1041
998
|
p data # => <UnsetLabelResponse>
|
@@ -1050,7 +1007,6 @@ end
|
|
1050
1007
|
| ---- | ---- | ----------- | ----- |
|
1051
1008
|
| **rpm_rpm_repository_href** | **String** | | |
|
1052
1009
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
1053
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1054
1010
|
|
1055
1011
|
### Return type
|
1056
1012
|
|
@@ -1068,7 +1024,7 @@ end
|
|
1068
1024
|
|
1069
1025
|
## update
|
1070
1026
|
|
1071
|
-
> <AsyncOperationResponse> update(rpm_rpm_repository_href, rpm_rpm_repository
|
1027
|
+
> <AsyncOperationResponse> update(rpm_rpm_repository_href, rpm_rpm_repository)
|
1072
1028
|
|
1073
1029
|
Update a rpm repository
|
1074
1030
|
|
@@ -1089,13 +1045,10 @@ end
|
|
1089
1045
|
api_instance = PulpRpmClient::RepositoriesRpmApi.new
|
1090
1046
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
1091
1047
|
rpm_rpm_repository = PulpRpmClient::RpmRpmRepository.new({name: 'name_example'}) # RpmRpmRepository |
|
1092
|
-
opts = {
|
1093
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
1094
|
-
}
|
1095
1048
|
|
1096
1049
|
begin
|
1097
1050
|
# Update a rpm repository
|
1098
|
-
result = api_instance.update(rpm_rpm_repository_href, rpm_rpm_repository
|
1051
|
+
result = api_instance.update(rpm_rpm_repository_href, rpm_rpm_repository)
|
1099
1052
|
p result
|
1100
1053
|
rescue PulpRpmClient::ApiError => e
|
1101
1054
|
puts "Error when calling RepositoriesRpmApi->update: #{e}"
|
@@ -1106,12 +1059,12 @@ end
|
|
1106
1059
|
|
1107
1060
|
This returns an Array which contains the response data, status code and headers.
|
1108
1061
|
|
1109
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_repository_href, rpm_rpm_repository
|
1062
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_repository_href, rpm_rpm_repository)
|
1110
1063
|
|
1111
1064
|
```ruby
|
1112
1065
|
begin
|
1113
1066
|
# Update a rpm repository
|
1114
|
-
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_repository_href, rpm_rpm_repository
|
1067
|
+
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_repository_href, rpm_rpm_repository)
|
1115
1068
|
p status_code # => 2xx
|
1116
1069
|
p headers # => { ... }
|
1117
1070
|
p data # => <AsyncOperationResponse>
|
@@ -1126,7 +1079,6 @@ end
|
|
1126
1079
|
| ---- | ---- | ----------- | ----- |
|
1127
1080
|
| **rpm_rpm_repository_href** | **String** | | |
|
1128
1081
|
| **rpm_rpm_repository** | [**RpmRpmRepository**](RpmRpmRepository.md) | | |
|
1129
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
1130
1082
|
|
1131
1083
|
### Return type
|
1132
1084
|
|
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
|
|
12
12
|
|
13
13
|
## delete
|
14
14
|
|
15
|
-
> <AsyncOperationResponse> delete(rpm_rpm_repository_version_href
|
15
|
+
> <AsyncOperationResponse> delete(rpm_rpm_repository_version_href)
|
16
16
|
|
17
17
|
Delete a repository version
|
18
18
|
|
@@ -32,13 +32,10 @@ end
|
|
32
32
|
|
33
33
|
api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
|
34
34
|
rpm_rpm_repository_version_href = 'rpm_rpm_repository_version_href_example' # String |
|
35
|
-
opts = {
|
36
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
37
|
-
}
|
38
35
|
|
39
36
|
begin
|
40
37
|
# Delete a repository version
|
41
|
-
result = api_instance.delete(rpm_rpm_repository_version_href
|
38
|
+
result = api_instance.delete(rpm_rpm_repository_version_href)
|
42
39
|
p result
|
43
40
|
rescue PulpRpmClient::ApiError => e
|
44
41
|
puts "Error when calling RepositoriesRpmVersionsApi->delete: #{e}"
|
@@ -49,12 +46,12 @@ end
|
|
49
46
|
|
50
47
|
This returns an Array which contains the response data, status code and headers.
|
51
48
|
|
52
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_repository_version_href
|
49
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_repository_version_href)
|
53
50
|
|
54
51
|
```ruby
|
55
52
|
begin
|
56
53
|
# Delete a repository version
|
57
|
-
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_repository_version_href
|
54
|
+
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_repository_version_href)
|
58
55
|
p status_code # => 2xx
|
59
56
|
p headers # => { ... }
|
60
57
|
p data # => <AsyncOperationResponse>
|
@@ -68,7 +65,6 @@ end
|
|
68
65
|
| Name | Type | Description | Notes |
|
69
66
|
| ---- | ---- | ----------- | ----- |
|
70
67
|
| **rpm_rpm_repository_version_href** | **String** | | |
|
71
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
72
68
|
|
73
69
|
### Return type
|
74
70
|
|
@@ -107,7 +103,6 @@ end
|
|
107
103
|
api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
|
108
104
|
rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
|
109
105
|
opts = {
|
110
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
111
106
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
112
107
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
113
108
|
limit: 56, # Integer | Number of results to return per page.
|
@@ -118,7 +113,7 @@ opts = {
|
|
118
113
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
119
114
|
number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
|
120
115
|
offset: 56, # Integer | The initial index from which to return the results.
|
121
|
-
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `
|
116
|
+
ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
122
117
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
123
118
|
pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
|
124
119
|
pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
|
@@ -165,7 +160,6 @@ end
|
|
165
160
|
| Name | Type | Description | Notes |
|
166
161
|
| ---- | ---- | ----------- | ----- |
|
167
162
|
| **rpm_rpm_repository_href** | **String** | | |
|
168
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
169
163
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
170
164
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
171
165
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
@@ -176,7 +170,7 @@ end
|
|
176
170
|
| **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
|
177
171
|
| **number__range** | [**Array<Integer>**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
|
178
172
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
179
|
-
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `
|
173
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
180
174
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
181
175
|
| **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
|
182
176
|
| **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
|
@@ -227,7 +221,6 @@ end
|
|
227
221
|
api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
|
228
222
|
rpm_rpm_repository_version_href = 'rpm_rpm_repository_version_href_example' # String |
|
229
223
|
opts = {
|
230
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
231
224
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
232
225
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
233
226
|
}
|
@@ -264,7 +257,6 @@ end
|
|
264
257
|
| Name | Type | Description | Notes |
|
265
258
|
| ---- | ---- | ----------- | ----- |
|
266
259
|
| **rpm_rpm_repository_version_href** | **String** | | |
|
267
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
268
260
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
269
261
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
270
262
|
|
@@ -284,7 +276,7 @@ end
|
|
284
276
|
|
285
277
|
## repair
|
286
278
|
|
287
|
-
> <AsyncOperationResponse> repair(rpm_rpm_repository_version_href, repair
|
279
|
+
> <AsyncOperationResponse> repair(rpm_rpm_repository_version_href, repair)
|
288
280
|
|
289
281
|
|
290
282
|
|
@@ -305,13 +297,10 @@ end
|
|
305
297
|
api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
|
306
298
|
rpm_rpm_repository_version_href = 'rpm_rpm_repository_version_href_example' # String |
|
307
299
|
repair = PulpRpmClient::Repair.new # Repair |
|
308
|
-
opts = {
|
309
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
310
|
-
}
|
311
300
|
|
312
301
|
begin
|
313
302
|
|
314
|
-
result = api_instance.repair(rpm_rpm_repository_version_href, repair
|
303
|
+
result = api_instance.repair(rpm_rpm_repository_version_href, repair)
|
315
304
|
p result
|
316
305
|
rescue PulpRpmClient::ApiError => e
|
317
306
|
puts "Error when calling RepositoriesRpmVersionsApi->repair: #{e}"
|
@@ -322,12 +311,12 @@ end
|
|
322
311
|
|
323
312
|
This returns an Array which contains the response data, status code and headers.
|
324
313
|
|
325
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(rpm_rpm_repository_version_href, repair
|
314
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(rpm_rpm_repository_version_href, repair)
|
326
315
|
|
327
316
|
```ruby
|
328
317
|
begin
|
329
318
|
|
330
|
-
data, status_code, headers = api_instance.repair_with_http_info(rpm_rpm_repository_version_href, repair
|
319
|
+
data, status_code, headers = api_instance.repair_with_http_info(rpm_rpm_repository_version_href, repair)
|
331
320
|
p status_code # => 2xx
|
332
321
|
p headers # => { ... }
|
333
322
|
p data # => <AsyncOperationResponse>
|
@@ -342,7 +331,6 @@ end
|
|
342
331
|
| ---- | ---- | ----------- | ----- |
|
343
332
|
| **rpm_rpm_repository_version_href** | **String** | | |
|
344
333
|
| **repair** | [**Repair**](Repair.md) | | |
|
345
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
346
334
|
|
347
335
|
### Return type
|
348
336
|
|
data/docs/RpmCompsApi.md
CHANGED
@@ -30,7 +30,6 @@ end
|
|
30
30
|
api_instance = PulpRpmClient::RpmCompsApi.new
|
31
31
|
file = File.new('/path/to/some/file') # File | Full path of a comps.xml file that may be parsed into comps.xml Content units.
|
32
32
|
opts = {
|
33
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
34
33
|
repository: 'repository_example', # String | URI of an RPM repository the comps.xml content units should be associated to.
|
35
34
|
replace: true # Boolean | If true, incoming comps.xml replaces existing comps-related ContentUnits in the specified repository.
|
36
35
|
}
|
@@ -67,7 +66,6 @@ end
|
|
67
66
|
| Name | Type | Description | Notes |
|
68
67
|
| ---- | ---- | ----------- | ----- |
|
69
68
|
| **file** | **File** | Full path of a comps.xml file that may be parsed into comps.xml Content units. | |
|
70
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
71
69
|
| **repository** | **String** | URI of an RPM repository the comps.xml content units should be associated to. | [optional] |
|
72
70
|
| **replace** | **Boolean** | If true, incoming comps.xml replaces existing comps-related ContentUnits in the specified repository. | [optional] |
|
73
71
|
|