pulp_rpm_client 3.29.4 → 3.29.5
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 +22 -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 +15 -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 +5 -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 +80 -80
data/docs/PublicationsRpmApi.md
CHANGED
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
|
|
16
16
|
|
17
17
|
## add_role
|
18
18
|
|
19
|
-
> <NestedRoleResponse> add_role(rpm_rpm_publication_href, nested_role)
|
19
|
+
> <NestedRoleResponse> add_role(rpm_rpm_publication_href, nested_role, opts)
|
20
20
|
|
21
21
|
Add a role
|
22
22
|
|
@@ -37,10 +37,13 @@ end
|
|
37
37
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
38
38
|
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
39
39
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
40
|
+
opts = {
|
41
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
42
|
+
}
|
40
43
|
|
41
44
|
begin
|
42
45
|
# Add a role
|
43
|
-
result = api_instance.add_role(rpm_rpm_publication_href, nested_role)
|
46
|
+
result = api_instance.add_role(rpm_rpm_publication_href, nested_role, opts)
|
44
47
|
p result
|
45
48
|
rescue PulpRpmClient::ApiError => e
|
46
49
|
puts "Error when calling PublicationsRpmApi->add_role: #{e}"
|
@@ -51,12 +54,12 @@ end
|
|
51
54
|
|
52
55
|
This returns an Array which contains the response data, status code and headers.
|
53
56
|
|
54
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_publication_href, nested_role)
|
57
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
55
58
|
|
56
59
|
```ruby
|
57
60
|
begin
|
58
61
|
# Add a role
|
59
|
-
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_publication_href, nested_role)
|
62
|
+
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
60
63
|
p status_code # => 2xx
|
61
64
|
p headers # => { ... }
|
62
65
|
p data # => <NestedRoleResponse>
|
@@ -71,6 +74,7 @@ end
|
|
71
74
|
| ---- | ---- | ----------- | ----- |
|
72
75
|
| **rpm_rpm_publication_href** | **String** | | |
|
73
76
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
77
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
74
78
|
|
75
79
|
### Return type
|
76
80
|
|
@@ -88,7 +92,7 @@ end
|
|
88
92
|
|
89
93
|
## create
|
90
94
|
|
91
|
-
> <AsyncOperationResponse> create(rpm_rpm_publication)
|
95
|
+
> <AsyncOperationResponse> create(rpm_rpm_publication, opts)
|
92
96
|
|
93
97
|
Create a rpm publication
|
94
98
|
|
@@ -108,10 +112,13 @@ end
|
|
108
112
|
|
109
113
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
110
114
|
rpm_rpm_publication = PulpRpmClient::RpmRpmPublication.new # RpmRpmPublication |
|
115
|
+
opts = {
|
116
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
117
|
+
}
|
111
118
|
|
112
119
|
begin
|
113
120
|
# Create a rpm publication
|
114
|
-
result = api_instance.create(rpm_rpm_publication)
|
121
|
+
result = api_instance.create(rpm_rpm_publication, opts)
|
115
122
|
p result
|
116
123
|
rescue PulpRpmClient::ApiError => e
|
117
124
|
puts "Error when calling PublicationsRpmApi->create: #{e}"
|
@@ -122,12 +129,12 @@ end
|
|
122
129
|
|
123
130
|
This returns an Array which contains the response data, status code and headers.
|
124
131
|
|
125
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_publication)
|
132
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_publication, opts)
|
126
133
|
|
127
134
|
```ruby
|
128
135
|
begin
|
129
136
|
# Create a rpm publication
|
130
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_publication)
|
137
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_publication, opts)
|
131
138
|
p status_code # => 2xx
|
132
139
|
p headers # => { ... }
|
133
140
|
p data # => <AsyncOperationResponse>
|
@@ -141,6 +148,7 @@ end
|
|
141
148
|
| Name | Type | Description | Notes |
|
142
149
|
| ---- | ---- | ----------- | ----- |
|
143
150
|
| **rpm_rpm_publication** | [**RpmRpmPublication**](RpmRpmPublication.md) | | |
|
151
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
144
152
|
|
145
153
|
### Return type
|
146
154
|
|
@@ -158,7 +166,7 @@ end
|
|
158
166
|
|
159
167
|
## delete
|
160
168
|
|
161
|
-
> delete(rpm_rpm_publication_href)
|
169
|
+
> delete(rpm_rpm_publication_href, opts)
|
162
170
|
|
163
171
|
Delete a rpm publication
|
164
172
|
|
@@ -178,10 +186,13 @@ end
|
|
178
186
|
|
179
187
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
180
188
|
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
189
|
+
opts = {
|
190
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
191
|
+
}
|
181
192
|
|
182
193
|
begin
|
183
194
|
# Delete a rpm publication
|
184
|
-
api_instance.delete(rpm_rpm_publication_href)
|
195
|
+
api_instance.delete(rpm_rpm_publication_href, opts)
|
185
196
|
rescue PulpRpmClient::ApiError => e
|
186
197
|
puts "Error when calling PublicationsRpmApi->delete: #{e}"
|
187
198
|
end
|
@@ -191,12 +202,12 @@ end
|
|
191
202
|
|
192
203
|
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
193
204
|
|
194
|
-
> <Array(nil, Integer, Hash)> delete_with_http_info(rpm_rpm_publication_href)
|
205
|
+
> <Array(nil, Integer, Hash)> delete_with_http_info(rpm_rpm_publication_href, opts)
|
195
206
|
|
196
207
|
```ruby
|
197
208
|
begin
|
198
209
|
# Delete a rpm publication
|
199
|
-
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_publication_href)
|
210
|
+
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_publication_href, opts)
|
200
211
|
p status_code # => 2xx
|
201
212
|
p headers # => { ... }
|
202
213
|
p data # => nil
|
@@ -210,6 +221,7 @@ end
|
|
210
221
|
| Name | Type | Description | Notes |
|
211
222
|
| ---- | ---- | ----------- | ----- |
|
212
223
|
| **rpm_rpm_publication_href** | **String** | | |
|
224
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
213
225
|
|
214
226
|
### Return type
|
215
227
|
|
@@ -247,6 +259,7 @@ end
|
|
247
259
|
|
248
260
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
249
261
|
opts = {
|
262
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
250
263
|
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
251
264
|
content: 'content_example', # String | Content Unit referenced by HREF/PRN
|
252
265
|
content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -301,6 +314,7 @@ end
|
|
301
314
|
|
302
315
|
| Name | Type | Description | Notes |
|
303
316
|
| ---- | ---- | ----------- | ----- |
|
317
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
304
318
|
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
305
319
|
| **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
306
320
|
| **content__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -360,6 +374,7 @@ end
|
|
360
374
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
361
375
|
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
362
376
|
opts = {
|
377
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
363
378
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
364
379
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
365
380
|
}
|
@@ -396,6 +411,7 @@ end
|
|
396
411
|
| Name | Type | Description | Notes |
|
397
412
|
| ---- | ---- | ----------- | ----- |
|
398
413
|
| **rpm_rpm_publication_href** | **String** | | |
|
414
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
399
415
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
400
416
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
401
417
|
|
@@ -436,6 +452,7 @@ end
|
|
436
452
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
437
453
|
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
438
454
|
opts = {
|
455
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
439
456
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
440
457
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
441
458
|
}
|
@@ -472,6 +489,7 @@ end
|
|
472
489
|
| Name | Type | Description | Notes |
|
473
490
|
| ---- | ---- | ----------- | ----- |
|
474
491
|
| **rpm_rpm_publication_href** | **String** | | |
|
492
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
475
493
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
476
494
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
477
495
|
|
@@ -512,6 +530,7 @@ end
|
|
512
530
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
513
531
|
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
514
532
|
opts = {
|
533
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
515
534
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
516
535
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
517
536
|
}
|
@@ -548,6 +567,7 @@ end
|
|
548
567
|
| Name | Type | Description | Notes |
|
549
568
|
| ---- | ---- | ----------- | ----- |
|
550
569
|
| **rpm_rpm_publication_href** | **String** | | |
|
570
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
551
571
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
552
572
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
553
573
|
|
@@ -567,7 +587,7 @@ end
|
|
567
587
|
|
568
588
|
## remove_role
|
569
589
|
|
570
|
-
> <NestedRoleResponse> remove_role(rpm_rpm_publication_href, nested_role)
|
590
|
+
> <NestedRoleResponse> remove_role(rpm_rpm_publication_href, nested_role, opts)
|
571
591
|
|
572
592
|
Remove a role
|
573
593
|
|
@@ -588,10 +608,13 @@ end
|
|
588
608
|
api_instance = PulpRpmClient::PublicationsRpmApi.new
|
589
609
|
rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
|
590
610
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
611
|
+
opts = {
|
612
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
613
|
+
}
|
591
614
|
|
592
615
|
begin
|
593
616
|
# Remove a role
|
594
|
-
result = api_instance.remove_role(rpm_rpm_publication_href, nested_role)
|
617
|
+
result = api_instance.remove_role(rpm_rpm_publication_href, nested_role, opts)
|
595
618
|
p result
|
596
619
|
rescue PulpRpmClient::ApiError => e
|
597
620
|
puts "Error when calling PublicationsRpmApi->remove_role: #{e}"
|
@@ -602,12 +625,12 @@ end
|
|
602
625
|
|
603
626
|
This returns an Array which contains the response data, status code and headers.
|
604
627
|
|
605
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_publication_href, nested_role)
|
628
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
606
629
|
|
607
630
|
```ruby
|
608
631
|
begin
|
609
632
|
# Remove a role
|
610
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_publication_href, nested_role)
|
633
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_publication_href, nested_role, opts)
|
611
634
|
p status_code # => 2xx
|
612
635
|
p headers # => { ... }
|
613
636
|
p data # => <NestedRoleResponse>
|
@@ -622,6 +645,7 @@ end
|
|
622
645
|
| ---- | ---- | ----------- | ----- |
|
623
646
|
| **rpm_rpm_publication_href** | **String** | | |
|
624
647
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
648
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
625
649
|
|
626
650
|
### Return type
|
627
651
|
|
data/docs/RemotesRpmApi.md
CHANGED
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
20
20
|
|
21
21
|
## add_role
|
22
22
|
|
23
|
-
> <NestedRoleResponse> add_role(rpm_rpm_remote_href, nested_role)
|
23
|
+
> <NestedRoleResponse> add_role(rpm_rpm_remote_href, nested_role, opts)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,10 +41,13 @@ end
|
|
41
41
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
42
42
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
43
43
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
44
|
+
opts = {
|
45
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
46
|
+
}
|
44
47
|
|
45
48
|
begin
|
46
49
|
# Add a role
|
47
|
-
result = api_instance.add_role(rpm_rpm_remote_href, nested_role)
|
50
|
+
result = api_instance.add_role(rpm_rpm_remote_href, nested_role, opts)
|
48
51
|
p result
|
49
52
|
rescue PulpRpmClient::ApiError => e
|
50
53
|
puts "Error when calling RemotesRpmApi->add_role: #{e}"
|
@@ -55,12 +58,12 @@ end
|
|
55
58
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
57
60
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_remote_href, nested_role)
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(rpm_rpm_remote_href, nested_role, opts)
|
59
62
|
|
60
63
|
```ruby
|
61
64
|
begin
|
62
65
|
# Add a role
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_remote_href, nested_role)
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(rpm_rpm_remote_href, nested_role, opts)
|
64
67
|
p status_code # => 2xx
|
65
68
|
p headers # => { ... }
|
66
69
|
p data # => <NestedRoleResponse>
|
@@ -75,6 +78,7 @@ end
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
76
79
|
| **rpm_rpm_remote_href** | **String** | | |
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
78
82
|
|
79
83
|
### Return type
|
80
84
|
|
@@ -92,7 +96,7 @@ end
|
|
92
96
|
|
93
97
|
## create
|
94
98
|
|
95
|
-
> <RpmRpmRemoteResponse> create(rpm_rpm_remote)
|
99
|
+
> <RpmRpmRemoteResponse> create(rpm_rpm_remote, opts)
|
96
100
|
|
97
101
|
Create a rpm remote
|
98
102
|
|
@@ -112,10 +116,13 @@ end
|
|
112
116
|
|
113
117
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
114
118
|
rpm_rpm_remote = PulpRpmClient::RpmRpmRemote.new({name: 'name_example', url: 'url_example'}) # RpmRpmRemote |
|
119
|
+
opts = {
|
120
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
|
+
}
|
115
122
|
|
116
123
|
begin
|
117
124
|
# Create a rpm remote
|
118
|
-
result = api_instance.create(rpm_rpm_remote)
|
125
|
+
result = api_instance.create(rpm_rpm_remote, opts)
|
119
126
|
p result
|
120
127
|
rescue PulpRpmClient::ApiError => e
|
121
128
|
puts "Error when calling RemotesRpmApi->create: #{e}"
|
@@ -126,12 +133,12 @@ end
|
|
126
133
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
128
135
|
|
129
|
-
> <Array(<RpmRpmRemoteResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_remote)
|
136
|
+
> <Array(<RpmRpmRemoteResponse>, Integer, Hash)> create_with_http_info(rpm_rpm_remote, opts)
|
130
137
|
|
131
138
|
```ruby
|
132
139
|
begin
|
133
140
|
# Create a rpm remote
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_remote)
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(rpm_rpm_remote, opts)
|
135
142
|
p status_code # => 2xx
|
136
143
|
p headers # => { ... }
|
137
144
|
p data # => <RpmRpmRemoteResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| Name | Type | Description | Notes |
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
147
154
|
| **rpm_rpm_remote** | [**RpmRpmRemote**](RpmRpmRemote.md) | | |
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
148
156
|
|
149
157
|
### Return type
|
150
158
|
|
@@ -162,7 +170,7 @@ end
|
|
162
170
|
|
163
171
|
## delete
|
164
172
|
|
165
|
-
> <AsyncOperationResponse> delete(rpm_rpm_remote_href)
|
173
|
+
> <AsyncOperationResponse> delete(rpm_rpm_remote_href, opts)
|
166
174
|
|
167
175
|
Delete a rpm remote
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
184
192
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
193
|
+
opts = {
|
194
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
195
|
+
}
|
185
196
|
|
186
197
|
begin
|
187
198
|
# Delete a rpm remote
|
188
|
-
result = api_instance.delete(rpm_rpm_remote_href)
|
199
|
+
result = api_instance.delete(rpm_rpm_remote_href, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpRpmClient::ApiError => e
|
191
202
|
puts "Error when calling RemotesRpmApi->delete: #{e}"
|
@@ -196,12 +207,12 @@ end
|
|
196
207
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
198
209
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_remote_href)
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(rpm_rpm_remote_href, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Delete a rpm remote
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_remote_href)
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(rpm_rpm_remote_href, opts)
|
205
216
|
p status_code # => 2xx
|
206
217
|
p headers # => { ... }
|
207
218
|
p data # => <AsyncOperationResponse>
|
@@ -215,6 +226,7 @@ end
|
|
215
226
|
| Name | Type | Description | Notes |
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
217
228
|
| **rpm_rpm_remote_href** | **String** | | |
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
218
230
|
|
219
231
|
### Return type
|
220
232
|
|
@@ -252,6 +264,7 @@ end
|
|
252
264
|
|
253
265
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
254
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
255
268
|
limit: 56, # Integer | Number of results to return per page.
|
256
269
|
name: 'name_example', # String | Filter results where name matches value
|
257
270
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -311,6 +324,7 @@ end
|
|
311
324
|
|
312
325
|
| Name | Type | Description | Notes |
|
313
326
|
| ---- | ---- | ----------- | ----- |
|
327
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
314
328
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
315
329
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
316
330
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -375,6 +389,7 @@ end
|
|
375
389
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
376
390
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
377
391
|
opts = {
|
392
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
378
393
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
379
394
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
380
395
|
}
|
@@ -411,6 +426,7 @@ end
|
|
411
426
|
| Name | Type | Description | Notes |
|
412
427
|
| ---- | ---- | ----------- | ----- |
|
413
428
|
| **rpm_rpm_remote_href** | **String** | | |
|
429
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
414
430
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
415
431
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
416
432
|
|
@@ -451,6 +467,7 @@ end
|
|
451
467
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
452
468
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
453
469
|
opts = {
|
470
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
454
471
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
455
472
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
456
473
|
}
|
@@ -487,6 +504,7 @@ end
|
|
487
504
|
| Name | Type | Description | Notes |
|
488
505
|
| ---- | ---- | ----------- | ----- |
|
489
506
|
| **rpm_rpm_remote_href** | **String** | | |
|
507
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
490
508
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
491
509
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
492
510
|
|
@@ -506,7 +524,7 @@ end
|
|
506
524
|
|
507
525
|
## partial_update
|
508
526
|
|
509
|
-
> <AsyncOperationResponse> partial_update(rpm_rpm_remote_href, patchedrpm_rpm_remote)
|
527
|
+
> <AsyncOperationResponse> partial_update(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts)
|
510
528
|
|
511
529
|
Update a rpm remote
|
512
530
|
|
@@ -527,10 +545,13 @@ end
|
|
527
545
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
528
546
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
529
547
|
patchedrpm_rpm_remote = PulpRpmClient::PatchedrpmRpmRemote.new # PatchedrpmRpmRemote |
|
548
|
+
opts = {
|
549
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
550
|
+
}
|
530
551
|
|
531
552
|
begin
|
532
553
|
# Update a rpm remote
|
533
|
-
result = api_instance.partial_update(rpm_rpm_remote_href, patchedrpm_rpm_remote)
|
554
|
+
result = api_instance.partial_update(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts)
|
534
555
|
p result
|
535
556
|
rescue PulpRpmClient::ApiError => e
|
536
557
|
puts "Error when calling RemotesRpmApi->partial_update: #{e}"
|
@@ -541,12 +562,12 @@ end
|
|
541
562
|
|
542
563
|
This returns an Array which contains the response data, status code and headers.
|
543
564
|
|
544
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_remote_href, patchedrpm_rpm_remote)
|
565
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts)
|
545
566
|
|
546
567
|
```ruby
|
547
568
|
begin
|
548
569
|
# Update a rpm remote
|
549
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_remote_href, patchedrpm_rpm_remote)
|
570
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(rpm_rpm_remote_href, patchedrpm_rpm_remote, opts)
|
550
571
|
p status_code # => 2xx
|
551
572
|
p headers # => { ... }
|
552
573
|
p data # => <AsyncOperationResponse>
|
@@ -561,6 +582,7 @@ end
|
|
561
582
|
| ---- | ---- | ----------- | ----- |
|
562
583
|
| **rpm_rpm_remote_href** | **String** | | |
|
563
584
|
| **patchedrpm_rpm_remote** | [**PatchedrpmRpmRemote**](PatchedrpmRpmRemote.md) | | |
|
585
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
564
586
|
|
565
587
|
### Return type
|
566
588
|
|
@@ -599,6 +621,7 @@ end
|
|
599
621
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
600
622
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
601
623
|
opts = {
|
624
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
602
625
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
603
626
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
604
627
|
}
|
@@ -635,6 +658,7 @@ end
|
|
635
658
|
| Name | Type | Description | Notes |
|
636
659
|
| ---- | ---- | ----------- | ----- |
|
637
660
|
| **rpm_rpm_remote_href** | **String** | | |
|
661
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
638
662
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
639
663
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
640
664
|
|
@@ -654,7 +678,7 @@ end
|
|
654
678
|
|
655
679
|
## remove_role
|
656
680
|
|
657
|
-
> <NestedRoleResponse> remove_role(rpm_rpm_remote_href, nested_role)
|
681
|
+
> <NestedRoleResponse> remove_role(rpm_rpm_remote_href, nested_role, opts)
|
658
682
|
|
659
683
|
Remove a role
|
660
684
|
|
@@ -675,10 +699,13 @@ end
|
|
675
699
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
676
700
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
677
701
|
nested_role = PulpRpmClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
702
|
+
opts = {
|
703
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
704
|
+
}
|
678
705
|
|
679
706
|
begin
|
680
707
|
# Remove a role
|
681
|
-
result = api_instance.remove_role(rpm_rpm_remote_href, nested_role)
|
708
|
+
result = api_instance.remove_role(rpm_rpm_remote_href, nested_role, opts)
|
682
709
|
p result
|
683
710
|
rescue PulpRpmClient::ApiError => e
|
684
711
|
puts "Error when calling RemotesRpmApi->remove_role: #{e}"
|
@@ -689,12 +716,12 @@ end
|
|
689
716
|
|
690
717
|
This returns an Array which contains the response data, status code and headers.
|
691
718
|
|
692
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_remote_href, nested_role)
|
719
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(rpm_rpm_remote_href, nested_role, opts)
|
693
720
|
|
694
721
|
```ruby
|
695
722
|
begin
|
696
723
|
# Remove a role
|
697
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_remote_href, nested_role)
|
724
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(rpm_rpm_remote_href, nested_role, opts)
|
698
725
|
p status_code # => 2xx
|
699
726
|
p headers # => { ... }
|
700
727
|
p data # => <NestedRoleResponse>
|
@@ -709,6 +736,7 @@ end
|
|
709
736
|
| ---- | ---- | ----------- | ----- |
|
710
737
|
| **rpm_rpm_remote_href** | **String** | | |
|
711
738
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
739
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
712
740
|
|
713
741
|
### Return type
|
714
742
|
|
@@ -726,7 +754,7 @@ end
|
|
726
754
|
|
727
755
|
## set_label
|
728
756
|
|
729
|
-
> <SetLabelResponse> set_label(rpm_rpm_remote_href, set_label)
|
757
|
+
> <SetLabelResponse> set_label(rpm_rpm_remote_href, set_label, opts)
|
730
758
|
|
731
759
|
Set a label
|
732
760
|
|
@@ -747,10 +775,13 @@ end
|
|
747
775
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
748
776
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
749
777
|
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
778
|
+
opts = {
|
779
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
780
|
+
}
|
750
781
|
|
751
782
|
begin
|
752
783
|
# Set a label
|
753
|
-
result = api_instance.set_label(rpm_rpm_remote_href, set_label)
|
784
|
+
result = api_instance.set_label(rpm_rpm_remote_href, set_label, opts)
|
754
785
|
p result
|
755
786
|
rescue PulpRpmClient::ApiError => e
|
756
787
|
puts "Error when calling RemotesRpmApi->set_label: #{e}"
|
@@ -761,12 +792,12 @@ end
|
|
761
792
|
|
762
793
|
This returns an Array which contains the response data, status code and headers.
|
763
794
|
|
764
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_remote_href, set_label)
|
795
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_rpm_remote_href, set_label, opts)
|
765
796
|
|
766
797
|
```ruby
|
767
798
|
begin
|
768
799
|
# Set a label
|
769
|
-
data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_remote_href, set_label)
|
800
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_rpm_remote_href, set_label, opts)
|
770
801
|
p status_code # => 2xx
|
771
802
|
p headers # => { ... }
|
772
803
|
p data # => <SetLabelResponse>
|
@@ -781,6 +812,7 @@ end
|
|
781
812
|
| ---- | ---- | ----------- | ----- |
|
782
813
|
| **rpm_rpm_remote_href** | **String** | | |
|
783
814
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
815
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
784
816
|
|
785
817
|
### Return type
|
786
818
|
|
@@ -798,7 +830,7 @@ end
|
|
798
830
|
|
799
831
|
## unset_label
|
800
832
|
|
801
|
-
> <UnsetLabelResponse> unset_label(rpm_rpm_remote_href, unset_label)
|
833
|
+
> <UnsetLabelResponse> unset_label(rpm_rpm_remote_href, unset_label, opts)
|
802
834
|
|
803
835
|
Unset a label
|
804
836
|
|
@@ -819,10 +851,13 @@ end
|
|
819
851
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
820
852
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
821
853
|
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
854
|
+
opts = {
|
855
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
856
|
+
}
|
822
857
|
|
823
858
|
begin
|
824
859
|
# Unset a label
|
825
|
-
result = api_instance.unset_label(rpm_rpm_remote_href, unset_label)
|
860
|
+
result = api_instance.unset_label(rpm_rpm_remote_href, unset_label, opts)
|
826
861
|
p result
|
827
862
|
rescue PulpRpmClient::ApiError => e
|
828
863
|
puts "Error when calling RemotesRpmApi->unset_label: #{e}"
|
@@ -833,12 +868,12 @@ end
|
|
833
868
|
|
834
869
|
This returns an Array which contains the response data, status code and headers.
|
835
870
|
|
836
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_remote_href, unset_label)
|
871
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_rpm_remote_href, unset_label, opts)
|
837
872
|
|
838
873
|
```ruby
|
839
874
|
begin
|
840
875
|
# Unset a label
|
841
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_remote_href, unset_label)
|
876
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_rpm_remote_href, unset_label, opts)
|
842
877
|
p status_code # => 2xx
|
843
878
|
p headers # => { ... }
|
844
879
|
p data # => <UnsetLabelResponse>
|
@@ -853,6 +888,7 @@ end
|
|
853
888
|
| ---- | ---- | ----------- | ----- |
|
854
889
|
| **rpm_rpm_remote_href** | **String** | | |
|
855
890
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
891
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
856
892
|
|
857
893
|
### Return type
|
858
894
|
|
@@ -870,7 +906,7 @@ end
|
|
870
906
|
|
871
907
|
## update
|
872
908
|
|
873
|
-
> <AsyncOperationResponse> update(rpm_rpm_remote_href, rpm_rpm_remote)
|
909
|
+
> <AsyncOperationResponse> update(rpm_rpm_remote_href, rpm_rpm_remote, opts)
|
874
910
|
|
875
911
|
Update a rpm remote
|
876
912
|
|
@@ -891,10 +927,13 @@ end
|
|
891
927
|
api_instance = PulpRpmClient::RemotesRpmApi.new
|
892
928
|
rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
|
893
929
|
rpm_rpm_remote = PulpRpmClient::RpmRpmRemote.new({name: 'name_example', url: 'url_example'}) # RpmRpmRemote |
|
930
|
+
opts = {
|
931
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
932
|
+
}
|
894
933
|
|
895
934
|
begin
|
896
935
|
# Update a rpm remote
|
897
|
-
result = api_instance.update(rpm_rpm_remote_href, rpm_rpm_remote)
|
936
|
+
result = api_instance.update(rpm_rpm_remote_href, rpm_rpm_remote, opts)
|
898
937
|
p result
|
899
938
|
rescue PulpRpmClient::ApiError => e
|
900
939
|
puts "Error when calling RemotesRpmApi->update: #{e}"
|
@@ -905,12 +944,12 @@ end
|
|
905
944
|
|
906
945
|
This returns an Array which contains the response data, status code and headers.
|
907
946
|
|
908
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_remote_href, rpm_rpm_remote)
|
947
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(rpm_rpm_remote_href, rpm_rpm_remote, opts)
|
909
948
|
|
910
949
|
```ruby
|
911
950
|
begin
|
912
951
|
# Update a rpm remote
|
913
|
-
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_remote_href, rpm_rpm_remote)
|
952
|
+
data, status_code, headers = api_instance.update_with_http_info(rpm_rpm_remote_href, rpm_rpm_remote, opts)
|
914
953
|
p status_code # => 2xx
|
915
954
|
p headers # => { ... }
|
916
955
|
p data # => <AsyncOperationResponse>
|
@@ -925,6 +964,7 @@ end
|
|
925
964
|
| ---- | ---- | ----------- | ----- |
|
926
965
|
| **rpm_rpm_remote_href** | **String** | | |
|
927
966
|
| **rpm_rpm_remote** | [**RpmRpmRemote**](RpmRpmRemote.md) | | |
|
967
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
928
968
|
|
929
969
|
### Return type
|
930
970
|
|