pulp_rpm_client 3.18.19 → 3.19.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 (101) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +36 -8
  3. data/docs/AcsRpmApi.md +230 -6
  4. data/docs/ContentAdvisoriesApi.md +2 -6
  5. data/docs/ContentDistributionTreesApi.md +2 -6
  6. data/docs/ContentModulemdDefaultsApi.md +2 -6
  7. data/docs/ContentModulemdObsoletesApi.md +2 -6
  8. data/docs/ContentModulemdsApi.md +2 -6
  9. data/docs/ContentPackagecategoriesApi.md +2 -6
  10. data/docs/ContentPackageenvironmentsApi.md +2 -6
  11. data/docs/ContentPackagegroupsApi.md +2 -6
  12. data/docs/ContentPackagelangpacksApi.md +2 -6
  13. data/docs/ContentPackagesApi.md +4 -8
  14. data/docs/ContentRepoMetadataFilesApi.md +2 -6
  15. data/docs/DistributionsRpmApi.md +230 -10
  16. data/docs/MyPermissionsResponse.md +17 -0
  17. data/docs/NestedRole.md +21 -0
  18. data/docs/NestedRoleResponse.md +21 -0
  19. data/docs/ObjectRolesResponse.md +17 -0
  20. data/docs/PatchedrpmRpmRemote.md +1 -1
  21. data/docs/PatchedrpmRpmRepository.md +3 -3
  22. data/docs/PatchedrpmUlnRemote.md +1 -1
  23. data/docs/PublicationsRpmApi.md +230 -6
  24. data/docs/RemotesRpmApi.md +230 -6
  25. data/docs/RemotesUlnApi.md +230 -6
  26. data/docs/RepositoriesRpmApi.md +230 -22
  27. data/docs/RepositoriesRpmVersionsApi.md +2 -4
  28. data/docs/RepositoryAddRemoveContent.md +2 -2
  29. data/docs/RpmModulemdObsolete.md +2 -2
  30. data/docs/RpmModulemdObsoleteResponse.md +2 -2
  31. data/docs/RpmRepositorySyncURL.md +1 -1
  32. data/docs/RpmRpmPublication.md +2 -2
  33. data/docs/RpmRpmPublicationResponse.md +2 -2
  34. data/docs/RpmRpmRemote.md +1 -1
  35. data/docs/RpmRpmRemoteResponse.md +1 -1
  36. data/docs/RpmRpmRepository.md +3 -3
  37. data/docs/RpmRpmRepositoryResponse.md +3 -3
  38. data/docs/RpmUlnRemote.md +1 -1
  39. data/docs/RpmUlnRemoteResponse.md +1 -1
  40. data/lib/pulp_rpm_client/api/acs_rpm_api.rb +270 -8
  41. data/lib/pulp_rpm_client/api/content_advisories_api.rb +2 -8
  42. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +2 -8
  43. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +2 -8
  44. data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +2 -8
  45. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +2 -8
  46. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +2 -8
  47. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +2 -8
  48. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +2 -8
  49. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +2 -8
  50. data/lib/pulp_rpm_client/api/content_packages_api.rb +4 -10
  51. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +2 -8
  52. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +270 -14
  53. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +270 -8
  54. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +270 -8
  55. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +270 -8
  56. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +270 -32
  57. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +2 -5
  58. data/lib/pulp_rpm_client/models/my_permissions_response.rb +213 -0
  59. data/lib/pulp_rpm_client/models/nested_role.rb +234 -0
  60. data/lib/pulp_rpm_client/models/nested_role_response.rb +234 -0
  61. data/lib/pulp_rpm_client/models/object_roles_response.rb +213 -0
  62. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
  63. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +3 -3
  64. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
  65. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +2 -2
  66. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +36 -2
  67. data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +2 -2
  68. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
  69. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +2 -2
  70. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +2 -2
  71. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
  72. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
  73. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +3 -3
  74. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +3 -3
  75. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
  76. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
  77. data/lib/pulp_rpm_client/version.rb +1 -1
  78. data/lib/pulp_rpm_client.rb +4 -0
  79. data/spec/api/acs_rpm_api_spec.rb +51 -3
  80. data/spec/api/content_advisories_api_spec.rb +1 -3
  81. data/spec/api/content_distribution_trees_api_spec.rb +1 -3
  82. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -3
  83. data/spec/api/content_modulemd_obsoletes_api_spec.rb +1 -3
  84. data/spec/api/content_modulemds_api_spec.rb +1 -3
  85. data/spec/api/content_packagecategories_api_spec.rb +1 -3
  86. data/spec/api/content_packageenvironments_api_spec.rb +1 -3
  87. data/spec/api/content_packagegroups_api_spec.rb +1 -3
  88. data/spec/api/content_packagelangpacks_api_spec.rb +1 -3
  89. data/spec/api/content_packages_api_spec.rb +2 -4
  90. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -3
  91. data/spec/api/distributions_rpm_api_spec.rb +51 -5
  92. data/spec/api/publications_rpm_api_spec.rb +51 -3
  93. data/spec/api/remotes_rpm_api_spec.rb +51 -3
  94. data/spec/api/remotes_uln_api_spec.rb +51 -3
  95. data/spec/api/repositories_rpm_api_spec.rb +51 -11
  96. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -2
  97. data/spec/models/my_permissions_response_spec.rb +41 -0
  98. data/spec/models/nested_role_response_spec.rb +53 -0
  99. data/spec/models/nested_role_spec.rb +53 -0
  100. data/spec/models/object_roles_response_spec.rb +41 -0
  101. metadata +90 -74
@@ -4,13 +4,71 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](PublicationsRpmApi.md#add_role) | **POST** {rpm_rpm_publication_href}add_role/ |
7
8
  [**create**](PublicationsRpmApi.md#create) | **POST** /pulp/api/v3/publications/rpm/rpm/ | Create a rpm publication
8
9
  [**delete**](PublicationsRpmApi.md#delete) | **DELETE** {rpm_rpm_publication_href} | Delete a rpm publication
9
10
  [**list**](PublicationsRpmApi.md#list) | **GET** /pulp/api/v3/publications/rpm/rpm/ | List rpm publications
11
+ [**list_roles**](PublicationsRpmApi.md#list_roles) | **GET** {rpm_rpm_publication_href}list_roles/ |
12
+ [**my_permissions**](PublicationsRpmApi.md#my_permissions) | **GET** {rpm_rpm_publication_href}my_permissions/ |
10
13
  [**read**](PublicationsRpmApi.md#read) | **GET** {rpm_rpm_publication_href} | Inspect a rpm publication
14
+ [**remove_role**](PublicationsRpmApi.md#remove_role) | **POST** {rpm_rpm_publication_href}remove_role/ |
11
15
 
12
16
 
13
17
 
18
+ ## add_role
19
+
20
+ > NestedRoleResponse add_role(rpm_rpm_publication_href, nested_role)
21
+
22
+
23
+
24
+ Add a role for this object to users/groups.
25
+
26
+ ### Example
27
+
28
+ ```ruby
29
+ # load the gem
30
+ require 'pulp_rpm_client'
31
+ # setup authorization
32
+ PulpRpmClient.configure do |config|
33
+ # Configure HTTP basic authorization: basicAuth
34
+ config.username = 'YOUR USERNAME'
35
+ config.password = 'YOUR PASSWORD'
36
+ end
37
+
38
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
39
+ rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
40
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
41
+
42
+ begin
43
+ result = api_instance.add_role(rpm_rpm_publication_href, nested_role)
44
+ p result
45
+ rescue PulpRpmClient::ApiError => e
46
+ puts "Exception when calling PublicationsRpmApi->add_role: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **rpm_rpm_publication_href** | **String**| |
56
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
57
+
58
+ ### Return type
59
+
60
+ [**NestedRoleResponse**](NestedRoleResponse.md)
61
+
62
+ ### Authorization
63
+
64
+ [basicAuth](../README.md#basicAuth)
65
+
66
+ ### HTTP request headers
67
+
68
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
69
+ - **Accept**: application/json
70
+
71
+
14
72
  ## create
15
73
 
16
74
  > AsyncOperationResponse create(rpm_rpm_publication)
@@ -142,15 +200,13 @@ opts = {
142
200
  content__in: 'content__in_example', # String | Content Unit referenced by HREF
143
201
  limit: 56, # Integer | Number of results to return per page.
144
202
  offset: 56, # Integer | The initial index from which to return the results.
145
- 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) * `complete` - Complete * `-complete` - Complete (descending) * `pass_through` - Pass through * `-pass_through` - Pass through (descending) * `pk` - Pk * `-pk` - Pk (descending)
203
+ ordering: ['ordering_example'], # Array<String> | Ordering
146
204
  pulp_created: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created matches value
147
205
  pulp_created__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than value
148
206
  pulp_created__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is greater than or equal to value
149
207
  pulp_created__lt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_created is less than value
150
208
  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
151
209
  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
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
154
210
  repository: 'repository_example', # String | Repository referenced by HREF
155
211
  repository_version: 'repository_version_example', # String | Repository Version referenced by HREF
156
212
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
@@ -175,15 +231,13 @@ Name | Type | Description | Notes
175
231
  **content__in** | **String**| Content Unit referenced by HREF | [optional]
176
232
  **limit** | **Integer**| Number of results to return per page. | [optional]
177
233
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
178
- **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;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional]
234
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
179
235
  **pulp_created** | **DateTime**| Filter results where pulp_created matches value | [optional]
180
236
  **pulp_created__gt** | **DateTime**| Filter results where pulp_created is greater than value | [optional]
181
237
  **pulp_created__gte** | **DateTime**| Filter results where pulp_created is greater than or equal to value | [optional]
182
238
  **pulp_created__lt** | **DateTime**| Filter results where pulp_created is less than value | [optional]
183
239
  **pulp_created__lte** | **DateTime**| Filter results where pulp_created is less than or equal to value | [optional]
184
240
  **pulp_created__range** | [**Array&lt;DateTime&gt;**](DateTime.md)| Filter results where pulp_created is between two comma separated values | [optional]
185
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
186
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
187
241
  **repository** | **String**| Repository referenced by HREF | [optional]
188
242
  **repository_version** | [**String**](.md)| Repository Version referenced by HREF | [optional]
189
243
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
@@ -203,6 +257,122 @@ Name | Type | Description | Notes
203
257
  - **Accept**: application/json
204
258
 
205
259
 
260
+ ## list_roles
261
+
262
+ > ObjectRolesResponse list_roles(rpm_rpm_publication_href, opts)
263
+
264
+
265
+
266
+ List roles assigned to this object.
267
+
268
+ ### Example
269
+
270
+ ```ruby
271
+ # load the gem
272
+ require 'pulp_rpm_client'
273
+ # setup authorization
274
+ PulpRpmClient.configure do |config|
275
+ # Configure HTTP basic authorization: basicAuth
276
+ config.username = 'YOUR USERNAME'
277
+ config.password = 'YOUR PASSWORD'
278
+ end
279
+
280
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
281
+ rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
282
+ opts = {
283
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
284
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
285
+ }
286
+
287
+ begin
288
+ result = api_instance.list_roles(rpm_rpm_publication_href, opts)
289
+ p result
290
+ rescue PulpRpmClient::ApiError => e
291
+ puts "Exception when calling PublicationsRpmApi->list_roles: #{e}"
292
+ end
293
+ ```
294
+
295
+ ### Parameters
296
+
297
+
298
+ Name | Type | Description | Notes
299
+ ------------- | ------------- | ------------- | -------------
300
+ **rpm_rpm_publication_href** | **String**| |
301
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
302
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
303
+
304
+ ### Return type
305
+
306
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
307
+
308
+ ### Authorization
309
+
310
+ [basicAuth](../README.md#basicAuth)
311
+
312
+ ### HTTP request headers
313
+
314
+ - **Content-Type**: Not defined
315
+ - **Accept**: application/json
316
+
317
+
318
+ ## my_permissions
319
+
320
+ > MyPermissionsResponse my_permissions(rpm_rpm_publication_href, opts)
321
+
322
+
323
+
324
+ List permissions available to the current user on this object.
325
+
326
+ ### Example
327
+
328
+ ```ruby
329
+ # load the gem
330
+ require 'pulp_rpm_client'
331
+ # setup authorization
332
+ PulpRpmClient.configure do |config|
333
+ # Configure HTTP basic authorization: basicAuth
334
+ config.username = 'YOUR USERNAME'
335
+ config.password = 'YOUR PASSWORD'
336
+ end
337
+
338
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
339
+ rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
340
+ opts = {
341
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
342
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
343
+ }
344
+
345
+ begin
346
+ result = api_instance.my_permissions(rpm_rpm_publication_href, opts)
347
+ p result
348
+ rescue PulpRpmClient::ApiError => e
349
+ puts "Exception when calling PublicationsRpmApi->my_permissions: #{e}"
350
+ end
351
+ ```
352
+
353
+ ### Parameters
354
+
355
+
356
+ Name | Type | Description | Notes
357
+ ------------- | ------------- | ------------- | -------------
358
+ **rpm_rpm_publication_href** | **String**| |
359
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
360
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
361
+
362
+ ### Return type
363
+
364
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
365
+
366
+ ### Authorization
367
+
368
+ [basicAuth](../README.md#basicAuth)
369
+
370
+ ### HTTP request headers
371
+
372
+ - **Content-Type**: Not defined
373
+ - **Accept**: application/json
374
+
375
+
206
376
  ## read
207
377
 
208
378
  > RpmRpmPublicationResponse read(rpm_rpm_publication_href, opts)
@@ -261,3 +431,57 @@ Name | Type | Description | Notes
261
431
  - **Content-Type**: Not defined
262
432
  - **Accept**: application/json
263
433
 
434
+
435
+ ## remove_role
436
+
437
+ > NestedRoleResponse remove_role(rpm_rpm_publication_href, nested_role)
438
+
439
+
440
+
441
+ Remove a role for this object from users/groups.
442
+
443
+ ### Example
444
+
445
+ ```ruby
446
+ # load the gem
447
+ require 'pulp_rpm_client'
448
+ # setup authorization
449
+ PulpRpmClient.configure do |config|
450
+ # Configure HTTP basic authorization: basicAuth
451
+ config.username = 'YOUR USERNAME'
452
+ config.password = 'YOUR PASSWORD'
453
+ end
454
+
455
+ api_instance = PulpRpmClient::PublicationsRpmApi.new
456
+ rpm_rpm_publication_href = 'rpm_rpm_publication_href_example' # String |
457
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
458
+
459
+ begin
460
+ result = api_instance.remove_role(rpm_rpm_publication_href, nested_role)
461
+ p result
462
+ rescue PulpRpmClient::ApiError => e
463
+ puts "Exception when calling PublicationsRpmApi->remove_role: #{e}"
464
+ end
465
+ ```
466
+
467
+ ### Parameters
468
+
469
+
470
+ Name | Type | Description | Notes
471
+ ------------- | ------------- | ------------- | -------------
472
+ **rpm_rpm_publication_href** | **String**| |
473
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
474
+
475
+ ### Return type
476
+
477
+ [**NestedRoleResponse**](NestedRoleResponse.md)
478
+
479
+ ### Authorization
480
+
481
+ [basicAuth](../README.md#basicAuth)
482
+
483
+ ### HTTP request headers
484
+
485
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
486
+ - **Accept**: application/json
487
+
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](RemotesRpmApi.md#add_role) | **POST** {rpm_rpm_remote_href}add_role/ |
7
8
  [**create**](RemotesRpmApi.md#create) | **POST** /pulp/api/v3/remotes/rpm/rpm/ | Create a rpm remote
8
9
  [**delete**](RemotesRpmApi.md#delete) | **DELETE** {rpm_rpm_remote_href} | Delete a rpm remote
9
10
  [**list**](RemotesRpmApi.md#list) | **GET** /pulp/api/v3/remotes/rpm/rpm/ | List rpm remotes
11
+ [**list_roles**](RemotesRpmApi.md#list_roles) | **GET** {rpm_rpm_remote_href}list_roles/ |
12
+ [**my_permissions**](RemotesRpmApi.md#my_permissions) | **GET** {rpm_rpm_remote_href}my_permissions/ |
10
13
  [**partial_update**](RemotesRpmApi.md#partial_update) | **PATCH** {rpm_rpm_remote_href} | Update a rpm remote
11
14
  [**read**](RemotesRpmApi.md#read) | **GET** {rpm_rpm_remote_href} | Inspect a rpm remote
15
+ [**remove_role**](RemotesRpmApi.md#remove_role) | **POST** {rpm_rpm_remote_href}remove_role/ |
12
16
  [**update**](RemotesRpmApi.md#update) | **PUT** {rpm_rpm_remote_href} | Update a rpm remote
13
17
 
14
18
 
15
19
 
20
+ ## add_role
21
+
22
+ > NestedRoleResponse add_role(rpm_rpm_remote_href, nested_role)
23
+
24
+
25
+
26
+ Add a role for this object to users/groups.
27
+
28
+ ### Example
29
+
30
+ ```ruby
31
+ # load the gem
32
+ require 'pulp_rpm_client'
33
+ # setup authorization
34
+ PulpRpmClient.configure do |config|
35
+ # Configure HTTP basic authorization: basicAuth
36
+ config.username = 'YOUR USERNAME'
37
+ config.password = 'YOUR PASSWORD'
38
+ end
39
+
40
+ api_instance = PulpRpmClient::RemotesRpmApi.new
41
+ rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
42
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
43
+
44
+ begin
45
+ result = api_instance.add_role(rpm_rpm_remote_href, nested_role)
46
+ p result
47
+ rescue PulpRpmClient::ApiError => e
48
+ puts "Exception when calling RemotesRpmApi->add_role: #{e}"
49
+ end
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ Name | Type | Description | Notes
56
+ ------------- | ------------- | ------------- | -------------
57
+ **rpm_rpm_remote_href** | **String**| |
58
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
59
+
60
+ ### Return type
61
+
62
+ [**NestedRoleResponse**](NestedRoleResponse.md)
63
+
64
+ ### Authorization
65
+
66
+ [basicAuth](../README.md#basicAuth)
67
+
68
+ ### HTTP request headers
69
+
70
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
71
+ - **Accept**: application/json
72
+
73
+
16
74
  ## create
17
75
 
18
76
  > RpmRpmRemoteResponse create(rpm_rpm_remote)
@@ -148,9 +206,7 @@ opts = {
148
206
  name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
149
207
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
150
208
  offset: 56, # Integer | The initial index from which to return the results.
151
- 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)
152
- pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
153
- pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
209
+ ordering: ['ordering_example'], # Array<String> | Ordering
154
210
  pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
155
211
  pulp_last_updated: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated matches value
156
212
  pulp_last_updated__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where pulp_last_updated is greater than value
@@ -183,9 +239,7 @@ Name | Type | Description | Notes
183
239
  **name__in** | [**Array&lt;String&gt;**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
184
240
  **name__startswith** | **String**| Filter results where name starts with value | [optional]
185
241
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
186
- **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]
187
- **pulp_href__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
188
- **pulp_id__in** | [**Array&lt;String&gt;**](String.md)| Multiple values may be separated by commas. | [optional]
242
+ **ordering** | [**Array&lt;String&gt;**](String.md)| Ordering | [optional]
189
243
  **pulp_label_select** | **String**| Filter labels by search string | [optional]
190
244
  **pulp_last_updated** | **DateTime**| Filter results where pulp_last_updated matches value | [optional]
191
245
  **pulp_last_updated__gt** | **DateTime**| Filter results where pulp_last_updated is greater than value | [optional]
@@ -210,6 +264,122 @@ Name | Type | Description | Notes
210
264
  - **Accept**: application/json
211
265
 
212
266
 
267
+ ## list_roles
268
+
269
+ > ObjectRolesResponse list_roles(rpm_rpm_remote_href, opts)
270
+
271
+
272
+
273
+ List roles assigned to this object.
274
+
275
+ ### Example
276
+
277
+ ```ruby
278
+ # load the gem
279
+ require 'pulp_rpm_client'
280
+ # setup authorization
281
+ PulpRpmClient.configure do |config|
282
+ # Configure HTTP basic authorization: basicAuth
283
+ config.username = 'YOUR USERNAME'
284
+ config.password = 'YOUR PASSWORD'
285
+ end
286
+
287
+ api_instance = PulpRpmClient::RemotesRpmApi.new
288
+ rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
289
+ opts = {
290
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
291
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
292
+ }
293
+
294
+ begin
295
+ result = api_instance.list_roles(rpm_rpm_remote_href, opts)
296
+ p result
297
+ rescue PulpRpmClient::ApiError => e
298
+ puts "Exception when calling RemotesRpmApi->list_roles: #{e}"
299
+ end
300
+ ```
301
+
302
+ ### Parameters
303
+
304
+
305
+ Name | Type | Description | Notes
306
+ ------------- | ------------- | ------------- | -------------
307
+ **rpm_rpm_remote_href** | **String**| |
308
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
309
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
310
+
311
+ ### Return type
312
+
313
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
314
+
315
+ ### Authorization
316
+
317
+ [basicAuth](../README.md#basicAuth)
318
+
319
+ ### HTTP request headers
320
+
321
+ - **Content-Type**: Not defined
322
+ - **Accept**: application/json
323
+
324
+
325
+ ## my_permissions
326
+
327
+ > MyPermissionsResponse my_permissions(rpm_rpm_remote_href, opts)
328
+
329
+
330
+
331
+ List permissions available to the current user on this object.
332
+
333
+ ### Example
334
+
335
+ ```ruby
336
+ # load the gem
337
+ require 'pulp_rpm_client'
338
+ # setup authorization
339
+ PulpRpmClient.configure do |config|
340
+ # Configure HTTP basic authorization: basicAuth
341
+ config.username = 'YOUR USERNAME'
342
+ config.password = 'YOUR PASSWORD'
343
+ end
344
+
345
+ api_instance = PulpRpmClient::RemotesRpmApi.new
346
+ rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
347
+ opts = {
348
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
349
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
350
+ }
351
+
352
+ begin
353
+ result = api_instance.my_permissions(rpm_rpm_remote_href, opts)
354
+ p result
355
+ rescue PulpRpmClient::ApiError => e
356
+ puts "Exception when calling RemotesRpmApi->my_permissions: #{e}"
357
+ end
358
+ ```
359
+
360
+ ### Parameters
361
+
362
+
363
+ Name | Type | Description | Notes
364
+ ------------- | ------------- | ------------- | -------------
365
+ **rpm_rpm_remote_href** | **String**| |
366
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
367
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
368
+
369
+ ### Return type
370
+
371
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
372
+
373
+ ### Authorization
374
+
375
+ [basicAuth](../README.md#basicAuth)
376
+
377
+ ### HTTP request headers
378
+
379
+ - **Content-Type**: Not defined
380
+ - **Accept**: application/json
381
+
382
+
213
383
  ## partial_update
214
384
 
215
385
  > AsyncOperationResponse partial_update(rpm_rpm_remote_href, patchedrpm_rpm_remote)
@@ -324,6 +494,60 @@ Name | Type | Description | Notes
324
494
  - **Accept**: application/json
325
495
 
326
496
 
497
+ ## remove_role
498
+
499
+ > NestedRoleResponse remove_role(rpm_rpm_remote_href, nested_role)
500
+
501
+
502
+
503
+ Remove a role for this object from users/groups.
504
+
505
+ ### Example
506
+
507
+ ```ruby
508
+ # load the gem
509
+ require 'pulp_rpm_client'
510
+ # setup authorization
511
+ PulpRpmClient.configure do |config|
512
+ # Configure HTTP basic authorization: basicAuth
513
+ config.username = 'YOUR USERNAME'
514
+ config.password = 'YOUR PASSWORD'
515
+ end
516
+
517
+ api_instance = PulpRpmClient::RemotesRpmApi.new
518
+ rpm_rpm_remote_href = 'rpm_rpm_remote_href_example' # String |
519
+ nested_role = PulpRpmClient::NestedRole.new # NestedRole |
520
+
521
+ begin
522
+ result = api_instance.remove_role(rpm_rpm_remote_href, nested_role)
523
+ p result
524
+ rescue PulpRpmClient::ApiError => e
525
+ puts "Exception when calling RemotesRpmApi->remove_role: #{e}"
526
+ end
527
+ ```
528
+
529
+ ### Parameters
530
+
531
+
532
+ Name | Type | Description | Notes
533
+ ------------- | ------------- | ------------- | -------------
534
+ **rpm_rpm_remote_href** | **String**| |
535
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
536
+
537
+ ### Return type
538
+
539
+ [**NestedRoleResponse**](NestedRoleResponse.md)
540
+
541
+ ### Authorization
542
+
543
+ [basicAuth](../README.md#basicAuth)
544
+
545
+ ### HTTP request headers
546
+
547
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
548
+ - **Accept**: application/json
549
+
550
+
327
551
  ## update
328
552
 
329
553
  > AsyncOperationResponse update(rpm_rpm_remote_href, rpm_rpm_remote)