pulp_python_client 3.11.0 → 3.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -10
  3. data/docs/ContentPackagesApi.md +14 -12
  4. data/docs/DistributionsPypiApi.md +232 -0
  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/PaginatedRepositoryVersionResponseList.md +2 -2
  11. data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
  12. data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
  13. data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
  14. data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
  15. data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
  16. data/docs/PublicationsPypiApi.md +232 -0
  17. data/docs/PypiApi.md +7 -1
  18. data/docs/PypiMetadataApi.md +7 -1
  19. data/docs/PythonPythonDistributionResponse.md +2 -0
  20. data/docs/PythonPythonPackageContent.md +6 -6
  21. data/docs/PythonPythonPackageContentResponse.md +8 -6
  22. data/docs/PythonPythonPublicationResponse.md +2 -0
  23. data/docs/PythonPythonRemoteResponse.md +2 -2
  24. data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
  25. data/docs/PythonPythonRepositoryResponse.md +2 -0
  26. data/docs/RemotesPythonApi.md +232 -0
  27. data/docs/RepositoriesPythonApi.md +232 -0
  28. data/docs/RepositoryVersionResponse.md +2 -0
  29. data/lib/pulp_python_client/api/content_packages_api.rb +15 -12
  30. data/lib/pulp_python_client/api/distributions_pypi_api.rb +276 -0
  31. data/lib/pulp_python_client/api/publications_pypi_api.rb +276 -0
  32. data/lib/pulp_python_client/api/pypi_api.rb +1 -1
  33. data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
  34. data/lib/pulp_python_client/api/remotes_python_api.rb +276 -0
  35. data/lib/pulp_python_client/api/repositories_python_api.rb +276 -0
  36. data/lib/pulp_python_client/models/my_permissions_response.rb +213 -0
  37. data/lib/pulp_python_client/models/nested_role.rb +253 -0
  38. data/lib/pulp_python_client/models/nested_role_response.rb +234 -0
  39. data/lib/pulp_python_client/models/object_roles_response.rb +213 -0
  40. data/lib/pulp_python_client/models/package_metadata_response.rb +3 -3
  41. data/lib/pulp_python_client/models/package_upload_task_response.rb +2 -10
  42. data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +10 -0
  43. data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +10 -0
  44. data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +10 -0
  45. data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +10 -0
  46. data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +10 -0
  47. data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +10 -0
  48. data/lib/pulp_python_client/models/python_python_distribution_response.rb +11 -1
  49. data/lib/pulp_python_client/models/python_python_package_content.rb +6 -6
  50. data/lib/pulp_python_client/models/python_python_package_content_response.rb +17 -7
  51. data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
  52. data/lib/pulp_python_client/models/python_python_remote_response.rb +11 -11
  53. data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +10 -0
  54. data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
  55. data/lib/pulp_python_client/models/repository_version_response.rb +11 -1
  56. data/lib/pulp_python_client/version.rb +1 -1
  57. data/lib/pulp_python_client.rb +4 -0
  58. data/spec/api/content_packages_api_spec.rb +7 -6
  59. data/spec/api/distributions_pypi_api_spec.rb +54 -0
  60. data/spec/api/publications_pypi_api_spec.rb +54 -0
  61. data/spec/api/remotes_python_api_spec.rb +54 -0
  62. data/spec/api/repositories_python_api_spec.rb +54 -0
  63. data/spec/models/my_permissions_response_spec.rb +41 -0
  64. data/spec/models/nested_role_response_spec.rb +53 -0
  65. data/spec/models/nested_role_spec.rb +53 -0
  66. data/spec/models/object_roles_response_spec.rb +41 -0
  67. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  68. data/spec/models/python_python_package_content_response_spec.rb +6 -0
  69. data/spec/models/python_python_publication_response_spec.rb +6 -0
  70. data/spec/models/python_python_remote_response_spec.rb +6 -6
  71. data/spec/models/python_python_repository_response_spec.rb +6 -0
  72. data/spec/models/repository_version_response_spec.rb +6 -0
  73. metadata +52 -36
@@ -4,18 +4,77 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](RemotesPythonApi.md#add_role) | **POST** {python_python_remote_href}add_role/ | Add a role
7
8
  [**create**](RemotesPythonApi.md#create) | **POST** /pulp/api/v3/remotes/python/python/ | Create a python remote
8
9
  [**delete**](RemotesPythonApi.md#delete) | **DELETE** {python_python_remote_href} | Delete a python remote
9
10
  [**from_bandersnatch**](RemotesPythonApi.md#from_bandersnatch) | **POST** /pulp/api/v3/remotes/python/python/from_bandersnatch/ | Create from Bandersnatch
10
11
  [**list**](RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
12
+ [**list_roles**](RemotesPythonApi.md#list_roles) | **GET** {python_python_remote_href}list_roles/ | List roles
13
+ [**my_permissions**](RemotesPythonApi.md#my_permissions) | **GET** {python_python_remote_href}my_permissions/ | List user permissions
11
14
  [**partial_update**](RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
12
15
  [**read**](RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
16
+ [**remove_role**](RemotesPythonApi.md#remove_role) | **POST** {python_python_remote_href}remove_role/ | Remove a role
13
17
  [**set_label**](RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
14
18
  [**unset_label**](RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
15
19
  [**update**](RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
16
20
 
17
21
 
18
22
 
23
+ ## add_role
24
+
25
+ > NestedRoleResponse add_role(python_python_remote_href, nested_role)
26
+
27
+ Add a role
28
+
29
+ Add a role for this object to users/groups.
30
+
31
+ ### Example
32
+
33
+ ```ruby
34
+ # load the gem
35
+ require 'pulp_python_client'
36
+ # setup authorization
37
+ PulpPythonClient.configure do |config|
38
+ # Configure HTTP basic authorization: basicAuth
39
+ config.username = 'YOUR USERNAME'
40
+ config.password = 'YOUR PASSWORD'
41
+ end
42
+
43
+ api_instance = PulpPythonClient::RemotesPythonApi.new
44
+ python_python_remote_href = 'python_python_remote_href_example' # String |
45
+ nested_role = PulpPythonClient::NestedRole.new # NestedRole |
46
+
47
+ begin
48
+ #Add a role
49
+ result = api_instance.add_role(python_python_remote_href, nested_role)
50
+ p result
51
+ rescue PulpPythonClient::ApiError => e
52
+ puts "Exception when calling RemotesPythonApi->add_role: #{e}"
53
+ end
54
+ ```
55
+
56
+ ### Parameters
57
+
58
+
59
+ Name | Type | Description | Notes
60
+ ------------- | ------------- | ------------- | -------------
61
+ **python_python_remote_href** | **String**| |
62
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
63
+
64
+ ### Return type
65
+
66
+ [**NestedRoleResponse**](NestedRoleResponse.md)
67
+
68
+ ### Authorization
69
+
70
+ [basicAuth](../README.md#basicAuth)
71
+
72
+ ### HTTP request headers
73
+
74
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
75
+ - **Accept**: application/json
76
+
77
+
19
78
  ## create
20
79
 
21
80
  > PythonPythonRemoteResponse create(python_python_remote)
@@ -282,6 +341,124 @@ Name | Type | Description | Notes
282
341
  - **Accept**: application/json
283
342
 
284
343
 
344
+ ## list_roles
345
+
346
+ > ObjectRolesResponse list_roles(python_python_remote_href, opts)
347
+
348
+ List roles
349
+
350
+ List roles assigned to this object.
351
+
352
+ ### Example
353
+
354
+ ```ruby
355
+ # load the gem
356
+ require 'pulp_python_client'
357
+ # setup authorization
358
+ PulpPythonClient.configure do |config|
359
+ # Configure HTTP basic authorization: basicAuth
360
+ config.username = 'YOUR USERNAME'
361
+ config.password = 'YOUR PASSWORD'
362
+ end
363
+
364
+ api_instance = PulpPythonClient::RemotesPythonApi.new
365
+ python_python_remote_href = 'python_python_remote_href_example' # String |
366
+ opts = {
367
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
368
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
369
+ }
370
+
371
+ begin
372
+ #List roles
373
+ result = api_instance.list_roles(python_python_remote_href, opts)
374
+ p result
375
+ rescue PulpPythonClient::ApiError => e
376
+ puts "Exception when calling RemotesPythonApi->list_roles: #{e}"
377
+ end
378
+ ```
379
+
380
+ ### Parameters
381
+
382
+
383
+ Name | Type | Description | Notes
384
+ ------------- | ------------- | ------------- | -------------
385
+ **python_python_remote_href** | **String**| |
386
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
387
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
388
+
389
+ ### Return type
390
+
391
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
392
+
393
+ ### Authorization
394
+
395
+ [basicAuth](../README.md#basicAuth)
396
+
397
+ ### HTTP request headers
398
+
399
+ - **Content-Type**: Not defined
400
+ - **Accept**: application/json
401
+
402
+
403
+ ## my_permissions
404
+
405
+ > MyPermissionsResponse my_permissions(python_python_remote_href, opts)
406
+
407
+ List user permissions
408
+
409
+ List permissions available to the current user on this object.
410
+
411
+ ### Example
412
+
413
+ ```ruby
414
+ # load the gem
415
+ require 'pulp_python_client'
416
+ # setup authorization
417
+ PulpPythonClient.configure do |config|
418
+ # Configure HTTP basic authorization: basicAuth
419
+ config.username = 'YOUR USERNAME'
420
+ config.password = 'YOUR PASSWORD'
421
+ end
422
+
423
+ api_instance = PulpPythonClient::RemotesPythonApi.new
424
+ python_python_remote_href = 'python_python_remote_href_example' # String |
425
+ opts = {
426
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
427
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
428
+ }
429
+
430
+ begin
431
+ #List user permissions
432
+ result = api_instance.my_permissions(python_python_remote_href, opts)
433
+ p result
434
+ rescue PulpPythonClient::ApiError => e
435
+ puts "Exception when calling RemotesPythonApi->my_permissions: #{e}"
436
+ end
437
+ ```
438
+
439
+ ### Parameters
440
+
441
+
442
+ Name | Type | Description | Notes
443
+ ------------- | ------------- | ------------- | -------------
444
+ **python_python_remote_href** | **String**| |
445
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
446
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
447
+
448
+ ### Return type
449
+
450
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
451
+
452
+ ### Authorization
453
+
454
+ [basicAuth](../README.md#basicAuth)
455
+
456
+ ### HTTP request headers
457
+
458
+ - **Content-Type**: Not defined
459
+ - **Accept**: application/json
460
+
461
+
285
462
  ## partial_update
286
463
 
287
464
  > AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote)
@@ -396,6 +573,61 @@ Name | Type | Description | Notes
396
573
  - **Accept**: application/json
397
574
 
398
575
 
576
+ ## remove_role
577
+
578
+ > NestedRoleResponse remove_role(python_python_remote_href, nested_role)
579
+
580
+ Remove a role
581
+
582
+ Remove a role for this object from users/groups.
583
+
584
+ ### Example
585
+
586
+ ```ruby
587
+ # load the gem
588
+ require 'pulp_python_client'
589
+ # setup authorization
590
+ PulpPythonClient.configure do |config|
591
+ # Configure HTTP basic authorization: basicAuth
592
+ config.username = 'YOUR USERNAME'
593
+ config.password = 'YOUR PASSWORD'
594
+ end
595
+
596
+ api_instance = PulpPythonClient::RemotesPythonApi.new
597
+ python_python_remote_href = 'python_python_remote_href_example' # String |
598
+ nested_role = PulpPythonClient::NestedRole.new # NestedRole |
599
+
600
+ begin
601
+ #Remove a role
602
+ result = api_instance.remove_role(python_python_remote_href, nested_role)
603
+ p result
604
+ rescue PulpPythonClient::ApiError => e
605
+ puts "Exception when calling RemotesPythonApi->remove_role: #{e}"
606
+ end
607
+ ```
608
+
609
+ ### Parameters
610
+
611
+
612
+ Name | Type | Description | Notes
613
+ ------------- | ------------- | ------------- | -------------
614
+ **python_python_remote_href** | **String**| |
615
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
616
+
617
+ ### Return type
618
+
619
+ [**NestedRoleResponse**](NestedRoleResponse.md)
620
+
621
+ ### Authorization
622
+
623
+ [basicAuth](../README.md#basicAuth)
624
+
625
+ ### HTTP request headers
626
+
627
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
628
+ - **Accept**: application/json
629
+
630
+
399
631
  ## set_label
400
632
 
401
633
  > SetLabelResponse set_label(python_python_remote_href, set_label)
@@ -4,12 +4,16 @@ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
+ [**add_role**](RepositoriesPythonApi.md#add_role) | **POST** {python_python_repository_href}add_role/ | Add a role
7
8
  [**create**](RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
8
9
  [**delete**](RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
9
10
  [**list**](RepositoriesPythonApi.md#list) | **GET** /pulp/api/v3/repositories/python/python/ | List python repositorys
11
+ [**list_roles**](RepositoriesPythonApi.md#list_roles) | **GET** {python_python_repository_href}list_roles/ | List roles
10
12
  [**modify**](RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
13
+ [**my_permissions**](RepositoriesPythonApi.md#my_permissions) | **GET** {python_python_repository_href}my_permissions/ | List user permissions
11
14
  [**partial_update**](RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
12
15
  [**read**](RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
16
+ [**remove_role**](RepositoriesPythonApi.md#remove_role) | **POST** {python_python_repository_href}remove_role/ | Remove a role
13
17
  [**set_label**](RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
14
18
  [**sync**](RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
15
19
  [**unset_label**](RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
@@ -17,6 +21,61 @@ Method | HTTP request | Description
17
21
 
18
22
 
19
23
 
24
+ ## add_role
25
+
26
+ > NestedRoleResponse add_role(python_python_repository_href, nested_role)
27
+
28
+ Add a role
29
+
30
+ Add a role for this object to users/groups.
31
+
32
+ ### Example
33
+
34
+ ```ruby
35
+ # load the gem
36
+ require 'pulp_python_client'
37
+ # setup authorization
38
+ PulpPythonClient.configure do |config|
39
+ # Configure HTTP basic authorization: basicAuth
40
+ config.username = 'YOUR USERNAME'
41
+ config.password = 'YOUR PASSWORD'
42
+ end
43
+
44
+ api_instance = PulpPythonClient::RepositoriesPythonApi.new
45
+ python_python_repository_href = 'python_python_repository_href_example' # String |
46
+ nested_role = PulpPythonClient::NestedRole.new # NestedRole |
47
+
48
+ begin
49
+ #Add a role
50
+ result = api_instance.add_role(python_python_repository_href, nested_role)
51
+ p result
52
+ rescue PulpPythonClient::ApiError => e
53
+ puts "Exception when calling RepositoriesPythonApi->add_role: #{e}"
54
+ end
55
+ ```
56
+
57
+ ### Parameters
58
+
59
+
60
+ Name | Type | Description | Notes
61
+ ------------- | ------------- | ------------- | -------------
62
+ **python_python_repository_href** | **String**| |
63
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
64
+
65
+ ### Return type
66
+
67
+ [**NestedRoleResponse**](NestedRoleResponse.md)
68
+
69
+ ### Authorization
70
+
71
+ [basicAuth](../README.md#basicAuth)
72
+
73
+ ### HTTP request headers
74
+
75
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
76
+ - **Accept**: application/json
77
+
78
+
20
79
  ## create
21
80
 
22
81
  > PythonPythonRepositoryResponse create(python_python_repository)
@@ -234,6 +293,65 @@ Name | Type | Description | Notes
234
293
  - **Accept**: application/json
235
294
 
236
295
 
296
+ ## list_roles
297
+
298
+ > ObjectRolesResponse list_roles(python_python_repository_href, opts)
299
+
300
+ List roles
301
+
302
+ List roles assigned to this object.
303
+
304
+ ### Example
305
+
306
+ ```ruby
307
+ # load the gem
308
+ require 'pulp_python_client'
309
+ # setup authorization
310
+ PulpPythonClient.configure do |config|
311
+ # Configure HTTP basic authorization: basicAuth
312
+ config.username = 'YOUR USERNAME'
313
+ config.password = 'YOUR PASSWORD'
314
+ end
315
+
316
+ api_instance = PulpPythonClient::RepositoriesPythonApi.new
317
+ python_python_repository_href = 'python_python_repository_href_example' # String |
318
+ opts = {
319
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
320
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
321
+ }
322
+
323
+ begin
324
+ #List roles
325
+ result = api_instance.list_roles(python_python_repository_href, opts)
326
+ p result
327
+ rescue PulpPythonClient::ApiError => e
328
+ puts "Exception when calling RepositoriesPythonApi->list_roles: #{e}"
329
+ end
330
+ ```
331
+
332
+ ### Parameters
333
+
334
+
335
+ Name | Type | Description | Notes
336
+ ------------- | ------------- | ------------- | -------------
337
+ **python_python_repository_href** | **String**| |
338
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
339
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
340
+
341
+ ### Return type
342
+
343
+ [**ObjectRolesResponse**](ObjectRolesResponse.md)
344
+
345
+ ### Authorization
346
+
347
+ [basicAuth](../README.md#basicAuth)
348
+
349
+ ### HTTP request headers
350
+
351
+ - **Content-Type**: Not defined
352
+ - **Accept**: application/json
353
+
354
+
237
355
  ## modify
238
356
 
239
357
  > AsyncOperationResponse modify(python_python_repository_href, repository_add_remove_content)
@@ -289,6 +407,65 @@ Name | Type | Description | Notes
289
407
  - **Accept**: application/json
290
408
 
291
409
 
410
+ ## my_permissions
411
+
412
+ > MyPermissionsResponse my_permissions(python_python_repository_href, opts)
413
+
414
+ List user permissions
415
+
416
+ List permissions available to the current user on this object.
417
+
418
+ ### Example
419
+
420
+ ```ruby
421
+ # load the gem
422
+ require 'pulp_python_client'
423
+ # setup authorization
424
+ PulpPythonClient.configure do |config|
425
+ # Configure HTTP basic authorization: basicAuth
426
+ config.username = 'YOUR USERNAME'
427
+ config.password = 'YOUR PASSWORD'
428
+ end
429
+
430
+ api_instance = PulpPythonClient::RepositoriesPythonApi.new
431
+ python_python_repository_href = 'python_python_repository_href_example' # String |
432
+ opts = {
433
+ fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
434
+ exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
435
+ }
436
+
437
+ begin
438
+ #List user permissions
439
+ result = api_instance.my_permissions(python_python_repository_href, opts)
440
+ p result
441
+ rescue PulpPythonClient::ApiError => e
442
+ puts "Exception when calling RepositoriesPythonApi->my_permissions: #{e}"
443
+ end
444
+ ```
445
+
446
+ ### Parameters
447
+
448
+
449
+ Name | Type | Description | Notes
450
+ ------------- | ------------- | ------------- | -------------
451
+ **python_python_repository_href** | **String**| |
452
+ **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
453
+ **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
454
+
455
+ ### Return type
456
+
457
+ [**MyPermissionsResponse**](MyPermissionsResponse.md)
458
+
459
+ ### Authorization
460
+
461
+ [basicAuth](../README.md#basicAuth)
462
+
463
+ ### HTTP request headers
464
+
465
+ - **Content-Type**: Not defined
466
+ - **Accept**: application/json
467
+
468
+
292
469
  ## partial_update
293
470
 
294
471
  > AsyncOperationResponse partial_update(python_python_repository_href, patchedpython_python_repository)
@@ -403,6 +580,61 @@ Name | Type | Description | Notes
403
580
  - **Accept**: application/json
404
581
 
405
582
 
583
+ ## remove_role
584
+
585
+ > NestedRoleResponse remove_role(python_python_repository_href, nested_role)
586
+
587
+ Remove a role
588
+
589
+ Remove a role for this object from users/groups.
590
+
591
+ ### Example
592
+
593
+ ```ruby
594
+ # load the gem
595
+ require 'pulp_python_client'
596
+ # setup authorization
597
+ PulpPythonClient.configure do |config|
598
+ # Configure HTTP basic authorization: basicAuth
599
+ config.username = 'YOUR USERNAME'
600
+ config.password = 'YOUR PASSWORD'
601
+ end
602
+
603
+ api_instance = PulpPythonClient::RepositoriesPythonApi.new
604
+ python_python_repository_href = 'python_python_repository_href_example' # String |
605
+ nested_role = PulpPythonClient::NestedRole.new # NestedRole |
606
+
607
+ begin
608
+ #Remove a role
609
+ result = api_instance.remove_role(python_python_repository_href, nested_role)
610
+ p result
611
+ rescue PulpPythonClient::ApiError => e
612
+ puts "Exception when calling RepositoriesPythonApi->remove_role: #{e}"
613
+ end
614
+ ```
615
+
616
+ ### Parameters
617
+
618
+
619
+ Name | Type | Description | Notes
620
+ ------------- | ------------- | ------------- | -------------
621
+ **python_python_repository_href** | **String**| |
622
+ **nested_role** | [**NestedRole**](NestedRole.md)| |
623
+
624
+ ### Return type
625
+
626
+ [**NestedRoleResponse**](NestedRoleResponse.md)
627
+
628
+ ### Authorization
629
+
630
+ [basicAuth](../README.md#basicAuth)
631
+
632
+ ### HTTP request headers
633
+
634
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
635
+ - **Accept**: application/json
636
+
637
+
406
638
  ## set_label
407
639
 
408
640
  > SetLabelResponse set_label(python_python_repository_href, set_label)
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **pulp_href** | **String** | | [optional] [readonly]
8
8
  **pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
9
+ **pulp_last_updated** | **DateTime** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional] [readonly]
9
10
  **number** | **Integer** | | [optional] [readonly]
10
11
  **repository** | **String** | | [optional] [readonly]
11
12
  **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional]
@@ -18,6 +19,7 @@ require 'PulpPythonClient'
18
19
 
19
20
  instance = PulpPythonClient::RepositoryVersionResponse.new(pulp_href: null,
20
21
  pulp_created: null,
22
+ pulp_last_updated: null,
21
23
  number: null,
22
24
  repository: null,
23
25
  base_version: null,
@@ -41,14 +41,14 @@ module PulpPythonClient
41
41
  # @option opts [String] :license Text indicating the license covering the distribution
42
42
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
43
43
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
44
- # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
44
+ # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
45
45
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
46
46
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
47
- # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
48
- # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
49
- # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
50
- # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
51
- # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
47
+ # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
48
+ # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
49
+ # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
50
+ # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
51
+ # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
52
52
  # @return [AsyncOperationResponse]
53
53
  def create(relative_path, opts = {})
54
54
  data, _status_code, _headers = create_with_http_info(relative_path, opts)
@@ -77,14 +77,14 @@ module PulpPythonClient
77
77
  # @option opts [String] :license Text indicating the license covering the distribution
78
78
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
79
79
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
80
- # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
80
+ # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
81
81
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
82
82
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
83
- # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
84
- # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
85
- # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
86
- # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
87
- # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
83
+ # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
84
+ # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
85
+ # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
86
+ # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
87
+ # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
88
88
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
89
89
  def create_with_http_info(relative_path, opts = {})
90
90
  if @api_client.config.debugging
@@ -185,6 +185,7 @@ module PulpPythonClient
185
185
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
186
186
  # @option opts [Integer] :offset The initial index from which to return the results.
187
187
  # @option opts [Array<String>] :ordering 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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
188
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
188
189
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
189
190
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
190
191
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -226,6 +227,7 @@ module PulpPythonClient
226
227
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
227
228
  # @option opts [Integer] :offset The initial index from which to return the results.
228
229
  # @option opts [Array<String>] :ordering 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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;filename&#x60; - Filename * &#x60;-filename&#x60; - Filename (descending) * &#x60;packagetype&#x60; - Packagetype * &#x60;-packagetype&#x60; - Packagetype (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;version&#x60; - Version * &#x60;-version&#x60; - Version (descending) * &#x60;sha256&#x60; - Sha256 * &#x60;-sha256&#x60; - Sha256 (descending) * &#x60;python_version&#x60; - Python version * &#x60;-python_version&#x60; - Python version (descending) * &#x60;metadata_version&#x60; - Metadata version * &#x60;-metadata_version&#x60; - Metadata version (descending) * &#x60;summary&#x60; - Summary * &#x60;-summary&#x60; - Summary (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;keywords&#x60; - Keywords * &#x60;-keywords&#x60; - Keywords (descending) * &#x60;home_page&#x60; - Home page * &#x60;-home_page&#x60; - Home page (descending) * &#x60;download_url&#x60; - Download url * &#x60;-download_url&#x60; - Download url (descending) * &#x60;author&#x60; - Author * &#x60;-author&#x60; - Author (descending) * &#x60;author_email&#x60; - Author email * &#x60;-author_email&#x60; - Author email (descending) * &#x60;maintainer&#x60; - Maintainer * &#x60;-maintainer&#x60; - Maintainer (descending) * &#x60;maintainer_email&#x60; - Maintainer email * &#x60;-maintainer_email&#x60; - Maintainer email (descending) * &#x60;license&#x60; - License * &#x60;-license&#x60; - License (descending) * &#x60;requires_python&#x60; - Requires python * &#x60;-requires_python&#x60; - Requires python (descending) * &#x60;project_url&#x60; - Project url * &#x60;-project_url&#x60; - Project url (descending) * &#x60;platform&#x60; - Platform * &#x60;-platform&#x60; - Platform (descending) * &#x60;supported_platform&#x60; - Supported platform * &#x60;-supported_platform&#x60; - Supported platform (descending) * &#x60;requires_dist&#x60; - Requires dist * &#x60;-requires_dist&#x60; - Requires dist (descending) * &#x60;provides_dist&#x60; - Provides dist * &#x60;-provides_dist&#x60; - Provides dist (descending) * &#x60;obsoletes_dist&#x60; - Obsoletes dist * &#x60;-obsoletes_dist&#x60; - Obsoletes dist (descending) * &#x60;requires_external&#x60; - Requires external * &#x60;-requires_external&#x60; - Requires external (descending) * &#x60;classifiers&#x60; - Classifiers * &#x60;-classifiers&#x60; - Classifiers (descending) * &#x60;project_urls&#x60; - Project urls * &#x60;-project_urls&#x60; - Project urls (descending) * &#x60;description_content_type&#x60; - Description content type * &#x60;-description_content_type&#x60; - Description content type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
230
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
229
231
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
230
232
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
231
233
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
@@ -276,6 +278,7 @@ module PulpPythonClient
276
278
  query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
277
279
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
278
280
  query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
281
+ query_params[:'orphaned_for'] = opts[:'orphaned_for'] if !opts[:'orphaned_for'].nil?
279
282
  query_params[:'packagetype'] = opts[:'packagetype'] if !opts[:'packagetype'].nil?
280
283
  query_params[:'packagetype__in'] = @api_client.build_collection_param(opts[:'packagetype__in'], :csv) if !opts[:'packagetype__in'].nil?
281
284
  query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?