pulpcore_client 3.22.29 → 3.22.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +141 -143
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactDistributionResponse.md +8 -8
  5. data/docs/ArtifactsApi.md +20 -20
  6. data/docs/ContentApi.md +5 -5
  7. data/docs/ContentguardsApi.md +5 -5
  8. data/docs/ContentguardsContentRedirectApi.md +50 -50
  9. data/docs/ContentguardsRbacApi.md +50 -50
  10. data/docs/DistributionsApi.md +5 -5
  11. data/docs/DistributionsArtifactsApi.md +10 -10
  12. data/docs/ExportersFilesystemApi.md +30 -30
  13. data/docs/ExportersFilesystemExportsApi.md +20 -20
  14. data/docs/ExportersPulpApi.md +30 -30
  15. data/docs/ExportersPulpExportsApi.md +20 -20
  16. data/docs/GroupsApi.md +50 -50
  17. data/docs/GroupsRolesApi.md +20 -20
  18. data/docs/GroupsUsersApi.md +15 -15
  19. data/docs/ImportersPulpApi.md +30 -30
  20. data/docs/ImportersPulpImportsApi.md +20 -20
  21. data/docs/OrphansApi.md +5 -5
  22. data/docs/OrphansCleanupApi.md +5 -5
  23. data/docs/PublicationsApi.md +5 -5
  24. data/docs/RemotesApi.md +5 -5
  25. data/docs/RepairApi.md +5 -5
  26. data/docs/RepositoriesApi.md +5 -5
  27. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  28. data/docs/RepositoryVersionsApi.md +5 -5
  29. data/docs/RolesApi.md +30 -30
  30. data/docs/SigningServicesApi.md +10 -10
  31. data/docs/TaskGroupsApi.md +10 -10
  32. data/docs/TaskSchedulesApi.md +30 -30
  33. data/docs/TasksApi.md +95 -95
  34. data/docs/UploadsApi.md +50 -50
  35. data/docs/UsersApi.md +30 -30
  36. data/docs/UsersRolesApi.md +20 -20
  37. data/docs/WorkersApi.md +10 -10
  38. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  39. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  40. data/lib/pulpcore_client/api/content_api.rb +5 -5
  41. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  42. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  43. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  44. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  45. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  46. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  47. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  48. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  49. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  50. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  51. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  52. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  53. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  54. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  55. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  56. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  57. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  58. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  59. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  60. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  61. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  62. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  63. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  64. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  65. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  66. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  67. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  68. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  69. data/lib/pulpcore_client/api/users_api.rb +37 -37
  70. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  71. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  72. data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
  73. data/lib/pulpcore_client/version.rb +1 -1
  74. data/lib/pulpcore_client.rb +0 -2
  75. data/spec/api/access_policies_api_spec.rb +10 -10
  76. data/spec/api/artifacts_api_spec.rb +8 -8
  77. data/spec/api/content_api_spec.rb +2 -2
  78. data/spec/api/contentguards_api_spec.rb +2 -2
  79. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  80. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  81. data/spec/api/distributions_api_spec.rb +2 -2
  82. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  83. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  84. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  85. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  86. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  87. data/spec/api/groups_api_spec.rb +20 -20
  88. data/spec/api/groups_roles_api_spec.rb +8 -8
  89. data/spec/api/groups_users_api_spec.rb +6 -6
  90. data/spec/api/importers_pulp_api_spec.rb +12 -12
  91. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  92. data/spec/api/orphans_api_spec.rb +2 -2
  93. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  94. data/spec/api/publications_api_spec.rb +2 -2
  95. data/spec/api/remotes_api_spec.rb +2 -2
  96. data/spec/api/repair_api_spec.rb +2 -2
  97. data/spec/api/repositories_api_spec.rb +2 -2
  98. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  99. data/spec/api/repository_versions_api_spec.rb +2 -2
  100. data/spec/api/roles_api_spec.rb +12 -12
  101. data/spec/api/signing_services_api_spec.rb +4 -4
  102. data/spec/api/task_groups_api_spec.rb +4 -4
  103. data/spec/api/task_schedules_api_spec.rb +12 -12
  104. data/spec/api/tasks_api_spec.rb +29 -29
  105. data/spec/api/uploads_api_spec.rb +20 -20
  106. data/spec/api/users_api_spec.rb +12 -12
  107. data/spec/api/users_roles_api_spec.rb +8 -8
  108. data/spec/api/workers_api_spec.rb +4 -4
  109. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  110. metadata +132 -140
  111. data/docs/DocsApiJsonApi.md +0 -61
  112. data/docs/DocsApiYamlApi.md +0 -61
  113. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  114. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  115. data/spec/api/docs_api_json_api_spec.rb +0 -48
  116. 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
@@ -294,8 +294,8 @@ module PulpcoreClient
294
294
  # @option opts [Array<String>] :fields A list of fields to include in the response.
295
295
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
296
296
  # @return [PaginatedUploadResponseList]
297
- def uploads_list(opts = {})
298
- data, _status_code, _headers = uploads_list_with_http_info(opts)
297
+ def list(opts = {})
298
+ data, _status_code, _headers = list_with_http_info(opts)
299
299
  data
300
300
  end
301
301
 
@@ -312,9 +312,9 @@ module PulpcoreClient
312
312
  # @option opts [Array<String>] :fields A list of fields to include in the response.
313
313
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
314
314
  # @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
315
- def uploads_list_with_http_info(opts = {})
315
+ def list_with_http_info(opts = {})
316
316
  if @api_client.config.debugging
317
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list ...'
317
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
318
318
  end
319
319
  allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-size", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "size"]
320
320
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -363,7 +363,7 @@ module PulpcoreClient
363
363
 
364
364
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
365
365
  if @api_client.config.debugging
366
- @api_client.config.logger.debug "API called: UploadsApi#uploads_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
366
+ @api_client.config.logger.debug "API called: UploadsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
367
367
  end
368
368
  return data, status_code, headers
369
369
  end
@@ -374,8 +374,8 @@ module PulpcoreClient
374
374
  # @option opts [Array<String>] :fields A list of fields to include in the response.
375
375
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
376
376
  # @return [ObjectRolesResponse]
377
- def uploads_list_roles(upload_href, opts = {})
378
- data, _status_code, _headers = uploads_list_roles_with_http_info(upload_href, opts)
377
+ def list_roles(upload_href, opts = {})
378
+ data, _status_code, _headers = list_roles_with_http_info(upload_href, opts)
379
379
  data
380
380
  end
381
381
 
@@ -385,13 +385,13 @@ module PulpcoreClient
385
385
  # @option opts [Array<String>] :fields A list of fields to include in the response.
386
386
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
387
387
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
388
- def uploads_list_roles_with_http_info(upload_href, opts = {})
388
+ def list_roles_with_http_info(upload_href, opts = {})
389
389
  if @api_client.config.debugging
390
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list_roles ...'
390
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list_roles ...'
391
391
  end
392
392
  # verify the required parameter 'upload_href' is set
393
393
  if @api_client.config.client_side_validation && upload_href.nil?
394
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_list_roles"
394
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.list_roles"
395
395
  end
396
396
  # resource path
397
397
  local_var_path = '{upload_href}list_roles/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -429,7 +429,7 @@ module PulpcoreClient
429
429
 
430
430
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
431
431
  if @api_client.config.debugging
432
- @api_client.config.logger.debug "API called: UploadsApi#uploads_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
432
+ @api_client.config.logger.debug "API called: UploadsApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
433
433
  end
434
434
  return data, status_code, headers
435
435
  end
@@ -440,8 +440,8 @@ module PulpcoreClient
440
440
  # @option opts [Array<String>] :fields A list of fields to include in the response.
441
441
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
442
442
  # @return [MyPermissionsResponse]
443
- def uploads_my_permissions(upload_href, opts = {})
444
- data, _status_code, _headers = uploads_my_permissions_with_http_info(upload_href, opts)
443
+ def my_permissions(upload_href, opts = {})
444
+ data, _status_code, _headers = my_permissions_with_http_info(upload_href, opts)
445
445
  data
446
446
  end
447
447
 
@@ -451,13 +451,13 @@ module PulpcoreClient
451
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
454
- def uploads_my_permissions_with_http_info(upload_href, opts = {})
454
+ def my_permissions_with_http_info(upload_href, opts = {})
455
455
  if @api_client.config.debugging
456
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_my_permissions ...'
456
+ @api_client.config.logger.debug 'Calling API: UploadsApi.my_permissions ...'
457
457
  end
458
458
  # verify the required parameter 'upload_href' is set
459
459
  if @api_client.config.client_side_validation && upload_href.nil?
460
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_my_permissions"
460
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.my_permissions"
461
461
  end
462
462
  # resource path
463
463
  local_var_path = '{upload_href}my_permissions/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -495,7 +495,7 @@ module PulpcoreClient
495
495
 
496
496
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
497
497
  if @api_client.config.debugging
498
- @api_client.config.logger.debug "API called: UploadsApi#uploads_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
498
+ @api_client.config.logger.debug "API called: UploadsApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
499
499
  end
500
500
  return data, status_code, headers
501
501
  end
@@ -507,8 +507,8 @@ module PulpcoreClient
507
507
  # @option opts [Array<String>] :fields A list of fields to include in the response.
508
508
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
509
509
  # @return [UploadDetailResponse]
510
- def uploads_read(upload_href, opts = {})
511
- data, _status_code, _headers = uploads_read_with_http_info(upload_href, opts)
510
+ def read(upload_href, opts = {})
511
+ data, _status_code, _headers = read_with_http_info(upload_href, opts)
512
512
  data
513
513
  end
514
514
 
@@ -519,13 +519,13 @@ module PulpcoreClient
519
519
  # @option opts [Array<String>] :fields A list of fields to include in the response.
520
520
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
521
521
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
522
- def uploads_read_with_http_info(upload_href, opts = {})
522
+ def read_with_http_info(upload_href, opts = {})
523
523
  if @api_client.config.debugging
524
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_read ...'
524
+ @api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
525
525
  end
526
526
  # verify the required parameter 'upload_href' is set
527
527
  if @api_client.config.client_side_validation && upload_href.nil?
528
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_read"
528
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.read"
529
529
  end
530
530
  # resource path
531
531
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -563,7 +563,7 @@ module PulpcoreClient
563
563
 
564
564
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
565
565
  if @api_client.config.debugging
566
- @api_client.config.logger.debug "API called: UploadsApi#uploads_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
566
+ @api_client.config.logger.debug "API called: UploadsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
567
567
  end
568
568
  return data, status_code, headers
569
569
  end
@@ -573,8 +573,8 @@ module PulpcoreClient
573
573
  # @param upload [Upload]
574
574
  # @param [Hash] opts the optional parameters
575
575
  # @return [NestedRoleResponse]
576
- def uploads_remove_role(upload_href, upload, opts = {})
577
- data, _status_code, _headers = uploads_remove_role_with_http_info(upload_href, upload, opts)
576
+ def remove_role(upload_href, upload, opts = {})
577
+ data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
578
578
  data
579
579
  end
580
580
 
@@ -583,17 +583,17 @@ module PulpcoreClient
583
583
  # @param upload [Upload]
584
584
  # @param [Hash] opts the optional parameters
585
585
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
586
- def uploads_remove_role_with_http_info(upload_href, upload, opts = {})
586
+ def remove_role_with_http_info(upload_href, upload, opts = {})
587
587
  if @api_client.config.debugging
588
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_remove_role ...'
588
+ @api_client.config.logger.debug 'Calling API: UploadsApi.remove_role ...'
589
589
  end
590
590
  # verify the required parameter 'upload_href' is set
591
591
  if @api_client.config.client_side_validation && upload_href.nil?
592
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_remove_role"
592
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.remove_role"
593
593
  end
594
594
  # verify the required parameter 'upload' is set
595
595
  if @api_client.config.client_side_validation && upload.nil?
596
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_remove_role"
596
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.remove_role"
597
597
  end
598
598
  # resource path
599
599
  local_var_path = '{upload_href}remove_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -631,7 +631,7 @@ module PulpcoreClient
631
631
 
632
632
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
633
633
  if @api_client.config.debugging
634
- @api_client.config.logger.debug "API called: UploadsApi#uploads_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
634
+ @api_client.config.logger.debug "API called: UploadsApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
635
635
  end
636
636
  return data, status_code, headers
637
637
  end
@@ -644,8 +644,8 @@ module PulpcoreClient
644
644
  # @param [Hash] opts the optional parameters
645
645
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
646
646
  # @return [UploadResponse]
647
- def uploads_update(content_range, upload_href, file, opts = {})
648
- data, _status_code, _headers = uploads_update_with_http_info(content_range, upload_href, file, opts)
647
+ def update(content_range, upload_href, file, opts = {})
648
+ data, _status_code, _headers = update_with_http_info(content_range, upload_href, file, opts)
649
649
  data
650
650
  end
651
651
 
@@ -657,24 +657,24 @@ module PulpcoreClient
657
657
  # @param [Hash] opts the optional parameters
658
658
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
659
659
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
660
- def uploads_update_with_http_info(content_range, upload_href, file, opts = {})
660
+ def update_with_http_info(content_range, upload_href, file, opts = {})
661
661
  if @api_client.config.debugging
662
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_update ...'
662
+ @api_client.config.logger.debug 'Calling API: UploadsApi.update ...'
663
663
  end
664
664
  # verify the required parameter 'content_range' is set
665
665
  if @api_client.config.client_side_validation && content_range.nil?
666
- fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_update"
666
+ fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.update"
667
667
  end
668
668
  # verify the required parameter 'upload_href' is set
669
669
  if @api_client.config.client_side_validation && upload_href.nil?
670
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_update"
670
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.update"
671
671
  end
672
672
  # verify the required parameter 'file' is set
673
673
  if @api_client.config.client_side_validation && file.nil?
674
- fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.uploads_update"
674
+ fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.update"
675
675
  end
676
676
  if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
677
- fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.uploads_update, the character length must be great than or equal to 1.'
677
+ fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.update, the character length must be great than or equal to 1.'
678
678
  end
679
679
 
680
680
  # resource path
@@ -716,7 +716,7 @@ module PulpcoreClient
716
716
 
717
717
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
718
718
  if @api_client.config.debugging
719
- @api_client.config.logger.debug "API called: UploadsApi#uploads_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
719
+ @api_client.config.logger.debug "API called: UploadsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
720
720
  end
721
721
  return data, status_code, headers
722
722
  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", "-id", "-is_active", "-is_staff", "-is_superuser", "-last_login", "-last_name", "-password", "-pk", "-username", "date_joined", "email", "first_name", "id", "is_active", "is_staff", "is_superuser", "last_login", "last_name", "password", "pk", "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