pulpcore_client 3.21.32 → 3.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +147 -143
  3. data/docs/AccessPoliciesApi.md +28 -28
  4. data/docs/ArtifactDistributionResponse.md +29 -0
  5. data/docs/ArtifactsApi.md +21 -21
  6. data/docs/ContentApi.md +6 -6
  7. data/docs/ContentSettingsResponse.md +19 -0
  8. data/docs/ContentguardsApi.md +8 -8
  9. data/docs/ContentguardsContentRedirectApi.md +53 -53
  10. data/docs/ContentguardsRbacApi.md +53 -53
  11. data/docs/DistributionResponse.md +1 -1
  12. data/docs/DistributionsApi.md +11 -11
  13. data/docs/DistributionsArtifactsApi.md +154 -0
  14. data/docs/ExportersFilesystemApi.md +33 -33
  15. data/docs/ExportersFilesystemExportsApi.md +21 -21
  16. data/docs/ExportersPulpApi.md +33 -33
  17. data/docs/ExportersPulpExportsApi.md +21 -21
  18. data/docs/FilesystemExport.md +1 -3
  19. data/docs/GroupsApi.md +51 -51
  20. data/docs/GroupsRolesApi.md +21 -21
  21. data/docs/GroupsUsersApi.md +16 -16
  22. data/docs/ImportersPulpApi.md +33 -33
  23. data/docs/ImportersPulpImportCheckApi.md +1 -1
  24. data/docs/ImportersPulpImportsApi.md +21 -21
  25. data/docs/OrphansApi.md +6 -6
  26. data/docs/OrphansCleanupApi.md +6 -6
  27. data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
  28. data/docs/PublicationsApi.md +8 -8
  29. data/docs/RemoteResponse.md +4 -2
  30. data/docs/RemoteResponseHiddenFields.md +19 -0
  31. data/docs/RemotesApi.md +10 -10
  32. data/docs/RepairApi.md +6 -6
  33. data/docs/RepositoriesApi.md +9 -9
  34. data/docs/RepositoriesReclaimSpaceApi.md +6 -6
  35. data/docs/RepositoryResponse.md +1 -1
  36. data/docs/RepositoryVersionsApi.md +10 -10
  37. data/docs/RolesApi.md +31 -31
  38. data/docs/SigningServicesApi.md +15 -13
  39. data/docs/StatusApi.md +1 -1
  40. data/docs/StatusResponse.md +3 -1
  41. data/docs/TaskGroupsApi.md +11 -13
  42. data/docs/TaskSchedulesApi.md +35 -35
  43. data/docs/TasksApi.md +128 -114
  44. data/docs/UploadsApi.md +61 -51
  45. data/docs/UserResponse.md +3 -1
  46. data/docs/UsersApi.md +31 -31
  47. data/docs/UsersRolesApi.md +21 -21
  48. data/docs/WorkersApi.md +15 -15
  49. data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
  50. data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
  51. data/lib/pulpcore_client/api/content_api.rb +5 -5
  52. data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
  53. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
  54. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
  55. data/lib/pulpcore_client/api/distributions_api.rb +12 -12
  56. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
  57. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
  58. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  59. data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
  60. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  61. data/lib/pulpcore_client/api/groups_api.rb +64 -64
  62. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  63. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  64. data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
  65. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  66. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  67. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  68. data/lib/pulpcore_client/api/publications_api.rb +8 -8
  69. data/lib/pulpcore_client/api/remotes_api.rb +10 -10
  70. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  71. data/lib/pulpcore_client/api/repositories_api.rb +8 -8
  72. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  73. data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
  74. data/lib/pulpcore_client/api/roles_api.rb +38 -38
  75. data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
  76. data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
  77. data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
  78. data/lib/pulpcore_client/api/tasks_api.rb +159 -138
  79. data/lib/pulpcore_client/api/uploads_api.rb +84 -65
  80. data/lib/pulpcore_client/api/users_api.rb +38 -38
  81. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  82. data/lib/pulpcore_client/api/workers_api.rb +16 -16
  83. data/lib/pulpcore_client/configuration.rb +3 -3
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
  85. data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
  86. data/lib/pulpcore_client/models/distribution_response.rb +4 -2
  87. data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
  88. data/lib/pulpcore_client/models/group_role.rb +19 -0
  89. data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
  90. data/lib/pulpcore_client/models/remote_response.rb +41 -27
  91. data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
  92. data/lib/pulpcore_client/models/repository_response.rb +4 -2
  93. data/lib/pulpcore_client/models/status_response.rb +19 -4
  94. data/lib/pulpcore_client/models/user_response.rb +16 -4
  95. data/lib/pulpcore_client/models/user_role.rb +19 -0
  96. data/lib/pulpcore_client/version.rb +1 -1
  97. data/lib/pulpcore_client.rb +5 -2
  98. data/spec/api/access_policies_api_spec.rb +11 -11
  99. data/spec/api/artifacts_api_spec.rb +8 -8
  100. data/spec/api/content_api_spec.rb +2 -2
  101. data/spec/api/contentguards_api_spec.rb +3 -3
  102. data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
  103. data/spec/api/contentguards_rbac_api_spec.rb +21 -21
  104. data/spec/api/distributions_api_spec.rb +5 -5
  105. data/spec/api/distributions_artifacts_api_spec.rb +76 -0
  106. data/spec/api/exporters_filesystem_api_spec.rb +13 -13
  107. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  108. data/spec/api/exporters_pulp_api_spec.rb +13 -13
  109. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  110. data/spec/api/groups_api_spec.rb +20 -20
  111. data/spec/api/groups_roles_api_spec.rb +8 -8
  112. data/spec/api/groups_users_api_spec.rb +6 -6
  113. data/spec/api/importers_pulp_api_spec.rb +13 -13
  114. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  115. data/spec/api/orphans_api_spec.rb +2 -2
  116. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  117. data/spec/api/publications_api_spec.rb +3 -3
  118. data/spec/api/remotes_api_spec.rb +4 -4
  119. data/spec/api/repair_api_spec.rb +2 -2
  120. data/spec/api/repositories_api_spec.rb +3 -3
  121. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  122. data/spec/api/repository_versions_api_spec.rb +4 -4
  123. data/spec/api/roles_api_spec.rb +12 -12
  124. data/spec/api/signing_services_api_spec.rb +6 -5
  125. data/spec/api/task_groups_api_spec.rb +4 -5
  126. data/spec/api/task_schedules_api_spec.rb +14 -14
  127. data/spec/api/tasks_api_spec.rb +45 -38
  128. data/spec/api/uploads_api_spec.rb +25 -20
  129. data/spec/api/users_api_spec.rb +12 -12
  130. data/spec/api/users_roles_api_spec.rb +8 -8
  131. data/spec/api/workers_api_spec.rb +6 -6
  132. data/spec/configuration_spec.rb +3 -3
  133. data/spec/models/artifact_distribution_response_spec.rb +77 -0
  134. data/spec/models/content_settings_response_spec.rb +47 -0
  135. data/spec/models/filesystem_export_spec.rb +0 -6
  136. data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
  137. data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
  138. data/spec/models/remote_response_spec.rb +6 -0
  139. data/spec/models/status_response_spec.rb +6 -0
  140. data/spec/models/user_response_spec.rb +6 -0
  141. metadata +162 -150
  142. data/docs/DocsApiJsonApi.md +0 -61
  143. data/docs/DocsApiYamlApi.md +0 -61
  144. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  145. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  146. data/spec/api/docs_api_json_api_spec.rb +0 -48
  147. 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
@@ -286,11 +286,16 @@ module PulpcoreClient
286
286
  # @param [Hash] opts the optional parameters
287
287
  # @option opts [Integer] :limit Number of results to return per page.
288
288
  # @option opts [Integer] :offset The initial index from which to return the results.
289
+ # @option opts [Array<String>] :ordering Ordering
290
+ # @option opts [Integer] :size Filter results where size matches value
291
+ # @option opts [Integer] :size__gt Filter results where size is greater than value
292
+ # @option opts [Integer] :size__lt Filter results where size is less than value
293
+ # @option opts [Array<Integer>] :size__range Filter results where size is between two comma separated values
289
294
  # @option opts [Array<String>] :fields A list of fields to include in the response.
290
295
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
291
296
  # @return [PaginatedUploadResponseList]
292
- def uploads_list(opts = {})
293
- data, _status_code, _headers = uploads_list_with_http_info(opts)
297
+ def list(opts = {})
298
+ data, _status_code, _headers = list_with_http_info(opts)
294
299
  data
295
300
  end
296
301
 
@@ -299,12 +304,21 @@ module PulpcoreClient
299
304
  # @param [Hash] opts the optional parameters
300
305
  # @option opts [Integer] :limit Number of results to return per page.
301
306
  # @option opts [Integer] :offset The initial index from which to return the results.
307
+ # @option opts [Array<String>] :ordering Ordering
308
+ # @option opts [Integer] :size Filter results where size matches value
309
+ # @option opts [Integer] :size__gt Filter results where size is greater than value
310
+ # @option opts [Integer] :size__lt Filter results where size is less than value
311
+ # @option opts [Array<Integer>] :size__range Filter results where size is between two comma separated values
302
312
  # @option opts [Array<String>] :fields A list of fields to include in the response.
303
313
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
304
314
  # @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
305
- def uploads_list_with_http_info(opts = {})
315
+ def list_with_http_info(opts = {})
306
316
  if @api_client.config.debugging
307
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list ...'
317
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
318
+ end
319
+ allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-size", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "size"]
320
+ if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
321
+ fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
308
322
  end
309
323
  # resource path
310
324
  local_var_path = '/pulp/api/v3/uploads/'
@@ -313,6 +327,11 @@ module PulpcoreClient
313
327
  query_params = opts[:query_params] || {}
314
328
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
315
329
  query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
330
+ query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
331
+ query_params[:'size'] = opts[:'size'] if !opts[:'size'].nil?
332
+ query_params[:'size__gt'] = opts[:'size__gt'] if !opts[:'size__gt'].nil?
333
+ query_params[:'size__lt'] = opts[:'size__lt'] if !opts[:'size__lt'].nil?
334
+ query_params[:'size__range'] = @api_client.build_collection_param(opts[:'size__range'], :csv) if !opts[:'size__range'].nil?
316
335
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
317
336
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
318
337
 
@@ -344,7 +363,7 @@ module PulpcoreClient
344
363
 
345
364
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
346
365
  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}"
366
+ @api_client.config.logger.debug "API called: UploadsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
367
  end
349
368
  return data, status_code, headers
350
369
  end
@@ -355,8 +374,8 @@ module PulpcoreClient
355
374
  # @option opts [Array<String>] :fields A list of fields to include in the response.
356
375
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
357
376
  # @return [ObjectRolesResponse]
358
- def uploads_list_roles(upload_href, opts = {})
359
- 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)
360
379
  data
361
380
  end
362
381
 
@@ -366,13 +385,13 @@ module PulpcoreClient
366
385
  # @option opts [Array<String>] :fields A list of fields to include in the response.
367
386
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
368
387
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
369
- def uploads_list_roles_with_http_info(upload_href, opts = {})
388
+ def list_roles_with_http_info(upload_href, opts = {})
370
389
  if @api_client.config.debugging
371
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list_roles ...'
390
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list_roles ...'
372
391
  end
373
392
  # verify the required parameter 'upload_href' is set
374
393
  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"
394
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.list_roles"
376
395
  end
377
396
  # resource path
378
397
  local_var_path = '{upload_href}list_roles/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -410,7 +429,7 @@ module PulpcoreClient
410
429
 
411
430
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
412
431
  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}"
432
+ @api_client.config.logger.debug "API called: UploadsApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
414
433
  end
415
434
  return data, status_code, headers
416
435
  end
@@ -421,8 +440,8 @@ module PulpcoreClient
421
440
  # @option opts [Array<String>] :fields A list of fields to include in the response.
422
441
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
423
442
  # @return [MyPermissionsResponse]
424
- def uploads_my_permissions(upload_href, opts = {})
425
- 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)
426
445
  data
427
446
  end
428
447
 
@@ -432,13 +451,13 @@ module PulpcoreClient
432
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
433
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
434
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
435
- def uploads_my_permissions_with_http_info(upload_href, opts = {})
454
+ def my_permissions_with_http_info(upload_href, opts = {})
436
455
  if @api_client.config.debugging
437
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_my_permissions ...'
456
+ @api_client.config.logger.debug 'Calling API: UploadsApi.my_permissions ...'
438
457
  end
439
458
  # verify the required parameter 'upload_href' is set
440
459
  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"
460
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.my_permissions"
442
461
  end
443
462
  # resource path
444
463
  local_var_path = '{upload_href}my_permissions/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -476,7 +495,7 @@ module PulpcoreClient
476
495
 
477
496
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
478
497
  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}"
498
+ @api_client.config.logger.debug "API called: UploadsApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
480
499
  end
481
500
  return data, status_code, headers
482
501
  end
@@ -488,8 +507,8 @@ module PulpcoreClient
488
507
  # @option opts [Array<String>] :fields A list of fields to include in the response.
489
508
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
490
509
  # @return [UploadDetailResponse]
491
- def uploads_read(upload_href, opts = {})
492
- 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)
493
512
  data
494
513
  end
495
514
 
@@ -500,13 +519,13 @@ module PulpcoreClient
500
519
  # @option opts [Array<String>] :fields A list of fields to include in the response.
501
520
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
502
521
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
503
- def uploads_read_with_http_info(upload_href, opts = {})
522
+ def read_with_http_info(upload_href, opts = {})
504
523
  if @api_client.config.debugging
505
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_read ...'
524
+ @api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
506
525
  end
507
526
  # verify the required parameter 'upload_href' is set
508
527
  if @api_client.config.client_side_validation && upload_href.nil?
509
- 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"
510
529
  end
511
530
  # resource path
512
531
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -544,7 +563,7 @@ module PulpcoreClient
544
563
 
545
564
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
546
565
  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}"
566
+ @api_client.config.logger.debug "API called: UploadsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
548
567
  end
549
568
  return data, status_code, headers
550
569
  end
@@ -554,8 +573,8 @@ module PulpcoreClient
554
573
  # @param upload [Upload]
555
574
  # @param [Hash] opts the optional parameters
556
575
  # @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)
576
+ def remove_role(upload_href, upload, opts = {})
577
+ data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
559
578
  data
560
579
  end
561
580
 
@@ -564,17 +583,17 @@ module PulpcoreClient
564
583
  # @param upload [Upload]
565
584
  # @param [Hash] opts the optional parameters
566
585
  # @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 = {})
586
+ def remove_role_with_http_info(upload_href, upload, opts = {})
568
587
  if @api_client.config.debugging
569
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_remove_role ...'
588
+ @api_client.config.logger.debug 'Calling API: UploadsApi.remove_role ...'
570
589
  end
571
590
  # verify the required parameter 'upload_href' is set
572
591
  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"
592
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.remove_role"
574
593
  end
575
594
  # verify the required parameter 'upload' is set
576
595
  if @api_client.config.client_side_validation && upload.nil?
577
- 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"
578
597
  end
579
598
  # resource path
580
599
  local_var_path = '{upload_href}remove_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -612,7 +631,7 @@ module PulpcoreClient
612
631
 
613
632
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
614
633
  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}"
634
+ @api_client.config.logger.debug "API called: UploadsApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
616
635
  end
617
636
  return data, status_code, headers
618
637
  end
@@ -625,8 +644,8 @@ module PulpcoreClient
625
644
  # @param [Hash] opts the optional parameters
626
645
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
627
646
  # @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)
647
+ def update(content_range, upload_href, file, opts = {})
648
+ data, _status_code, _headers = update_with_http_info(content_range, upload_href, file, opts)
630
649
  data
631
650
  end
632
651
 
@@ -638,24 +657,24 @@ module PulpcoreClient
638
657
  # @param [Hash] opts the optional parameters
639
658
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
640
659
  # @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 = {})
660
+ def update_with_http_info(content_range, upload_href, file, opts = {})
642
661
  if @api_client.config.debugging
643
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_update ...'
662
+ @api_client.config.logger.debug 'Calling API: UploadsApi.update ...'
644
663
  end
645
664
  # verify the required parameter 'content_range' is set
646
665
  if @api_client.config.client_side_validation && content_range.nil?
647
- 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"
648
667
  end
649
668
  # verify the required parameter 'upload_href' is set
650
669
  if @api_client.config.client_side_validation && upload_href.nil?
651
- 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"
652
671
  end
653
672
  # verify the required parameter 'file' is set
654
673
  if @api_client.config.client_side_validation && file.nil?
655
- fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.uploads_update"
674
+ fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.update"
656
675
  end
657
676
  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.'
677
+ fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.update, the character length must be great than or equal to 1.'
659
678
  end
660
679
 
661
680
  # resource path
@@ -697,7 +716,7 @@ module PulpcoreClient
697
716
 
698
717
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
699
718
  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}"
719
+ @api_client.config.logger.debug "API called: UploadsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
701
720
  end
702
721
  return data, status_code, headers
703
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,11 +210,11 @@ 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
- 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"]
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) }
219
219
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
220
220
  end
@@ -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