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 nested_role [NestedRole]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [NestedRoleResponse]
27
- def task_schedules_add_role(task_schedule_href, nested_role, opts = {})
28
- data, _status_code, _headers = task_schedules_add_role_with_http_info(task_schedule_href, nested_role, opts)
27
+ def add_role(task_schedule_href, nested_role, opts = {})
28
+ data, _status_code, _headers = add_role_with_http_info(task_schedule_href, nested_role, opts)
29
29
  data
30
30
  end
31
31
 
@@ -34,17 +34,17 @@ module PulpcoreClient
34
34
  # @param nested_role [NestedRole]
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 task_schedules_add_role_with_http_info(task_schedule_href, nested_role, opts = {})
37
+ def add_role_with_http_info(task_schedule_href, nested_role, opts = {})
38
38
  if @api_client.config.debugging
39
- @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_add_role ...'
39
+ @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.add_role ...'
40
40
  end
41
41
  # verify the required parameter 'task_schedule_href' is set
42
42
  if @api_client.config.client_side_validation && task_schedule_href.nil?
43
- fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_add_role"
43
+ fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.add_role"
44
44
  end
45
45
  # verify the required parameter 'nested_role' is set
46
46
  if @api_client.config.client_side_validation && nested_role.nil?
47
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_add_role"
47
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.add_role"
48
48
  end
49
49
  # resource path
50
50
  local_var_path = '{task_schedule_href}add_role/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_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: TaskSchedulesApi#task_schedules_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
+ @api_client.config.logger.debug "API called: TaskSchedulesApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
86
  end
87
87
  return data, status_code, headers
88
88
  end
@@ -91,17 +91,17 @@ module PulpcoreClient
91
91
  # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
92
92
  # @param [Hash] opts the optional parameters
93
93
  # @option opts [Integer] :limit Number of results to return per page.
94
- # @option opts [String] :name
94
+ # @option opts [String] :name Filter results where name matches value
95
95
  # @option opts [String] :name__contains Filter results where name contains value
96
96
  # @option opts [Integer] :offset The initial index from which to return the results.
97
97
  # @option opts [Array<String>] :ordering Ordering
98
- # @option opts [String] :task_name
98
+ # @option opts [String] :task_name Filter results where task_name matches value
99
99
  # @option opts [String] :task_name__contains Filter results where task_name contains value
100
100
  # @option opts [Array<String>] :fields A list of fields to include in the response.
101
101
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
102
102
  # @return [PaginatedTaskScheduleResponseList]
103
- def task_schedules_list(opts = {})
104
- data, _status_code, _headers = task_schedules_list_with_http_info(opts)
103
+ def list(opts = {})
104
+ data, _status_code, _headers = list_with_http_info(opts)
105
105
  data
106
106
  end
107
107
 
@@ -109,20 +109,20 @@ module PulpcoreClient
109
109
  # ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
110
110
  # @param [Hash] opts the optional parameters
111
111
  # @option opts [Integer] :limit Number of results to return per page.
112
- # @option opts [String] :name
112
+ # @option opts [String] :name Filter results where name matches value
113
113
  # @option opts [String] :name__contains Filter results where name contains value
114
114
  # @option opts [Integer] :offset The initial index from which to return the results.
115
115
  # @option opts [Array<String>] :ordering Ordering
116
- # @option opts [String] :task_name
116
+ # @option opts [String] :task_name Filter results where task_name matches value
117
117
  # @option opts [String] :task_name__contains Filter results where task_name contains value
118
118
  # @option opts [Array<String>] :fields A list of fields to include in the response.
119
119
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
120
120
  # @return [Array<(PaginatedTaskScheduleResponseList, Integer, Hash)>] PaginatedTaskScheduleResponseList data, response status code and response headers
121
- def task_schedules_list_with_http_info(opts = {})
121
+ def list_with_http_info(opts = {})
122
122
  if @api_client.config.debugging
123
- @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list ...'
123
+ @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.list ...'
124
124
  end
125
- allowable_values = ["-dispatch_interval", "-group_roles", "-last_task", "-name", "-next_dispatch", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-task_name", "-user_roles", "dispatch_interval", "group_roles", "last_task", "name", "next_dispatch", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "task_name", "user_roles"]
125
+ allowable_values = ["-dispatch_interval", "-name", "-next_dispatch", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-task_name", "dispatch_interval", "name", "next_dispatch", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "task_name"]
126
126
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
127
127
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
128
128
  end
@@ -169,7 +169,7 @@ module PulpcoreClient
169
169
 
170
170
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
171
171
  if @api_client.config.debugging
172
- @api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
172
+ @api_client.config.logger.debug "API called: TaskSchedulesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
173
173
  end
174
174
  return data, status_code, headers
175
175
  end
@@ -180,8 +180,8 @@ module PulpcoreClient
180
180
  # @option opts [Array<String>] :fields A list of fields to include in the response.
181
181
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
182
182
  # @return [ObjectRolesResponse]
183
- def task_schedules_list_roles(task_schedule_href, opts = {})
184
- data, _status_code, _headers = task_schedules_list_roles_with_http_info(task_schedule_href, opts)
183
+ def list_roles(task_schedule_href, opts = {})
184
+ data, _status_code, _headers = list_roles_with_http_info(task_schedule_href, opts)
185
185
  data
186
186
  end
187
187
 
@@ -191,13 +191,13 @@ module PulpcoreClient
191
191
  # @option opts [Array<String>] :fields A list of fields to include in the response.
192
192
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
193
193
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
194
- def task_schedules_list_roles_with_http_info(task_schedule_href, opts = {})
194
+ def list_roles_with_http_info(task_schedule_href, opts = {})
195
195
  if @api_client.config.debugging
196
- @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list_roles ...'
196
+ @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.list_roles ...'
197
197
  end
198
198
  # verify the required parameter 'task_schedule_href' is set
199
199
  if @api_client.config.client_side_validation && task_schedule_href.nil?
200
- fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_list_roles"
200
+ fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.list_roles"
201
201
  end
202
202
  # resource path
203
203
  local_var_path = '{task_schedule_href}list_roles/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
@@ -235,7 +235,7 @@ module PulpcoreClient
235
235
 
236
236
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
237
237
  if @api_client.config.debugging
238
- @api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
238
+ @api_client.config.logger.debug "API called: TaskSchedulesApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
239
239
  end
240
240
  return data, status_code, headers
241
241
  end
@@ -246,8 +246,8 @@ module PulpcoreClient
246
246
  # @option opts [Array<String>] :fields A list of fields to include in the response.
247
247
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
248
248
  # @return [MyPermissionsResponse]
249
- def task_schedules_my_permissions(task_schedule_href, opts = {})
250
- data, _status_code, _headers = task_schedules_my_permissions_with_http_info(task_schedule_href, opts)
249
+ def my_permissions(task_schedule_href, opts = {})
250
+ data, _status_code, _headers = my_permissions_with_http_info(task_schedule_href, opts)
251
251
  data
252
252
  end
253
253
 
@@ -257,13 +257,13 @@ module PulpcoreClient
257
257
  # @option opts [Array<String>] :fields A list of fields to include in the response.
258
258
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
259
259
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
260
- def task_schedules_my_permissions_with_http_info(task_schedule_href, opts = {})
260
+ def my_permissions_with_http_info(task_schedule_href, opts = {})
261
261
  if @api_client.config.debugging
262
- @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_my_permissions ...'
262
+ @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.my_permissions ...'
263
263
  end
264
264
  # verify the required parameter 'task_schedule_href' is set
265
265
  if @api_client.config.client_side_validation && task_schedule_href.nil?
266
- fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_my_permissions"
266
+ fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.my_permissions"
267
267
  end
268
268
  # resource path
269
269
  local_var_path = '{task_schedule_href}my_permissions/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
@@ -301,7 +301,7 @@ module PulpcoreClient
301
301
 
302
302
  data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
303
303
  if @api_client.config.debugging
304
- @api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
304
+ @api_client.config.logger.debug "API called: TaskSchedulesApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
305
305
  end
306
306
  return data, status_code, headers
307
307
  end
@@ -313,8 +313,8 @@ module PulpcoreClient
313
313
  # @option opts [Array<String>] :fields A list of fields to include in the response.
314
314
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
315
315
  # @return [TaskScheduleResponse]
316
- def task_schedules_read(task_schedule_href, opts = {})
317
- data, _status_code, _headers = task_schedules_read_with_http_info(task_schedule_href, opts)
316
+ def read(task_schedule_href, opts = {})
317
+ data, _status_code, _headers = read_with_http_info(task_schedule_href, opts)
318
318
  data
319
319
  end
320
320
 
@@ -325,13 +325,13 @@ module PulpcoreClient
325
325
  # @option opts [Array<String>] :fields A list of fields to include in the response.
326
326
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
327
327
  # @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
328
- def task_schedules_read_with_http_info(task_schedule_href, opts = {})
328
+ def read_with_http_info(task_schedule_href, opts = {})
329
329
  if @api_client.config.debugging
330
- @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_read ...'
330
+ @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.read ...'
331
331
  end
332
332
  # verify the required parameter 'task_schedule_href' is set
333
333
  if @api_client.config.client_side_validation && task_schedule_href.nil?
334
- fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_read"
334
+ fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.read"
335
335
  end
336
336
  # resource path
337
337
  local_var_path = '{task_schedule_href}'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
@@ -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: TaskSchedulesApi#task_schedules_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
372
+ @api_client.config.logger.debug "API called: TaskSchedulesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
373
373
  end
374
374
  return data, status_code, headers
375
375
  end
@@ -379,8 +379,8 @@ module PulpcoreClient
379
379
  # @param nested_role [NestedRole]
380
380
  # @param [Hash] opts the optional parameters
381
381
  # @return [NestedRoleResponse]
382
- def task_schedules_remove_role(task_schedule_href, nested_role, opts = {})
383
- data, _status_code, _headers = task_schedules_remove_role_with_http_info(task_schedule_href, nested_role, opts)
382
+ def remove_role(task_schedule_href, nested_role, opts = {})
383
+ data, _status_code, _headers = remove_role_with_http_info(task_schedule_href, nested_role, opts)
384
384
  data
385
385
  end
386
386
 
@@ -389,17 +389,17 @@ module PulpcoreClient
389
389
  # @param nested_role [NestedRole]
390
390
  # @param [Hash] opts the optional parameters
391
391
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
392
- def task_schedules_remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
392
+ def remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
393
393
  if @api_client.config.debugging
394
- @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_remove_role ...'
394
+ @api_client.config.logger.debug 'Calling API: TaskSchedulesApi.remove_role ...'
395
395
  end
396
396
  # verify the required parameter 'task_schedule_href' is set
397
397
  if @api_client.config.client_side_validation && task_schedule_href.nil?
398
- fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_remove_role"
398
+ fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.remove_role"
399
399
  end
400
400
  # verify the required parameter 'nested_role' is set
401
401
  if @api_client.config.client_side_validation && nested_role.nil?
402
- fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_remove_role"
402
+ fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.remove_role"
403
403
  end
404
404
  # resource path
405
405
  local_var_path = '{task_schedule_href}remove_role/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
@@ -437,7 +437,7 @@ module PulpcoreClient
437
437
 
438
438
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
439
439
  if @api_client.config.debugging
440
- @api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
440
+ @api_client.config.logger.debug "API called: TaskSchedulesApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
441
441
  end
442
442
  return data, status_code, headers
443
443
  end