pulp_python_client 3.11.8 → 3.12.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 (56) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -12
  3. data/docs/ContentPackagesApi.md +13 -19
  4. data/docs/DistributionsPypiApi.md +245 -41
  5. data/docs/MyPermissionsResponse.md +17 -0
  6. data/docs/NestedRole.md +21 -0
  7. data/docs/NestedRoleResponse.md +21 -0
  8. data/docs/ObjectRolesResponse.md +17 -0
  9. data/docs/PackageMetadataResponse.md +3 -3
  10. data/docs/PublicationsPypiApi.md +237 -17
  11. data/docs/PypiApi.md +8 -4
  12. data/docs/PypiLegacyApi.md +1 -3
  13. data/docs/PypiMetadataApi.md +8 -4
  14. data/docs/PypiSimpleApi.md +1 -7
  15. data/docs/PythonPythonPackageContent.md +6 -6
  16. data/docs/PythonPythonPackageContentResponse.md +6 -6
  17. data/docs/RemotesPythonApi.md +245 -43
  18. data/docs/RepositoriesPythonApi.md +249 -53
  19. data/docs/RepositoriesPythonVersionsApi.md +5 -17
  20. data/lib/pulp_python_client/api/content_packages_api.rb +12 -21
  21. data/lib/pulp_python_client/api/distributions_pypi_api.rb +276 -24
  22. data/lib/pulp_python_client/api/publications_pypi_api.rb +276 -12
  23. data/lib/pulp_python_client/api/pypi_api.rb +1 -4
  24. data/lib/pulp_python_client/api/pypi_legacy_api.rb +0 -3
  25. data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -4
  26. data/lib/pulp_python_client/api/pypi_simple_api.rb +0 -9
  27. data/lib/pulp_python_client/api/remotes_python_api.rb +276 -27
  28. data/lib/pulp_python_client/api/repositories_python_api.rb +276 -30
  29. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +0 -12
  30. data/lib/pulp_python_client/configuration.rb +2 -2
  31. data/lib/pulp_python_client/models/my_permissions_response.rb +213 -0
  32. data/lib/pulp_python_client/models/nested_role.rb +253 -0
  33. data/lib/pulp_python_client/models/nested_role_response.rb +234 -0
  34. data/lib/pulp_python_client/models/object_roles_response.rb +213 -0
  35. data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
  36. data/lib/pulp_python_client/models/package_upload_task_response.rb +2 -10
  37. data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
  38. data/lib/pulp_python_client/models/python_python_package_content_response.rb +6 -6
  39. data/lib/pulp_python_client/version.rb +1 -1
  40. data/lib/pulp_python_client.rb +4 -0
  41. data/spec/api/content_packages_api_spec.rb +6 -9
  42. data/spec/api/distributions_pypi_api_spec.rb +54 -8
  43. data/spec/api/publications_pypi_api_spec.rb +54 -4
  44. data/spec/api/pypi_api_spec.rb +0 -1
  45. data/spec/api/pypi_legacy_api_spec.rb +0 -1
  46. data/spec/api/pypi_metadata_api_spec.rb +0 -1
  47. data/spec/api/pypi_simple_api_spec.rb +0 -3
  48. data/spec/api/remotes_python_api_spec.rb +54 -9
  49. data/spec/api/repositories_python_api_spec.rb +54 -10
  50. data/spec/api/repositories_python_versions_api_spec.rb +0 -4
  51. data/spec/configuration_spec.rb +3 -3
  52. data/spec/models/my_permissions_response_spec.rb +41 -0
  53. data/spec/models/nested_role_response_spec.rb +53 -0
  54. data/spec/models/nested_role_spec.rb +53 -0
  55. data/spec/models/object_roles_response_spec.rb +41 -0
  56. metadata +68 -52
@@ -1,23 +1,82 @@
1
1
  # PulpPythonClient::DistributionsPypiApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](DistributionsPypiApi.md#add_role) | **POST** {python_python_distribution_href}add_role/ | Add a role
7
8
  [**create**](DistributionsPypiApi.md#create) | **POST** /pulp/api/v3/distributions/python/pypi/ | Create a python distribution
8
9
  [**delete**](DistributionsPypiApi.md#delete) | **DELETE** {python_python_distribution_href} | Delete a python distribution
9
10
  [**list**](DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
11
+ [**list_roles**](DistributionsPypiApi.md#list_roles) | **GET** {python_python_distribution_href}list_roles/ | List roles
12
+ [**my_permissions**](DistributionsPypiApi.md#my_permissions) | **GET** {python_python_distribution_href}my_permissions/ | List user permissions
10
13
  [**partial_update**](DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
11
14
  [**read**](DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
15
+ [**remove_role**](DistributionsPypiApi.md#remove_role) | **POST** {python_python_distribution_href}remove_role/ | Remove a role
12
16
  [**set_label**](DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
13
17
  [**unset_label**](DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
14
18
  [**update**](DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
15
19
 
16
20
 
17
21
 
22
+ ## add_role
23
+
24
+ > NestedRoleResponse add_role(python_python_distribution_href, nested_role)
25
+
26
+ Add a role
27
+
28
+ Add a role for this object to users/groups.
29
+
30
+ ### Example
31
+
32
+ ```ruby
33
+ # load the gem
34
+ require 'pulp_python_client'
35
+ # setup authorization
36
+ PulpPythonClient.configure do |config|
37
+ # Configure HTTP basic authorization: basicAuth
38
+ config.username = 'YOUR USERNAME'
39
+ config.password = 'YOUR PASSWORD'
40
+ end
41
+
42
+ api_instance = PulpPythonClient::DistributionsPypiApi.new
43
+ python_python_distribution_href = 'python_python_distribution_href_example' # String |
44
+ nested_role = PulpPythonClient::NestedRole.new # NestedRole |
45
+
46
+ begin
47
+ #Add a role
48
+ result = api_instance.add_role(python_python_distribution_href, nested_role)
49
+ p result
50
+ rescue PulpPythonClient::ApiError => e
51
+ puts "Exception when calling DistributionsPypiApi->add_role: #{e}"
52
+ end
53
+ ```
54
+
55
+ ### Parameters
56
+
57
+
58
+ Name | Type | Description | Notes
59
+ ------------- | ------------- | ------------- | -------------
60
+ **python_python_distribution_href** | **String**| |
61
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
62
+
63
+ ### Return type
64
+
65
+ [**NestedRoleResponse**](NestedRoleResponse.md)
66
+
67
+ ### Authorization
68
+
69
+ [basicAuth](../README.md#basicAuth)
70
+
71
+ ### HTTP request headers
72
+
73
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
74
+ - **Accept**: application/json
75
+
76
+
18
77
  ## create
19
78
 
20
- > AsyncOperationResponse create(python_python_distribution, opts)
79
+ > AsyncOperationResponse create(python_python_distribution)
21
80
 
22
81
  Create a python distribution
23
82
 
@@ -37,13 +96,10 @@ end
37
96
 
38
97
  api_instance = PulpPythonClient::DistributionsPypiApi.new
39
98
  python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
40
- opts = {
41
- x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
42
- }
43
99
 
44
100
  begin
45
101
  #Create a python distribution
46
- result = api_instance.create(python_python_distribution, opts)
102
+ result = api_instance.create(python_python_distribution)
47
103
  p result
48
104
  rescue PulpPythonClient::ApiError => e
49
105
  puts "Exception when calling DistributionsPypiApi->create: #{e}"
@@ -56,7 +112,6 @@ end
56
112
  Name | Type | Description | Notes
57
113
  ------------- | ------------- | ------------- | -------------
58
114
  **python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
59
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
60
115
 
61
116
  ### Return type
62
117
 
@@ -74,7 +129,7 @@ Name | Type | Description | Notes
74
129
 
75
130
  ## delete
76
131
 
77
- > AsyncOperationResponse delete(python_python_distribution_href, opts)
132
+ > AsyncOperationResponse delete(python_python_distribution_href)
78
133
 
79
134
  Delete a python distribution
80
135
 
@@ -94,13 +149,10 @@ end
94
149
 
95
150
  api_instance = PulpPythonClient::DistributionsPypiApi.new
96
151
  python_python_distribution_href = 'python_python_distribution_href_example' # String |
97
- opts = {
98
- x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
99
- }
100
152
 
101
153
  begin
102
154
  #Delete a python distribution
103
- result = api_instance.delete(python_python_distribution_href, opts)
155
+ result = api_instance.delete(python_python_distribution_href)
104
156
  p result
105
157
  rescue PulpPythonClient::ApiError => e
106
158
  puts "Exception when calling DistributionsPypiApi->delete: #{e}"
@@ -113,7 +165,6 @@ end
113
165
  Name | Type | Description | Notes
114
166
  ------------- | ------------- | ------------- | -------------
115
167
  **python_python_distribution_href** | **String**| |
116
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
117
168
 
118
169
  ### Return type
119
170
 
@@ -151,7 +202,6 @@ end
151
202
 
152
203
  api_instance = PulpPythonClient::DistributionsPypiApi.new
153
204
  opts = {
154
- x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
155
205
  base_path: 'base_path_example', # String | Filter results where base_path matches value
156
206
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
157
207
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
@@ -193,7 +243,6 @@ end
193
243
 
194
244
  Name | Type | Description | Notes
195
245
  ------------- | ------------- | ------------- | -------------
196
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
197
246
  **base_path** | **String**| Filter results where base_path matches value | [optional]
198
247
  **base_path__contains** | **String**| Filter results where base_path contains value | [optional]
199
248
  **base_path__icontains** | **String**| Filter results where base_path contains value | [optional]
@@ -234,9 +283,127 @@ Name | Type | Description | Notes
234
283
  - **Accept**: application/json
235
284
 
236
285
 
286
+ ## list_roles
287
+
288
+ > ObjectRolesResponse list_roles(python_python_distribution_href, opts)
289
+
290
+ List roles
291
+
292
+ List roles assigned to this object.
293
+
294
+ ### Example
295
+
296
+ ```ruby
297
+ # load the gem
298
+ require 'pulp_python_client'
299
+ # setup authorization
300
+ PulpPythonClient.configure do |config|
301
+ # Configure HTTP basic authorization: basicAuth
302
+ config.username = 'YOUR USERNAME'
303
+ config.password = 'YOUR PASSWORD'
304
+ end
305
+
306
+ api_instance = PulpPythonClient::DistributionsPypiApi.new
307
+ python_python_distribution_href = 'python_python_distribution_href_example' # String |
308
+ opts = {
309
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
310
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
311
+ }
312
+
313
+ begin
314
+ #List roles
315
+ result = api_instance.list_roles(python_python_distribution_href, opts)
316
+ p result
317
+ rescue PulpPythonClient::ApiError => e
318
+ puts "Exception when calling DistributionsPypiApi->list_roles: #{e}"
319
+ end
320
+ ```
321
+
322
+ ### Parameters
323
+
324
+
325
+ Name | Type | Description | Notes
326
+ ------------- | ------------- | ------------- | -------------
327
+ **python_python_distribution_href** | **String**| |
328
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
329
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
330
+
331
+ ### Return type
332
+
333
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
334
+
335
+ ### Authorization
336
+
337
+ [basicAuth](../README.md#basicAuth)
338
+
339
+ ### HTTP request headers
340
+
341
+ - **Content-Type**: Not defined
342
+ - **Accept**: application/json
343
+
344
+
345
+ ## my_permissions
346
+
347
+ > MyPermissionsResponse my_permissions(python_python_distribution_href, opts)
348
+
349
+ List user permissions
350
+
351
+ List permissions available to the current user on this object.
352
+
353
+ ### Example
354
+
355
+ ```ruby
356
+ # load the gem
357
+ require 'pulp_python_client'
358
+ # setup authorization
359
+ PulpPythonClient.configure do |config|
360
+ # Configure HTTP basic authorization: basicAuth
361
+ config.username = 'YOUR USERNAME'
362
+ config.password = 'YOUR PASSWORD'
363
+ end
364
+
365
+ api_instance = PulpPythonClient::DistributionsPypiApi.new
366
+ python_python_distribution_href = 'python_python_distribution_href_example' # String |
367
+ opts = {
368
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
369
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
370
+ }
371
+
372
+ begin
373
+ #List user permissions
374
+ result = api_instance.my_permissions(python_python_distribution_href, opts)
375
+ p result
376
+ rescue PulpPythonClient::ApiError => e
377
+ puts "Exception when calling DistributionsPypiApi->my_permissions: #{e}"
378
+ end
379
+ ```
380
+
381
+ ### Parameters
382
+
383
+
384
+ Name | Type | Description | Notes
385
+ ------------- | ------------- | ------------- | -------------
386
+ **python_python_distribution_href** | **String**| |
387
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
388
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
389
+
390
+ ### Return type
391
+
392
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
393
+
394
+ ### Authorization
395
+
396
+ [basicAuth](../README.md#basicAuth)
397
+
398
+ ### HTTP request headers
399
+
400
+ - **Content-Type**: Not defined
401
+ - **Accept**: application/json
402
+
403
+
237
404
  ## partial_update
238
405
 
239
- > AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
406
+ > AsyncOperationResponse partial_update(python_python_distribution_href, patchedpython_python_distribution)
240
407
 
241
408
  Update a python distribution
242
409
 
@@ -257,13 +424,10 @@ end
257
424
  api_instance = PulpPythonClient::DistributionsPypiApi.new
258
425
  python_python_distribution_href = 'python_python_distribution_href_example' # String |
259
426
  patchedpython_python_distribution = PulpPythonClient::PatchedpythonPythonDistribution.new # PatchedpythonPythonDistribution |
260
- opts = {
261
- x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
262
- }
263
427
 
264
428
  begin
265
429
  #Update a python distribution
266
- result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution, opts)
430
+ result = api_instance.partial_update(python_python_distribution_href, patchedpython_python_distribution)
267
431
  p result
268
432
  rescue PulpPythonClient::ApiError => e
269
433
  puts "Exception when calling DistributionsPypiApi->partial_update: #{e}"
@@ -277,7 +441,6 @@ Name | Type | Description | Notes
277
441
  ------------- | ------------- | ------------- | -------------
278
442
  **python_python_distribution_href** | **String**| |
279
443
  **patchedpython_python_distribution** | [**PatchedpythonPythonDistribution**](PatchedpythonPythonDistribution.md)| |
280
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
281
444
 
282
445
  ### Return type
283
446
 
@@ -316,7 +479,6 @@ end
316
479
  api_instance = PulpPythonClient::DistributionsPypiApi.new
317
480
  python_python_distribution_href = 'python_python_distribution_href_example' # String |
318
481
  opts = {
319
- x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
320
482
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
321
483
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
322
484
  }
@@ -336,7 +498,6 @@ end
336
498
  Name | Type | Description | Notes
337
499
  ------------- | ------------- | ------------- | -------------
338
500
  **python_python_distribution_href** | **String**| |
339
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
340
501
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
341
502
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
342
503
 
@@ -354,9 +515,64 @@ Name | Type | Description | Notes
354
515
  - **Accept**: application/json
355
516
 
356
517
 
518
+ ## remove_role
519
+
520
+ > NestedRoleResponse remove_role(python_python_distribution_href, nested_role)
521
+
522
+ Remove a role
523
+
524
+ Remove a role for this object from users/groups.
525
+
526
+ ### Example
527
+
528
+ ```ruby
529
+ # load the gem
530
+ require 'pulp_python_client'
531
+ # setup authorization
532
+ PulpPythonClient.configure do |config|
533
+ # Configure HTTP basic authorization: basicAuth
534
+ config.username = 'YOUR USERNAME'
535
+ config.password = 'YOUR PASSWORD'
536
+ end
537
+
538
+ api_instance = PulpPythonClient::DistributionsPypiApi.new
539
+ python_python_distribution_href = 'python_python_distribution_href_example' # String |
540
+ nested_role = PulpPythonClient::NestedRole.new # NestedRole |
541
+
542
+ begin
543
+ #Remove a role
544
+ result = api_instance.remove_role(python_python_distribution_href, nested_role)
545
+ p result
546
+ rescue PulpPythonClient::ApiError => e
547
+ puts "Exception when calling DistributionsPypiApi->remove_role: #{e}"
548
+ end
549
+ ```
550
+
551
+ ### Parameters
552
+
553
+
554
+ Name | Type | Description | Notes
555
+ ------------- | ------------- | ------------- | -------------
556
+ **python_python_distribution_href** | **String**| |
557
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
558
+
559
+ ### Return type
560
+
561
+ [**NestedRoleResponse**](NestedRoleResponse.md)
562
+
563
+ ### Authorization
564
+
565
+ [basicAuth](../README.md#basicAuth)
566
+
567
+ ### HTTP request headers
568
+
569
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
570
+ - **Accept**: application/json
571
+
572
+
357
573
  ## set_label
358
574
 
359
- > SetLabelResponse set_label(python_python_distribution_href, set_label, opts)
575
+ > SetLabelResponse set_label(python_python_distribution_href, set_label)
360
576
 
361
577
  Set a label
362
578
 
@@ -377,13 +593,10 @@ end
377
593
  api_instance = PulpPythonClient::DistributionsPypiApi.new
378
594
  python_python_distribution_href = 'python_python_distribution_href_example' # String |
379
595
  set_label = PulpPythonClient::SetLabel.new # SetLabel |
380
- opts = {
381
- x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
382
- }
383
596
 
384
597
  begin
385
598
  #Set a label
386
- result = api_instance.set_label(python_python_distribution_href, set_label, opts)
599
+ result = api_instance.set_label(python_python_distribution_href, set_label)
387
600
  p result
388
601
  rescue PulpPythonClient::ApiError => e
389
602
  puts "Exception when calling DistributionsPypiApi->set_label: #{e}"
@@ -397,7 +610,6 @@ Name | Type | Description | Notes
397
610
  ------------- | ------------- | ------------- | -------------
398
611
  **python_python_distribution_href** | **String**| |
399
612
  **set_label** | [**SetLabel**](SetLabel.md)| |
400
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
401
613
 
402
614
  ### Return type
403
615
 
@@ -415,7 +627,7 @@ Name | Type | Description | Notes
415
627
 
416
628
  ## unset_label
417
629
 
418
- > UnsetLabelResponse unset_label(python_python_distribution_href, unset_label, opts)
630
+ > UnsetLabelResponse unset_label(python_python_distribution_href, unset_label)
419
631
 
420
632
  Unset a label
421
633
 
@@ -436,13 +648,10 @@ end
436
648
  api_instance = PulpPythonClient::DistributionsPypiApi.new
437
649
  python_python_distribution_href = 'python_python_distribution_href_example' # String |
438
650
  unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
439
- opts = {
440
- x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
441
- }
442
651
 
443
652
  begin
444
653
  #Unset a label
445
- result = api_instance.unset_label(python_python_distribution_href, unset_label, opts)
654
+ result = api_instance.unset_label(python_python_distribution_href, unset_label)
446
655
  p result
447
656
  rescue PulpPythonClient::ApiError => e
448
657
  puts "Exception when calling DistributionsPypiApi->unset_label: #{e}"
@@ -456,7 +665,6 @@ Name | Type | Description | Notes
456
665
  ------------- | ------------- | ------------- | -------------
457
666
  **python_python_distribution_href** | **String**| |
458
667
  **unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
459
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
460
668
 
461
669
  ### Return type
462
670
 
@@ -474,7 +682,7 @@ Name | Type | Description | Notes
474
682
 
475
683
  ## update
476
684
 
477
- > AsyncOperationResponse update(python_python_distribution_href, python_python_distribution, opts)
685
+ > AsyncOperationResponse update(python_python_distribution_href, python_python_distribution)
478
686
 
479
687
  Update a python distribution
480
688
 
@@ -495,13 +703,10 @@ end
495
703
  api_instance = PulpPythonClient::DistributionsPypiApi.new
496
704
  python_python_distribution_href = 'python_python_distribution_href_example' # String |
497
705
  python_python_distribution = PulpPythonClient::PythonPythonDistribution.new # PythonPythonDistribution |
498
- opts = {
499
- x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
500
- }
501
706
 
502
707
  begin
503
708
  #Update a python distribution
504
- result = api_instance.update(python_python_distribution_href, python_python_distribution, opts)
709
+ result = api_instance.update(python_python_distribution_href, python_python_distribution)
505
710
  p result
506
711
  rescue PulpPythonClient::ApiError => e
507
712
  puts "Exception when calling DistributionsPypiApi->update: #{e}"
@@ -515,7 +720,6 @@ Name | Type | Description | Notes
515
720
  ------------- | ------------- | ------------- | -------------
516
721
  **python_python_distribution_href** | **String**| |
517
722
  **python_python_distribution** | [**PythonPythonDistribution**](PythonPythonDistribution.md)| |
518
- **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
519
723
 
520
724
  ### Return type
521
725
 
@@ -0,0 +1,17 @@
1
+ # PulpPythonClient::MyPermissionsResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **permissions** | **Array&lt;String&gt;** | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpPythonClient'
13
+
14
+ instance = PulpPythonClient::MyPermissionsResponse.new(permissions: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,21 @@
1
+ # PulpPythonClient::NestedRole
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpPythonClient'
15
+
16
+ instance = PulpPythonClient::NestedRole.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # PulpPythonClient::NestedRoleResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **users** | **Array&lt;String&gt;** | | [optional]
8
+ **groups** | **Array&lt;String&gt;** | | [optional]
9
+ **role** | **String** | |
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpPythonClient'
15
+
16
+ instance = PulpPythonClient::NestedRoleResponse.new(users: null,
17
+ groups: null,
18
+ role: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,17 @@
1
+ # PulpPythonClient::ObjectRolesResponse
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **roles** | [**Array&lt;NestedRoleResponse&gt;**](NestedRoleResponse.md) | |
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'PulpPythonClient'
13
+
14
+ instance = PulpPythonClient::ObjectRolesResponse.new(roles: null)
15
+ ```
16
+
17
+
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **last_serial** | **Integer** | Cache value from last PyPI sync |
8
- **info** | [**Object**](.md) | Core metadata of the package |
9
- **releases** | [**Object**](.md) | List of all the releases of the package |
10
- **urls** | [**Object**](.md) | |
8
+ **info** | [**AnyType**](.md) | Core metadata of the package |
9
+ **releases** | [**AnyType**](.md) | List of all the releases of the package |
10
+ **urls** | [**AnyType**](.md) | |
11
11
 
12
12
  ## Code Sample
13
13