pulp_gem_client 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +15 -5
  3. data/docs/ContentGemApi.md +3 -1
  4. data/docs/DistributionsGemApi.md +119 -1
  5. data/docs/PublicationsGemApi.md +3 -1
  6. data/docs/RemotesGemApi.md +119 -1
  7. data/docs/RepositoriesGemApi.md +119 -1
  8. data/docs/RepositoriesGemVersionsApi.md +3 -1
  9. data/docs/SetLabel.md +19 -0
  10. data/docs/SetLabelResponse.md +19 -0
  11. data/docs/UnsetLabel.md +17 -0
  12. data/docs/UnsetLabelResponse.md +19 -0
  13. data/lib/pulp_gem_client/api/content_gem_api.rb +3 -0
  14. data/lib/pulp_gem_client/api/distributions_gem_api.rb +149 -0
  15. data/lib/pulp_gem_client/api/publications_gem_api.rb +3 -0
  16. data/lib/pulp_gem_client/api/remotes_gem_api.rb +149 -0
  17. data/lib/pulp_gem_client/api/repositories_gem_api.rb +149 -0
  18. data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +3 -0
  19. data/lib/pulp_gem_client/configuration.rb +2 -2
  20. data/lib/pulp_gem_client/models/set_label.rb +252 -0
  21. data/lib/pulp_gem_client/models/set_label_response.rb +243 -0
  22. data/lib/pulp_gem_client/models/unset_label.rb +242 -0
  23. data/lib/pulp_gem_client/models/unset_label_response.rb +242 -0
  24. data/lib/pulp_gem_client/version.rb +1 -1
  25. data/lib/pulp_gem_client.rb +4 -0
  26. data/spec/api/content_gem_api_spec.rb +1 -0
  27. data/spec/api/distributions_gem_api_spec.rb +29 -0
  28. data/spec/api/publications_gem_api_spec.rb +1 -0
  29. data/spec/api/remotes_gem_api_spec.rb +29 -0
  30. data/spec/api/repositories_gem_api_spec.rb +29 -0
  31. data/spec/api/repositories_gem_versions_api_spec.rb +1 -0
  32. data/spec/configuration_spec.rb +3 -3
  33. data/spec/models/set_label_response_spec.rb +47 -0
  34. data/spec/models/set_label_spec.rb +47 -0
  35. data/spec/models/unset_label_response_spec.rb +47 -0
  36. data/spec/models/unset_label_spec.rb +41 -0
  37. metadata +37 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b42cd5685cefbfb95d5d792a56830ce9ef304c7fa0b4cd93d45fc0909dd13aa
4
- data.tar.gz: 506b8805b342ce8b8daf63ab603e7315a8593a013ce10b01126642fbf096c4cf
3
+ metadata.gz: 2ae30e9322ed0093cbd9754fa1c74e13d9f7ef911c440ce486f340398812ee1e
4
+ data.tar.gz: f78f5d9d98623c3f7a76d65455599dbc2d1921fa1502e09a11c450cdcbfb1dba
5
5
  SHA512:
6
- metadata.gz: 7813a17993d2c158ec92d20a51a205891012705a2f189f142cf6ac6033a62bef31a38edd6883e005b82567f2747ffb30fedaa15d26fb98dbd4932f4557854442
7
- data.tar.gz: a58db3ffc333561ba72e38d2fd4d67e3fa166c0ebb62549a7968e4cf37f82909bd07321f73084f53c0237d672f70955b59ba565c3e9d2e27742e9e4e41f017a9
6
+ metadata.gz: 5f681c58c03dd069e8d6b1bf4d95fa90b4405f5ba47543ac85f844fbdc0d40507a8ce62afdccee1f80dc1066ec4e5beaddd387a5580270db7df9e5bb201c6ca2
7
+ data.tar.gz: eb96b55fc72807f68678702eb855453049556dc1fac722ac665e6aeb3193596d21beea1b1ca614f6234826146499a2ae50cf35680811e75da2ec7cd4a72999a7
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.2.0
10
+ - Package version: 0.3.0
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_gem_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_gem_client-0.2.0.gem
27
+ gem install ./pulp_gem_client-0.3.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_gem_client-0.2.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_gem_client-0.3.0.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_gem_client', '~> 0.2.0'
36
+ gem 'pulp_gem_client', '~> 0.3.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -83,7 +83,7 @@ end
83
83
 
84
84
  ## Documentation for API Endpoints
85
85
 
86
- All URIs are relative to *https://pulp*
86
+ All URIs are relative to *http://pulp*
87
87
 
88
88
  Class | Method | HTTP request | Description
89
89
  ------------ | ------------- | ------------- | -------------
@@ -95,6 +95,8 @@ Class | Method | HTTP request | Description
95
95
  *PulpGemClient::DistributionsGemApi* | [**list**](docs/DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
96
96
  *PulpGemClient::DistributionsGemApi* | [**partial_update**](docs/DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
97
97
  *PulpGemClient::DistributionsGemApi* | [**read**](docs/DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
98
+ *PulpGemClient::DistributionsGemApi* | [**set_label**](docs/DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
99
+ *PulpGemClient::DistributionsGemApi* | [**unset_label**](docs/DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
98
100
  *PulpGemClient::DistributionsGemApi* | [**update**](docs/DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
99
101
  *PulpGemClient::PublicationsGemApi* | [**create**](docs/PublicationsGemApi.md#create) | **POST** /pulp/api/v3/publications/gem/gem/ | Create a gem publication
100
102
  *PulpGemClient::PublicationsGemApi* | [**delete**](docs/PublicationsGemApi.md#delete) | **DELETE** {gem_gem_publication_href} | Delete a gem publication
@@ -105,6 +107,8 @@ Class | Method | HTTP request | Description
105
107
  *PulpGemClient::RemotesGemApi* | [**list**](docs/RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
106
108
  *PulpGemClient::RemotesGemApi* | [**partial_update**](docs/RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
107
109
  *PulpGemClient::RemotesGemApi* | [**read**](docs/RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
110
+ *PulpGemClient::RemotesGemApi* | [**set_label**](docs/RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
111
+ *PulpGemClient::RemotesGemApi* | [**unset_label**](docs/RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
108
112
  *PulpGemClient::RemotesGemApi* | [**update**](docs/RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem remote
109
113
  *PulpGemClient::RepositoriesGemApi* | [**create**](docs/RepositoriesGemApi.md#create) | **POST** /pulp/api/v3/repositories/gem/gem/ | Create a gem repository
110
114
  *PulpGemClient::RepositoriesGemApi* | [**delete**](docs/RepositoriesGemApi.md#delete) | **DELETE** {gem_gem_repository_href} | Delete a gem repository
@@ -112,7 +116,9 @@ Class | Method | HTTP request | Description
112
116
  *PulpGemClient::RepositoriesGemApi* | [**modify**](docs/RepositoriesGemApi.md#modify) | **POST** {gem_gem_repository_href}modify/ | Modify Repository Content
113
117
  *PulpGemClient::RepositoriesGemApi* | [**partial_update**](docs/RepositoriesGemApi.md#partial_update) | **PATCH** {gem_gem_repository_href} | Update a gem repository
114
118
  *PulpGemClient::RepositoriesGemApi* | [**read**](docs/RepositoriesGemApi.md#read) | **GET** {gem_gem_repository_href} | Inspect a gem repository
119
+ *PulpGemClient::RepositoriesGemApi* | [**set_label**](docs/RepositoriesGemApi.md#set_label) | **POST** {gem_gem_repository_href}set_label/ | Set a label
115
120
  *PulpGemClient::RepositoriesGemApi* | [**sync**](docs/RepositoriesGemApi.md#sync) | **POST** {gem_gem_repository_href}sync/ | Sync from a remote
121
+ *PulpGemClient::RepositoriesGemApi* | [**unset_label**](docs/RepositoriesGemApi.md#unset_label) | **POST** {gem_gem_repository_href}unset_label/ | Unset a label
116
122
  *PulpGemClient::RepositoriesGemApi* | [**update**](docs/RepositoriesGemApi.md#update) | **PUT** {gem_gem_repository_href} | Update a gem repository
117
123
  *PulpGemClient::RepositoriesGemVersionsApi* | [**delete**](docs/RepositoriesGemVersionsApi.md#delete) | **DELETE** {gem_gem_repository_version_href} | Delete a repository version
118
124
  *PulpGemClient::RepositoriesGemVersionsApi* | [**list**](docs/RepositoriesGemVersionsApi.md#list) | **GET** {gem_gem_repository_href}versions/ | List repository versions
@@ -149,6 +155,10 @@ Class | Method | HTTP request | Description
149
155
  - [PulpGemClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
150
156
  - [PulpGemClient::RepositorySyncURL](docs/RepositorySyncURL.md)
151
157
  - [PulpGemClient::RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
158
+ - [PulpGemClient::SetLabel](docs/SetLabel.md)
159
+ - [PulpGemClient::SetLabelResponse](docs/SetLabelResponse.md)
160
+ - [PulpGemClient::UnsetLabel](docs/UnsetLabel.md)
161
+ - [PulpGemClient::UnsetLabelResponse](docs/UnsetLabelResponse.md)
152
162
 
153
163
 
154
164
  ## Documentation for Authorization
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::ContentGemApi
2
2
 
3
- All URIs are relative to *https://pulp*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -99,6 +99,7 @@ opts = {
99
99
  prerelease: true, # Boolean | Filter results where prerelease matches value
100
100
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
101
101
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
102
+ q: 'q_example', # String |
102
103
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
103
104
  repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF
104
105
  repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF
@@ -129,6 +130,7 @@ Name | Type | Description | Notes
129
130
  **prerelease** | **Boolean**| Filter results where prerelease matches value | [optional]
130
131
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
131
132
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
133
+ **q** | **String**| | [optional]
132
134
  **repository_version** | **String**| Repository Version referenced by HREF | [optional]
133
135
  **repository_version_added** | **String**| Repository Version referenced by HREF | [optional]
134
136
  **repository_version_removed** | **String**| Repository Version referenced by HREF | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::DistributionsGemApi
2
2
 
3
- All URIs are relative to *https://pulp*
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**](DistributionsGemApi.md#list) | **GET** /pulp/api/v3/distributions/gem/gem/ | List gem distributions
10
10
  [**partial_update**](DistributionsGemApi.md#partial_update) | **PATCH** {gem_gem_distribution_href} | Update a gem distribution
11
11
  [**read**](DistributionsGemApi.md#read) | **GET** {gem_gem_distribution_href} | Inspect a gem distribution
12
+ [**set_label**](DistributionsGemApi.md#set_label) | **POST** {gem_gem_distribution_href}set_label/ | Set a label
13
+ [**unset_label**](DistributionsGemApi.md#unset_label) | **POST** {gem_gem_distribution_href}unset_label/ | Unset a label
12
14
  [**update**](DistributionsGemApi.md#update) | **PUT** {gem_gem_distribution_href} | Update a gem distribution
13
15
 
14
16
 
@@ -149,13 +151,16 @@ opts = {
149
151
  name: 'name_example', # String | Filter results where name matches value
150
152
  name__contains: 'name__contains_example', # String | Filter results where name contains value
151
153
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
154
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
152
155
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
156
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
153
157
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
154
158
  offset: 56, # Integer | The initial index from which to return the results.
155
159
  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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
156
160
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
157
161
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
158
162
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
163
+ q: 'q_example', # String |
159
164
  repository: 'repository_example', # String | Filter results where repository matches value
160
165
  repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
161
166
  with_content: 'with_content_example', # String | Filter distributions based on the content served by them
@@ -185,13 +190,16 @@ Name | Type | Description | Notes
185
190
  **name** | **String**| Filter results where name matches value | [optional]
186
191
  **name__contains** | **String**| Filter results where name contains value | [optional]
187
192
  **name__icontains** | **String**| Filter results where name contains value | [optional]
193
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
188
194
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
195
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
189
196
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
190
197
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
191
198
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
192
199
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
193
200
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
194
201
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
202
+ **q** | **String**| | [optional]
195
203
  **repository** | [**String**](.md)| Filter results where repository matches value | [optional]
196
204
  **repository__in** | [**Array&lt;String&gt;**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
197
205
  **with_content** | **String**| Filter distributions based on the content served by them | [optional]
@@ -326,6 +334,116 @@ Name | Type | Description | Notes
326
334
  - **Accept**: application/json
327
335
 
328
336
 
337
+ ## set_label
338
+
339
+ > SetLabelResponse set_label(gem_gem_distribution_href, set_label)
340
+
341
+ Set a label
342
+
343
+ Set a single pulp_label on the object to a specific value or null.
344
+
345
+ ### Example
346
+
347
+ ```ruby
348
+ # load the gem
349
+ require 'pulp_gem_client'
350
+ # setup authorization
351
+ PulpGemClient.configure do |config|
352
+ # Configure HTTP basic authorization: basicAuth
353
+ config.username = 'YOUR USERNAME'
354
+ config.password = 'YOUR PASSWORD'
355
+ end
356
+
357
+ api_instance = PulpGemClient::DistributionsGemApi.new
358
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
359
+ set_label = PulpGemClient::SetLabel.new # SetLabel |
360
+
361
+ begin
362
+ #Set a label
363
+ result = api_instance.set_label(gem_gem_distribution_href, set_label)
364
+ p result
365
+ rescue PulpGemClient::ApiError => e
366
+ puts "Exception when calling DistributionsGemApi->set_label: #{e}"
367
+ end
368
+ ```
369
+
370
+ ### Parameters
371
+
372
+
373
+ Name | Type | Description | Notes
374
+ ------------- | ------------- | ------------- | -------------
375
+ **gem_gem_distribution_href** | **String**| |
376
+ **set_label** | [**SetLabel**](SetLabel.md)| |
377
+
378
+ ### Return type
379
+
380
+ [**SetLabelResponse**](SetLabelResponse.md)
381
+
382
+ ### Authorization
383
+
384
+ [basicAuth](../README.md#basicAuth)
385
+
386
+ ### HTTP request headers
387
+
388
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
389
+ - **Accept**: application/json
390
+
391
+
392
+ ## unset_label
393
+
394
+ > UnsetLabelResponse unset_label(gem_gem_distribution_href, unset_label)
395
+
396
+ Unset a label
397
+
398
+ Unset a single pulp_label on the object.
399
+
400
+ ### Example
401
+
402
+ ```ruby
403
+ # load the gem
404
+ require 'pulp_gem_client'
405
+ # setup authorization
406
+ PulpGemClient.configure do |config|
407
+ # Configure HTTP basic authorization: basicAuth
408
+ config.username = 'YOUR USERNAME'
409
+ config.password = 'YOUR PASSWORD'
410
+ end
411
+
412
+ api_instance = PulpGemClient::DistributionsGemApi.new
413
+ gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
414
+ unset_label = PulpGemClient::UnsetLabel.new # UnsetLabel |
415
+
416
+ begin
417
+ #Unset a label
418
+ result = api_instance.unset_label(gem_gem_distribution_href, unset_label)
419
+ p result
420
+ rescue PulpGemClient::ApiError => e
421
+ puts "Exception when calling DistributionsGemApi->unset_label: #{e}"
422
+ end
423
+ ```
424
+
425
+ ### Parameters
426
+
427
+
428
+ Name | Type | Description | Notes
429
+ ------------- | ------------- | ------------- | -------------
430
+ **gem_gem_distribution_href** | **String**| |
431
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
432
+
433
+ ### Return type
434
+
435
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
436
+
437
+ ### Authorization
438
+
439
+ [basicAuth](../README.md#basicAuth)
440
+
441
+ ### HTTP request headers
442
+
443
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
444
+ - **Accept**: application/json
445
+
446
+
329
447
  ## update
330
448
 
331
449
  > AsyncOperationResponse update(gem_gem_distribution_href, gem_gem_distribution)
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::PublicationsGemApi
2
2
 
3
- All URIs are relative to *https://pulp*
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&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
185
186
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
187
  **pulp_id__in** | [**Array&lt;String&gt;**](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&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::RemotesGemApi
2
2
 
3
- All URIs are relative to *https://pulp*
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**](RemotesGemApi.md#list) | **GET** /pulp/api/v3/remotes/gem/gem/ | List gem remotes
10
10
  [**partial_update**](RemotesGemApi.md#partial_update) | **PATCH** {gem_gem_remote_href} | Update a gem remote
11
11
  [**read**](RemotesGemApi.md#read) | **GET** {gem_gem_remote_href} | Inspect a gem remote
12
+ [**set_label**](RemotesGemApi.md#set_label) | **POST** {gem_gem_remote_href}set_label/ | Set a label
13
+ [**unset_label**](RemotesGemApi.md#unset_label) | **POST** {gem_gem_remote_href}unset_label/ | Unset a label
12
14
  [**update**](RemotesGemApi.md#update) | **PUT** {gem_gem_remote_href} | Update a gem 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&lt;String&gt;**](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&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - 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&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
203
+ **q** | **String**| | [optional]
196
204
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
197
205
  **exclude_fields** | [**Array&lt;String&gt;**](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(gem_gem_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_gem_client'
348
+ # setup authorization
349
+ PulpGemClient.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 = PulpGemClient::RemotesGemApi.new
356
+ gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
357
+ set_label = PulpGemClient::SetLabel.new # SetLabel |
358
+
359
+ begin
360
+ #Set a label
361
+ result = api_instance.set_label(gem_gem_remote_href, set_label)
362
+ p result
363
+ rescue PulpGemClient::ApiError => e
364
+ puts "Exception when calling RemotesGemApi->set_label: #{e}"
365
+ end
366
+ ```
367
+
368
+ ### Parameters
369
+
370
+
371
+ Name | Type | Description | Notes
372
+ ------------- | ------------- | ------------- | -------------
373
+ **gem_gem_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(gem_gem_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_gem_client'
403
+ # setup authorization
404
+ PulpGemClient.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 = PulpGemClient::RemotesGemApi.new
411
+ gem_gem_remote_href = 'gem_gem_remote_href_example' # String |
412
+ unset_label = PulpGemClient::UnsetLabel.new # UnsetLabel |
413
+
414
+ begin
415
+ #Unset a label
416
+ result = api_instance.unset_label(gem_gem_remote_href, unset_label)
417
+ p result
418
+ rescue PulpGemClient::ApiError => e
419
+ puts "Exception when calling RemotesGemApi->unset_label: #{e}"
420
+ end
421
+ ```
422
+
423
+ ### Parameters
424
+
425
+
426
+ Name | Type | Description | Notes
427
+ ------------- | ------------- | ------------- | -------------
428
+ **gem_gem_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(gem_gem_remote_href, gem_gem_remote)
@@ -1,6 +1,6 @@
1
1
  # PulpGemClient::RepositoriesGemApi
2
2
 
3
- All URIs are relative to *https://pulp*
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**](RepositoriesGemApi.md#modify) | **POST** {gem_gem_repository_href}modify/ | Modify Repository Content
11
11
  [**partial_update**](RepositoriesGemApi.md#partial_update) | **PATCH** {gem_gem_repository_href} | Update a gem repository
12
12
  [**read**](RepositoriesGemApi.md#read) | **GET** {gem_gem_repository_href} | Inspect a gem repository
13
+ [**set_label**](RepositoriesGemApi.md#set_label) | **POST** {gem_gem_repository_href}set_label/ | Set a label
13
14
  [**sync**](RepositoriesGemApi.md#sync) | **POST** {gem_gem_repository_href}sync/ | Sync from a remote
15
+ [**unset_label**](RepositoriesGemApi.md#unset_label) | **POST** {gem_gem_repository_href}unset_label/ | Unset a label
14
16
  [**update**](RepositoriesGemApi.md#update) | **PUT** {gem_gem_repository_href} | Update a gem repository
15
17
 
16
18
 
@@ -148,13 +150,16 @@ 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__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
152
156
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
153
157
  offset: 56, # Integer | The initial index from which to return the results.
154
158
  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
159
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
156
160
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
157
161
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
162
+ q: 'q_example', # String |
158
163
  remote: 'remote_example', # String | Foreign Key referenced by HREF
159
164
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
160
165
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
@@ -188,13 +193,16 @@ Name | Type | Description | Notes
188
193
  **name** | **String**| Filter results where name matches value | [optional]
189
194
  **name__contains** | **String**| Filter results where name contains value | [optional]
190
195
  **name__icontains** | **String**| Filter results where name contains value | [optional]
196
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
191
197
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
198
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
192
199
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
193
200
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
194
201
  **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
195
202
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
196
203
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
197
204
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
205
+ **q** | **String**| | [optional]
198
206
  **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
199
207
  **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
200
208
  **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
@@ -391,6 +399,61 @@ Name | Type | Description | Notes
391
399
  - **Accept**: application/json
392
400
 
393
401
 
402
+ ## set_label
403
+
404
+ > SetLabelResponse set_label(gem_gem_repository_href, set_label)
405
+
406
+ Set a label
407
+
408
+ Set a single pulp_label on the object to a specific value or null.
409
+
410
+ ### Example
411
+
412
+ ```ruby
413
+ # load the gem
414
+ require 'pulp_gem_client'
415
+ # setup authorization
416
+ PulpGemClient.configure do |config|
417
+ # Configure HTTP basic authorization: basicAuth
418
+ config.username = 'YOUR USERNAME'
419
+ config.password = 'YOUR PASSWORD'
420
+ end
421
+
422
+ api_instance = PulpGemClient::RepositoriesGemApi.new
423
+ gem_gem_repository_href = 'gem_gem_repository_href_example' # String |
424
+ set_label = PulpGemClient::SetLabel.new # SetLabel |
425
+
426
+ begin
427
+ #Set a label
428
+ result = api_instance.set_label(gem_gem_repository_href, set_label)
429
+ p result
430
+ rescue PulpGemClient::ApiError => e
431
+ puts "Exception when calling RepositoriesGemApi->set_label: #{e}"
432
+ end
433
+ ```
434
+
435
+ ### Parameters
436
+
437
+
438
+ Name | Type | Description | Notes
439
+ ------------- | ------------- | ------------- | -------------
440
+ **gem_gem_repository_href** | **String**| |
441
+ **set_label** | [**SetLabel**](SetLabel.md)| |
442
+
443
+ ### Return type
444
+
445
+ [**SetLabelResponse**](SetLabelResponse.md)
446
+
447
+ ### Authorization
448
+
449
+ [basicAuth](../README.md#basicAuth)
450
+
451
+ ### HTTP request headers
452
+
453
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
454
+ - **Accept**: application/json
455
+
456
+
394
457
  ## sync
395
458
 
396
459
  > AsyncOperationResponse sync(gem_gem_repository_href, repository_sync_url)
@@ -446,6 +509,61 @@ Name | Type | Description | Notes
446
509
  - **Accept**: application/json
447
510
 
448
511
 
512
+ ## unset_label
513
+
514
+ > UnsetLabelResponse unset_label(gem_gem_repository_href, unset_label)
515
+
516
+ Unset a label
517
+
518
+ Unset a single pulp_label on the object.
519
+
520
+ ### Example
521
+
522
+ ```ruby
523
+ # load the gem
524
+ require 'pulp_gem_client'
525
+ # setup authorization
526
+ PulpGemClient.configure do |config|
527
+ # Configure HTTP basic authorization: basicAuth
528
+ config.username = 'YOUR USERNAME'
529
+ config.password = 'YOUR PASSWORD'
530
+ end
531
+
532
+ api_instance = PulpGemClient::RepositoriesGemApi.new
533
+ gem_gem_repository_href = 'gem_gem_repository_href_example' # String |
534
+ unset_label = PulpGemClient::UnsetLabel.new # UnsetLabel |
535
+
536
+ begin
537
+ #Unset a label
538
+ result = api_instance.unset_label(gem_gem_repository_href, unset_label)
539
+ p result
540
+ rescue PulpGemClient::ApiError => e
541
+ puts "Exception when calling RepositoriesGemApi->unset_label: #{e}"
542
+ end
543
+ ```
544
+
545
+ ### Parameters
546
+
547
+
548
+ Name | Type | Description | Notes
549
+ ------------- | ------------- | ------------- | -------------
550
+ **gem_gem_repository_href** | **String**| |
551
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
552
+
553
+ ### Return type
554
+
555
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
556
+
557
+ ### Authorization
558
+
559
+ [basicAuth](../README.md#basicAuth)
560
+
561
+ ### HTTP request headers
562
+
563
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
564
+ - **Accept**: application/json
565
+
566
+
449
567
  ## update
450
568
 
451
569
  > AsyncOperationResponse update(gem_gem_repository_href, gem_gem_repository)