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
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param upload [Upload]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NestedRoleResponse]
27
- def uploads_add_role(upload_href, upload, opts = {})
28
- data, _status_code, _headers = uploads_add_role_with_http_info(upload_href, upload, opts)
27
+ def add_role(upload_href, upload, opts = {})
28
+ data, _status_code, _headers = add_role_with_http_info(upload_href, upload, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,17 +34,17 @@ module PulpcoreClient
34
34
  # @param upload [Upload]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
37
- def uploads_add_role_with_http_info(upload_href, upload, opts = {})
37
+ def add_role_with_http_info(upload_href, upload, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_add_role ...'
39
+ @api_client.config.logger.debug 'Calling API: UploadsApi.add_role ...'
40
40
  end
41
41
  # verify the required parameter 'upload_href' is set
42
42
  if @api_client.config.client_side_validation && upload_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_add_role"
43
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.add_role"
44
44
  end
45
45
  # verify the required parameter 'upload' is set
46
46
  if @api_client.config.client_side_validation && upload.nil?
47
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_add_role"
47
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.add_role"
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '{upload_href}add_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -82,7 +82,7 @@ module PulpcoreClient
82
82
 
83
83
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
84
84
  if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: UploadsApi#uploads_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: UploadsApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
@@ -93,8 +93,8 @@ module PulpcoreClient
93
93
  # @param upload_commit [UploadCommit]
94
94
  # @param [Hash] opts the optional parameters
95
95
  # @return [AsyncOperationResponse]
96
- def uploads_commit(upload_href, upload_commit, opts = {})
97
- data, _status_code, _headers = uploads_commit_with_http_info(upload_href, upload_commit, opts)
96
+ def commit(upload_href, upload_commit, opts = {})
97
+ data, _status_code, _headers = commit_with_http_info(upload_href, upload_commit, opts)
98
98
  data
99
99
  end
100
100
 
@@ -104,17 +104,17 @@ module PulpcoreClient
104
104
  # @param upload_commit [UploadCommit]
105
105
  # @param [Hash] opts the optional parameters
106
106
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
107
- def uploads_commit_with_http_info(upload_href, upload_commit, opts = {})
107
+ def commit_with_http_info(upload_href, upload_commit, opts = {})
108
108
  if @api_client.config.debugging
109
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_commit ...'
109
+ @api_client.config.logger.debug 'Calling API: UploadsApi.commit ...'
110
110
  end
111
111
  # verify the required parameter 'upload_href' is set
112
112
  if @api_client.config.client_side_validation && upload_href.nil?
113
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_commit"
113
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.commit"
114
114
  end
115
115
  # verify the required parameter 'upload_commit' is set
116
116
  if @api_client.config.client_side_validation && upload_commit.nil?
117
- fail ArgumentError, "Missing the required parameter 'upload_commit' when calling UploadsApi.uploads_commit"
117
+ fail ArgumentError, "Missing the required parameter 'upload_commit' when calling UploadsApi.commit"
118
118
  end
119
119
  # resource path
120
120
  local_var_path = '{upload_href}commit/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -152,7 +152,7 @@ module PulpcoreClient
152
152
 
153
153
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
154
154
  if @api_client.config.debugging
155
- @api_client.config.logger.debug "API called: UploadsApi#uploads_commit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
155
+ @api_client.config.logger.debug "API called: UploadsApi#commit\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
156
  end
157
157
  return data, status_code, headers
158
158
  end
@@ -162,8 +162,8 @@ module PulpcoreClient
162
162
  # @param upload [Upload]
163
163
  # @param [Hash] opts the optional parameters
164
164
  # @return [UploadResponse]
165
- def uploads_create(upload, opts = {})
166
- data, _status_code, _headers = uploads_create_with_http_info(upload, opts)
165
+ def create(upload, opts = {})
166
+ data, _status_code, _headers = create_with_http_info(upload, opts)
167
167
  data
168
168
  end
169
169
 
@@ -172,13 +172,13 @@ module PulpcoreClient
172
172
  # @param upload [Upload]
173
173
  # @param [Hash] opts the optional parameters
174
174
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
175
- def uploads_create_with_http_info(upload, opts = {})
175
+ def create_with_http_info(upload, opts = {})
176
176
  if @api_client.config.debugging
177
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_create ...'
177
+ @api_client.config.logger.debug 'Calling API: UploadsApi.create ...'
178
178
  end
179
179
  # verify the required parameter 'upload' is set
180
180
  if @api_client.config.client_side_validation && upload.nil?
181
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_create"
181
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.create"
182
182
  end
183
183
  # resource path
184
184
  local_var_path = '/pulp/api/v3/uploads/'
@@ -216,7 +216,7 @@ module PulpcoreClient
216
216
 
217
217
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
218
218
  if @api_client.config.debugging
219
- @api_client.config.logger.debug "API called: UploadsApi#uploads_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
219
+ @api_client.config.logger.debug "API called: UploadsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
220
220
  end
221
221
  return data, status_code, headers
222
222
  end
@@ -226,8 +226,8 @@ module PulpcoreClient
226
226
  # @param upload_href [String]
227
227
  # @param [Hash] opts the optional parameters
228
228
  # @return [nil]
229
- def uploads_delete(upload_href, opts = {})
230
- uploads_delete_with_http_info(upload_href, opts)
229
+ def delete(upload_href, opts = {})
230
+ delete_with_http_info(upload_href, opts)
231
231
  nil
232
232
  end
233
233
 
@@ -236,13 +236,13 @@ module PulpcoreClient
236
236
  # @param upload_href [String]
237
237
  # @param [Hash] opts the optional parameters
238
238
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
239
- def uploads_delete_with_http_info(upload_href, opts = {})
239
+ def delete_with_http_info(upload_href, opts = {})
240
240
  if @api_client.config.debugging
241
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_delete ...'
241
+ @api_client.config.logger.debug 'Calling API: UploadsApi.delete ...'
242
242
  end
243
243
  # verify the required parameter 'upload_href' is set
244
244
  if @api_client.config.client_side_validation && upload_href.nil?
245
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_delete"
245
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.delete"
246
246
  end
247
247
  # resource path
248
248
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -276,7 +276,7 @@ module PulpcoreClient
276
276
 
277
277
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
278
278
  if @api_client.config.debugging
279
- @api_client.config.logger.debug "API called: UploadsApi#uploads_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
279
+ @api_client.config.logger.debug "API called: UploadsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
280
280
  end
281
281
  return data, status_code, headers
282
282
  end
@@ -289,8 +289,8 @@ module PulpcoreClient
289
289
  # @option opts [Array<String>] :fields A list of fields to include in the response.
290
290
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
291
291
  # @return [PaginatedUploadResponseList]
292
- def uploads_list(opts = {})
293
- data, _status_code, _headers = uploads_list_with_http_info(opts)
292
+ def list(opts = {})
293
+ data, _status_code, _headers = list_with_http_info(opts)
294
294
  data
295
295
  end
296
296
 
@@ -302,9 +302,9 @@ module PulpcoreClient
302
302
  # @option opts [Array<String>] :fields A list of fields to include in the response.
303
303
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
304
304
  # @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
305
- def uploads_list_with_http_info(opts = {})
305
+ def list_with_http_info(opts = {})
306
306
  if @api_client.config.debugging
307
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list ...'
307
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
308
308
  end
309
309
  # resource path
310
310
  local_var_path = '/pulp/api/v3/uploads/'
@@ -344,7 +344,7 @@ module PulpcoreClient
344
344
 
345
345
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
346
346
  if @api_client.config.debugging
347
- @api_client.config.logger.debug "API called: UploadsApi#uploads_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
347
+ @api_client.config.logger.debug "API called: UploadsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
348
  end
349
349
  return data, status_code, headers
350
350
  end
@@ -355,8 +355,8 @@ module PulpcoreClient
355
355
  # @option opts [Array<String>] :fields A list of fields to include in the response.
356
356
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
357
357
  # @return [ObjectRolesResponse]
358
- def uploads_list_roles(upload_href, opts = {})
359
- data, _status_code, _headers = uploads_list_roles_with_http_info(upload_href, opts)
358
+ def list_roles(upload_href, opts = {})
359
+ data, _status_code, _headers = list_roles_with_http_info(upload_href, opts)
360
360
  data
361
361
  end
362
362
 
@@ -366,13 +366,13 @@ module PulpcoreClient
366
366
  # @option opts [Array<String>] :fields A list of fields to include in the response.
367
367
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
368
368
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
369
- def uploads_list_roles_with_http_info(upload_href, opts = {})
369
+ def list_roles_with_http_info(upload_href, opts = {})
370
370
  if @api_client.config.debugging
371
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list_roles ...'
371
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list_roles ...'
372
372
  end
373
373
  # verify the required parameter 'upload_href' is set
374
374
  if @api_client.config.client_side_validation && upload_href.nil?
375
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_list_roles"
375
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.list_roles"
376
376
  end
377
377
  # resource path
378
378
  local_var_path = '{upload_href}list_roles/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -410,7 +410,7 @@ module PulpcoreClient
410
410
 
411
411
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
412
412
  if @api_client.config.debugging
413
- @api_client.config.logger.debug "API called: UploadsApi#uploads_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
413
+ @api_client.config.logger.debug "API called: UploadsApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
414
414
  end
415
415
  return data, status_code, headers
416
416
  end
@@ -421,8 +421,8 @@ module PulpcoreClient
421
421
  # @option opts [Array<String>] :fields A list of fields to include in the response.
422
422
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
423
423
  # @return [MyPermissionsResponse]
424
- def uploads_my_permissions(upload_href, opts = {})
425
- data, _status_code, _headers = uploads_my_permissions_with_http_info(upload_href, opts)
424
+ def my_permissions(upload_href, opts = {})
425
+ data, _status_code, _headers = my_permissions_with_http_info(upload_href, opts)
426
426
  data
427
427
  end
428
428
 
@@ -432,13 +432,13 @@ module PulpcoreClient
432
432
  # @option opts [Array<String>] :fields A list of fields to include in the response.
433
433
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
434
434
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
435
- def uploads_my_permissions_with_http_info(upload_href, opts = {})
435
+ def my_permissions_with_http_info(upload_href, opts = {})
436
436
  if @api_client.config.debugging
437
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_my_permissions ...'
437
+ @api_client.config.logger.debug 'Calling API: UploadsApi.my_permissions ...'
438
438
  end
439
439
  # verify the required parameter 'upload_href' is set
440
440
  if @api_client.config.client_side_validation && upload_href.nil?
441
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_my_permissions"
441
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.my_permissions"
442
442
  end
443
443
  # resource path
444
444
  local_var_path = '{upload_href}my_permissions/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -476,7 +476,7 @@ module PulpcoreClient
476
476
 
477
477
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
478
478
  if @api_client.config.debugging
479
- @api_client.config.logger.debug "API called: UploadsApi#uploads_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
479
+ @api_client.config.logger.debug "API called: UploadsApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
480
480
  end
481
481
  return data, status_code, headers
482
482
  end
@@ -488,8 +488,8 @@ module PulpcoreClient
488
488
  # @option opts [Array<String>] :fields A list of fields to include in the response.
489
489
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
490
490
  # @return [UploadDetailResponse]
491
- def uploads_read(upload_href, opts = {})
492
- data, _status_code, _headers = uploads_read_with_http_info(upload_href, opts)
491
+ def read(upload_href, opts = {})
492
+ data, _status_code, _headers = read_with_http_info(upload_href, opts)
493
493
  data
494
494
  end
495
495
 
@@ -500,13 +500,13 @@ module PulpcoreClient
500
500
  # @option opts [Array<String>] :fields A list of fields to include in the response.
501
501
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
502
502
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
503
- def uploads_read_with_http_info(upload_href, opts = {})
503
+ def read_with_http_info(upload_href, opts = {})
504
504
  if @api_client.config.debugging
505
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_read ...'
505
+ @api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
506
506
  end
507
507
  # verify the required parameter 'upload_href' is set
508
508
  if @api_client.config.client_side_validation && upload_href.nil?
509
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_read"
509
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.read"
510
510
  end
511
511
  # resource path
512
512
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -544,7 +544,7 @@ module PulpcoreClient
544
544
 
545
545
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
546
546
  if @api_client.config.debugging
547
- @api_client.config.logger.debug "API called: UploadsApi#uploads_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
547
+ @api_client.config.logger.debug "API called: UploadsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
548
548
  end
549
549
  return data, status_code, headers
550
550
  end
@@ -554,8 +554,8 @@ module PulpcoreClient
554
554
  # @param upload [Upload]
555
555
  # @param [Hash] opts the optional parameters
556
556
  # @return [NestedRoleResponse]
557
- def uploads_remove_role(upload_href, upload, opts = {})
558
- data, _status_code, _headers = uploads_remove_role_with_http_info(upload_href, upload, opts)
557
+ def remove_role(upload_href, upload, opts = {})
558
+ data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
559
559
  data
560
560
  end
561
561
 
@@ -564,17 +564,17 @@ module PulpcoreClient
564
564
  # @param upload [Upload]
565
565
  # @param [Hash] opts the optional parameters
566
566
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
567
- def uploads_remove_role_with_http_info(upload_href, upload, opts = {})
567
+ def remove_role_with_http_info(upload_href, upload, opts = {})
568
568
  if @api_client.config.debugging
569
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_remove_role ...'
569
+ @api_client.config.logger.debug 'Calling API: UploadsApi.remove_role ...'
570
570
  end
571
571
  # verify the required parameter 'upload_href' is set
572
572
  if @api_client.config.client_side_validation && upload_href.nil?
573
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_remove_role"
573
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.remove_role"
574
574
  end
575
575
  # verify the required parameter 'upload' is set
576
576
  if @api_client.config.client_side_validation && upload.nil?
577
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_remove_role"
577
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.remove_role"
578
578
  end
579
579
  # resource path
580
580
  local_var_path = '{upload_href}remove_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -612,7 +612,7 @@ module PulpcoreClient
612
612
 
613
613
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
614
614
  if @api_client.config.debugging
615
- @api_client.config.logger.debug "API called: UploadsApi#uploads_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
615
+ @api_client.config.logger.debug "API called: UploadsApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
616
616
  end
617
617
  return data, status_code, headers
618
618
  end
@@ -625,8 +625,8 @@ module PulpcoreClient
625
625
  # @param [Hash] opts the optional parameters
626
626
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
627
627
  # @return [UploadResponse]
628
- def uploads_update(content_range, upload_href, file, opts = {})
629
- data, _status_code, _headers = uploads_update_with_http_info(content_range, upload_href, file, opts)
628
+ def update(content_range, upload_href, file, opts = {})
629
+ data, _status_code, _headers = update_with_http_info(content_range, upload_href, file, opts)
630
630
  data
631
631
  end
632
632
 
@@ -638,24 +638,24 @@ module PulpcoreClient
638
638
  # @param [Hash] opts the optional parameters
639
639
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
640
640
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
641
- def uploads_update_with_http_info(content_range, upload_href, file, opts = {})
641
+ def update_with_http_info(content_range, upload_href, file, opts = {})
642
642
  if @api_client.config.debugging
643
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_update ...'
643
+ @api_client.config.logger.debug 'Calling API: UploadsApi.update ...'
644
644
  end
645
645
  # verify the required parameter 'content_range' is set
646
646
  if @api_client.config.client_side_validation && content_range.nil?
647
- fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_update"
647
+ fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.update"
648
648
  end
649
649
  # verify the required parameter 'upload_href' is set
650
650
  if @api_client.config.client_side_validation && upload_href.nil?
651
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_update"
651
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.update"
652
652
  end
653
653
  # verify the required parameter 'file' is set
654
654
  if @api_client.config.client_side_validation && file.nil?
655
- fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.uploads_update"
655
+ fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.update"
656
656
  end
657
657
  if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
658
- fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.uploads_update, the character length must be great than or equal to 1.'
658
+ fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.update, the character length must be great than or equal to 1.'
659
659
  end
660
660
 
661
661
  # resource path
@@ -697,7 +697,7 @@ module PulpcoreClient
697
697
 
698
698
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
699
699
  if @api_client.config.debugging
700
- @api_client.config.logger.debug "API called: UploadsApi#uploads_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
700
+ @api_client.config.logger.debug "API called: UploadsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
701
701
  end
702
702
  return data, status_code, headers
703
703
  end
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param user [User]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [UserResponse]
27
- def users_create(user, opts = {})
28
- data, _status_code, _headers = users_create_with_http_info(user, opts)
27
+ def create(user, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(user, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param user [User]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
37
- def users_create_with_http_info(user, opts = {})
37
+ def create_with_http_info(user, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: UsersApi.users_create ...'
39
+ @api_client.config.logger.debug 'Calling API: UsersApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'user' is set
42
42
  if @api_client.config.client_side_validation && user.nil?
43
- fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.users_create"
43
+ fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/users/'
@@ -78,7 +78,7 @@ module PulpcoreClient
78
78
 
79
79
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
80
80
  if @api_client.config.debugging
81
- @api_client.config.logger.debug "API called: UsersApi#users_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: UsersApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
82
82
  end
83
83
  return data, status_code, headers
84
84
  end
@@ -88,8 +88,8 @@ module PulpcoreClient
88
88
  # @param auth_user_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def users_delete(auth_user_href, opts = {})
92
- users_delete_with_http_info(auth_user_href, opts)
91
+ def delete(auth_user_href, opts = {})
92
+ delete_with_http_info(auth_user_href, opts)
93
93
  nil
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpcoreClient
98
98
  # @param auth_user_href [String]
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
101
- def users_delete_with_http_info(auth_user_href, opts = {})
101
+ def delete_with_http_info(auth_user_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: UsersApi.users_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: UsersApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'auth_user_href' is set
106
106
  if @api_client.config.client_side_validation && auth_user_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_delete"
107
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -138,7 +138,7 @@ module PulpcoreClient
138
138
 
139
139
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
140
140
  if @api_client.config.debugging
141
- @api_client.config.logger.debug "API called: UsersApi#users_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: UsersApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -174,8 +174,8 @@ module PulpcoreClient
174
174
  # @option opts [Array<String>] :fields A list of fields to include in the response.
175
175
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
176
176
  # @return [PaginatedUserResponseList]
177
- def users_list(opts = {})
178
- data, _status_code, _headers = users_list_with_http_info(opts)
177
+ def list(opts = {})
178
+ data, _status_code, _headers = list_with_http_info(opts)
179
179
  data
180
180
  end
181
181
 
@@ -210,9 +210,9 @@ module PulpcoreClient
210
210
  # @option opts [Array<String>] :fields A list of fields to include in the response.
211
211
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
212
212
  # @return [Array<(PaginatedUserResponseList, Integer, Hash)>] PaginatedUserResponseList data, response status code and response headers
213
- def users_list_with_http_info(opts = {})
213
+ def list_with_http_info(opts = {})
214
214
  if @api_client.config.debugging
215
- @api_client.config.logger.debug 'Calling API: UsersApi.users_list ...'
215
+ @api_client.config.logger.debug 'Calling API: UsersApi.list ...'
216
216
  end
217
217
  allowable_values = ["-date_joined", "-email", "-first_name", "-groups", "-id", "-is_active", "-is_staff", "-is_superuser", "-last_login", "-last_name", "-object_roles", "-password", "-pk", "-user_permissions", "-username", "date_joined", "email", "first_name", "groups", "id", "is_active", "is_staff", "is_superuser", "last_login", "last_name", "object_roles", "password", "pk", "user_permissions", "username"]
218
218
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -279,7 +279,7 @@ module PulpcoreClient
279
279
 
280
280
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
281
281
  if @api_client.config.debugging
282
- @api_client.config.logger.debug "API called: UsersApi#users_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
282
+ @api_client.config.logger.debug "API called: UsersApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
283
283
  end
284
284
  return data, status_code, headers
285
285
  end
@@ -290,8 +290,8 @@ module PulpcoreClient
290
290
  # @param patched_user [PatchedUser]
291
291
  # @param [Hash] opts the optional parameters
292
292
  # @return [UserResponse]
293
- def users_partial_update(auth_user_href, patched_user, opts = {})
294
- data, _status_code, _headers = users_partial_update_with_http_info(auth_user_href, patched_user, opts)
293
+ def partial_update(auth_user_href, patched_user, opts = {})
294
+ data, _status_code, _headers = partial_update_with_http_info(auth_user_href, patched_user, opts)
295
295
  data
296
296
  end
297
297
 
@@ -301,17 +301,17 @@ module PulpcoreClient
301
301
  # @param patched_user [PatchedUser]
302
302
  # @param [Hash] opts the optional parameters
303
303
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
304
- def users_partial_update_with_http_info(auth_user_href, patched_user, opts = {})
304
+ def partial_update_with_http_info(auth_user_href, patched_user, opts = {})
305
305
  if @api_client.config.debugging
306
- @api_client.config.logger.debug 'Calling API: UsersApi.users_partial_update ...'
306
+ @api_client.config.logger.debug 'Calling API: UsersApi.partial_update ...'
307
307
  end
308
308
  # verify the required parameter 'auth_user_href' is set
309
309
  if @api_client.config.client_side_validation && auth_user_href.nil?
310
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_partial_update"
310
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.partial_update"
311
311
  end
312
312
  # verify the required parameter 'patched_user' is set
313
313
  if @api_client.config.client_side_validation && patched_user.nil?
314
- fail ArgumentError, "Missing the required parameter 'patched_user' when calling UsersApi.users_partial_update"
314
+ fail ArgumentError, "Missing the required parameter 'patched_user' when calling UsersApi.partial_update"
315
315
  end
316
316
  # resource path
317
317
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -349,7 +349,7 @@ module PulpcoreClient
349
349
 
350
350
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
351
351
  if @api_client.config.debugging
352
- @api_client.config.logger.debug "API called: UsersApi#users_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
352
+ @api_client.config.logger.debug "API called: UsersApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
353
353
  end
354
354
  return data, status_code, headers
355
355
  end
@@ -361,8 +361,8 @@ module PulpcoreClient
361
361
  # @option opts [Array<String>] :fields A list of fields to include in the response.
362
362
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
363
363
  # @return [UserResponse]
364
- def users_read(auth_user_href, opts = {})
365
- data, _status_code, _headers = users_read_with_http_info(auth_user_href, opts)
364
+ def read(auth_user_href, opts = {})
365
+ data, _status_code, _headers = read_with_http_info(auth_user_href, opts)
366
366
  data
367
367
  end
368
368
 
@@ -373,13 +373,13 @@ module PulpcoreClient
373
373
  # @option opts [Array<String>] :fields A list of fields to include in the response.
374
374
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
375
375
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
376
- def users_read_with_http_info(auth_user_href, opts = {})
376
+ def read_with_http_info(auth_user_href, opts = {})
377
377
  if @api_client.config.debugging
378
- @api_client.config.logger.debug 'Calling API: UsersApi.users_read ...'
378
+ @api_client.config.logger.debug 'Calling API: UsersApi.read ...'
379
379
  end
380
380
  # verify the required parameter 'auth_user_href' is set
381
381
  if @api_client.config.client_side_validation && auth_user_href.nil?
382
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_read"
382
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.read"
383
383
  end
384
384
  # resource path
385
385
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -417,7 +417,7 @@ module PulpcoreClient
417
417
 
418
418
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
419
419
  if @api_client.config.debugging
420
- @api_client.config.logger.debug "API called: UsersApi#users_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
420
+ @api_client.config.logger.debug "API called: UsersApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
421
421
  end
422
422
  return data, status_code, headers
423
423
  end
@@ -428,8 +428,8 @@ module PulpcoreClient
428
428
  # @param user [User]
429
429
  # @param [Hash] opts the optional parameters
430
430
  # @return [UserResponse]
431
- def users_update(auth_user_href, user, opts = {})
432
- data, _status_code, _headers = users_update_with_http_info(auth_user_href, user, opts)
431
+ def update(auth_user_href, user, opts = {})
432
+ data, _status_code, _headers = update_with_http_info(auth_user_href, user, opts)
433
433
  data
434
434
  end
435
435
 
@@ -439,17 +439,17 @@ module PulpcoreClient
439
439
  # @param user [User]
440
440
  # @param [Hash] opts the optional parameters
441
441
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
442
- def users_update_with_http_info(auth_user_href, user, opts = {})
442
+ def update_with_http_info(auth_user_href, user, opts = {})
443
443
  if @api_client.config.debugging
444
- @api_client.config.logger.debug 'Calling API: UsersApi.users_update ...'
444
+ @api_client.config.logger.debug 'Calling API: UsersApi.update ...'
445
445
  end
446
446
  # verify the required parameter 'auth_user_href' is set
447
447
  if @api_client.config.client_side_validation && auth_user_href.nil?
448
- fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.users_update"
448
+ fail ArgumentError, "Missing the required parameter 'auth_user_href' when calling UsersApi.update"
449
449
  end
450
450
  # verify the required parameter 'user' is set
451
451
  if @api_client.config.client_side_validation && user.nil?
452
- fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.users_update"
452
+ fail ArgumentError, "Missing the required parameter 'user' when calling UsersApi.update"
453
453
  end
454
454
  # resource path
455
455
  local_var_path = '{auth_user_href}'.sub('{' + 'auth_user_href' + '}', CGI.escape(auth_user_href.to_s).gsub('%2F', '/'))
@@ -487,7 +487,7 @@ module PulpcoreClient
487
487
 
488
488
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
489
489
  if @api_client.config.debugging
490
- @api_client.config.logger.debug "API called: UsersApi#users_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
490
+ @api_client.config.logger.debug "API called: UsersApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
491
491
  end
492
492
  return data, status_code, headers
493
493
  end