pulp_deb_client 3.0.0 → 3.1.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 +35 -7
- data/docs/ContentGenericContentsApi.md +7 -5
- data/docs/ContentInstallerFileIndicesApi.md +3 -1
- data/docs/ContentInstallerPackagesApi.md +7 -5
- data/docs/ContentPackageIndicesApi.md +3 -1
- data/docs/ContentPackageReleaseComponentsApi.md +3 -1
- data/docs/ContentPackagesApi.md +23 -5
- data/docs/ContentReleaseArchitecturesApi.md +3 -1
- data/docs/ContentReleaseComponentsApi.md +3 -1
- data/docs/ContentReleaseFilesApi.md +3 -1
- data/docs/ContentReleasesApi.md +3 -1
- data/docs/ContentSourceIndicesApi.md +204 -0
- data/docs/ContentSourcePackagesApi.md +258 -0
- data/docs/ContentSourceReleaseComponentsApi.md +202 -0
- data/docs/DebCopyApi.md +1 -1
- data/docs/DebGenericContent.md +2 -2
- data/docs/DebInstallerPackage.md +2 -2
- data/docs/DebPackage.md +2 -2
- data/docs/DebSourceIndex.md +25 -0
- data/docs/DebSourceIndexResponse.md +27 -0
- data/docs/DebSourcePackage.md +21 -0
- data/docs/DebSourcePackageReleaseComponent.md +21 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +23 -0
- data/docs/DebSourcePackageResponse.md +77 -0
- data/docs/DistributionsAptApi.md +123 -1
- data/docs/PaginateddebSourceIndexResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +23 -0
- data/docs/PaginateddebSourcePackageResponseList.md +23 -0
- data/docs/PublicationsAptApi.md +3 -1
- data/docs/PublicationsVerbatimApi.md +3 -1
- data/docs/RemotesAptApi.md +123 -1
- data/docs/RepositoriesAptApi.md +123 -1
- data/docs/RepositoriesAptVersionsApi.md +3 -1
- 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_deb_client/api/content_generic_contents_api.rb +7 -4
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +7 -4
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_packages_api.rb +31 -4
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_release_components_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_release_files_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_releases_api.rb +3 -0
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +256 -0
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +337 -0
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +253 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/publications_apt_api.rb +3 -0
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +3 -0
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +155 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +3 -0
- data/lib/pulp_deb_client/configuration.rb +2 -2
- data/lib/pulp_deb_client/models/deb_generic_content.rb +2 -2
- data/lib/pulp_deb_client/models/deb_installer_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_package.rb +2 -2
- data/lib/pulp_deb_client/models/deb_source_index.rb +297 -0
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +272 -0
- data/lib/pulp_deb_client/models/deb_source_package.rb +248 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +238 -0
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +247 -0
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +485 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +237 -0
- data/lib/pulp_deb_client/models/set_label.rb +252 -0
- data/lib/pulp_deb_client/models/set_label_response.rb +243 -0
- data/lib/pulp_deb_client/models/unset_label.rb +242 -0
- data/lib/pulp_deb_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_deb_client/version.rb +1 -1
- data/lib/pulp_deb_client.rb +16 -0
- data/spec/api/content_generic_contents_api_spec.rb +3 -2
- data/spec/api/content_installer_file_indices_api_spec.rb +1 -0
- data/spec/api/content_installer_packages_api_spec.rb +3 -2
- data/spec/api/content_package_indices_api_spec.rb +1 -0
- data/spec/api/content_package_release_components_api_spec.rb +1 -0
- data/spec/api/content_packages_api_spec.rb +11 -2
- data/spec/api/content_release_architectures_api_spec.rb +1 -0
- data/spec/api/content_release_components_api_spec.rb +1 -0
- data/spec/api/content_release_files_api_spec.rb +1 -0
- data/spec/api/content_releases_api_spec.rb +1 -0
- data/spec/api/content_source_indices_api_spec.rb +86 -0
- data/spec/api/content_source_packages_api_spec.rb +113 -0
- data/spec/api/content_source_release_components_api_spec.rb +85 -0
- data/spec/api/distributions_apt_api_spec.rb +31 -0
- data/spec/api/publications_apt_api_spec.rb +1 -0
- data/spec/api/publications_verbatim_api_spec.rb +1 -0
- data/spec/api/remotes_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_api_spec.rb +31 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/deb_source_index_response_spec.rb +71 -0
- data/spec/models/deb_source_index_spec.rb +65 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +59 -0
- data/spec/models/deb_source_package_release_component_spec.rb +53 -0
- data/spec/models/deb_source_package_response_spec.rb +221 -0
- data/spec/models/deb_source_package_spec.rb +53 -0
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +59 -0
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +59 -0
- 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 +122 -58
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpDebClient::PaginateddebSourcePackageResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<DebSourcePackageResponse>**](DebSourcePackageResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpDebClient'
|
16
|
+
|
17
|
+
instance = PulpDebClient::PaginateddebSourcePackageResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
data/docs/PublicationsAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::PublicationsAptApi
|
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
|
------------- | ------------- | -------------
|
@@ -151,6 +151,7 @@ opts = {
|
|
151
151
|
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
|
152
152
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
153
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
+
q: 'q_example', # String |
|
154
155
|
repository: 'repository_example', # String | Repository referenced by HREF
|
155
156
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
156
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
|
|
184
185
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
186
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
187
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**q** | **String**| | [optional]
|
187
189
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
188
190
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
189
191
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::PublicationsVerbatimApi
|
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
|
------------- | ------------- | -------------
|
@@ -151,6 +151,7 @@ opts = {
|
|
151
151
|
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
|
152
152
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
153
153
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
154
|
+
q: 'q_example', # String |
|
154
155
|
repository: 'repository_example', # String | Repository referenced by HREF
|
155
156
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
|
156
157
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
@@ -184,6 +185,7 @@ Name | Type | Description | Notes
|
|
184
185
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
185
186
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
186
187
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
188
|
+
**q** | **String**| | [optional]
|
187
189
|
**repository** | **String**| Repository referenced by HREF | [optional]
|
188
190
|
**repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
|
189
191
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
data/docs/RemotesAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RemotesAptApi
|
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
|
------------- | ------------- | -------------
|
@@ -9,6 +9,8 @@ Method | HTTP request | Description
|
|
9
9
|
[**list**](RemotesAptApi.md#list) | **GET** /pulp/api/v3/remotes/deb/apt/ | List apt remotes
|
10
10
|
[**partial_update**](RemotesAptApi.md#partial_update) | **PATCH** {deb_apt_remote_href} | Update an apt remote
|
11
11
|
[**read**](RemotesAptApi.md#read) | **GET** {deb_apt_remote_href} | Inspect an apt remote
|
12
|
+
[**set_label**](RemotesAptApi.md#set_label) | **POST** {deb_apt_remote_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](RemotesAptApi.md#unset_label) | **POST** {deb_apt_remote_href}unset_label/ | Unset a label
|
12
14
|
[**update**](RemotesAptApi.md#update) | **PUT** {deb_apt_remote_href} | Update an apt remote
|
13
15
|
|
14
16
|
|
@@ -145,7 +147,11 @@ opts = {
|
|
145
147
|
name: 'name_example', # String | Filter results where name matches value
|
146
148
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
147
149
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
150
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
148
151
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
152
|
+
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
153
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
154
|
+
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
149
155
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
156
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
157
|
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)
|
@@ -158,6 +164,7 @@ opts = {
|
|
158
164
|
pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
|
159
165
|
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
|
160
166
|
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
|
167
|
+
q: 'q_example', # String |
|
161
168
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
162
169
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
163
170
|
}
|
@@ -180,7 +187,11 @@ Name | Type | Description | Notes
|
|
180
187
|
**name** | **String**| Filter results where name matches value | [optional]
|
181
188
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
189
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
190
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
183
191
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
192
|
+
**name__iregex** | **String**| Filter results where name matches regex value | [optional]
|
193
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
194
|
+
**name__regex** | **String**| Filter results where name matches regex value | [optional]
|
184
195
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
196
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
197
|
**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]
|
@@ -193,6 +204,7 @@ Name | Type | Description | Notes
|
|
193
204
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
194
205
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
195
206
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
207
|
+
**q** | **String**| | [optional]
|
196
208
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
197
209
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
198
210
|
|
@@ -324,6 +336,116 @@ Name | Type | Description | Notes
|
|
324
336
|
- **Accept**: application/json
|
325
337
|
|
326
338
|
|
339
|
+
## set_label
|
340
|
+
|
341
|
+
> SetLabelResponse set_label(deb_apt_remote_href, set_label)
|
342
|
+
|
343
|
+
Set a label
|
344
|
+
|
345
|
+
Set a single pulp_label on the object to a specific value or null.
|
346
|
+
|
347
|
+
### Example
|
348
|
+
|
349
|
+
```ruby
|
350
|
+
# load the gem
|
351
|
+
require 'pulp_deb_client'
|
352
|
+
# setup authorization
|
353
|
+
PulpDebClient.configure do |config|
|
354
|
+
# Configure HTTP basic authorization: basicAuth
|
355
|
+
config.username = 'YOUR USERNAME'
|
356
|
+
config.password = 'YOUR PASSWORD'
|
357
|
+
end
|
358
|
+
|
359
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
360
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
361
|
+
set_label = PulpDebClient::SetLabel.new # SetLabel |
|
362
|
+
|
363
|
+
begin
|
364
|
+
#Set a label
|
365
|
+
result = api_instance.set_label(deb_apt_remote_href, set_label)
|
366
|
+
p result
|
367
|
+
rescue PulpDebClient::ApiError => e
|
368
|
+
puts "Exception when calling RemotesAptApi->set_label: #{e}"
|
369
|
+
end
|
370
|
+
```
|
371
|
+
|
372
|
+
### Parameters
|
373
|
+
|
374
|
+
|
375
|
+
Name | Type | Description | Notes
|
376
|
+
------------- | ------------- | ------------- | -------------
|
377
|
+
**deb_apt_remote_href** | **String**| |
|
378
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
379
|
+
|
380
|
+
### Return type
|
381
|
+
|
382
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
383
|
+
|
384
|
+
### Authorization
|
385
|
+
|
386
|
+
[basicAuth](../README.md#basicAuth)
|
387
|
+
|
388
|
+
### HTTP request headers
|
389
|
+
|
390
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
391
|
+
- **Accept**: application/json
|
392
|
+
|
393
|
+
|
394
|
+
## unset_label
|
395
|
+
|
396
|
+
> UnsetLabelResponse unset_label(deb_apt_remote_href, unset_label)
|
397
|
+
|
398
|
+
Unset a label
|
399
|
+
|
400
|
+
Unset a single pulp_label on the object.
|
401
|
+
|
402
|
+
### Example
|
403
|
+
|
404
|
+
```ruby
|
405
|
+
# load the gem
|
406
|
+
require 'pulp_deb_client'
|
407
|
+
# setup authorization
|
408
|
+
PulpDebClient.configure do |config|
|
409
|
+
# Configure HTTP basic authorization: basicAuth
|
410
|
+
config.username = 'YOUR USERNAME'
|
411
|
+
config.password = 'YOUR PASSWORD'
|
412
|
+
end
|
413
|
+
|
414
|
+
api_instance = PulpDebClient::RemotesAptApi.new
|
415
|
+
deb_apt_remote_href = 'deb_apt_remote_href_example' # String |
|
416
|
+
unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
|
417
|
+
|
418
|
+
begin
|
419
|
+
#Unset a label
|
420
|
+
result = api_instance.unset_label(deb_apt_remote_href, unset_label)
|
421
|
+
p result
|
422
|
+
rescue PulpDebClient::ApiError => e
|
423
|
+
puts "Exception when calling RemotesAptApi->unset_label: #{e}"
|
424
|
+
end
|
425
|
+
```
|
426
|
+
|
427
|
+
### Parameters
|
428
|
+
|
429
|
+
|
430
|
+
Name | Type | Description | Notes
|
431
|
+
------------- | ------------- | ------------- | -------------
|
432
|
+
**deb_apt_remote_href** | **String**| |
|
433
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
434
|
+
|
435
|
+
### Return type
|
436
|
+
|
437
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
438
|
+
|
439
|
+
### Authorization
|
440
|
+
|
441
|
+
[basicAuth](../README.md#basicAuth)
|
442
|
+
|
443
|
+
### HTTP request headers
|
444
|
+
|
445
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
446
|
+
- **Accept**: application/json
|
447
|
+
|
448
|
+
|
327
449
|
## update
|
328
450
|
|
329
451
|
> AsyncOperationResponse update(deb_apt_remote_href, deb_apt_remote)
|
data/docs/RepositoriesAptApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RepositoriesAptApi
|
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**](RepositoriesAptApi.md#modify) | **POST** {deb_apt_repository_href}modify/ | Modify Repository Content
|
11
11
|
[**partial_update**](RepositoriesAptApi.md#partial_update) | **PATCH** {deb_apt_repository_href} | Update an apt repository
|
12
12
|
[**read**](RepositoriesAptApi.md#read) | **GET** {deb_apt_repository_href} | Inspect an apt repository
|
13
|
+
[**set_label**](RepositoriesAptApi.md#set_label) | **POST** {deb_apt_repository_href}set_label/ | Set a label
|
13
14
|
[**sync**](RepositoriesAptApi.md#sync) | **POST** {deb_apt_repository_href}sync/ | Sync from remote
|
15
|
+
[**unset_label**](RepositoriesAptApi.md#unset_label) | **POST** {deb_apt_repository_href}unset_label/ | Unset a label
|
14
16
|
[**update**](RepositoriesAptApi.md#update) | **PUT** {deb_apt_repository_href} | Update an apt repository
|
15
17
|
|
16
18
|
|
@@ -148,13 +150,18 @@ opts = {
|
|
148
150
|
name: 'name_example', # String | Filter results where name matches value
|
149
151
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
150
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
|
151
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
|
152
158
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
153
159
|
offset: 56, # Integer | The initial index from which to return the results.
|
154
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)
|
155
161
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
156
162
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
163
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
164
|
+
q: 'q_example', # String |
|
158
165
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
159
166
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
160
167
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -188,13 +195,18 @@ Name | Type | Description | Notes
|
|
188
195
|
**name** | **String**| Filter results where name matches value | [optional]
|
189
196
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
190
197
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
198
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
191
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]
|
192
203
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
193
204
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
194
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]
|
195
206
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
196
207
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
197
208
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
209
|
+
**q** | **String**| | [optional]
|
198
210
|
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
199
211
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
200
212
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
@@ -391,6 +403,61 @@ Name | Type | Description | Notes
|
|
391
403
|
- **Accept**: application/json
|
392
404
|
|
393
405
|
|
406
|
+
## set_label
|
407
|
+
|
408
|
+
> SetLabelResponse set_label(deb_apt_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_deb_client'
|
419
|
+
# setup authorization
|
420
|
+
PulpDebClient.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 = PulpDebClient::RepositoriesAptApi.new
|
427
|
+
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
428
|
+
set_label = PulpDebClient::SetLabel.new # SetLabel |
|
429
|
+
|
430
|
+
begin
|
431
|
+
#Set a label
|
432
|
+
result = api_instance.set_label(deb_apt_repository_href, set_label)
|
433
|
+
p result
|
434
|
+
rescue PulpDebClient::ApiError => e
|
435
|
+
puts "Exception when calling RepositoriesAptApi->set_label: #{e}"
|
436
|
+
end
|
437
|
+
```
|
438
|
+
|
439
|
+
### Parameters
|
440
|
+
|
441
|
+
|
442
|
+
Name | Type | Description | Notes
|
443
|
+
------------- | ------------- | ------------- | -------------
|
444
|
+
**deb_apt_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
|
+
|
394
461
|
## sync
|
395
462
|
|
396
463
|
> AsyncOperationResponse sync(deb_apt_repository_href, apt_repository_sync_url)
|
@@ -446,6 +513,61 @@ Name | Type | Description | Notes
|
|
446
513
|
- **Accept**: application/json
|
447
514
|
|
448
515
|
|
516
|
+
## unset_label
|
517
|
+
|
518
|
+
> UnsetLabelResponse unset_label(deb_apt_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_deb_client'
|
529
|
+
# setup authorization
|
530
|
+
PulpDebClient.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 = PulpDebClient::RepositoriesAptApi.new
|
537
|
+
deb_apt_repository_href = 'deb_apt_repository_href_example' # String |
|
538
|
+
unset_label = PulpDebClient::UnsetLabel.new # UnsetLabel |
|
539
|
+
|
540
|
+
begin
|
541
|
+
#Unset a label
|
542
|
+
result = api_instance.unset_label(deb_apt_repository_href, unset_label)
|
543
|
+
p result
|
544
|
+
rescue PulpDebClient::ApiError => e
|
545
|
+
puts "Exception when calling RepositoriesAptApi->unset_label: #{e}"
|
546
|
+
end
|
547
|
+
```
|
548
|
+
|
549
|
+
### Parameters
|
550
|
+
|
551
|
+
|
552
|
+
Name | Type | Description | Notes
|
553
|
+
------------- | ------------- | ------------- | -------------
|
554
|
+
**deb_apt_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
|
+
|
449
571
|
## update
|
450
572
|
|
451
573
|
> AsyncOperationResponse update(deb_apt_repository_href, deb_apt_repository)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpDebClient::RepositoriesAptVersionsApi
|
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
|
------------- | ------------- | -------------
|
@@ -105,6 +105,7 @@ opts = {
|
|
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
107
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
108
|
+
q: 'q_example', # String |
|
108
109
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
109
110
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
110
111
|
}
|
@@ -142,6 +143,7 @@ Name | Type | Description | Notes
|
|
142
143
|
**pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
|
143
144
|
**pulp_created__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
|
144
145
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
146
|
+
**q** | **String**| | [optional]
|
145
147
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
146
148
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
147
149
|
|
data/docs/SetLabel.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpDebClient::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 'PulpDebClient'
|
14
|
+
|
15
|
+
instance = PulpDebClient::SetLabel.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpDebClient::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 'PulpDebClient'
|
14
|
+
|
15
|
+
instance = PulpDebClient::SetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/UnsetLabel.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpDebClient::UnsetLabel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpDebClient'
|
13
|
+
|
14
|
+
instance = PulpDebClient::UnsetLabel.new(key: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpDebClient::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 'PulpDebClient'
|
14
|
+
|
15
|
+
instance = PulpDebClient::UnsetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -25,8 +25,8 @@ module PulpDebClient
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
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
|
29
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
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
|
# @return [AsyncOperationResponse]
|
31
31
|
def create(relative_path, opts = {})
|
32
32
|
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
@@ -39,8 +39,8 @@ module PulpDebClient
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
41
41
|
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the
|
43
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
45
|
def create_with_http_info(relative_path, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -108,6 +108,7 @@ module PulpDebClient
|
|
108
108
|
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
109
109
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
110
110
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
111
|
+
# @option opts [String] :q
|
111
112
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
112
113
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
113
114
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -129,6 +130,7 @@ module PulpDebClient
|
|
129
130
|
# @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) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
130
131
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
131
132
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
133
|
+
# @option opts [String] :q
|
132
134
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
133
135
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
134
136
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -155,6 +157,7 @@ module PulpDebClient
|
|
155
157
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
156
158
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
157
159
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
160
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
158
161
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
159
162
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
160
163
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -93,6 +93,7 @@ module PulpDebClient
|
|
93
93
|
# @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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
96
|
+
# @option opts [String] :q
|
96
97
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
97
98
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
98
99
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -116,6 +117,7 @@ module PulpDebClient
|
|
116
117
|
# @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) * `component` - Component * `-component` - Component (descending) * `architecture` - Architecture * `-architecture` - Architecture (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
117
118
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
118
119
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
120
|
+
# @option opts [String] :q
|
119
121
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
120
122
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
121
123
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -144,6 +146,7 @@ module PulpDebClient
|
|
144
146
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
145
147
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
146
148
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
149
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
147
150
|
query_params[:'relative_path'] = opts[:'relative_path'] if !opts[:'relative_path'].nil?
|
148
151
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
149
152
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|