pulpcore_client 3.21.32 → 3.21.34

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +139 -141
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactsApi.md +20 -20
  5. data/docs/ContentApi.md +5 -5
  6. data/docs/ContentguardsApi.md +5 -5
  7. data/docs/ContentguardsContentRedirectApi.md +50 -50
  8. data/docs/ContentguardsRbacApi.md +50 -50
  9. data/docs/DistributionsApi.md +5 -5
  10. data/docs/ExportersFilesystemApi.md +30 -30
  11. data/docs/ExportersFilesystemExportsApi.md +20 -20
  12. data/docs/ExportersPulpApi.md +30 -30
  13. data/docs/ExportersPulpExportsApi.md +20 -20
  14. data/docs/GroupsApi.md +50 -50
  15. data/docs/GroupsRolesApi.md +20 -20
  16. data/docs/GroupsUsersApi.md +15 -15
  17. data/docs/ImportersPulpApi.md +30 -30
  18. data/docs/ImportersPulpImportsApi.md +20 -20
  19. data/docs/OrphansApi.md +5 -5
  20. data/docs/OrphansCleanupApi.md +5 -5
  21. data/docs/PublicationsApi.md +5 -5
  22. data/docs/RemotesApi.md +5 -5
  23. data/docs/RepairApi.md +5 -5
  24. data/docs/RepositoriesApi.md +5 -5
  25. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  26. data/docs/RepositoryVersionsApi.md +5 -5
  27. data/docs/RolesApi.md +30 -30
  28. data/docs/SigningServicesApi.md +10 -10
  29. data/docs/TaskGroupsApi.md +10 -10
  30. data/docs/TaskSchedulesApi.md +30 -30
  31. data/docs/TasksApi.md +95 -95
  32. data/docs/UploadsApi.md +50 -50
  33. data/docs/UsersApi.md +30 -30
  34. data/docs/UsersRolesApi.md +20 -20
  35. data/docs/WorkersApi.md +10 -10
  36. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  37. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  38. data/lib/pulpcore_client/api/content_api.rb +5 -5
  39. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  40. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  41. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  42. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  43. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  44. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  45. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  46. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  47. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  48. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  49. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  50. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  51. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  52. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  53. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  54. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  55. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  56. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  57. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  58. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  59. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  60. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  61. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  62. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  63. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  64. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  65. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  66. data/lib/pulpcore_client/api/users_api.rb +37 -37
  67. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  68. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  69. data/lib/pulpcore_client/version.rb +1 -1
  70. data/lib/pulpcore_client.rb +0 -2
  71. data/spec/api/access_policies_api_spec.rb +10 -10
  72. data/spec/api/artifacts_api_spec.rb +8 -8
  73. data/spec/api/content_api_spec.rb +2 -2
  74. data/spec/api/contentguards_api_spec.rb +2 -2
  75. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  76. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  77. data/spec/api/distributions_api_spec.rb +2 -2
  78. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  79. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  80. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  81. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  82. data/spec/api/groups_api_spec.rb +20 -20
  83. data/spec/api/groups_roles_api_spec.rb +8 -8
  84. data/spec/api/groups_users_api_spec.rb +6 -6
  85. data/spec/api/importers_pulp_api_spec.rb +12 -12
  86. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  87. data/spec/api/orphans_api_spec.rb +2 -2
  88. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  89. data/spec/api/publications_api_spec.rb +2 -2
  90. data/spec/api/remotes_api_spec.rb +2 -2
  91. data/spec/api/repair_api_spec.rb +2 -2
  92. data/spec/api/repositories_api_spec.rb +2 -2
  93. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  94. data/spec/api/repository_versions_api_spec.rb +2 -2
  95. data/spec/api/roles_api_spec.rb +12 -12
  96. data/spec/api/signing_services_api_spec.rb +4 -4
  97. data/spec/api/task_groups_api_spec.rb +4 -4
  98. data/spec/api/task_schedules_api_spec.rb +12 -12
  99. data/spec/api/tasks_api_spec.rb +29 -29
  100. data/spec/api/uploads_api_spec.rb +20 -20
  101. data/spec/api/users_api_spec.rb +12 -12
  102. data/spec/api/users_roles_api_spec.rb +8 -8
  103. data/spec/api/workers_api_spec.rb +4 -4
  104. metadata +127 -135
  105. data/docs/DocsApiJsonApi.md +0 -61
  106. data/docs/DocsApiYamlApi.md +0 -61
  107. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  108. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  109. data/spec/api/docs_api_json_api_spec.rb +0 -48
  110. data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/TasksApi.md CHANGED
@@ -4,21 +4,21 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**tasks_add_role**](TasksApi.md#tasks_add_role) | **POST** {task_href}add_role/ |
7
+ [**add_role**](TasksApi.md#add_role) | **POST** {task_href}add_role/ |
8
+ [**delete**](TasksApi.md#delete) | **DELETE** {task_href} | Delete a task
9
+ [**list**](TasksApi.md#list) | **GET** /pulp/api/v3/tasks/ | List tasks
10
+ [**list_roles**](TasksApi.md#list_roles) | **GET** {task_href}list_roles/ |
11
+ [**my_permissions**](TasksApi.md#my_permissions) | **GET** {task_href}my_permissions/ |
12
+ [**purge**](TasksApi.md#purge) | **POST** /pulp/api/v3/tasks/purge/ | Purge Completed Tasks
13
+ [**read**](TasksApi.md#read) | **GET** {task_href} | Inspect a task
14
+ [**remove_role**](TasksApi.md#remove_role) | **POST** {task_href}remove_role/ |
8
15
  [**tasks_cancel**](TasksApi.md#tasks_cancel) | **PATCH** {task_href} | Cancel a task
9
- [**tasks_delete**](TasksApi.md#tasks_delete) | **DELETE** {task_href} | Delete a task
10
- [**tasks_list**](TasksApi.md#tasks_list) | **GET** /pulp/api/v3/tasks/ | List tasks
11
- [**tasks_list_roles**](TasksApi.md#tasks_list_roles) | **GET** {task_href}list_roles/ |
12
- [**tasks_my_permissions**](TasksApi.md#tasks_my_permissions) | **GET** {task_href}my_permissions/ |
13
- [**tasks_purge**](TasksApi.md#tasks_purge) | **POST** /pulp/api/v3/tasks/purge/ | Purge Completed Tasks
14
- [**tasks_read**](TasksApi.md#tasks_read) | **GET** {task_href} | Inspect a task
15
- [**tasks_remove_role**](TasksApi.md#tasks_remove_role) | **POST** {task_href}remove_role/ |
16
16
 
17
17
 
18
18
 
19
- ## tasks_add_role
19
+ ## add_role
20
20
 
21
- > NestedRoleResponse tasks_add_role(task_href, nested_role)
21
+ > NestedRoleResponse add_role(task_href, nested_role)
22
22
 
23
23
 
24
24
 
@@ -41,10 +41,10 @@ task_href = 'task_href_example' # String |
41
41
  nested_role = PulpcoreClient::NestedRole.new # NestedRole |
42
42
 
43
43
  begin
44
- result = api_instance.tasks_add_role(task_href, nested_role)
44
+ result = api_instance.add_role(task_href, nested_role)
45
45
  p result
46
46
  rescue PulpcoreClient::ApiError => e
47
- puts "Exception when calling TasksApi->tasks_add_role: #{e}"
47
+ puts "Exception when calling TasksApi->add_role: #{e}"
48
48
  end
49
49
  ```
50
50
 
@@ -70,64 +70,9 @@ Name | Type | Description | Notes
70
70
  - **Accept**: application/json
71
71
 
72
72
 
73
- ## tasks_cancel
74
-
75
- > TaskResponse tasks_cancel(task_href, patched_task_cancel)
76
-
77
- Cancel a task
78
-
79
- This operation cancels a task.
80
-
81
- ### Example
82
-
83
- ```ruby
84
- # load the gem
85
- require 'pulpcore_client'
86
- # setup authorization
87
- PulpcoreClient.configure do |config|
88
- # Configure HTTP basic authorization: basicAuth
89
- config.username = 'YOUR USERNAME'
90
- config.password = 'YOUR PASSWORD'
91
- end
92
-
93
- api_instance = PulpcoreClient::TasksApi.new
94
- task_href = 'task_href_example' # String |
95
- patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
96
-
97
- begin
98
- #Cancel a task
99
- result = api_instance.tasks_cancel(task_href, patched_task_cancel)
100
- p result
101
- rescue PulpcoreClient::ApiError => e
102
- puts "Exception when calling TasksApi->tasks_cancel: #{e}"
103
- end
104
- ```
105
-
106
- ### Parameters
107
-
108
-
109
- Name | Type | Description | Notes
110
- ------------- | ------------- | ------------- | -------------
111
- **task_href** | **String**| |
112
- **patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md)| |
113
-
114
- ### Return type
115
-
116
- [**TaskResponse**](TaskResponse.md)
117
-
118
- ### Authorization
119
-
120
- [basicAuth](../README.md#basicAuth)
121
-
122
- ### HTTP request headers
123
-
124
- - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
125
- - **Accept**: application/json
126
-
127
-
128
- ## tasks_delete
73
+ ## delete
129
74
 
130
- > tasks_delete(task_href)
75
+ > delete(task_href)
131
76
 
132
77
  Delete a task
133
78
 
@@ -150,9 +95,9 @@ task_href = 'task_href_example' # String |
150
95
 
151
96
  begin
152
97
  #Delete a task
153
- api_instance.tasks_delete(task_href)
98
+ api_instance.delete(task_href)
154
99
  rescue PulpcoreClient::ApiError => e
155
- puts "Exception when calling TasksApi->tasks_delete: #{e}"
100
+ puts "Exception when calling TasksApi->delete: #{e}"
156
101
  end
157
102
  ```
158
103
 
@@ -177,9 +122,9 @@ nil (empty response body)
177
122
  - **Accept**: Not defined
178
123
 
179
124
 
180
- ## tasks_list
125
+ ## list
181
126
 
182
- > PaginatedTaskResponseList tasks_list(opts)
127
+ > PaginatedTaskResponseList list(opts)
183
128
 
184
129
  List tasks
185
130
 
@@ -233,10 +178,10 @@ opts = {
233
178
 
234
179
  begin
235
180
  #List tasks
236
- result = api_instance.tasks_list(opts)
181
+ result = api_instance.list(opts)
237
182
  p result
238
183
  rescue PulpcoreClient::ApiError => e
239
- puts "Exception when calling TasksApi->tasks_list: #{e}"
184
+ puts "Exception when calling TasksApi->list: #{e}"
240
185
  end
241
186
  ```
242
187
 
@@ -290,9 +235,9 @@ Name | Type | Description | Notes
290
235
  - **Accept**: application/json
291
236
 
292
237
 
293
- ## tasks_list_roles
238
+ ## list_roles
294
239
 
295
- > ObjectRolesResponse tasks_list_roles(task_href, opts)
240
+ > ObjectRolesResponse list_roles(task_href, opts)
296
241
 
297
242
 
298
243
 
@@ -318,10 +263,10 @@ opts = {
318
263
  }
319
264
 
320
265
  begin
321
- result = api_instance.tasks_list_roles(task_href, opts)
266
+ result = api_instance.list_roles(task_href, opts)
322
267
  p result
323
268
  rescue PulpcoreClient::ApiError => e
324
- puts "Exception when calling TasksApi->tasks_list_roles: #{e}"
269
+ puts "Exception when calling TasksApi->list_roles: #{e}"
325
270
  end
326
271
  ```
327
272
 
@@ -348,9 +293,9 @@ Name | Type | Description | Notes
348
293
  - **Accept**: application/json
349
294
 
350
295
 
351
- ## tasks_my_permissions
296
+ ## my_permissions
352
297
 
353
- > MyPermissionsResponse tasks_my_permissions(task_href, opts)
298
+ > MyPermissionsResponse my_permissions(task_href, opts)
354
299
 
355
300
 
356
301
 
@@ -376,10 +321,10 @@ opts = {
376
321
  }
377
322
 
378
323
  begin
379
- result = api_instance.tasks_my_permissions(task_href, opts)
324
+ result = api_instance.my_permissions(task_href, opts)
380
325
  p result
381
326
  rescue PulpcoreClient::ApiError => e
382
- puts "Exception when calling TasksApi->tasks_my_permissions: #{e}"
327
+ puts "Exception when calling TasksApi->my_permissions: #{e}"
383
328
  end
384
329
  ```
385
330
 
@@ -406,9 +351,9 @@ Name | Type | Description | Notes
406
351
  - **Accept**: application/json
407
352
 
408
353
 
409
- ## tasks_purge
354
+ ## purge
410
355
 
411
- > AsyncOperationResponse tasks_purge(purge)
356
+ > AsyncOperationResponse purge(purge)
412
357
 
413
358
  Purge Completed Tasks
414
359
 
@@ -431,10 +376,10 @@ purge = PulpcoreClient::Purge.new # Purge |
431
376
 
432
377
  begin
433
378
  #Purge Completed Tasks
434
- result = api_instance.tasks_purge(purge)
379
+ result = api_instance.purge(purge)
435
380
  p result
436
381
  rescue PulpcoreClient::ApiError => e
437
- puts "Exception when calling TasksApi->tasks_purge: #{e}"
382
+ puts "Exception when calling TasksApi->purge: #{e}"
438
383
  end
439
384
  ```
440
385
 
@@ -459,9 +404,9 @@ Name | Type | Description | Notes
459
404
  - **Accept**: application/json
460
405
 
461
406
 
462
- ## tasks_read
407
+ ## read
463
408
 
464
- > TaskResponse tasks_read(task_href, opts)
409
+ > TaskResponse read(task_href, opts)
465
410
 
466
411
  Inspect a task
467
412
 
@@ -488,10 +433,10 @@ opts = {
488
433
 
489
434
  begin
490
435
  #Inspect a task
491
- result = api_instance.tasks_read(task_href, opts)
436
+ result = api_instance.read(task_href, opts)
492
437
  p result
493
438
  rescue PulpcoreClient::ApiError => e
494
- puts "Exception when calling TasksApi->tasks_read: #{e}"
439
+ puts "Exception when calling TasksApi->read: #{e}"
495
440
  end
496
441
  ```
497
442
 
@@ -518,9 +463,9 @@ Name | Type | Description | Notes
518
463
  - **Accept**: application/json
519
464
 
520
465
 
521
- ## tasks_remove_role
466
+ ## remove_role
522
467
 
523
- > NestedRoleResponse tasks_remove_role(task_href, nested_role)
468
+ > NestedRoleResponse remove_role(task_href, nested_role)
524
469
 
525
470
 
526
471
 
@@ -543,10 +488,10 @@ task_href = 'task_href_example' # String |
543
488
  nested_role = PulpcoreClient::NestedRole.new # NestedRole |
544
489
 
545
490
  begin
546
- result = api_instance.tasks_remove_role(task_href, nested_role)
491
+ result = api_instance.remove_role(task_href, nested_role)
547
492
  p result
548
493
  rescue PulpcoreClient::ApiError => e
549
- puts "Exception when calling TasksApi->tasks_remove_role: #{e}"
494
+ puts "Exception when calling TasksApi->remove_role: #{e}"
550
495
  end
551
496
  ```
552
497
 
@@ -571,3 +516,58 @@ Name | Type | Description | Notes
571
516
  - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
572
517
  - **Accept**: application/json
573
518
 
519
+
520
+ ## tasks_cancel
521
+
522
+ > TaskResponse tasks_cancel(task_href, patched_task_cancel)
523
+
524
+ Cancel a task
525
+
526
+ This operation cancels a task.
527
+
528
+ ### Example
529
+
530
+ ```ruby
531
+ # load the gem
532
+ require 'pulpcore_client'
533
+ # setup authorization
534
+ PulpcoreClient.configure do |config|
535
+ # Configure HTTP basic authorization: basicAuth
536
+ config.username = 'YOUR USERNAME'
537
+ config.password = 'YOUR PASSWORD'
538
+ end
539
+
540
+ api_instance = PulpcoreClient::TasksApi.new
541
+ task_href = 'task_href_example' # String |
542
+ patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
543
+
544
+ begin
545
+ #Cancel a task
546
+ result = api_instance.tasks_cancel(task_href, patched_task_cancel)
547
+ p result
548
+ rescue PulpcoreClient::ApiError => e
549
+ puts "Exception when calling TasksApi->tasks_cancel: #{e}"
550
+ end
551
+ ```
552
+
553
+ ### Parameters
554
+
555
+
556
+ Name | Type | Description | Notes
557
+ ------------- | ------------- | ------------- | -------------
558
+ **task_href** | **String**| |
559
+ **patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md)| |
560
+
561
+ ### Return type
562
+
563
+ [**TaskResponse**](TaskResponse.md)
564
+
565
+ ### Authorization
566
+
567
+ [basicAuth](../README.md#basicAuth)
568
+
569
+ ### HTTP request headers
570
+
571
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
572
+ - **Accept**: application/json
573
+
data/docs/UploadsApi.md CHANGED
@@ -4,22 +4,22 @@ All URIs are relative to *http://localhost:24817*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
- [**uploads_add_role**](UploadsApi.md#uploads_add_role) | **POST** {upload_href}add_role/ |
8
- [**uploads_commit**](UploadsApi.md#uploads_commit) | **POST** {upload_href}commit/ | Finish an Upload
9
- [**uploads_create**](UploadsApi.md#uploads_create) | **POST** /pulp/api/v3/uploads/ | Create an upload
10
- [**uploads_delete**](UploadsApi.md#uploads_delete) | **DELETE** {upload_href} | Delete an upload
11
- [**uploads_list**](UploadsApi.md#uploads_list) | **GET** /pulp/api/v3/uploads/ | List uploads
12
- [**uploads_list_roles**](UploadsApi.md#uploads_list_roles) | **GET** {upload_href}list_roles/ |
13
- [**uploads_my_permissions**](UploadsApi.md#uploads_my_permissions) | **GET** {upload_href}my_permissions/ |
14
- [**uploads_read**](UploadsApi.md#uploads_read) | **GET** {upload_href} | Inspect an upload
15
- [**uploads_remove_role**](UploadsApi.md#uploads_remove_role) | **POST** {upload_href}remove_role/ |
16
- [**uploads_update**](UploadsApi.md#uploads_update) | **PUT** {upload_href} | Upload a file chunk
7
+ [**add_role**](UploadsApi.md#add_role) | **POST** {upload_href}add_role/ |
8
+ [**commit**](UploadsApi.md#commit) | **POST** {upload_href}commit/ | Finish an Upload
9
+ [**create**](UploadsApi.md#create) | **POST** /pulp/api/v3/uploads/ | Create an upload
10
+ [**delete**](UploadsApi.md#delete) | **DELETE** {upload_href} | Delete an upload
11
+ [**list**](UploadsApi.md#list) | **GET** /pulp/api/v3/uploads/ | List uploads
12
+ [**list_roles**](UploadsApi.md#list_roles) | **GET** {upload_href}list_roles/ |
13
+ [**my_permissions**](UploadsApi.md#my_permissions) | **GET** {upload_href}my_permissions/ |
14
+ [**read**](UploadsApi.md#read) | **GET** {upload_href} | Inspect an upload
15
+ [**remove_role**](UploadsApi.md#remove_role) | **POST** {upload_href}remove_role/ |
16
+ [**update**](UploadsApi.md#update) | **PUT** {upload_href} | Upload a file chunk
17
17
 
18
18
 
19
19
 
20
- ## uploads_add_role
20
+ ## add_role
21
21
 
22
- > NestedRoleResponse uploads_add_role(upload_href, upload)
22
+ > NestedRoleResponse add_role(upload_href, upload)
23
23
 
24
24
 
25
25
 
@@ -42,10 +42,10 @@ upload_href = 'upload_href_example' # String |
42
42
  upload = PulpcoreClient::Upload.new # Upload |
43
43
 
44
44
  begin
45
- result = api_instance.uploads_add_role(upload_href, upload)
45
+ result = api_instance.add_role(upload_href, upload)
46
46
  p result
47
47
  rescue PulpcoreClient::ApiError => e
48
- puts "Exception when calling UploadsApi->uploads_add_role: #{e}"
48
+ puts "Exception when calling UploadsApi->add_role: #{e}"
49
49
  end
50
50
  ```
51
51
 
@@ -71,9 +71,9 @@ Name | Type | Description | Notes
71
71
  - **Accept**: application/json
72
72
 
73
73
 
74
- ## uploads_commit
74
+ ## commit
75
75
 
76
- > AsyncOperationResponse uploads_commit(upload_href, upload_commit)
76
+ > AsyncOperationResponse commit(upload_href, upload_commit)
77
77
 
78
78
  Finish an Upload
79
79
 
@@ -97,10 +97,10 @@ upload_commit = PulpcoreClient::UploadCommit.new # UploadCommit |
97
97
 
98
98
  begin
99
99
  #Finish an Upload
100
- result = api_instance.uploads_commit(upload_href, upload_commit)
100
+ result = api_instance.commit(upload_href, upload_commit)
101
101
  p result
102
102
  rescue PulpcoreClient::ApiError => e
103
- puts "Exception when calling UploadsApi->uploads_commit: #{e}"
103
+ puts "Exception when calling UploadsApi->commit: #{e}"
104
104
  end
105
105
  ```
106
106
 
@@ -126,9 +126,9 @@ Name | Type | Description | Notes
126
126
  - **Accept**: application/json
127
127
 
128
128
 
129
- ## uploads_create
129
+ ## create
130
130
 
131
- > UploadResponse uploads_create(upload)
131
+ > UploadResponse create(upload)
132
132
 
133
133
  Create an upload
134
134
 
@@ -151,10 +151,10 @@ upload = PulpcoreClient::Upload.new # Upload |
151
151
 
152
152
  begin
153
153
  #Create an upload
154
- result = api_instance.uploads_create(upload)
154
+ result = api_instance.create(upload)
155
155
  p result
156
156
  rescue PulpcoreClient::ApiError => e
157
- puts "Exception when calling UploadsApi->uploads_create: #{e}"
157
+ puts "Exception when calling UploadsApi->create: #{e}"
158
158
  end
159
159
  ```
160
160
 
@@ -179,9 +179,9 @@ Name | Type | Description | Notes
179
179
  - **Accept**: application/json
180
180
 
181
181
 
182
- ## uploads_delete
182
+ ## delete
183
183
 
184
- > uploads_delete(upload_href)
184
+ > delete(upload_href)
185
185
 
186
186
  Delete an upload
187
187
 
@@ -204,9 +204,9 @@ upload_href = 'upload_href_example' # String |
204
204
 
205
205
  begin
206
206
  #Delete an upload
207
- api_instance.uploads_delete(upload_href)
207
+ api_instance.delete(upload_href)
208
208
  rescue PulpcoreClient::ApiError => e
209
- puts "Exception when calling UploadsApi->uploads_delete: #{e}"
209
+ puts "Exception when calling UploadsApi->delete: #{e}"
210
210
  end
211
211
  ```
212
212
 
@@ -231,9 +231,9 @@ nil (empty response body)
231
231
  - **Accept**: Not defined
232
232
 
233
233
 
234
- ## uploads_list
234
+ ## list
235
235
 
236
- > PaginatedUploadResponseList uploads_list(opts)
236
+ > PaginatedUploadResponseList list(opts)
237
237
 
238
238
  List uploads
239
239
 
@@ -261,10 +261,10 @@ opts = {
261
261
 
262
262
  begin
263
263
  #List uploads
264
- result = api_instance.uploads_list(opts)
264
+ result = api_instance.list(opts)
265
265
  p result
266
266
  rescue PulpcoreClient::ApiError => e
267
- puts "Exception when calling UploadsApi->uploads_list: #{e}"
267
+ puts "Exception when calling UploadsApi->list: #{e}"
268
268
  end
269
269
  ```
270
270
 
@@ -292,9 +292,9 @@ Name | Type | Description | Notes
292
292
  - **Accept**: application/json
293
293
 
294
294
 
295
- ## uploads_list_roles
295
+ ## list_roles
296
296
 
297
- > ObjectRolesResponse uploads_list_roles(upload_href, opts)
297
+ > ObjectRolesResponse list_roles(upload_href, opts)
298
298
 
299
299
 
300
300
 
@@ -320,10 +320,10 @@ opts = {
320
320
  }
321
321
 
322
322
  begin
323
- result = api_instance.uploads_list_roles(upload_href, opts)
323
+ result = api_instance.list_roles(upload_href, opts)
324
324
  p result
325
325
  rescue PulpcoreClient::ApiError => e
326
- puts "Exception when calling UploadsApi->uploads_list_roles: #{e}"
326
+ puts "Exception when calling UploadsApi->list_roles: #{e}"
327
327
  end
328
328
  ```
329
329
 
@@ -350,9 +350,9 @@ Name | Type | Description | Notes
350
350
  - **Accept**: application/json
351
351
 
352
352
 
353
- ## uploads_my_permissions
353
+ ## my_permissions
354
354
 
355
- > MyPermissionsResponse uploads_my_permissions(upload_href, opts)
355
+ > MyPermissionsResponse my_permissions(upload_href, opts)
356
356
 
357
357
 
358
358
 
@@ -378,10 +378,10 @@ opts = {
378
378
  }
379
379
 
380
380
  begin
381
- result = api_instance.uploads_my_permissions(upload_href, opts)
381
+ result = api_instance.my_permissions(upload_href, opts)
382
382
  p result
383
383
  rescue PulpcoreClient::ApiError => e
384
- puts "Exception when calling UploadsApi->uploads_my_permissions: #{e}"
384
+ puts "Exception when calling UploadsApi->my_permissions: #{e}"
385
385
  end
386
386
  ```
387
387
 
@@ -408,9 +408,9 @@ Name | Type | Description | Notes
408
408
  - **Accept**: application/json
409
409
 
410
410
 
411
- ## uploads_read
411
+ ## read
412
412
 
413
- > UploadDetailResponse uploads_read(upload_href, opts)
413
+ > UploadDetailResponse read(upload_href, opts)
414
414
 
415
415
  Inspect an upload
416
416
 
@@ -437,10 +437,10 @@ opts = {
437
437
 
438
438
  begin
439
439
  #Inspect an upload
440
- result = api_instance.uploads_read(upload_href, opts)
440
+ result = api_instance.read(upload_href, opts)
441
441
  p result
442
442
  rescue PulpcoreClient::ApiError => e
443
- puts "Exception when calling UploadsApi->uploads_read: #{e}"
443
+ puts "Exception when calling UploadsApi->read: #{e}"
444
444
  end
445
445
  ```
446
446
 
@@ -467,9 +467,9 @@ Name | Type | Description | Notes
467
467
  - **Accept**: application/json
468
468
 
469
469
 
470
- ## uploads_remove_role
470
+ ## remove_role
471
471
 
472
- > NestedRoleResponse uploads_remove_role(upload_href, upload)
472
+ > NestedRoleResponse remove_role(upload_href, upload)
473
473
 
474
474
 
475
475
 
@@ -492,10 +492,10 @@ upload_href = 'upload_href_example' # String |
492
492
  upload = PulpcoreClient::Upload.new # Upload |
493
493
 
494
494
  begin
495
- result = api_instance.uploads_remove_role(upload_href, upload)
495
+ result = api_instance.remove_role(upload_href, upload)
496
496
  p result
497
497
  rescue PulpcoreClient::ApiError => e
498
- puts "Exception when calling UploadsApi->uploads_remove_role: #{e}"
498
+ puts "Exception when calling UploadsApi->remove_role: #{e}"
499
499
  end
500
500
  ```
501
501
 
@@ -521,9 +521,9 @@ Name | Type | Description | Notes
521
521
  - **Accept**: application/json
522
522
 
523
523
 
524
- ## uploads_update
524
+ ## update
525
525
 
526
- > UploadResponse uploads_update(content_range, upload_href, file, opts)
526
+ > UploadResponse update(content_range, upload_href, file, opts)
527
527
 
528
528
  Upload a file chunk
529
529
 
@@ -551,10 +551,10 @@ opts = {
551
551
 
552
552
  begin
553
553
  #Upload a file chunk
554
- result = api_instance.uploads_update(content_range, upload_href, file, opts)
554
+ result = api_instance.update(content_range, upload_href, file, opts)
555
555
  p result
556
556
  rescue PulpcoreClient::ApiError => e
557
- puts "Exception when calling UploadsApi->uploads_update: #{e}"
557
+ puts "Exception when calling UploadsApi->update: #{e}"
558
558
  end
559
559
  ```
560
560