pulpcore_client 3.28.30 → 3.28.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +154 -156
  3. data/docs/AccessPoliciesApi.md +25 -25
  4. data/docs/ArtifactDistributionResponse.md +9 -9
  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/DomainsApi.md +30 -30
  13. data/docs/ExportersFilesystemApi.md +30 -30
  14. data/docs/ExportersFilesystemExportsApi.md +20 -20
  15. data/docs/ExportersPulpApi.md +30 -30
  16. data/docs/ExportersPulpExportsApi.md +20 -20
  17. data/docs/GroupsApi.md +50 -50
  18. data/docs/GroupsRolesApi.md +20 -20
  19. data/docs/GroupsUsersApi.md +15 -15
  20. data/docs/ImportersPulpApi.md +30 -30
  21. data/docs/ImportersPulpImportsApi.md +20 -20
  22. data/docs/OrphansApi.md +5 -5
  23. data/docs/OrphansCleanupApi.md +5 -5
  24. data/docs/PublicationsApi.md +5 -5
  25. data/docs/RemotesApi.md +5 -5
  26. data/docs/RepairApi.md +5 -5
  27. data/docs/RepositoriesApi.md +5 -5
  28. data/docs/RepositoriesReclaimSpaceApi.md +5 -5
  29. data/docs/RepositoryVersionsApi.md +5 -5
  30. data/docs/RolesApi.md +30 -30
  31. data/docs/SigningServicesApi.md +10 -10
  32. data/docs/TaskGroupsApi.md +10 -10
  33. data/docs/TaskSchedulesApi.md +30 -30
  34. data/docs/TasksApi.md +95 -95
  35. data/docs/UploadsApi.md +50 -50
  36. data/docs/UpstreamPulpsApi.md +35 -35
  37. data/docs/UsersApi.md +30 -30
  38. data/docs/UsersRolesApi.md +20 -20
  39. data/docs/WorkersApi.md +10 -10
  40. data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
  41. data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
  42. data/lib/pulpcore_client/api/content_api.rb +5 -5
  43. data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
  44. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
  45. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
  46. data/lib/pulpcore_client/api/distributions_api.rb +5 -5
  47. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
  48. data/lib/pulpcore_client/api/domains_api.rb +37 -37
  49. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
  50. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
  51. data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
  52. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
  53. data/lib/pulpcore_client/api/groups_api.rb +63 -63
  54. data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
  55. data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
  56. data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
  57. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
  58. data/lib/pulpcore_client/api/orphans_api.rb +5 -5
  59. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
  60. data/lib/pulpcore_client/api/publications_api.rb +5 -5
  61. data/lib/pulpcore_client/api/remotes_api.rb +5 -5
  62. data/lib/pulpcore_client/api/repair_api.rb +6 -6
  63. data/lib/pulpcore_client/api/repositories_api.rb +5 -5
  64. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
  65. data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
  66. data/lib/pulpcore_client/api/roles_api.rb +37 -37
  67. data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
  68. data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
  69. data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
  70. data/lib/pulpcore_client/api/tasks_api.rb +119 -119
  71. data/lib/pulpcore_client/api/uploads_api.rb +65 -65
  72. data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
  73. data/lib/pulpcore_client/api/users_api.rb +37 -37
  74. data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
  75. data/lib/pulpcore_client/api/workers_api.rb +11 -11
  76. data/lib/pulpcore_client/models/artifact_distribution_response.rb +39 -39
  77. data/lib/pulpcore_client/version.rb +1 -1
  78. data/lib/pulpcore_client.rb +0 -2
  79. data/spec/api/access_policies_api_spec.rb +10 -10
  80. data/spec/api/artifacts_api_spec.rb +8 -8
  81. data/spec/api/content_api_spec.rb +2 -2
  82. data/spec/api/contentguards_api_spec.rb +2 -2
  83. data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
  84. data/spec/api/contentguards_rbac_api_spec.rb +20 -20
  85. data/spec/api/distributions_api_spec.rb +2 -2
  86. data/spec/api/distributions_artifacts_api_spec.rb +4 -4
  87. data/spec/api/domains_api_spec.rb +12 -12
  88. data/spec/api/exporters_filesystem_api_spec.rb +12 -12
  89. data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
  90. data/spec/api/exporters_pulp_api_spec.rb +12 -12
  91. data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
  92. data/spec/api/groups_api_spec.rb +20 -20
  93. data/spec/api/groups_roles_api_spec.rb +8 -8
  94. data/spec/api/groups_users_api_spec.rb +6 -6
  95. data/spec/api/importers_pulp_api_spec.rb +12 -12
  96. data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
  97. data/spec/api/orphans_api_spec.rb +2 -2
  98. data/spec/api/orphans_cleanup_api_spec.rb +2 -2
  99. data/spec/api/publications_api_spec.rb +2 -2
  100. data/spec/api/remotes_api_spec.rb +2 -2
  101. data/spec/api/repair_api_spec.rb +2 -2
  102. data/spec/api/repositories_api_spec.rb +2 -2
  103. data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
  104. data/spec/api/repository_versions_api_spec.rb +2 -2
  105. data/spec/api/roles_api_spec.rb +12 -12
  106. data/spec/api/signing_services_api_spec.rb +4 -4
  107. data/spec/api/task_groups_api_spec.rb +4 -4
  108. data/spec/api/task_schedules_api_spec.rb +12 -12
  109. data/spec/api/tasks_api_spec.rb +29 -29
  110. data/spec/api/uploads_api_spec.rb +20 -20
  111. data/spec/api/upstream_pulps_api_spec.rb +14 -14
  112. data/spec/api/users_api_spec.rb +12 -12
  113. data/spec/api/users_roles_api_spec.rb +8 -8
  114. data/spec/api/workers_api_spec.rb +4 -4
  115. data/spec/models/artifact_distribution_response_spec.rb +6 -6
  116. metadata +140 -148
  117. data/docs/DocsApiJsonApi.md +0 -61
  118. data/docs/DocsApiYamlApi.md +0 -61
  119. data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
  120. data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
  121. data/spec/api/docs_api_json_api_spec.rb +0 -48
  122. 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
@@ -296,8 +296,8 @@ module PulpcoreClient
296
296
  # @option opts [Array<String>] :fields A list of fields to include in the response.
297
297
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
298
298
  # @return [PaginatedUploadResponseList]
299
- def uploads_list(opts = {})
300
- data, _status_code, _headers = uploads_list_with_http_info(opts)
299
+ def list(opts = {})
300
+ data, _status_code, _headers = list_with_http_info(opts)
301
301
  data
302
302
  end
303
303
 
@@ -316,9 +316,9 @@ module PulpcoreClient
316
316
  # @option opts [Array<String>] :fields A list of fields to include in the response.
317
317
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
318
318
  # @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
319
- def uploads_list_with_http_info(opts = {})
319
+ def list_with_http_info(opts = {})
320
320
  if @api_client.config.debugging
321
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list ...'
321
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list ...'
322
322
  end
323
323
  allowable_values = ["-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-size", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "size"]
324
324
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
@@ -369,7 +369,7 @@ module PulpcoreClient
369
369
 
370
370
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
371
371
  if @api_client.config.debugging
372
- @api_client.config.logger.debug "API called: UploadsApi#uploads_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
372
+ @api_client.config.logger.debug "API called: UploadsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
373
373
  end
374
374
  return data, status_code, headers
375
375
  end
@@ -380,8 +380,8 @@ module PulpcoreClient
380
380
  # @option opts [Array<String>] :fields A list of fields to include in the response.
381
381
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
382
382
  # @return [ObjectRolesResponse]
383
- def uploads_list_roles(upload_href, opts = {})
384
- data, _status_code, _headers = uploads_list_roles_with_http_info(upload_href, opts)
383
+ def list_roles(upload_href, opts = {})
384
+ data, _status_code, _headers = list_roles_with_http_info(upload_href, opts)
385
385
  data
386
386
  end
387
387
 
@@ -391,13 +391,13 @@ module PulpcoreClient
391
391
  # @option opts [Array<String>] :fields A list of fields to include in the response.
392
392
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
393
393
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
394
- def uploads_list_roles_with_http_info(upload_href, opts = {})
394
+ def list_roles_with_http_info(upload_href, opts = {})
395
395
  if @api_client.config.debugging
396
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_list_roles ...'
396
+ @api_client.config.logger.debug 'Calling API: UploadsApi.list_roles ...'
397
397
  end
398
398
  # verify the required parameter 'upload_href' is set
399
399
  if @api_client.config.client_side_validation && upload_href.nil?
400
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_list_roles"
400
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.list_roles"
401
401
  end
402
402
  # resource path
403
403
  local_var_path = '{upload_href}list_roles/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -435,7 +435,7 @@ module PulpcoreClient
435
435
 
436
436
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
437
437
  if @api_client.config.debugging
438
- @api_client.config.logger.debug "API called: UploadsApi#uploads_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
438
+ @api_client.config.logger.debug "API called: UploadsApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
439
439
  end
440
440
  return data, status_code, headers
441
441
  end
@@ -446,8 +446,8 @@ module PulpcoreClient
446
446
  # @option opts [Array<String>] :fields A list of fields to include in the response.
447
447
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
448
448
  # @return [MyPermissionsResponse]
449
- def uploads_my_permissions(upload_href, opts = {})
450
- data, _status_code, _headers = uploads_my_permissions_with_http_info(upload_href, opts)
449
+ def my_permissions(upload_href, opts = {})
450
+ data, _status_code, _headers = my_permissions_with_http_info(upload_href, opts)
451
451
  data
452
452
  end
453
453
 
@@ -457,13 +457,13 @@ module PulpcoreClient
457
457
  # @option opts [Array<String>] :fields A list of fields to include in the response.
458
458
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
459
459
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
460
- def uploads_my_permissions_with_http_info(upload_href, opts = {})
460
+ def my_permissions_with_http_info(upload_href, opts = {})
461
461
  if @api_client.config.debugging
462
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_my_permissions ...'
462
+ @api_client.config.logger.debug 'Calling API: UploadsApi.my_permissions ...'
463
463
  end
464
464
  # verify the required parameter 'upload_href' is set
465
465
  if @api_client.config.client_side_validation && upload_href.nil?
466
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_my_permissions"
466
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.my_permissions"
467
467
  end
468
468
  # resource path
469
469
  local_var_path = '{upload_href}my_permissions/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -501,7 +501,7 @@ module PulpcoreClient
501
501
 
502
502
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
503
503
  if @api_client.config.debugging
504
- @api_client.config.logger.debug "API called: UploadsApi#uploads_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
504
+ @api_client.config.logger.debug "API called: UploadsApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
505
505
  end
506
506
  return data, status_code, headers
507
507
  end
@@ -513,8 +513,8 @@ module PulpcoreClient
513
513
  # @option opts [Array<String>] :fields A list of fields to include in the response.
514
514
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
515
515
  # @return [UploadDetailResponse]
516
- def uploads_read(upload_href, opts = {})
517
- data, _status_code, _headers = uploads_read_with_http_info(upload_href, opts)
516
+ def read(upload_href, opts = {})
517
+ data, _status_code, _headers = read_with_http_info(upload_href, opts)
518
518
  data
519
519
  end
520
520
 
@@ -525,13 +525,13 @@ module PulpcoreClient
525
525
  # @option opts [Array<String>] :fields A list of fields to include in the response.
526
526
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
527
527
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
528
- def uploads_read_with_http_info(upload_href, opts = {})
528
+ def read_with_http_info(upload_href, opts = {})
529
529
  if @api_client.config.debugging
530
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_read ...'
530
+ @api_client.config.logger.debug 'Calling API: UploadsApi.read ...'
531
531
  end
532
532
  # verify the required parameter 'upload_href' is set
533
533
  if @api_client.config.client_side_validation && upload_href.nil?
534
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_read"
534
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.read"
535
535
  end
536
536
  # resource path
537
537
  local_var_path = '{upload_href}'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -569,7 +569,7 @@ module PulpcoreClient
569
569
 
570
570
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
571
571
  if @api_client.config.debugging
572
- @api_client.config.logger.debug "API called: UploadsApi#uploads_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
572
+ @api_client.config.logger.debug "API called: UploadsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
573
573
  end
574
574
  return data, status_code, headers
575
575
  end
@@ -579,8 +579,8 @@ module PulpcoreClient
579
579
  # @param upload [Upload]
580
580
  # @param [Hash] opts the optional parameters
581
581
  # @return [NestedRoleResponse]
582
- def uploads_remove_role(upload_href, upload, opts = {})
583
- data, _status_code, _headers = uploads_remove_role_with_http_info(upload_href, upload, opts)
582
+ def remove_role(upload_href, upload, opts = {})
583
+ data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
584
584
  data
585
585
  end
586
586
 
@@ -589,17 +589,17 @@ module PulpcoreClient
589
589
  # @param upload [Upload]
590
590
  # @param [Hash] opts the optional parameters
591
591
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
592
- def uploads_remove_role_with_http_info(upload_href, upload, opts = {})
592
+ def remove_role_with_http_info(upload_href, upload, opts = {})
593
593
  if @api_client.config.debugging
594
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_remove_role ...'
594
+ @api_client.config.logger.debug 'Calling API: UploadsApi.remove_role ...'
595
595
  end
596
596
  # verify the required parameter 'upload_href' is set
597
597
  if @api_client.config.client_side_validation && upload_href.nil?
598
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_remove_role"
598
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.remove_role"
599
599
  end
600
600
  # verify the required parameter 'upload' is set
601
601
  if @api_client.config.client_side_validation && upload.nil?
602
- fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.uploads_remove_role"
602
+ fail ArgumentError, "Missing the required parameter 'upload' when calling UploadsApi.remove_role"
603
603
  end
604
604
  # resource path
605
605
  local_var_path = '{upload_href}remove_role/'.sub('{' + 'upload_href' + '}', CGI.escape(upload_href.to_s).gsub('%2F', '/'))
@@ -637,7 +637,7 @@ module PulpcoreClient
637
637
 
638
638
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
639
639
  if @api_client.config.debugging
640
- @api_client.config.logger.debug "API called: UploadsApi#uploads_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
640
+ @api_client.config.logger.debug "API called: UploadsApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
641
641
  end
642
642
  return data, status_code, headers
643
643
  end
@@ -650,8 +650,8 @@ module PulpcoreClient
650
650
  # @param [Hash] opts the optional parameters
651
651
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
652
652
  # @return [UploadResponse]
653
- def uploads_update(content_range, upload_href, file, opts = {})
654
- data, _status_code, _headers = uploads_update_with_http_info(content_range, upload_href, file, opts)
653
+ def update(content_range, upload_href, file, opts = {})
654
+ data, _status_code, _headers = update_with_http_info(content_range, upload_href, file, opts)
655
655
  data
656
656
  end
657
657
 
@@ -663,24 +663,24 @@ module PulpcoreClient
663
663
  # @param [Hash] opts the optional parameters
664
664
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
665
665
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
666
- def uploads_update_with_http_info(content_range, upload_href, file, opts = {})
666
+ def update_with_http_info(content_range, upload_href, file, opts = {})
667
667
  if @api_client.config.debugging
668
- @api_client.config.logger.debug 'Calling API: UploadsApi.uploads_update ...'
668
+ @api_client.config.logger.debug 'Calling API: UploadsApi.update ...'
669
669
  end
670
670
  # verify the required parameter 'content_range' is set
671
671
  if @api_client.config.client_side_validation && content_range.nil?
672
- fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.uploads_update"
672
+ fail ArgumentError, "Missing the required parameter 'content_range' when calling UploadsApi.update"
673
673
  end
674
674
  # verify the required parameter 'upload_href' is set
675
675
  if @api_client.config.client_side_validation && upload_href.nil?
676
- fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.uploads_update"
676
+ fail ArgumentError, "Missing the required parameter 'upload_href' when calling UploadsApi.update"
677
677
  end
678
678
  # verify the required parameter 'file' is set
679
679
  if @api_client.config.client_side_validation && file.nil?
680
- fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.uploads_update"
680
+ fail ArgumentError, "Missing the required parameter 'file' when calling UploadsApi.update"
681
681
  end
682
682
  if @api_client.config.client_side_validation && !opts[:'sha256'].nil? && opts[:'sha256'].to_s.length < 1
683
- fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.uploads_update, the character length must be great than or equal to 1.'
683
+ fail ArgumentError, 'invalid value for "opts[:"sha256"]" when calling UploadsApi.update, the character length must be great than or equal to 1.'
684
684
  end
685
685
 
686
686
  # resource path
@@ -722,7 +722,7 @@ module PulpcoreClient
722
722
 
723
723
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
724
724
  if @api_client.config.debugging
725
- @api_client.config.logger.debug "API called: UploadsApi#uploads_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
725
+ @api_client.config.logger.debug "API called: UploadsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
726
726
  end
727
727
  return data, status_code, headers
728
728
  end
@@ -24,8 +24,8 @@ module PulpcoreClient
24
24
  # @param upstream_pulp [UpstreamPulp]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [UpstreamPulpResponse]
27
- def upstream_pulps_create(upstream_pulp, opts = {})
28
- data, _status_code, _headers = upstream_pulps_create_with_http_info(upstream_pulp, opts)
27
+ def create(upstream_pulp, opts = {})
28
+ data, _status_code, _headers = create_with_http_info(upstream_pulp, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,13 +34,13 @@ module PulpcoreClient
34
34
  # @param upstream_pulp [UpstreamPulp]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
37
- def upstream_pulps_create_with_http_info(upstream_pulp, opts = {})
37
+ def create_with_http_info(upstream_pulp, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_create ...'
39
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.create ...'
40
40
  end
41
41
  # verify the required parameter 'upstream_pulp' is set
42
42
  if @api_client.config.client_side_validation && upstream_pulp.nil?
43
- fail ArgumentError, "Missing the required parameter 'upstream_pulp' when calling UpstreamPulpsApi.upstream_pulps_create"
43
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp' when calling UpstreamPulpsApi.create"
44
44
  end
45
45
  # resource path
46
46
  local_var_path = '/pulp/api/v3/upstream-pulps/'
@@ -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: UpstreamPulpsApi#upstream_pulps_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
81
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#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 upstream_pulp_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [nil]
91
- def upstream_pulps_delete(upstream_pulp_href, opts = {})
92
- upstream_pulps_delete_with_http_info(upstream_pulp_href, opts)
91
+ def delete(upstream_pulp_href, opts = {})
92
+ delete_with_http_info(upstream_pulp_href, opts)
93
93
  nil
94
94
  end
95
95
 
@@ -98,13 +98,13 @@ module PulpcoreClient
98
98
  # @param upstream_pulp_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 upstream_pulps_delete_with_http_info(upstream_pulp_href, opts = {})
101
+ def delete_with_http_info(upstream_pulp_href, opts = {})
102
102
  if @api_client.config.debugging
103
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_delete ...'
103
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.delete ...'
104
104
  end
105
105
  # verify the required parameter 'upstream_pulp_href' is set
106
106
  if @api_client.config.client_side_validation && upstream_pulp_href.nil?
107
- fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.upstream_pulps_delete"
107
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.delete"
108
108
  end
109
109
  # resource path
110
110
  local_var_path = '{upstream_pulp_href}'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_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: UpstreamPulpsApi#upstream_pulps_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
141
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
142
142
  end
143
143
  return data, status_code, headers
144
144
  end
@@ -151,8 +151,8 @@ module PulpcoreClient
151
151
  # @option opts [Array<String>] :fields A list of fields to include in the response.
152
152
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
153
153
  # @return [PaginatedUpstreamPulpResponseList]
154
- def upstream_pulps_list(opts = {})
155
- data, _status_code, _headers = upstream_pulps_list_with_http_info(opts)
154
+ def list(opts = {})
155
+ data, _status_code, _headers = list_with_http_info(opts)
156
156
  data
157
157
  end
158
158
 
@@ -164,9 +164,9 @@ module PulpcoreClient
164
164
  # @option opts [Array<String>] :fields A list of fields to include in the response.
165
165
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
166
166
  # @return [Array<(PaginatedUpstreamPulpResponseList, Integer, Hash)>] PaginatedUpstreamPulpResponseList data, response status code and response headers
167
- def upstream_pulps_list_with_http_info(opts = {})
167
+ def list_with_http_info(opts = {})
168
168
  if @api_client.config.debugging
169
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_list ...'
169
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.list ...'
170
170
  end
171
171
  # resource path
172
172
  local_var_path = '/pulp/api/v3/upstream-pulps/'
@@ -206,7 +206,7 @@ module PulpcoreClient
206
206
 
207
207
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
208
208
  if @api_client.config.debugging
209
- @api_client.config.logger.debug "API called: UpstreamPulpsApi#upstream_pulps_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
209
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
210
210
  end
211
211
  return data, status_code, headers
212
212
  end
@@ -217,8 +217,8 @@ module PulpcoreClient
217
217
  # @param patched_upstream_pulp [PatchedUpstreamPulp]
218
218
  # @param [Hash] opts the optional parameters
219
219
  # @return [UpstreamPulpResponse]
220
- def upstream_pulps_partial_update(upstream_pulp_href, patched_upstream_pulp, opts = {})
221
- data, _status_code, _headers = upstream_pulps_partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
220
+ def partial_update(upstream_pulp_href, patched_upstream_pulp, opts = {})
221
+ data, _status_code, _headers = partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
222
222
  data
223
223
  end
224
224
 
@@ -228,17 +228,17 @@ module PulpcoreClient
228
228
  # @param patched_upstream_pulp [PatchedUpstreamPulp]
229
229
  # @param [Hash] opts the optional parameters
230
230
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
231
- def upstream_pulps_partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts = {})
231
+ def partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts = {})
232
232
  if @api_client.config.debugging
233
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_partial_update ...'
233
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.partial_update ...'
234
234
  end
235
235
  # verify the required parameter 'upstream_pulp_href' is set
236
236
  if @api_client.config.client_side_validation && upstream_pulp_href.nil?
237
- fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.upstream_pulps_partial_update"
237
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.partial_update"
238
238
  end
239
239
  # verify the required parameter 'patched_upstream_pulp' is set
240
240
  if @api_client.config.client_side_validation && patched_upstream_pulp.nil?
241
- fail ArgumentError, "Missing the required parameter 'patched_upstream_pulp' when calling UpstreamPulpsApi.upstream_pulps_partial_update"
241
+ fail ArgumentError, "Missing the required parameter 'patched_upstream_pulp' when calling UpstreamPulpsApi.partial_update"
242
242
  end
243
243
  # resource path
244
244
  local_var_path = '{upstream_pulp_href}'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_href.to_s).gsub('%2F', '/'))
@@ -276,7 +276,7 @@ module PulpcoreClient
276
276
 
277
277
  data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
278
278
  if @api_client.config.debugging
279
- @api_client.config.logger.debug "API called: UpstreamPulpsApi#upstream_pulps_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
279
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
280
280
  end
281
281
  return data, status_code, headers
282
282
  end
@@ -288,8 +288,8 @@ module PulpcoreClient
288
288
  # @option opts [Array<String>] :fields A list of fields to include in the response.
289
289
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
290
290
  # @return [UpstreamPulpResponse]
291
- def upstream_pulps_read(upstream_pulp_href, opts = {})
292
- data, _status_code, _headers = upstream_pulps_read_with_http_info(upstream_pulp_href, opts)
291
+ def read(upstream_pulp_href, opts = {})
292
+ data, _status_code, _headers = read_with_http_info(upstream_pulp_href, opts)
293
293
  data
294
294
  end
295
295
 
@@ -300,13 +300,13 @@ module PulpcoreClient
300
300
  # @option opts [Array<String>] :fields A list of fields to include in the response.
301
301
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
302
302
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
303
- def upstream_pulps_read_with_http_info(upstream_pulp_href, opts = {})
303
+ def read_with_http_info(upstream_pulp_href, opts = {})
304
304
  if @api_client.config.debugging
305
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_read ...'
305
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.read ...'
306
306
  end
307
307
  # verify the required parameter 'upstream_pulp_href' is set
308
308
  if @api_client.config.client_side_validation && upstream_pulp_href.nil?
309
- fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.upstream_pulps_read"
309
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.read"
310
310
  end
311
311
  # resource path
312
312
  local_var_path = '{upstream_pulp_href}'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_href.to_s).gsub('%2F', '/'))
@@ -344,7 +344,7 @@ module PulpcoreClient
344
344
 
345
345
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
346
346
  if @api_client.config.debugging
347
- @api_client.config.logger.debug "API called: UpstreamPulpsApi#upstream_pulps_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
347
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
348
348
  end
349
349
  return data, status_code, headers
350
350
  end
@@ -354,8 +354,8 @@ module PulpcoreClient
354
354
  # @param upstream_pulp_href [String]
355
355
  # @param [Hash] opts the optional parameters
356
356
  # @return [TaskGroupOperationResponse]
357
- def upstream_pulps_replicate(upstream_pulp_href, opts = {})
358
- data, _status_code, _headers = upstream_pulps_replicate_with_http_info(upstream_pulp_href, opts)
357
+ def replicate(upstream_pulp_href, opts = {})
358
+ data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
359
359
  data
360
360
  end
361
361
 
@@ -364,13 +364,13 @@ module PulpcoreClient
364
364
  # @param upstream_pulp_href [String]
365
365
  # @param [Hash] opts the optional parameters
366
366
  # @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
367
- def upstream_pulps_replicate_with_http_info(upstream_pulp_href, opts = {})
367
+ def replicate_with_http_info(upstream_pulp_href, opts = {})
368
368
  if @api_client.config.debugging
369
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_replicate ...'
369
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.replicate ...'
370
370
  end
371
371
  # verify the required parameter 'upstream_pulp_href' is set
372
372
  if @api_client.config.client_side_validation && upstream_pulp_href.nil?
373
- fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.upstream_pulps_replicate"
373
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.replicate"
374
374
  end
375
375
  # resource path
376
376
  local_var_path = '{upstream_pulp_href}replicate/'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_href.to_s).gsub('%2F', '/'))
@@ -406,7 +406,7 @@ module PulpcoreClient
406
406
 
407
407
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
408
408
  if @api_client.config.debugging
409
- @api_client.config.logger.debug "API called: UpstreamPulpsApi#upstream_pulps_replicate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
409
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#replicate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
410
410
  end
411
411
  return data, status_code, headers
412
412
  end
@@ -417,8 +417,8 @@ module PulpcoreClient
417
417
  # @param upstream_pulp [UpstreamPulp]
418
418
  # @param [Hash] opts the optional parameters
419
419
  # @return [UpstreamPulpResponse]
420
- def upstream_pulps_update(upstream_pulp_href, upstream_pulp, opts = {})
421
- data, _status_code, _headers = upstream_pulps_update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
420
+ def update(upstream_pulp_href, upstream_pulp, opts = {})
421
+ data, _status_code, _headers = update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
422
422
  data
423
423
  end
424
424
 
@@ -428,17 +428,17 @@ module PulpcoreClient
428
428
  # @param upstream_pulp [UpstreamPulp]
429
429
  # @param [Hash] opts the optional parameters
430
430
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
431
- def upstream_pulps_update_with_http_info(upstream_pulp_href, upstream_pulp, opts = {})
431
+ def update_with_http_info(upstream_pulp_href, upstream_pulp, opts = {})
432
432
  if @api_client.config.debugging
433
- @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.upstream_pulps_update ...'
433
+ @api_client.config.logger.debug 'Calling API: UpstreamPulpsApi.update ...'
434
434
  end
435
435
  # verify the required parameter 'upstream_pulp_href' is set
436
436
  if @api_client.config.client_side_validation && upstream_pulp_href.nil?
437
- fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.upstream_pulps_update"
437
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp_href' when calling UpstreamPulpsApi.update"
438
438
  end
439
439
  # verify the required parameter 'upstream_pulp' is set
440
440
  if @api_client.config.client_side_validation && upstream_pulp.nil?
441
- fail ArgumentError, "Missing the required parameter 'upstream_pulp' when calling UpstreamPulpsApi.upstream_pulps_update"
441
+ fail ArgumentError, "Missing the required parameter 'upstream_pulp' when calling UpstreamPulpsApi.update"
442
442
  end
443
443
  # resource path
444
444
  local_var_path = '{upstream_pulp_href}'.sub('{' + 'upstream_pulp_href' + '}', CGI.escape(upstream_pulp_href.to_s).gsub('%2F', '/'))
@@ -476,7 +476,7 @@ module PulpcoreClient
476
476
 
477
477
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
478
478
  if @api_client.config.debugging
479
- @api_client.config.logger.debug "API called: UpstreamPulpsApi#upstream_pulps_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
479
+ @api_client.config.logger.debug "API called: UpstreamPulpsApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
480
480
  end
481
481
  return data, status_code, headers
482
482
  end