pulpcore_client 3.22.27 → 3.22.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +144 -142
- data/docs/AccessPoliciesApi.md +26 -26
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentguardsApi.md +6 -6
- data/docs/ContentguardsContentRedirectApi.md +51 -51
- data/docs/ContentguardsRbacApi.md +51 -51
- data/docs/DistributionsApi.md +6 -6
- data/docs/DistributionsArtifactsApi.md +11 -11
- data/docs/DocsApiJsonApi.md +61 -0
- data/docs/DocsApiYamlApi.md +61 -0
- 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 +6 -6
- data/docs/RemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesApi.md +6 -6
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +6 -6
- 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/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 +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +5 -5
- 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 +5 -5
- 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/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 +5 -5
- data/lib/pulpcore_client/api/remotes_api.rb +5 -5
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +5 -5
- 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/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 +39 -39
- 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 +2 -2
- data/spec/api/contentguards_api_spec.rb +2 -2
- 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 +2 -2
- 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/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 +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- 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/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 +6 -6
- metadata +153 -145
@@ -41,8 +41,8 @@ module PulpcoreClient
|
|
41
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
42
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
43
43
|
# @return [PaginatedRepositoryVersionResponseList]
|
44
|
-
def
|
45
|
-
data, _status_code, _headers =
|
44
|
+
def repository_versions_list(opts = {})
|
45
|
+
data, _status_code, _headers = repository_versions_list_with_http_info(opts)
|
46
46
|
data
|
47
47
|
end
|
48
48
|
|
@@ -68,9 +68,9 @@ module PulpcoreClient
|
|
68
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
69
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
70
70
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
71
|
-
def
|
71
|
+
def repository_versions_list_with_http_info(opts = {})
|
72
72
|
if @api_client.config.debugging
|
73
|
-
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.
|
73
|
+
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.repository_versions_list ...'
|
74
74
|
end
|
75
75
|
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
76
76
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -129,7 +129,7 @@ module PulpcoreClient
|
|
129
129
|
|
130
130
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
131
131
|
if @api_client.config.debugging
|
132
|
-
@api_client.config.logger.debug "API called: RepositoryVersionsApi#
|
132
|
+
@api_client.config.logger.debug "API called: RepositoryVersionsApi#repository_versions_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
133
133
|
end
|
134
134
|
return data, status_code, headers
|
135
135
|
end
|
@@ -24,8 +24,8 @@ module PulpcoreClient
|
|
24
24
|
# @param role [Role]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [RoleResponse]
|
27
|
-
def
|
28
|
-
data, _status_code, _headers =
|
27
|
+
def roles_create(role, opts = {})
|
28
|
+
data, _status_code, _headers = roles_create_with_http_info(role, opts)
|
29
29
|
data
|
30
30
|
end
|
31
31
|
|
@@ -34,13 +34,13 @@ module PulpcoreClient
|
|
34
34
|
# @param role [Role]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
37
|
-
def
|
37
|
+
def roles_create_with_http_info(role, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
39
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'role' is set
|
42
42
|
if @api_client.config.client_side_validation && role.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.
|
43
|
+
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
46
|
local_var_path = '/pulp/api/v3/roles/'
|
@@ -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: RolesApi#
|
81
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_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 role_href [String]
|
89
89
|
# @param [Hash] opts the optional parameters
|
90
90
|
# @return [nil]
|
91
|
-
def
|
92
|
-
|
91
|
+
def roles_delete(role_href, opts = {})
|
92
|
+
roles_delete_with_http_info(role_href, opts)
|
93
93
|
nil
|
94
94
|
end
|
95
95
|
|
@@ -98,13 +98,13 @@ module PulpcoreClient
|
|
98
98
|
# @param role_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
|
101
|
+
def roles_delete_with_http_info(role_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
103
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'role_href' is set
|
106
106
|
if @api_client.config.client_side_validation && role_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
107
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_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: RolesApi#
|
141
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
142
|
end
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
@@ -164,8 +164,8 @@ 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 [PaginatedRoleResponseList]
|
167
|
-
def
|
168
|
-
data, _status_code, _headers =
|
167
|
+
def roles_list(opts = {})
|
168
|
+
data, _status_code, _headers = roles_list_with_http_info(opts)
|
169
169
|
data
|
170
170
|
end
|
171
171
|
|
@@ -190,9 +190,9 @@ module PulpcoreClient
|
|
190
190
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
191
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
192
|
# @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
|
193
|
-
def
|
193
|
+
def roles_list_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
195
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
195
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_list ...'
|
196
196
|
end
|
197
197
|
allowable_values = ["-description", "-locked", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "description", "locked", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
198
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -249,7 +249,7 @@ module PulpcoreClient
|
|
249
249
|
|
250
250
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
251
251
|
if @api_client.config.debugging
|
252
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
252
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
253
253
|
end
|
254
254
|
return data, status_code, headers
|
255
255
|
end
|
@@ -260,8 +260,8 @@ module PulpcoreClient
|
|
260
260
|
# @param patched_role [PatchedRole]
|
261
261
|
# @param [Hash] opts the optional parameters
|
262
262
|
# @return [RoleResponse]
|
263
|
-
def
|
264
|
-
data, _status_code, _headers =
|
263
|
+
def roles_partial_update(role_href, patched_role, opts = {})
|
264
|
+
data, _status_code, _headers = roles_partial_update_with_http_info(role_href, patched_role, opts)
|
265
265
|
data
|
266
266
|
end
|
267
267
|
|
@@ -271,17 +271,17 @@ module PulpcoreClient
|
|
271
271
|
# @param patched_role [PatchedRole]
|
272
272
|
# @param [Hash] opts the optional parameters
|
273
273
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
274
|
-
def
|
274
|
+
def roles_partial_update_with_http_info(role_href, patched_role, opts = {})
|
275
275
|
if @api_client.config.debugging
|
276
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
276
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_partial_update ...'
|
277
277
|
end
|
278
278
|
# verify the required parameter 'role_href' is set
|
279
279
|
if @api_client.config.client_side_validation && role_href.nil?
|
280
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
280
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_partial_update"
|
281
281
|
end
|
282
282
|
# verify the required parameter 'patched_role' is set
|
283
283
|
if @api_client.config.client_side_validation && patched_role.nil?
|
284
|
-
fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.
|
284
|
+
fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.roles_partial_update"
|
285
285
|
end
|
286
286
|
# resource path
|
287
287
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -319,7 +319,7 @@ module PulpcoreClient
|
|
319
319
|
|
320
320
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
321
321
|
if @api_client.config.debugging
|
322
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
322
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
323
323
|
end
|
324
324
|
return data, status_code, headers
|
325
325
|
end
|
@@ -331,8 +331,8 @@ 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 [RoleResponse]
|
334
|
-
def
|
335
|
-
data, _status_code, _headers =
|
334
|
+
def roles_read(role_href, opts = {})
|
335
|
+
data, _status_code, _headers = roles_read_with_http_info(role_href, opts)
|
336
336
|
data
|
337
337
|
end
|
338
338
|
|
@@ -343,13 +343,13 @@ module PulpcoreClient
|
|
343
343
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
344
344
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
345
345
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
346
|
-
def
|
346
|
+
def roles_read_with_http_info(role_href, opts = {})
|
347
347
|
if @api_client.config.debugging
|
348
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
348
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_read ...'
|
349
349
|
end
|
350
350
|
# verify the required parameter 'role_href' is set
|
351
351
|
if @api_client.config.client_side_validation && role_href.nil?
|
352
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
352
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_read"
|
353
353
|
end
|
354
354
|
# resource path
|
355
355
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -387,7 +387,7 @@ module PulpcoreClient
|
|
387
387
|
|
388
388
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
389
389
|
if @api_client.config.debugging
|
390
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
390
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
391
391
|
end
|
392
392
|
return data, status_code, headers
|
393
393
|
end
|
@@ -398,8 +398,8 @@ module PulpcoreClient
|
|
398
398
|
# @param role [Role]
|
399
399
|
# @param [Hash] opts the optional parameters
|
400
400
|
# @return [RoleResponse]
|
401
|
-
def
|
402
|
-
data, _status_code, _headers =
|
401
|
+
def roles_update(role_href, role, opts = {})
|
402
|
+
data, _status_code, _headers = roles_update_with_http_info(role_href, role, opts)
|
403
403
|
data
|
404
404
|
end
|
405
405
|
|
@@ -409,17 +409,17 @@ module PulpcoreClient
|
|
409
409
|
# @param role [Role]
|
410
410
|
# @param [Hash] opts the optional parameters
|
411
411
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
412
|
-
def
|
412
|
+
def roles_update_with_http_info(role_href, role, opts = {})
|
413
413
|
if @api_client.config.debugging
|
414
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
414
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.roles_update ...'
|
415
415
|
end
|
416
416
|
# verify the required parameter 'role_href' is set
|
417
417
|
if @api_client.config.client_side_validation && role_href.nil?
|
418
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
418
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.roles_update"
|
419
419
|
end
|
420
420
|
# verify the required parameter 'role' is set
|
421
421
|
if @api_client.config.client_side_validation && role.nil?
|
422
|
-
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.
|
422
|
+
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.roles_update"
|
423
423
|
end
|
424
424
|
# resource path
|
425
425
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -457,7 +457,7 @@ module PulpcoreClient
|
|
457
457
|
|
458
458
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
459
459
|
if @api_client.config.debugging
|
460
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
460
|
+
@api_client.config.logger.debug "API called: RolesApi#roles_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
461
461
|
end
|
462
462
|
return data, status_code, headers
|
463
463
|
end
|
@@ -29,8 +29,8 @@ module PulpcoreClient
|
|
29
29
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
30
30
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
31
31
|
# @return [PaginatedSigningServiceResponseList]
|
32
|
-
def
|
33
|
-
data, _status_code, _headers =
|
32
|
+
def signing_services_list(opts = {})
|
33
|
+
data, _status_code, _headers = signing_services_list_with_http_info(opts)
|
34
34
|
data
|
35
35
|
end
|
36
36
|
|
@@ -44,9 +44,9 @@ module PulpcoreClient
|
|
44
44
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
45
45
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
46
46
|
# @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
|
47
|
-
def
|
47
|
+
def signing_services_list_with_http_info(opts = {})
|
48
48
|
if @api_client.config.debugging
|
49
|
-
@api_client.config.logger.debug 'Calling API: SigningServicesApi.
|
49
|
+
@api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_list ...'
|
50
50
|
end
|
51
51
|
allowable_values = ["-name", "-pk", "-pubkey_fingerprint", "-public_key", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-script", "name", "pk", "pubkey_fingerprint", "public_key", "pulp_created", "pulp_id", "pulp_last_updated", "script"]
|
52
52
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -92,7 +92,7 @@ module PulpcoreClient
|
|
92
92
|
|
93
93
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
94
94
|
if @api_client.config.debugging
|
95
|
-
@api_client.config.logger.debug "API called: SigningServicesApi#
|
95
|
+
@api_client.config.logger.debug "API called: SigningServicesApi#signing_services_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
96
96
|
end
|
97
97
|
return data, status_code, headers
|
98
98
|
end
|
@@ -104,8 +104,8 @@ module PulpcoreClient
|
|
104
104
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
105
105
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
106
106
|
# @return [SigningServiceResponse]
|
107
|
-
def
|
108
|
-
data, _status_code, _headers =
|
107
|
+
def signing_services_read(signing_service_href, opts = {})
|
108
|
+
data, _status_code, _headers = signing_services_read_with_http_info(signing_service_href, opts)
|
109
109
|
data
|
110
110
|
end
|
111
111
|
|
@@ -116,13 +116,13 @@ module PulpcoreClient
|
|
116
116
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
117
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
118
118
|
# @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
|
119
|
-
def
|
119
|
+
def signing_services_read_with_http_info(signing_service_href, opts = {})
|
120
120
|
if @api_client.config.debugging
|
121
|
-
@api_client.config.logger.debug 'Calling API: SigningServicesApi.
|
121
|
+
@api_client.config.logger.debug 'Calling API: SigningServicesApi.signing_services_read ...'
|
122
122
|
end
|
123
123
|
# verify the required parameter 'signing_service_href' is set
|
124
124
|
if @api_client.config.client_side_validation && signing_service_href.nil?
|
125
|
-
fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.
|
125
|
+
fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.signing_services_read"
|
126
126
|
end
|
127
127
|
# resource path
|
128
128
|
local_var_path = '{signing_service_href}'.sub('{' + 'signing_service_href' + '}', CGI.escape(signing_service_href.to_s).gsub('%2F', '/'))
|
@@ -160,7 +160,7 @@ module PulpcoreClient
|
|
160
160
|
|
161
161
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
162
162
|
if @api_client.config.debugging
|
163
|
-
@api_client.config.logger.debug "API called: SigningServicesApi#
|
163
|
+
@api_client.config.logger.debug "API called: SigningServicesApi#signing_services_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
164
164
|
end
|
165
165
|
return data, status_code, headers
|
166
166
|
end
|
@@ -27,8 +27,8 @@ module PulpcoreClient
|
|
27
27
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
28
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [PaginatedTaskGroupResponseList]
|
30
|
-
def
|
31
|
-
data, _status_code, _headers =
|
30
|
+
def task_groups_list(opts = {})
|
31
|
+
data, _status_code, _headers = task_groups_list_with_http_info(opts)
|
32
32
|
data
|
33
33
|
end
|
34
34
|
|
@@ -40,9 +40,9 @@ module PulpcoreClient
|
|
40
40
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(PaginatedTaskGroupResponseList, Integer, Hash)>] PaginatedTaskGroupResponseList data, response status code and response headers
|
43
|
-
def
|
43
|
+
def task_groups_list_with_http_info(opts = {})
|
44
44
|
if @api_client.config.debugging
|
45
|
-
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.
|
45
|
+
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_list ...'
|
46
46
|
end
|
47
47
|
# resource path
|
48
48
|
local_var_path = '/pulp/api/v3/task-groups/'
|
@@ -82,7 +82,7 @@ module PulpcoreClient
|
|
82
82
|
|
83
83
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
84
84
|
if @api_client.config.debugging
|
85
|
-
@api_client.config.logger.debug "API called: TaskGroupsApi#
|
85
|
+
@api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
86
86
|
end
|
87
87
|
return data, status_code, headers
|
88
88
|
end
|
@@ -94,8 +94,8 @@ module PulpcoreClient
|
|
94
94
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
95
95
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
96
96
|
# @return [TaskGroupResponse]
|
97
|
-
def
|
98
|
-
data, _status_code, _headers =
|
97
|
+
def task_groups_read(task_group_href, opts = {})
|
98
|
+
data, _status_code, _headers = task_groups_read_with_http_info(task_group_href, opts)
|
99
99
|
data
|
100
100
|
end
|
101
101
|
|
@@ -106,13 +106,13 @@ module PulpcoreClient
|
|
106
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
108
|
# @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
|
109
|
-
def
|
109
|
+
def task_groups_read_with_http_info(task_group_href, opts = {})
|
110
110
|
if @api_client.config.debugging
|
111
|
-
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.
|
111
|
+
@api_client.config.logger.debug 'Calling API: TaskGroupsApi.task_groups_read ...'
|
112
112
|
end
|
113
113
|
# verify the required parameter 'task_group_href' is set
|
114
114
|
if @api_client.config.client_side_validation && task_group_href.nil?
|
115
|
-
fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.
|
115
|
+
fail ArgumentError, "Missing the required parameter 'task_group_href' when calling TaskGroupsApi.task_groups_read"
|
116
116
|
end
|
117
117
|
# resource path
|
118
118
|
local_var_path = '{task_group_href}'.sub('{' + 'task_group_href' + '}', CGI.escape(task_group_href.to_s).gsub('%2F', '/'))
|
@@ -150,7 +150,7 @@ module PulpcoreClient
|
|
150
150
|
|
151
151
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
152
152
|
if @api_client.config.debugging
|
153
|
-
@api_client.config.logger.debug "API called: TaskGroupsApi#
|
153
|
+
@api_client.config.logger.debug "API called: TaskGroupsApi#task_groups_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
154
154
|
end
|
155
155
|
return data, status_code, headers
|
156
156
|
end
|
@@ -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
|
@@ -100,8 +100,8 @@ module PulpcoreClient
|
|
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
|
104
|
-
data, _status_code, _headers =
|
103
|
+
def task_schedules_list(opts = {})
|
104
|
+
data, _status_code, _headers = task_schedules_list_with_http_info(opts)
|
105
105
|
data
|
106
106
|
end
|
107
107
|
|
@@ -118,9 +118,9 @@ module PulpcoreClient
|
|
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
|
121
|
+
def task_schedules_list_with_http_info(opts = {})
|
122
122
|
if @api_client.config.debugging
|
123
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
123
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_list ...'
|
124
124
|
end
|
125
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) }
|
@@ -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#
|
172
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_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
|
184
|
-
data, _status_code, _headers =
|
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)
|
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
|
194
|
+
def task_schedules_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.
|
196
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_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.
|
200
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_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#
|
238
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_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
|
250
|
-
data, _status_code, _headers =
|
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)
|
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
|
260
|
+
def task_schedules_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.
|
262
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_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.
|
266
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_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#
|
304
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_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
|
317
|
-
data, _status_code, _headers =
|
316
|
+
def task_schedules_read(task_schedule_href, opts = {})
|
317
|
+
data, _status_code, _headers = task_schedules_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
|
328
|
+
def task_schedules_read_with_http_info(task_schedule_href, opts = {})
|
329
329
|
if @api_client.config.debugging
|
330
|
-
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.
|
330
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_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.
|
334
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_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#
|
372
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_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
|
383
|
-
data, _status_code, _headers =
|
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)
|
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
|
392
|
+
def task_schedules_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.
|
394
|
+
@api_client.config.logger.debug 'Calling API: TaskSchedulesApi.task_schedules_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.
|
398
|
+
fail ArgumentError, "Missing the required parameter 'task_schedule_href' when calling TaskSchedulesApi.task_schedules_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.
|
402
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling TaskSchedulesApi.task_schedules_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#
|
440
|
+
@api_client.config.logger.debug "API called: TaskSchedulesApi#task_schedules_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
441
441
|
end
|
442
442
|
return data, status_code, headers
|
443
443
|
end
|