pulp_rpm_client 3.22.3 → 3.22.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -29
  3. data/docs/AcsRpmApi.md +23 -9
  4. data/docs/ContentAdvisoriesApi.md +3 -1
  5. data/docs/ContentDistributionTreesApi.md +3 -1
  6. data/docs/ContentModulemdDefaultsApi.md +3 -1
  7. data/docs/ContentModulemdObsoletesApi.md +3 -1
  8. data/docs/ContentModulemdsApi.md +3 -1
  9. data/docs/ContentPackagecategoriesApi.md +3 -1
  10. data/docs/ContentPackageenvironmentsApi.md +3 -1
  11. data/docs/ContentPackagegroupsApi.md +3 -1
  12. data/docs/ContentPackagelangpacksApi.md +3 -1
  13. data/docs/ContentPackagesApi.md +3 -1
  14. data/docs/ContentRepoMetadataFilesApi.md +3 -1
  15. data/docs/DistributionsRpmApi.md +136 -10
  16. data/docs/PublicationsRpmApi.md +15 -9
  17. data/docs/RemotesRpmApi.md +135 -9
  18. data/docs/RemotesUlnApi.md +135 -9
  19. data/docs/RepositoriesRpmApi.md +136 -10
  20. data/docs/RepositoriesRpmVersionsApi.md +3 -1
  21. data/docs/RpmCompsApi.md +1 -1
  22. data/docs/RpmCopyApi.md +1 -1
  23. data/docs/SetLabel.md +19 -0
  24. data/docs/SetLabelResponse.md +19 -0
  25. data/docs/UnsetLabel.md +17 -0
  26. data/docs/UnsetLabelResponse.md +19 -0
  27. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +23 -0
  28. data/lib/pulp_rpm_client/api/content_advisories_api.rb +3 -0
  29. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -0
  30. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +3 -0
  31. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +3 -0
  32. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +3 -0
  33. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -0
  34. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -0
  35. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -0
  36. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -0
  37. data/lib/pulp_rpm_client/api/content_packages_api.rb +3 -0
  38. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -0
  39. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +163 -0
  40. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +11 -0
  41. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +163 -0
  42. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +163 -0
  43. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +163 -0
  44. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -0
  45. data/lib/pulp_rpm_client/configuration.rb +2 -2
  46. data/lib/pulp_rpm_client/models/set_label.rb +252 -0
  47. data/lib/pulp_rpm_client/models/set_label_response.rb +243 -0
  48. data/lib/pulp_rpm_client/models/unset_label.rb +242 -0
  49. data/lib/pulp_rpm_client/models/unset_label_response.rb +242 -0
  50. data/lib/pulp_rpm_client/version.rb +1 -1
  51. data/lib/pulp_rpm_client.rb +4 -0
  52. data/spec/api/acs_rpm_api_spec.rb +9 -0
  53. data/spec/api/content_advisories_api_spec.rb +1 -0
  54. data/spec/api/content_distribution_trees_api_spec.rb +1 -0
  55. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -0
  56. data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -0
  57. data/spec/api/content_modulemds_api_spec.rb +1 -0
  58. data/spec/api/content_packagecategories_api_spec.rb +1 -0
  59. data/spec/api/content_packageenvironments_api_spec.rb +1 -0
  60. data/spec/api/content_packagegroups_api_spec.rb +1 -0
  61. data/spec/api/content_packagelangpacks_api_spec.rb +1 -0
  62. data/spec/api/content_packages_api_spec.rb +1 -0
  63. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -0
  64. data/spec/api/distributions_rpm_api_spec.rb +35 -0
  65. data/spec/api/publications_rpm_api_spec.rb +5 -0
  66. data/spec/api/remotes_rpm_api_spec.rb +35 -0
  67. data/spec/api/remotes_uln_api_spec.rb +35 -0
  68. data/spec/api/repositories_rpm_api_spec.rb +35 -0
  69. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -0
  70. data/spec/configuration_spec.rb +3 -3
  71. data/spec/models/set_label_response_spec.rb +47 -0
  72. data/spec/models/set_label_spec.rb +47 -0
  73. data/spec/models/unset_label_response_spec.rb +47 -0
  74. data/spec/models/unset_label_spec.rb +41 -0
  75. metadata +95 -79
@@ -1,18 +1,20 @@
1
1
  # PulpRpmClient::RemotesUlnApi
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
  ------------- | ------------- | -------------
7
- [**add_role**](RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ |
7
+ [**add_role**](RemotesUlnApi.md#add_role) | **POST** {rpm_uln_remote_href}add_role/ | Add a role
8
8
  [**create**](RemotesUlnApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/uln/ | Create an uln remote
9
9
  [**delete**](RemotesUlnApi.md#delete) | **DELETE** {rpm_uln_remote_href} | Delete an uln remote
10
10
  [**list**](RemotesUlnApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/uln/ | List uln remotes
11
- [**list_roles**](RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ |
12
- [**my_permissions**](RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ |
11
+ [**list_roles**](RemotesUlnApi.md#list_roles) | **GET** {rpm_uln_remote_href}list_roles/ | List roles
12
+ [**my_permissions**](RemotesUlnApi.md#my_permissions) | **GET** {rpm_uln_remote_href}my_permissions/ | List user permissions
13
13
  [**partial_update**](RemotesUlnApi.md#partial_update) | **PATCH** {rpm_uln_remote_href} | Update an uln remote
14
14
  [**read**](RemotesUlnApi.md#read) | **GET** {rpm_uln_remote_href} | Inspect an uln remote
15
- [**remove_role**](RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ |
15
+ [**remove_role**](RemotesUlnApi.md#remove_role) | **POST** {rpm_uln_remote_href}remove_role/ | Remove a role
16
+ [**set_label**](RemotesUlnApi.md#set_label) | **POST** {rpm_uln_remote_href}set_label/ | Set a label
17
+ [**unset_label**](RemotesUlnApi.md#unset_label) | **POST** {rpm_uln_remote_href}unset_label/ | Unset a label
16
18
  [**update**](RemotesUlnApi.md#update) | **PUT** {rpm_uln_remote_href} | Update an uln remote
17
19
 
18
20
 
@@ -21,7 +23,7 @@ Method | HTTP request | Description
21
23
 
22
24
  > NestedRoleResponse add_role(rpm_uln_remote_href, nested_role)
23
25
 
24
-
26
+ Add a role
25
27
 
26
28
  Add a role for this object to users/groups.
27
29
 
@@ -42,6 +44,7 @@ rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
42
44
  nested_role = PulpRpmClient::NestedRole.new # NestedRole |
43
45
 
44
46
  begin
47
+ #Add a role
45
48
  result = api_instance.add_role(rpm_uln_remote_href, nested_role)
46
49
  p result
47
50
  rescue PulpRpmClient::ApiError => e
@@ -203,7 +206,11 @@ opts = {
203
206
  name: 'name_example', # String | Filter results where name matches value
204
207
  name__contains: 'name__contains_example', # String | Filter results where name contains value
205
208
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
209
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
206
210
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
211
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
212
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
213
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
207
214
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
208
215
  offset: 56, # Integer | The initial index from which to return the results.
209
216
  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)
@@ -216,6 +223,7 @@ opts = {
216
223
  pulp_last_updated__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than value
217
224
  pulp_last_updated__lte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is less than or equal to value
218
225
  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
226
+ q: 'q_example', # String |
219
227
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
220
228
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
221
229
  }
@@ -238,7 +246,11 @@ Name | Type | Description | Notes
238
246
  **name** | **String**| Filter results where name matches value | [optional]
239
247
  **name__contains** | **String**| Filter results where name contains value | [optional]
240
248
  **name__icontains** | **String**| Filter results where name contains value | [optional]
249
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
241
250
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
251
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
252
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
253
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
242
254
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
243
255
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
244
256
  **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]
@@ -251,6 +263,7 @@ Name | Type | Description | Notes
251
263
  **pulp_last_updated__lt** | **DateTime**| Filter results where pulp_last_updated is less than value | [optional]
252
264
  **pulp_last_updated__lte** | **DateTime**| Filter results where pulp_last_updated is less than or equal to value | [optional]
253
265
  **pulp_last_updated__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_last_updated is between two comma separated values | [optional]
266
+ **q** | **String**| | [optional]
254
267
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
255
268
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
256
269
 
@@ -272,7 +285,7 @@ Name | Type | Description | Notes
272
285
 
273
286
  > ObjectRolesResponse list_roles(rpm_uln_remote_href, opts)
274
287
 
275
-
288
+ List roles
276
289
 
277
290
  List roles assigned to this object.
278
291
 
@@ -296,6 +309,7 @@ opts = {
296
309
  }
297
310
 
298
311
  begin
312
+ #List roles
299
313
  result = api_instance.list_roles(rpm_uln_remote_href, opts)
300
314
  p result
301
315
  rescue PulpRpmClient::ApiError => e
@@ -330,7 +344,7 @@ Name | Type | Description | Notes
330
344
 
331
345
  > MyPermissionsResponse my_permissions(rpm_uln_remote_href, opts)
332
346
 
333
-
347
+ List user permissions
334
348
 
335
349
  List permissions available to the current user on this object.
336
350
 
@@ -354,6 +368,7 @@ opts = {
354
368
  }
355
369
 
356
370
  begin
371
+ #List user permissions
357
372
  result = api_instance.my_permissions(rpm_uln_remote_href, opts)
358
373
  p result
359
374
  rescue PulpRpmClient::ApiError => e
@@ -502,7 +517,7 @@ Name | Type | Description | Notes
502
517
 
503
518
  > NestedRoleResponse remove_role(rpm_uln_remote_href, nested_role)
504
519
 
505
-
520
+ Remove a role
506
521
 
507
522
  Remove a role for this object from users/groups.
508
523
 
@@ -523,6 +538,7 @@ rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
523
538
  nested_role = PulpRpmClient::NestedRole.new # NestedRole |
524
539
 
525
540
  begin
541
+ #Remove a role
526
542
  result = api_instance.remove_role(rpm_uln_remote_href, nested_role)
527
543
  p result
528
544
  rescue PulpRpmClient::ApiError => e
@@ -552,6 +568,116 @@ Name | Type | Description | Notes
552
568
  - **Accept**: application/json
553
569
 
554
570
 
571
+ ## set_label
572
+
573
+ > SetLabelResponse set_label(rpm_uln_remote_href, set_label)
574
+
575
+ Set a label
576
+
577
+ Set a single pulp_label on the object to a specific value or null.
578
+
579
+ ### Example
580
+
581
+ ```ruby
582
+ # load the gem
583
+ require 'pulp_rpm_client'
584
+ # setup authorization
585
+ PulpRpmClient.configure do |config|
586
+ # Configure HTTP basic authorization: basicAuth
587
+ config.username = 'YOUR USERNAME'
588
+ config.password = 'YOUR PASSWORD'
589
+ end
590
+
591
+ api_instance = PulpRpmClient::RemotesUlnApi.new
592
+ rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
593
+ set_label = PulpRpmClient::SetLabel.new # SetLabel |
594
+
595
+ begin
596
+ #Set a label
597
+ result = api_instance.set_label(rpm_uln_remote_href, set_label)
598
+ p result
599
+ rescue PulpRpmClient::ApiError => e
600
+ puts "Exception when calling RemotesUlnApi->set_label: #{e}"
601
+ end
602
+ ```
603
+
604
+ ### Parameters
605
+
606
+
607
+ Name | Type | Description | Notes
608
+ ------------- | ------------- | ------------- | -------------
609
+ **rpm_uln_remote_href** | **String**| |
610
+ **set_label** | [**SetLabel**](SetLabel.md)| |
611
+
612
+ ### Return type
613
+
614
+ [**SetLabelResponse**](SetLabelResponse.md)
615
+
616
+ ### Authorization
617
+
618
+ [basicAuth](../README.md#basicAuth)
619
+
620
+ ### HTTP request headers
621
+
622
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
623
+ - **Accept**: application/json
624
+
625
+
626
+ ## unset_label
627
+
628
+ > UnsetLabelResponse unset_label(rpm_uln_remote_href, unset_label)
629
+
630
+ Unset a label
631
+
632
+ Unset a single pulp_label on the object.
633
+
634
+ ### Example
635
+
636
+ ```ruby
637
+ # load the gem
638
+ require 'pulp_rpm_client'
639
+ # setup authorization
640
+ PulpRpmClient.configure do |config|
641
+ # Configure HTTP basic authorization: basicAuth
642
+ config.username = 'YOUR USERNAME'
643
+ config.password = 'YOUR PASSWORD'
644
+ end
645
+
646
+ api_instance = PulpRpmClient::RemotesUlnApi.new
647
+ rpm_uln_remote_href = 'rpm_uln_remote_href_example' # String |
648
+ unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
649
+
650
+ begin
651
+ #Unset a label
652
+ result = api_instance.unset_label(rpm_uln_remote_href, unset_label)
653
+ p result
654
+ rescue PulpRpmClient::ApiError => e
655
+ puts "Exception when calling RemotesUlnApi->unset_label: #{e}"
656
+ end
657
+ ```
658
+
659
+ ### Parameters
660
+
661
+
662
+ Name | Type | Description | Notes
663
+ ------------- | ------------- | ------------- | -------------
664
+ **rpm_uln_remote_href** | **String**| |
665
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
666
+
667
+ ### Return type
668
+
669
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
670
+
671
+ ### Authorization
672
+
673
+ [basicAuth](../README.md#basicAuth)
674
+
675
+ ### HTTP request headers
676
+
677
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
678
+ - **Accept**: application/json
679
+
680
+
555
681
  ## update
556
682
 
557
683
  > AsyncOperationResponse update(rpm_uln_remote_href, rpm_uln_remote)
@@ -1,20 +1,22 @@
1
1
  # PulpRpmClient::RepositoriesRpmApi
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
  ------------- | ------------- | -------------
7
- [**add_role**](RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ |
7
+ [**add_role**](RepositoriesRpmApi.md#add_role) | **POST** {rpm_rpm_repository_href}add_role/ | Add a role
8
8
  [**create**](RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
9
9
  [**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_rpm_repository_href} | Delete a rpm repository
10
10
  [**list**](RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
11
- [**list_roles**](RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ |
11
+ [**list_roles**](RepositoriesRpmApi.md#list_roles) | **GET** {rpm_rpm_repository_href}list_roles/ | List roles
12
12
  [**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_rpm_repository_href}modify/ | Modify Repository Content
13
- [**my_permissions**](RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ |
13
+ [**my_permissions**](RepositoriesRpmApi.md#my_permissions) | **GET** {rpm_rpm_repository_href}my_permissions/ | List user permissions
14
14
  [**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_repository_href} | Update a rpm repository
15
15
  [**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_rpm_repository_href} | Inspect a rpm repository
16
- [**remove_role**](RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ |
16
+ [**remove_role**](RepositoriesRpmApi.md#remove_role) | **POST** {rpm_rpm_repository_href}remove_role/ | Remove a role
17
+ [**set_label**](RepositoriesRpmApi.md#set_label) | **POST** {rpm_rpm_repository_href}set_label/ | Set a label
17
18
  [**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_rpm_repository_href}sync/ | Sync from remote
19
+ [**unset_label**](RepositoriesRpmApi.md#unset_label) | **POST** {rpm_rpm_repository_href}unset_label/ | Unset a label
18
20
  [**update**](RepositoriesRpmApi.md#update) | **PUT** {rpm_rpm_repository_href} | Update a rpm repository
19
21
 
20
22
 
@@ -23,7 +25,7 @@ Method | HTTP request | Description
23
25
 
24
26
  > NestedRoleResponse add_role(rpm_rpm_repository_href, nested_role)
25
27
 
26
-
28
+ Add a role
27
29
 
28
30
  Add a role for this object to users/groups.
29
31
 
@@ -44,6 +46,7 @@ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
44
46
  nested_role = PulpRpmClient::NestedRole.new # NestedRole |
45
47
 
46
48
  begin
49
+ #Add a role
47
50
  result = api_instance.add_role(rpm_rpm_repository_href, nested_role)
48
51
  p result
49
52
  rescue PulpRpmClient::ApiError => e
@@ -206,13 +209,18 @@ opts = {
206
209
  name: 'name_example', # String | Filter results where name matches value
207
210
  name__contains: 'name__contains_example', # String | Filter results where name contains value
208
211
  name__icontains: 'name__icontains_example', # String | Filter results where name contains value
212
+ name__iexact: 'name__iexact_example', # String | Filter results where name matches value
209
213
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
214
+ name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
215
+ name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
216
+ name__regex: 'name__regex_example', # String | Filter results where name matches regex value
210
217
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
211
218
  offset: 56, # Integer | The initial index from which to return the results.
212
219
  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)
213
220
  pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
214
221
  pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
215
222
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
223
+ q: 'q_example', # String |
216
224
  remote: 'remote_example', # String | Foreign Key referenced by HREF
217
225
  retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
218
226
  retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
@@ -246,14 +254,19 @@ Name | Type | Description | Notes
246
254
  **name** | **String**| Filter results where name matches value | [optional]
247
255
  **name__contains** | **String**| Filter results where name contains value | [optional]
248
256
  **name__icontains** | **String**| Filter results where name contains value | [optional]
257
+ **name__iexact** | **String**| Filter results where name matches value | [optional]
249
258
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
259
+ **name__iregex** | **String**| Filter results where name matches regex value | [optional]
260
+ **name__istartswith** | **String**| Filter results where name starts with value | [optional]
261
+ **name__regex** | **String**| Filter results where name matches regex value | [optional]
250
262
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
251
263
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
252
264
  **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]
253
265
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
254
266
  **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
255
267
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
256
- **remote** | **String**| Foreign Key referenced by HREF | [optional]
268
+ **q** | **String**| | [optional]
269
+ **remote** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
257
270
  **retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
258
271
  **retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
259
272
  **retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
@@ -284,7 +297,7 @@ Name | Type | Description | Notes
284
297
 
285
298
  > ObjectRolesResponse list_roles(rpm_rpm_repository_href, opts)
286
299
 
287
-
300
+ List roles
288
301
 
289
302
  List roles assigned to this object.
290
303
 
@@ -308,6 +321,7 @@ opts = {
308
321
  }
309
322
 
310
323
  begin
324
+ #List roles
311
325
  result = api_instance.list_roles(rpm_rpm_repository_href, opts)
312
326
  p result
313
327
  rescue PulpRpmClient::ApiError => e
@@ -397,7 +411,7 @@ Name | Type | Description | Notes
397
411
 
398
412
  > MyPermissionsResponse my_permissions(rpm_rpm_repository_href, opts)
399
413
 
400
-
414
+ List user permissions
401
415
 
402
416
  List permissions available to the current user on this object.
403
417
 
@@ -421,6 +435,7 @@ opts = {
421
435
  }
422
436
 
423
437
  begin
438
+ #List user permissions
424
439
  result = api_instance.my_permissions(rpm_rpm_repository_href, opts)
425
440
  p result
426
441
  rescue PulpRpmClient::ApiError => e
@@ -569,7 +584,7 @@ Name | Type | Description | Notes
569
584
 
570
585
  > NestedRoleResponse remove_role(rpm_rpm_repository_href, nested_role)
571
586
 
572
-
587
+ Remove a role
573
588
 
574
589
  Remove a role for this object from users/groups.
575
590
 
@@ -590,6 +605,7 @@ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
590
605
  nested_role = PulpRpmClient::NestedRole.new # NestedRole |
591
606
 
592
607
  begin
608
+ #Remove a role
593
609
  result = api_instance.remove_role(rpm_rpm_repository_href, nested_role)
594
610
  p result
595
611
  rescue PulpRpmClient::ApiError => e
@@ -619,6 +635,61 @@ Name | Type | Description | Notes
619
635
  - **Accept**: application/json
620
636
 
621
637
 
638
+ ## set_label
639
+
640
+ > SetLabelResponse set_label(rpm_rpm_repository_href, set_label)
641
+
642
+ Set a label
643
+
644
+ Set a single pulp_label on the object to a specific value or null.
645
+
646
+ ### Example
647
+
648
+ ```ruby
649
+ # load the gem
650
+ require 'pulp_rpm_client'
651
+ # setup authorization
652
+ PulpRpmClient.configure do |config|
653
+ # Configure HTTP basic authorization: basicAuth
654
+ config.username = 'YOUR USERNAME'
655
+ config.password = 'YOUR PASSWORD'
656
+ end
657
+
658
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
659
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
660
+ set_label = PulpRpmClient::SetLabel.new # SetLabel |
661
+
662
+ begin
663
+ #Set a label
664
+ result = api_instance.set_label(rpm_rpm_repository_href, set_label)
665
+ p result
666
+ rescue PulpRpmClient::ApiError => e
667
+ puts "Exception when calling RepositoriesRpmApi->set_label: #{e}"
668
+ end
669
+ ```
670
+
671
+ ### Parameters
672
+
673
+
674
+ Name | Type | Description | Notes
675
+ ------------- | ------------- | ------------- | -------------
676
+ **rpm_rpm_repository_href** | **String**| |
677
+ **set_label** | [**SetLabel**](SetLabel.md)| |
678
+
679
+ ### Return type
680
+
681
+ [**SetLabelResponse**](SetLabelResponse.md)
682
+
683
+ ### Authorization
684
+
685
+ [basicAuth](../README.md#basicAuth)
686
+
687
+ ### HTTP request headers
688
+
689
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
690
+ - **Accept**: application/json
691
+
692
+
622
693
  ## sync
623
694
 
624
695
  > AsyncOperationResponse sync(rpm_rpm_repository_href, rpm_repository_sync_url)
@@ -674,6 +745,61 @@ Name | Type | Description | Notes
674
745
  - **Accept**: application/json
675
746
 
676
747
 
748
+ ## unset_label
749
+
750
+ > UnsetLabelResponse unset_label(rpm_rpm_repository_href, unset_label)
751
+
752
+ Unset a label
753
+
754
+ Unset a single pulp_label on the object.
755
+
756
+ ### Example
757
+
758
+ ```ruby
759
+ # load the gem
760
+ require 'pulp_rpm_client'
761
+ # setup authorization
762
+ PulpRpmClient.configure do |config|
763
+ # Configure HTTP basic authorization: basicAuth
764
+ config.username = 'YOUR USERNAME'
765
+ config.password = 'YOUR PASSWORD'
766
+ end
767
+
768
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
769
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String |
770
+ unset_label = PulpRpmClient::UnsetLabel.new # UnsetLabel |
771
+
772
+ begin
773
+ #Unset a label
774
+ result = api_instance.unset_label(rpm_rpm_repository_href, unset_label)
775
+ p result
776
+ rescue PulpRpmClient::ApiError => e
777
+ puts "Exception when calling RepositoriesRpmApi->unset_label: #{e}"
778
+ end
779
+ ```
780
+
781
+ ### Parameters
782
+
783
+
784
+ Name | Type | Description | Notes
785
+ ------------- | ------------- | ------------- | -------------
786
+ **rpm_rpm_repository_href** | **String**| |
787
+ **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
788
+
789
+ ### Return type
790
+
791
+ [**UnsetLabelResponse**](UnsetLabelResponse.md)
792
+
793
+ ### Authorization
794
+
795
+ [basicAuth](../README.md#basicAuth)
796
+
797
+ ### HTTP request headers
798
+
799
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
800
+ - **Accept**: application/json
801
+
802
+
677
803
  ## update
678
804
 
679
805
  > AsyncOperationResponse update(rpm_rpm_repository_href, rpm_rpm_repository)
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RepositoriesRpmVersionsApi
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
  ------------- | ------------- | -------------
@@ -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&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
144
145
  **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
146
+ **q** | **String**| | [optional]
145
147
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
146
148
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
147
149
 
data/docs/RpmCompsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCompsApi
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
  ------------- | ------------- | -------------
data/docs/RpmCopyApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpRpmClient::RpmCopyApi
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
  ------------- | ------------- | -------------
data/docs/SetLabel.md ADDED
@@ -0,0 +1,19 @@
1
+ # PulpRpmClient::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 'PulpRpmClient'
14
+
15
+ instance = PulpRpmClient::SetLabel.new(key: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,19 @@
1
+ # PulpRpmClient::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 'PulpRpmClient'
14
+
15
+ instance = PulpRpmClient::SetLabelResponse.new(key: null,
16
+ value: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,17 @@
1
+ # PulpRpmClient::UnsetLabel
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **key** | **String** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpRpmClient'
13
+
14
+ instance = PulpRpmClient::UnsetLabel.new(key: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,19 @@
1
+ # PulpRpmClient::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 'PulpRpmClient'
14
+
15
+ instance = PulpRpmClient::UnsetLabelResponse.new(key: null,
16
+ value: null)
17
+ ```
18
+
19
+