pulp_python_client 3.9.0 → 3.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -8
- data/docs/ContentPackagesApi.md +17 -11
- data/docs/DistributionsPypiApi.md +130 -4
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +1 -1
- data/docs/PublicationsPypiApi.md +9 -3
- data/docs/PypiApi.md +1 -1
- data/docs/PypiLegacyApi.md +1 -1
- data/docs/PypiMetadataApi.md +1 -1
- data/docs/PypiSimpleApi.md +1 -1
- data/docs/PythonBanderRemote.md +1 -1
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContent.md +5 -5
- data/docs/PythonPythonRemote.md +1 -1
- data/docs/PythonPythonRemoteResponse.md +1 -1
- data/docs/RemotesPythonApi.md +131 -5
- data/docs/RepositoriesPythonApi.md +134 -4
- data/docs/RepositoriesPythonVersionsApi.md +7 -3
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +20 -11
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +164 -3
- data/lib/pulp_python_client/api/publications_pypi_api.rb +11 -2
- data/lib/pulp_python_client/api/remotes_python_api.rb +165 -4
- data/lib/pulp_python_client/api/repositories_python_api.rb +169 -2
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +8 -2
- data/lib/pulp_python_client/configuration.rb +2 -2
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +13 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +13 -13
- data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
- data/lib/pulp_python_client/models/set_label.rb +252 -0
- data/lib/pulp_python_client/models/set_label_response.rb +243 -0
- data/lib/pulp_python_client/models/unset_label.rb +242 -0
- data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +8 -5
- data/spec/api/distributions_pypi_api_spec.rb +34 -1
- data/spec/api/publications_pypi_api_spec.rb +4 -1
- data/spec/api/remotes_python_api_spec.rb +35 -2
- data/spec/api/repositories_python_api_spec.rb +36 -1
- data/spec/api/repositories_python_versions_api_spec.rb +3 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_spec.rb +4 -4
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +50 -34
data/docs/RemotesPythonApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::RemotesPythonApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -10,6 +10,8 @@ Method | HTTP request | Description
|
|
10
10
|
[**list**](RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
|
11
11
|
[**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
|
12
12
|
[**read**](RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
|
13
|
+
[**set_label**](RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
|
14
|
+
[**unset_label**](RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
|
13
15
|
[**update**](RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
|
14
16
|
|
15
17
|
|
@@ -144,7 +146,7 @@ api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
144
146
|
config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
145
147
|
name = 'name_example' # String | A unique name for this remote
|
146
148
|
opts = {
|
147
|
-
policy: PulpPythonClient::PolicyEnum.new # PolicyEnum | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default.
|
149
|
+
policy: PulpPythonClient::PolicyEnum.new # PolicyEnum | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
148
150
|
}
|
149
151
|
|
150
152
|
begin
|
@@ -163,7 +165,7 @@ Name | Type | Description | Notes
|
|
163
165
|
------------- | ------------- | ------------- | -------------
|
164
166
|
**config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
|
165
167
|
**name** | **String**| A unique name for this remote |
|
166
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md)| The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. | [optional]
|
168
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md)| The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
|
167
169
|
|
168
170
|
### Return type
|
169
171
|
|
@@ -205,10 +207,16 @@ opts = {
|
|
205
207
|
name: 'name_example', # String | Filter results where name matches value
|
206
208
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
207
209
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
210
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
208
211
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
212
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
213
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
214
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
209
215
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
210
216
|
offset: 56, # Integer | The initial index from which to return the results.
|
211
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
217
|
+
ordering: ['ordering_example'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
218
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
219
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
212
220
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
213
221
|
pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
|
214
222
|
pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
|
@@ -216,6 +224,7 @@ opts = {
|
|
216
224
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
217
225
|
pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
|
218
226
|
pulp_last_updated__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_last_updated is between two comma separated values
|
227
|
+
q: 'q_example', # String |
|
219
228
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
220
229
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
221
230
|
}
|
@@ -238,10 +247,16 @@ Name | Type | Description | Notes
|
|
238
247
|
**name** | **String**| Filter results where name matches value | [optional]
|
239
248
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
240
249
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
250
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
241
251
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
252
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
253
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
254
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
242
255
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
243
256
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
244
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
257
|
+
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
258
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
259
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
245
260
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
246
261
|
**pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
|
247
262
|
**pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
|
@@ -249,6 +264,7 @@ Name | Type | Description | Notes
|
|
249
264
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
250
265
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
251
266
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
267
|
+
**q** | **String**| | [optional]
|
252
268
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
253
269
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
254
270
|
|
@@ -380,6 +396,116 @@ Name | Type | Description | Notes
|
|
380
396
|
- **Accept**: application/json
|
381
397
|
|
382
398
|
|
399
|
+
## set_label
|
400
|
+
|
401
|
+
> SetLabelResponse set_label(python_python_remote_href, set_label)
|
402
|
+
|
403
|
+
Set a label
|
404
|
+
|
405
|
+
Set a single pulp_label on the object to a specific value or null.
|
406
|
+
|
407
|
+
### Example
|
408
|
+
|
409
|
+
```ruby
|
410
|
+
# load the gem
|
411
|
+
require 'pulp_python_client'
|
412
|
+
# setup authorization
|
413
|
+
PulpPythonClient.configure do |config|
|
414
|
+
# Configure HTTP basic authorization: basicAuth
|
415
|
+
config.username = 'YOUR USERNAME'
|
416
|
+
config.password = 'YOUR PASSWORD'
|
417
|
+
end
|
418
|
+
|
419
|
+
api_instance = PulpPythonClient::RemotesPythonApi.new
|
420
|
+
python_python_remote_href = 'python_python_remote_href_example' # String |
|
421
|
+
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
422
|
+
|
423
|
+
begin
|
424
|
+
#Set a label
|
425
|
+
result = api_instance.set_label(python_python_remote_href, set_label)
|
426
|
+
p result
|
427
|
+
rescue PulpPythonClient::ApiError => e
|
428
|
+
puts "Exception when calling RemotesPythonApi->set_label: #{e}"
|
429
|
+
end
|
430
|
+
```
|
431
|
+
|
432
|
+
### Parameters
|
433
|
+
|
434
|
+
|
435
|
+
Name | Type | Description | Notes
|
436
|
+
------------- | ------------- | ------------- | -------------
|
437
|
+
**python_python_remote_href** | **String**| |
|
438
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
439
|
+
|
440
|
+
### Return type
|
441
|
+
|
442
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
443
|
+
|
444
|
+
### Authorization
|
445
|
+
|
446
|
+
[basicAuth](../README.md#basicAuth)
|
447
|
+
|
448
|
+
### HTTP request headers
|
449
|
+
|
450
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
451
|
+
- **Accept**: application/json
|
452
|
+
|
453
|
+
|
454
|
+
## unset_label
|
455
|
+
|
456
|
+
> UnsetLabelResponse unset_label(python_python_remote_href, unset_label)
|
457
|
+
|
458
|
+
Unset a label
|
459
|
+
|
460
|
+
Unset a single pulp_label on the object.
|
461
|
+
|
462
|
+
### Example
|
463
|
+
|
464
|
+
```ruby
|
465
|
+
# load the gem
|
466
|
+
require 'pulp_python_client'
|
467
|
+
# setup authorization
|
468
|
+
PulpPythonClient.configure do |config|
|
469
|
+
# Configure HTTP basic authorization: basicAuth
|
470
|
+
config.username = 'YOUR USERNAME'
|
471
|
+
config.password = 'YOUR PASSWORD'
|
472
|
+
end
|
473
|
+
|
474
|
+
api_instance = PulpPythonClient::RemotesPythonApi.new
|
475
|
+
python_python_remote_href = 'python_python_remote_href_example' # String |
|
476
|
+
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
477
|
+
|
478
|
+
begin
|
479
|
+
#Unset a label
|
480
|
+
result = api_instance.unset_label(python_python_remote_href, unset_label)
|
481
|
+
p result
|
482
|
+
rescue PulpPythonClient::ApiError => e
|
483
|
+
puts "Exception when calling RemotesPythonApi->unset_label: #{e}"
|
484
|
+
end
|
485
|
+
```
|
486
|
+
|
487
|
+
### Parameters
|
488
|
+
|
489
|
+
|
490
|
+
Name | Type | Description | Notes
|
491
|
+
------------- | ------------- | ------------- | -------------
|
492
|
+
**python_python_remote_href** | **String**| |
|
493
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
494
|
+
|
495
|
+
### Return type
|
496
|
+
|
497
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
498
|
+
|
499
|
+
### Authorization
|
500
|
+
|
501
|
+
[basicAuth](../README.md#basicAuth)
|
502
|
+
|
503
|
+
### HTTP request headers
|
504
|
+
|
505
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
506
|
+
- **Accept**: application/json
|
507
|
+
|
508
|
+
|
383
509
|
## update
|
384
510
|
|
385
511
|
> AsyncOperationResponse update(python_python_remote_href, python_python_remote)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::RepositoriesPythonApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -10,7 +10,9 @@ Method | HTTP request | Description
|
|
10
10
|
[**modify**](RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
|
11
11
|
[**partial_update**](RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
|
12
12
|
[**read**](RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
|
13
|
+
[**set_label**](RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
|
13
14
|
[**sync**](RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
|
15
|
+
[**unset_label**](RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
|
14
16
|
[**update**](RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
|
15
17
|
|
16
18
|
|
@@ -143,15 +145,23 @@ end
|
|
143
145
|
|
144
146
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
145
147
|
opts = {
|
148
|
+
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
146
149
|
limit: 56, # Integer | Number of results to return per page.
|
147
150
|
name: 'name_example', # String | Filter results where name matches value
|
148
151
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
149
152
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
153
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
150
154
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
155
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
156
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
157
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
151
158
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
152
159
|
offset: 56, # Integer | The initial index from which to return the results.
|
153
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
160
|
+
ordering: ['ordering_example'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
161
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
162
|
+
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
163
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
164
|
+
q: 'q_example', # String |
|
155
165
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
156
166
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
157
167
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -161,6 +171,7 @@ opts = {
|
|
161
171
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
162
172
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
163
173
|
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
174
|
+
with_content: 'with_content_example', # String | Content Unit referenced by HREF
|
164
175
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
165
176
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
166
177
|
}
|
@@ -179,16 +190,24 @@ end
|
|
179
190
|
|
180
191
|
Name | Type | Description | Notes
|
181
192
|
------------- | ------------- | ------------- | -------------
|
193
|
+
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
182
194
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
183
195
|
**name** | **String**| Filter results where name matches value | [optional]
|
184
196
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
185
197
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
198
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
186
199
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
200
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
201
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
202
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
187
203
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
188
204
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
189
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
205
|
+
**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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
206
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
207
|
+
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
190
208
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
191
|
-
**
|
209
|
+
**q** | **String**| | [optional]
|
210
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
192
211
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
193
212
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
194
213
|
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
@@ -197,6 +216,7 @@ Name | Type | Description | Notes
|
|
197
216
|
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
198
217
|
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
199
218
|
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
219
|
+
**with_content** | **String**| Content Unit referenced by HREF | [optional]
|
200
220
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
201
221
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
202
222
|
|
@@ -383,6 +403,61 @@ Name | Type | Description | Notes
|
|
383
403
|
- **Accept**: application/json
|
384
404
|
|
385
405
|
|
406
|
+
## set_label
|
407
|
+
|
408
|
+
> SetLabelResponse set_label(python_python_repository_href, set_label)
|
409
|
+
|
410
|
+
Set a label
|
411
|
+
|
412
|
+
Set a single pulp_label on the object to a specific value or null.
|
413
|
+
|
414
|
+
### Example
|
415
|
+
|
416
|
+
```ruby
|
417
|
+
# load the gem
|
418
|
+
require 'pulp_python_client'
|
419
|
+
# setup authorization
|
420
|
+
PulpPythonClient.configure do |config|
|
421
|
+
# Configure HTTP basic authorization: basicAuth
|
422
|
+
config.username = 'YOUR USERNAME'
|
423
|
+
config.password = 'YOUR PASSWORD'
|
424
|
+
end
|
425
|
+
|
426
|
+
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
427
|
+
python_python_repository_href = 'python_python_repository_href_example' # String |
|
428
|
+
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
429
|
+
|
430
|
+
begin
|
431
|
+
#Set a label
|
432
|
+
result = api_instance.set_label(python_python_repository_href, set_label)
|
433
|
+
p result
|
434
|
+
rescue PulpPythonClient::ApiError => e
|
435
|
+
puts "Exception when calling RepositoriesPythonApi->set_label: #{e}"
|
436
|
+
end
|
437
|
+
```
|
438
|
+
|
439
|
+
### Parameters
|
440
|
+
|
441
|
+
|
442
|
+
Name | Type | Description | Notes
|
443
|
+
------------- | ------------- | ------------- | -------------
|
444
|
+
**python_python_repository_href** | **String**| |
|
445
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
446
|
+
|
447
|
+
### Return type
|
448
|
+
|
449
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
450
|
+
|
451
|
+
### Authorization
|
452
|
+
|
453
|
+
[basicAuth](../README.md#basicAuth)
|
454
|
+
|
455
|
+
### HTTP request headers
|
456
|
+
|
457
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
458
|
+
- **Accept**: application/json
|
459
|
+
|
460
|
+
|
386
461
|
## sync
|
387
462
|
|
388
463
|
> AsyncOperationResponse sync(python_python_repository_href, repository_sync_url)
|
@@ -438,6 +513,61 @@ Name | Type | Description | Notes
|
|
438
513
|
- **Accept**: application/json
|
439
514
|
|
440
515
|
|
516
|
+
## unset_label
|
517
|
+
|
518
|
+
> UnsetLabelResponse unset_label(python_python_repository_href, unset_label)
|
519
|
+
|
520
|
+
Unset a label
|
521
|
+
|
522
|
+
Unset a single pulp_label on the object.
|
523
|
+
|
524
|
+
### Example
|
525
|
+
|
526
|
+
```ruby
|
527
|
+
# load the gem
|
528
|
+
require 'pulp_python_client'
|
529
|
+
# setup authorization
|
530
|
+
PulpPythonClient.configure do |config|
|
531
|
+
# Configure HTTP basic authorization: basicAuth
|
532
|
+
config.username = 'YOUR USERNAME'
|
533
|
+
config.password = 'YOUR PASSWORD'
|
534
|
+
end
|
535
|
+
|
536
|
+
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
537
|
+
python_python_repository_href = 'python_python_repository_href_example' # String |
|
538
|
+
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
539
|
+
|
540
|
+
begin
|
541
|
+
#Unset a label
|
542
|
+
result = api_instance.unset_label(python_python_repository_href, unset_label)
|
543
|
+
p result
|
544
|
+
rescue PulpPythonClient::ApiError => e
|
545
|
+
puts "Exception when calling RepositoriesPythonApi->unset_label: #{e}"
|
546
|
+
end
|
547
|
+
```
|
548
|
+
|
549
|
+
### Parameters
|
550
|
+
|
551
|
+
|
552
|
+
Name | Type | Description | Notes
|
553
|
+
------------- | ------------- | ------------- | -------------
|
554
|
+
**python_python_repository_href** | **String**| |
|
555
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
556
|
+
|
557
|
+
### Return type
|
558
|
+
|
559
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
560
|
+
|
561
|
+
### Authorization
|
562
|
+
|
563
|
+
[basicAuth](../README.md#basicAuth)
|
564
|
+
|
565
|
+
### HTTP request headers
|
566
|
+
|
567
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
568
|
+
- **Accept**: application/json
|
569
|
+
|
570
|
+
|
441
571
|
## update
|
442
572
|
|
443
573
|
> AsyncOperationResponse update(python_python_repository_href, python_python_repository)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpPythonClient::RepositoriesPythonVersionsApi
|
2
2
|
|
3
|
-
All URIs are relative to *
|
3
|
+
All URIs are relative to *http://pulp*
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
@@ -97,13 +97,15 @@ opts = {
|
|
97
97
|
number__lte: 56, # Integer | Filter results where number is less than or equal to value
|
98
98
|
number__range: [56], # Array<Integer> | Filter results where number is between two comma separated values
|
99
99
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
100
|
+
ordering: ['ordering_example'], # 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)
|
101
101
|
pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
|
102
102
|
pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
|
103
103
|
pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
|
104
104
|
pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
|
105
105
|
pulp_created__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than or equal to value
|
106
106
|
pulp_created__range: [DateTime.parse('2013-10-20T19:20:30+01:00')], # Array<DateTime> | Filter results where pulp_created is between two comma separated values
|
107
|
+
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
+
q: 'q_example', # String |
|
107
109
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
108
110
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
109
111
|
}
|
@@ -133,13 +135,15 @@ Name | Type | Description | Notes
|
|
133
135
|
**number__lte** | **Integer**| Filter results where number is less than or equal to value | [optional]
|
134
136
|
**number__range** | [**Array<Integer>**](Integer.md)| Filter results where number is between two comma separated values | [optional]
|
135
137
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
136
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
138
|
+
**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]
|
137
139
|
**pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
|
138
140
|
**pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
|
139
141
|
**pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
|
140
142
|
**pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
|
141
143
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
142
144
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
145
|
+
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
|
+
**q** | **String**| | [optional]
|
143
147
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
144
148
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
145
149
|
|
data/docs/SetLabel.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpPythonClient::SetLabel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
**value** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpPythonClient'
|
14
|
+
|
15
|
+
instance = PulpPythonClient::SetLabel.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpPythonClient::SetLabelResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
**value** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpPythonClient'
|
14
|
+
|
15
|
+
instance = PulpPythonClient::SetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/UnsetLabel.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpPythonClient::UnsetLabel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpPythonClient'
|
13
|
+
|
14
|
+
instance = PulpPythonClient::UnsetLabel.new(key: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpPythonClient::UnsetLabelResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
**value** | **String** | | [optional] [readonly]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpPythonClient'
|
14
|
+
|
15
|
+
instance = PulpPythonClient::UnsetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -23,10 +23,10 @@ module PulpPythonClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
27
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
|
-
# @option opts [String] :
|
27
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
30
|
# @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
|
31
31
|
# @option opts [String] :summary A one-line summary of what the package does.
|
32
32
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
@@ -59,10 +59,10 @@ module PulpPythonClient
|
|
59
59
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
60
60
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
61
61
|
# @param [Hash] opts the optional parameters
|
62
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
63
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
64
62
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
65
|
-
# @option opts [String] :
|
63
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
64
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
65
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
66
66
|
# @option opts [String] :sha256 The SHA256 digest of this package.
|
67
67
|
# @option opts [String] :summary A one-line summary of what the package does.
|
68
68
|
# @option opts [String] :description A longer description of the package that can run to several paragraphs.
|
@@ -118,9 +118,9 @@ module PulpPythonClient
|
|
118
118
|
# form parameters
|
119
119
|
form_params = opts[:form_params] || {}
|
120
120
|
form_params['relative_path'] = relative_path
|
121
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
121
122
|
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
122
123
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
123
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
124
124
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
125
125
|
form_params['sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
126
126
|
form_params['summary'] = opts[:'summary'] if !opts[:'summary'].nil?
|
@@ -184,9 +184,12 @@ module PulpPythonClient
|
|
184
184
|
# @option opts [String] :name Filter results where name matches value
|
185
185
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
186
186
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
187
|
-
# @option opts [Array<String>] :ordering Ordering
|
188
|
-
# @option opts [String] :packagetype Filter results where packagetype matches value
|
187
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
188
|
+
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
189
189
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
190
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
191
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
192
|
+
# @option opts [String] :q
|
190
193
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
191
194
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
192
195
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -222,9 +225,12 @@ module PulpPythonClient
|
|
222
225
|
# @option opts [String] :name Filter results where name matches value
|
223
226
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
224
227
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
225
|
-
# @option opts [Array<String>] :ordering Ordering
|
226
|
-
# @option opts [String] :packagetype Filter results where packagetype matches value
|
228
|
+
# @option opts [Array<String>] :ordering 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
229
|
+
# @option opts [String] :packagetype Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
|
227
230
|
# @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
|
231
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
232
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
233
|
+
# @option opts [String] :q
|
228
234
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
229
235
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
230
236
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -272,6 +278,9 @@ module PulpPythonClient
|
|
272
278
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
273
279
|
query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
|
274
280
|
query_params[:'packagetype__in'] = @api_client.build_collection_param(opts[:'packagetype__in'], :csv) if !opts[:'packagetype__in'].nil?
|
281
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
282
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
283
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
275
284
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
276
285
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
277
286
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|