pulpcore_client 3.28.28 → 3.28.30
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.
- checksums.yaml +4 -4
- data/README.md +157 -155
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactDistributionResponse.md +12 -12
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +8 -8
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +8 -8
- data/docs/DistributionsArtifactsApi.md +11 -11
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- data/docs/DomainsApi.md +31 -31
- data/docs/ExportersFilesystemApi.md +31 -31
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +31 -31
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +31 -31
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +8 -8
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +8 -8
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryVersionsApi.md +6 -6
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +11 -11
- data/docs/StatusApi.md +1 -1
- data/docs/TaskGroupsApi.md +11 -11
- data/docs/TaskSchedulesApi.md +31 -31
- data/docs/TasksApi.md +96 -96
- data/docs/UploadsApi.md +51 -51
- data/docs/UpstreamPulpsApi.md +36 -36
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +11 -11
- data/lib/pulpcore_client/api/access_policies_api.rb +31 -31
- data/lib/pulpcore_client/api/artifacts_api.rb +29 -29
- data/lib/pulpcore_client/api/content_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +63 -63
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +63 -63
- data/lib/pulpcore_client/api/distributions_api.rb +8 -8
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -11
- data/lib/pulpcore_client/api/docs_api_json_api.rb +89 -0
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +89 -0
- data/lib/pulpcore_client/api/domains_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +63 -63
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +37 -37
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +7 -11
- data/lib/pulpcore_client/api/remotes_api.rb +7 -11
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +7 -11
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +5 -5
- data/lib/pulpcore_client/api/roles_api.rb +37 -37
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -11
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -11
- data/lib/pulpcore_client/api/task_schedules_api.rb +37 -37
- data/lib/pulpcore_client/api/tasks_api.rb +119 -119
- data/lib/pulpcore_client/api/uploads_api.rb +65 -65
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +43 -43
- data/lib/pulpcore_client/api/users_api.rb +37 -37
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +11 -11
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +50 -50
- data/lib/pulpcore_client/models/remote_response.rb +20 -20
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +10 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +2 -0
- data/spec/api/access_policies_api_spec.rb +10 -10
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +20 -20
- data/spec/api/contentguards_rbac_api_spec.rb +20 -20
- data/spec/api/distributions_api_spec.rb +3 -3
- data/spec/api/distributions_artifacts_api_spec.rb +4 -4
- data/spec/api/docs_api_json_api_spec.rb +48 -0
- data/spec/api/docs_api_yaml_api_spec.rb +48 -0
- data/spec/api/domains_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_api_spec.rb +12 -12
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +12 -12
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +12 -12
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +3 -3
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +4 -4
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +12 -12
- data/spec/api/tasks_api_spec.rb +29 -29
- data/spec/api/uploads_api_spec.rb +20 -20
- data/spec/api/upstream_pulps_api_spec.rb +14 -14
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +8 -8
- metadata +164 -156
|
@@ -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
|
|
28
|
-
data, _status_code, _headers =
|
|
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)
|
|
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
|
|
37
|
+
def task_schedules_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.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_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.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_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.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_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#
|
|
85
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
@@ -102,8 +102,8 @@ module PulpcoreClient
|
|
|
102
102
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
103
103
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
104
104
|
# @return [PaginatedTaskScheduleResponseList]
|
|
105
|
-
def
|
|
106
|
-
data, _status_code, _headers =
|
|
105
|
+
def task_schedules_list(opts = {})
|
|
106
|
+
data, _status_code, _headers = task_schedules_list_with_http_info(opts)
|
|
107
107
|
data
|
|
108
108
|
end
|
|
109
109
|
|
|
@@ -122,9 +122,9 @@ module PulpcoreClient
|
|
|
122
122
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
123
123
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
124
124
|
# @return [Array<(PaginatedTaskScheduleResponseList, Integer, Hash)>] PaginatedTaskScheduleResponseList data, response status code and response headers
|
|
125
|
-
def
|
|
125
|
+
def task_schedules_list_with_http_info(opts = {})
|
|
126
126
|
if @api_client.config.debugging
|
|
127
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
|
127
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list ...'
|
|
128
128
|
end
|
|
129
129
|
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"]
|
|
130
130
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -175,7 +175,7 @@ module PulpcoreClient
|
|
|
175
175
|
|
|
176
176
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
177
177
|
if @api_client.config.debugging
|
|
178
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
|
178
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
179
179
|
end
|
|
180
180
|
return data, status_code, headers
|
|
181
181
|
end
|
|
@@ -186,8 +186,8 @@ module PulpcoreClient
|
|
|
186
186
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
187
187
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
188
188
|
# @return [ObjectRolesResponse]
|
|
189
|
-
def
|
|
190
|
-
data, _status_code, _headers =
|
|
189
|
+
def task_schedules_list_roles(task_schedule_href, opts = {})
|
|
190
|
+
data, _status_code, _headers = task_schedules_list_roles_with_http_info(task_schedule_href, opts)
|
|
191
191
|
data
|
|
192
192
|
end
|
|
193
193
|
|
|
@@ -197,13 +197,13 @@ module PulpcoreClient
|
|
|
197
197
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
198
198
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
199
199
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
200
|
-
def
|
|
200
|
+
def task_schedules_list_roles_with_http_info(task_schedule_href, opts = {})
|
|
201
201
|
if @api_client.config.debugging
|
|
202
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
|
202
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list_roles ...'
|
|
203
203
|
end
|
|
204
204
|
# verify the required parameter 'task_schedule_href' is set
|
|
205
205
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
|
206
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
|
206
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_list_roles"
|
|
207
207
|
end
|
|
208
208
|
# resource path
|
|
209
209
|
local_var_path = '{task_schedule_href}list_roles/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
|
@@ -241,7 +241,7 @@ module PulpcoreClient
|
|
|
241
241
|
|
|
242
242
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
243
243
|
if @api_client.config.debugging
|
|
244
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
|
244
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
245
245
|
end
|
|
246
246
|
return data, status_code, headers
|
|
247
247
|
end
|
|
@@ -252,8 +252,8 @@ module PulpcoreClient
|
|
|
252
252
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
253
253
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
254
254
|
# @return [MyPermissionsResponse]
|
|
255
|
-
def
|
|
256
|
-
data, _status_code, _headers =
|
|
255
|
+
def task_schedules_my_permissions(task_schedule_href, opts = {})
|
|
256
|
+
data, _status_code, _headers = task_schedules_my_permissions_with_http_info(task_schedule_href, opts)
|
|
257
257
|
data
|
|
258
258
|
end
|
|
259
259
|
|
|
@@ -263,13 +263,13 @@ module PulpcoreClient
|
|
|
263
263
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
264
264
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
265
265
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
266
|
-
def
|
|
266
|
+
def task_schedules_my_permissions_with_http_info(task_schedule_href, opts = {})
|
|
267
267
|
if @api_client.config.debugging
|
|
268
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
|
268
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_my_permissions ...'
|
|
269
269
|
end
|
|
270
270
|
# verify the required parameter 'task_schedule_href' is set
|
|
271
271
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
|
272
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
|
272
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_my_permissions"
|
|
273
273
|
end
|
|
274
274
|
# resource path
|
|
275
275
|
local_var_path = '{task_schedule_href}my_permissions/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
|
@@ -307,7 +307,7 @@ module PulpcoreClient
|
|
|
307
307
|
|
|
308
308
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
309
309
|
if @api_client.config.debugging
|
|
310
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
|
310
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
311
311
|
end
|
|
312
312
|
return data, status_code, headers
|
|
313
313
|
end
|
|
@@ -319,8 +319,8 @@ module PulpcoreClient
|
|
|
319
319
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
320
320
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
321
321
|
# @return [TaskScheduleResponse]
|
|
322
|
-
def
|
|
323
|
-
data, _status_code, _headers =
|
|
322
|
+
def task_schedules_read(task_schedule_href, opts = {})
|
|
323
|
+
data, _status_code, _headers = task_schedules_read_with_http_info(task_schedule_href, opts)
|
|
324
324
|
data
|
|
325
325
|
end
|
|
326
326
|
|
|
@@ -331,13 +331,13 @@ module PulpcoreClient
|
|
|
331
331
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
332
332
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
333
333
|
# @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
|
|
334
|
-
def
|
|
334
|
+
def task_schedules_read_with_http_info(task_schedule_href, opts = {})
|
|
335
335
|
if @api_client.config.debugging
|
|
336
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
|
336
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_read ...'
|
|
337
337
|
end
|
|
338
338
|
# verify the required parameter 'task_schedule_href' is set
|
|
339
339
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
|
340
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
|
340
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_read"
|
|
341
341
|
end
|
|
342
342
|
# resource path
|
|
343
343
|
local_var_path = '{task_schedule_href}'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
|
@@ -375,7 +375,7 @@ module PulpcoreClient
|
|
|
375
375
|
|
|
376
376
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
377
377
|
if @api_client.config.debugging
|
|
378
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
|
378
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
379
379
|
end
|
|
380
380
|
return data, status_code, headers
|
|
381
381
|
end
|
|
@@ -385,8 +385,8 @@ module PulpcoreClient
|
|
|
385
385
|
# @param nested_role [NestedRole]
|
|
386
386
|
# @param [Hash] opts the optional parameters
|
|
387
387
|
# @return [NestedRoleResponse]
|
|
388
|
-
def
|
|
389
|
-
data, _status_code, _headers =
|
|
388
|
+
def task_schedules_remove_role(task_schedule_href, nested_role, opts = {})
|
|
389
|
+
data, _status_code, _headers = task_schedules_remove_role_with_http_info(task_schedule_href, nested_role, opts)
|
|
390
390
|
data
|
|
391
391
|
end
|
|
392
392
|
|
|
@@ -395,17 +395,17 @@ module PulpcoreClient
|
|
|
395
395
|
# @param nested_role [NestedRole]
|
|
396
396
|
# @param [Hash] opts the optional parameters
|
|
397
397
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
398
|
-
def
|
|
398
|
+
def task_schedules_remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
|
|
399
399
|
if @api_client.config.debugging
|
|
400
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
|
400
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_remove_role ...'
|
|
401
401
|
end
|
|
402
402
|
# verify the required parameter 'task_schedule_href' is set
|
|
403
403
|
if @api_client.config.client_side_validation && task_schedule_href.nil?
|
|
404
|
-
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.
|
|
404
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_remove_role"
|
|
405
405
|
end
|
|
406
406
|
# verify the required parameter 'nested_role' is set
|
|
407
407
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
408
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.
|
|
408
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_remove_role"
|
|
409
409
|
end
|
|
410
410
|
# resource path
|
|
411
411
|
local_var_path = '{task_schedule_href}remove_role/'.sub('{' + 'task_schedule_href' + '}', CGI.escape(task_schedule_href.to_s).gsub('%2F', '/'))
|
|
@@ -443,7 +443,7 @@ module PulpcoreClient
|
|
|
443
443
|
|
|
444
444
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
445
445
|
if @api_client.config.debugging
|
|
446
|
-
@api_client.config.logger.debug "API called: TaskSchedulesApi#
|
|
446
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
447
447
|
end
|
|
448
448
|
return data, status_code, headers
|
|
449
449
|
end
|