pulp_ostree_client 2.1.0 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/docs/ContentCommitsApi.md +3 -1
- data/docs/ContentConfigsApi.md +3 -1
- data/docs/ContentContentApi.md +3 -1
- data/docs/ContentObjectsApi.md +3 -1
- data/docs/ContentRefsApi.md +7 -1
- data/docs/ContentSummariesApi.md +3 -1
- data/docs/DistributionsOstreeApi.md +122 -4
- data/docs/OstreeOstreeDistribution.md +2 -0
- data/docs/OstreeOstreeDistributionResponse.md +2 -0
- data/docs/PatchedostreeOstreeDistribution.md +2 -0
- data/docs/RemotesOstreeApi.md +119 -1
- data/docs/RepositoriesOstreeApi.md +120 -2
- data/docs/RepositoriesOstreeVersionsApi.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_ostree_client/api/content_commits_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_configs_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_content_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_objects_api.rb +3 -0
- data/lib/pulp_ostree_client/api/content_refs_api.rb +9 -0
- data/lib/pulp_ostree_client/api/content_summaries_api.rb +3 -0
- data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +152 -3
- data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +149 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +149 -0
- data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +3 -0
- data/lib/pulp_ostree_client/configuration.rb +2 -2
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution.rb +13 -1
- data/lib/pulp_ostree_client/models/ostree_ostree_distribution_response.rb +13 -1
- data/lib/pulp_ostree_client/models/patchedostree_ostree_distribution.rb +13 -1
- data/lib/pulp_ostree_client/models/set_label.rb +252 -0
- data/lib/pulp_ostree_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ostree_client/models/unset_label.rb +242 -0
- data/lib/pulp_ostree_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ostree_client/version.rb +1 -1
- data/lib/pulp_ostree_client.rb +4 -0
- data/spec/api/content_commits_api_spec.rb +1 -0
- data/spec/api/content_configs_api_spec.rb +1 -0
- data/spec/api/content_content_api_spec.rb +1 -0
- data/spec/api/content_objects_api_spec.rb +1 -0
- data/spec/api/content_refs_api_spec.rb +3 -0
- data/spec/api/content_summaries_api_spec.rb +1 -0
- data/spec/api/distributions_ostree_api_spec.rb +30 -1
- data/spec/api/remotes_ostree_api_spec.rb +29 -0
- data/spec/api/repositories_ostree_api_spec.rb +29 -0
- data/spec/api/repositories_ostree_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ostree_ostree_distribution_response_spec.rb +6 -0
- data/spec/models/ostree_ostree_distribution_spec.rb +6 -0
- data/spec/models/patchedostree_ostree_distribution_spec.rb +6 -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 +49 -33
data/docs/RemotesOstreeApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpOstreeClient::RemotesOstreeApi
|
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**](RemotesOstreeApi.md#list) | **GET** /pulp/api/v3/remotes/ostree/ostree/ | List ostree remotes
|
10
10
|
[**partial_update**](RemotesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_remote_href} | Update an ostree remote
|
11
11
|
[**read**](RemotesOstreeApi.md#read) | **GET** {ostree_ostree_remote_href} | Inspect an ostree remote
|
12
|
+
[**set_label**](RemotesOstreeApi.md#set_label) | **POST** {ostree_ostree_remote_href}set_label/ | Set a label
|
13
|
+
[**unset_label**](RemotesOstreeApi.md#unset_label) | **POST** {ostree_ostree_remote_href}unset_label/ | Unset a label
|
12
14
|
[**update**](RemotesOstreeApi.md#update) | **PUT** {ostree_ostree_remote_href} | Update an ostree remote
|
13
15
|
|
14
16
|
|
@@ -145,7 +147,9 @@ 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__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
149
153
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
150
154
|
offset: 56, # Integer | The initial index from which to return the results.
|
151
155
|
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 +162,7 @@ opts = {
|
|
158
162
|
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
163
|
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
164
|
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
|
165
|
+
q: 'q_example', # String |
|
161
166
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
162
167
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
163
168
|
}
|
@@ -180,7 +185,9 @@ Name | Type | Description | Notes
|
|
180
185
|
**name** | **String**| Filter results where name matches value | [optional]
|
181
186
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
182
187
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
188
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
183
189
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
190
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
184
191
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
185
192
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
186
193
|
**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 +200,7 @@ Name | Type | Description | Notes
|
|
193
200
|
**pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
|
194
201
|
**pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
|
195
202
|
**pulp_last_updated__range** | [**Array<DateTime>**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
|
203
|
+
**q** | **String**| | [optional]
|
196
204
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
197
205
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
198
206
|
|
@@ -324,6 +332,116 @@ Name | Type | Description | Notes
|
|
324
332
|
- **Accept**: application/json
|
325
333
|
|
326
334
|
|
335
|
+
## set_label
|
336
|
+
|
337
|
+
> SetLabelResponse set_label(ostree_ostree_remote_href, set_label)
|
338
|
+
|
339
|
+
Set a label
|
340
|
+
|
341
|
+
Set a single pulp_label on the object to a specific value or null.
|
342
|
+
|
343
|
+
### Example
|
344
|
+
|
345
|
+
```ruby
|
346
|
+
# load the gem
|
347
|
+
require 'pulp_ostree_client'
|
348
|
+
# setup authorization
|
349
|
+
PulpOstreeClient.configure do |config|
|
350
|
+
# Configure HTTP basic authorization: basicAuth
|
351
|
+
config.username = 'YOUR USERNAME'
|
352
|
+
config.password = 'YOUR PASSWORD'
|
353
|
+
end
|
354
|
+
|
355
|
+
api_instance = PulpOstreeClient::RemotesOstreeApi.new
|
356
|
+
ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
|
357
|
+
set_label = PulpOstreeClient::SetLabel.new # SetLabel |
|
358
|
+
|
359
|
+
begin
|
360
|
+
#Set a label
|
361
|
+
result = api_instance.set_label(ostree_ostree_remote_href, set_label)
|
362
|
+
p result
|
363
|
+
rescue PulpOstreeClient::ApiError => e
|
364
|
+
puts "Exception when calling RemotesOstreeApi->set_label: #{e}"
|
365
|
+
end
|
366
|
+
```
|
367
|
+
|
368
|
+
### Parameters
|
369
|
+
|
370
|
+
|
371
|
+
Name | Type | Description | Notes
|
372
|
+
------------- | ------------- | ------------- | -------------
|
373
|
+
**ostree_ostree_remote_href** | **String**| |
|
374
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
375
|
+
|
376
|
+
### Return type
|
377
|
+
|
378
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
379
|
+
|
380
|
+
### Authorization
|
381
|
+
|
382
|
+
[basicAuth](../README.md#basicAuth)
|
383
|
+
|
384
|
+
### HTTP request headers
|
385
|
+
|
386
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
387
|
+
- **Accept**: application/json
|
388
|
+
|
389
|
+
|
390
|
+
## unset_label
|
391
|
+
|
392
|
+
> UnsetLabelResponse unset_label(ostree_ostree_remote_href, unset_label)
|
393
|
+
|
394
|
+
Unset a label
|
395
|
+
|
396
|
+
Unset a single pulp_label on the object.
|
397
|
+
|
398
|
+
### Example
|
399
|
+
|
400
|
+
```ruby
|
401
|
+
# load the gem
|
402
|
+
require 'pulp_ostree_client'
|
403
|
+
# setup authorization
|
404
|
+
PulpOstreeClient.configure do |config|
|
405
|
+
# Configure HTTP basic authorization: basicAuth
|
406
|
+
config.username = 'YOUR USERNAME'
|
407
|
+
config.password = 'YOUR PASSWORD'
|
408
|
+
end
|
409
|
+
|
410
|
+
api_instance = PulpOstreeClient::RemotesOstreeApi.new
|
411
|
+
ostree_ostree_remote_href = 'ostree_ostree_remote_href_example' # String |
|
412
|
+
unset_label = PulpOstreeClient::UnsetLabel.new # UnsetLabel |
|
413
|
+
|
414
|
+
begin
|
415
|
+
#Unset a label
|
416
|
+
result = api_instance.unset_label(ostree_ostree_remote_href, unset_label)
|
417
|
+
p result
|
418
|
+
rescue PulpOstreeClient::ApiError => e
|
419
|
+
puts "Exception when calling RemotesOstreeApi->unset_label: #{e}"
|
420
|
+
end
|
421
|
+
```
|
422
|
+
|
423
|
+
### Parameters
|
424
|
+
|
425
|
+
|
426
|
+
Name | Type | Description | Notes
|
427
|
+
------------- | ------------- | ------------- | -------------
|
428
|
+
**ostree_ostree_remote_href** | **String**| |
|
429
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
430
|
+
|
431
|
+
### Return type
|
432
|
+
|
433
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
434
|
+
|
435
|
+
### Authorization
|
436
|
+
|
437
|
+
[basicAuth](../README.md#basicAuth)
|
438
|
+
|
439
|
+
### HTTP request headers
|
440
|
+
|
441
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
442
|
+
- **Accept**: application/json
|
443
|
+
|
444
|
+
|
327
445
|
## update
|
328
446
|
|
329
447
|
> AsyncOperationResponse update(ostree_ostree_remote_href, ostree_ostree_remote)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpOstreeClient::RepositoriesOstreeApi
|
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
|
------------- | ------------- | -------------
|
@@ -12,7 +12,9 @@ Method | HTTP request | Description
|
|
12
12
|
[**modify**](RepositoriesOstreeApi.md#modify) | **POST** {ostree_ostree_repository_href}modify/ | Modify repository
|
13
13
|
[**partial_update**](RepositoriesOstreeApi.md#partial_update) | **PATCH** {ostree_ostree_repository_href} | Update an ostree repository
|
14
14
|
[**read**](RepositoriesOstreeApi.md#read) | **GET** {ostree_ostree_repository_href} | Inspect an ostree repository
|
15
|
+
[**set_label**](RepositoriesOstreeApi.md#set_label) | **POST** {ostree_ostree_repository_href}set_label/ | Set a label
|
15
16
|
[**sync**](RepositoriesOstreeApi.md#sync) | **POST** {ostree_ostree_repository_href}sync/ | Sync from remote
|
17
|
+
[**unset_label**](RepositoriesOstreeApi.md#unset_label) | **POST** {ostree_ostree_repository_href}unset_label/ | Unset a label
|
16
18
|
[**update**](RepositoriesOstreeApi.md#update) | **PUT** {ostree_ostree_repository_href} | Update an ostree repository
|
17
19
|
|
18
20
|
|
@@ -260,13 +262,16 @@ opts = {
|
|
260
262
|
name: 'name_example', # String | Filter results where name matches value
|
261
263
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
262
264
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
265
|
+
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
263
266
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
267
|
+
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
264
268
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
265
269
|
offset: 56, # Integer | The initial index from which to return the results.
|
266
270
|
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)
|
267
271
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
268
272
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
269
273
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
274
|
+
q: 'q_example', # String |
|
270
275
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
271
276
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
272
277
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
@@ -300,14 +305,17 @@ Name | Type | Description | Notes
|
|
300
305
|
**name** | **String**| Filter results where name matches value | [optional]
|
301
306
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
302
307
|
**name__icontains** | **String**| Filter results where name contains value | [optional]
|
308
|
+
**name__iexact** | **String**| Filter results where name matches value | [optional]
|
303
309
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
310
|
+
**name__istartswith** | **String**| Filter results where name starts with value | [optional]
|
304
311
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
305
312
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
306
313
|
**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]
|
307
314
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
308
315
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
309
316
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
310
|
-
**
|
317
|
+
**q** | **String**| | [optional]
|
318
|
+
**remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
|
311
319
|
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
312
320
|
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
313
321
|
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
@@ -503,6 +511,61 @@ Name | Type | Description | Notes
|
|
503
511
|
- **Accept**: application/json
|
504
512
|
|
505
513
|
|
514
|
+
## set_label
|
515
|
+
|
516
|
+
> SetLabelResponse set_label(ostree_ostree_repository_href, set_label)
|
517
|
+
|
518
|
+
Set a label
|
519
|
+
|
520
|
+
Set a single pulp_label on the object to a specific value or null.
|
521
|
+
|
522
|
+
### Example
|
523
|
+
|
524
|
+
```ruby
|
525
|
+
# load the gem
|
526
|
+
require 'pulp_ostree_client'
|
527
|
+
# setup authorization
|
528
|
+
PulpOstreeClient.configure do |config|
|
529
|
+
# Configure HTTP basic authorization: basicAuth
|
530
|
+
config.username = 'YOUR USERNAME'
|
531
|
+
config.password = 'YOUR PASSWORD'
|
532
|
+
end
|
533
|
+
|
534
|
+
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
535
|
+
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
536
|
+
set_label = PulpOstreeClient::SetLabel.new # SetLabel |
|
537
|
+
|
538
|
+
begin
|
539
|
+
#Set a label
|
540
|
+
result = api_instance.set_label(ostree_ostree_repository_href, set_label)
|
541
|
+
p result
|
542
|
+
rescue PulpOstreeClient::ApiError => e
|
543
|
+
puts "Exception when calling RepositoriesOstreeApi->set_label: #{e}"
|
544
|
+
end
|
545
|
+
```
|
546
|
+
|
547
|
+
### Parameters
|
548
|
+
|
549
|
+
|
550
|
+
Name | Type | Description | Notes
|
551
|
+
------------- | ------------- | ------------- | -------------
|
552
|
+
**ostree_ostree_repository_href** | **String**| |
|
553
|
+
**set_label** | [**SetLabel**](SetLabel.md)| |
|
554
|
+
|
555
|
+
### Return type
|
556
|
+
|
557
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
558
|
+
|
559
|
+
### Authorization
|
560
|
+
|
561
|
+
[basicAuth](../README.md#basicAuth)
|
562
|
+
|
563
|
+
### HTTP request headers
|
564
|
+
|
565
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
566
|
+
- **Accept**: application/json
|
567
|
+
|
568
|
+
|
506
569
|
## sync
|
507
570
|
|
508
571
|
> AsyncOperationResponse sync(ostree_ostree_repository_href, repository_sync_url)
|
@@ -558,6 +621,61 @@ Name | Type | Description | Notes
|
|
558
621
|
- **Accept**: application/json
|
559
622
|
|
560
623
|
|
624
|
+
## unset_label
|
625
|
+
|
626
|
+
> UnsetLabelResponse unset_label(ostree_ostree_repository_href, unset_label)
|
627
|
+
|
628
|
+
Unset a label
|
629
|
+
|
630
|
+
Unset a single pulp_label on the object.
|
631
|
+
|
632
|
+
### Example
|
633
|
+
|
634
|
+
```ruby
|
635
|
+
# load the gem
|
636
|
+
require 'pulp_ostree_client'
|
637
|
+
# setup authorization
|
638
|
+
PulpOstreeClient.configure do |config|
|
639
|
+
# Configure HTTP basic authorization: basicAuth
|
640
|
+
config.username = 'YOUR USERNAME'
|
641
|
+
config.password = 'YOUR PASSWORD'
|
642
|
+
end
|
643
|
+
|
644
|
+
api_instance = PulpOstreeClient::RepositoriesOstreeApi.new
|
645
|
+
ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
|
646
|
+
unset_label = PulpOstreeClient::UnsetLabel.new # UnsetLabel |
|
647
|
+
|
648
|
+
begin
|
649
|
+
#Unset a label
|
650
|
+
result = api_instance.unset_label(ostree_ostree_repository_href, unset_label)
|
651
|
+
p result
|
652
|
+
rescue PulpOstreeClient::ApiError => e
|
653
|
+
puts "Exception when calling RepositoriesOstreeApi->unset_label: #{e}"
|
654
|
+
end
|
655
|
+
```
|
656
|
+
|
657
|
+
### Parameters
|
658
|
+
|
659
|
+
|
660
|
+
Name | Type | Description | Notes
|
661
|
+
------------- | ------------- | ------------- | -------------
|
662
|
+
**ostree_ostree_repository_href** | **String**| |
|
663
|
+
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
664
|
+
|
665
|
+
### Return type
|
666
|
+
|
667
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
668
|
+
|
669
|
+
### Authorization
|
670
|
+
|
671
|
+
[basicAuth](../README.md#basicAuth)
|
672
|
+
|
673
|
+
### HTTP request headers
|
674
|
+
|
675
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
676
|
+
- **Accept**: application/json
|
677
|
+
|
678
|
+
|
561
679
|
## update
|
562
680
|
|
563
681
|
> AsyncOperationResponse update(ostree_ostree_repository_href, ostree_ostree_repository)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# PulpOstreeClient::RepositoriesOstreeVersionsApi
|
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
|
+
# PulpOstreeClient::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 'PulpOstreeClient'
|
14
|
+
|
15
|
+
instance = PulpOstreeClient::SetLabel.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpOstreeClient::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 'PulpOstreeClient'
|
14
|
+
|
15
|
+
instance = PulpOstreeClient::SetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/UnsetLabel.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpOstreeClient::UnsetLabel
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**key** | **String** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpOstreeClient'
|
13
|
+
|
14
|
+
instance = PulpOstreeClient::UnsetLabel.new(key: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpOstreeClient::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 'PulpOstreeClient'
|
14
|
+
|
15
|
+
instance = PulpOstreeClient::UnsetLabelResponse.new(key: null,
|
16
|
+
value: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -28,6 +28,7 @@ module PulpOstreeClient
|
|
28
28
|
# @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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
31
|
+
# @option opts [String] :q
|
31
32
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
32
33
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
33
34
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -48,6 +49,7 @@ module PulpOstreeClient
|
|
48
49
|
# @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) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
49
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
50
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
52
|
+
# @option opts [String] :q
|
51
53
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
54
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
55
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -73,6 +75,7 @@ module PulpOstreeClient
|
|
73
75
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
74
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
75
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
78
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
76
79
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
77
80
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
78
81
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -27,6 +27,7 @@ module PulpOstreeClient
|
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
29
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
30
|
+
# @option opts [String] :q
|
30
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
32
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
33
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -46,6 +47,7 @@ module PulpOstreeClient
|
|
46
47
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
47
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
50
|
+
# @option opts [String] :q
|
49
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
52
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
53
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -70,6 +72,7 @@ module PulpOstreeClient
|
|
70
72
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
73
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
74
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
75
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
73
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
77
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
78
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -27,6 +27,7 @@ module PulpOstreeClient
|
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
29
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
30
|
+
# @option opts [String] :q
|
30
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
32
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
33
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -46,6 +47,7 @@ module PulpOstreeClient
|
|
46
47
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
47
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
50
|
+
# @option opts [String] :q
|
49
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
52
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
53
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -70,6 +72,7 @@ module PulpOstreeClient
|
|
70
72
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
73
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
74
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
75
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
73
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
77
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
78
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -28,6 +28,7 @@ module PulpOstreeClient
|
|
28
28
|
# @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) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
31
|
+
# @option opts [String] :q
|
31
32
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
32
33
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
33
34
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -48,6 +49,7 @@ module PulpOstreeClient
|
|
48
49
|
# @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) * `typ` - Typ * `-typ` - Typ (descending) * `checksum` - Checksum * `-checksum` - Checksum (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
49
50
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
50
51
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
52
|
+
# @option opts [String] :q
|
51
53
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
52
54
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
53
55
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -73,6 +75,7 @@ module PulpOstreeClient
|
|
73
75
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
74
76
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
75
77
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
78
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
76
79
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
77
80
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
78
81
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -27,12 +27,15 @@ module PulpOstreeClient
|
|
27
27
|
# @option opts [String] :name Filter results where name matches value
|
28
28
|
# @option opts [String] :name__contains Filter results where name contains value
|
29
29
|
# @option opts [String] :name__icontains Filter results where name contains value
|
30
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
30
31
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
32
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
31
33
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
32
34
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
33
35
|
# @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) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
34
36
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
35
37
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
38
|
+
# @option opts [String] :q
|
36
39
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
37
40
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
38
41
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -52,12 +55,15 @@ module PulpOstreeClient
|
|
52
55
|
# @option opts [String] :name Filter results where name matches value
|
53
56
|
# @option opts [String] :name__contains Filter results where name contains value
|
54
57
|
# @option opts [String] :name__icontains Filter results where name contains value
|
58
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
55
59
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
60
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
56
61
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
57
62
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
58
63
|
# @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) * `name` - Name * `-name` - Name (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
59
64
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
60
65
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
66
|
+
# @option opts [String] :q
|
61
67
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
68
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
63
69
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -82,12 +88,15 @@ module PulpOstreeClient
|
|
82
88
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
83
89
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
84
90
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
91
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
85
92
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
93
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
86
94
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
87
95
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
88
96
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
89
97
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
90
98
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
99
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
91
100
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
92
101
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
93
102
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -27,6 +27,7 @@ module PulpOstreeClient
|
|
27
27
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
29
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
30
|
+
# @option opts [String] :q
|
30
31
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
31
32
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
32
33
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -46,6 +47,7 @@ module PulpOstreeClient
|
|
46
47
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
47
48
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
49
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
50
|
+
# @option opts [String] :q
|
49
51
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
50
52
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
51
53
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -70,6 +72,7 @@ module PulpOstreeClient
|
|
70
72
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
71
73
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
72
74
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
75
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
73
76
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
74
77
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
75
78
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|