pulpcore_client 3.28.30 → 3.28.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +154 -156
- data/docs/AccessPoliciesApi.md +25 -25
- data/docs/ArtifactDistributionResponse.md +9 -9
- data/docs/ArtifactsApi.md +20 -20
- data/docs/ContentApi.md +5 -5
- data/docs/ContentguardsApi.md +5 -5
- data/docs/ContentguardsContentRedirectApi.md +50 -50
- data/docs/ContentguardsRbacApi.md +50 -50
- data/docs/DistributionsApi.md +5 -5
- data/docs/DistributionsArtifactsApi.md +10 -10
- data/docs/DomainsApi.md +30 -30
- data/docs/ExportersFilesystemApi.md +30 -30
- data/docs/ExportersFilesystemExportsApi.md +20 -20
- data/docs/ExportersPulpApi.md +30 -30
- data/docs/ExportersPulpExportsApi.md +20 -20
- data/docs/GroupsApi.md +50 -50
- data/docs/GroupsRolesApi.md +20 -20
- data/docs/GroupsUsersApi.md +15 -15
- data/docs/ImportersPulpApi.md +30 -30
- data/docs/ImportersPulpImportsApi.md +20 -20
- data/docs/OrphansApi.md +5 -5
- data/docs/OrphansCleanupApi.md +5 -5
- data/docs/PublicationsApi.md +5 -5
- data/docs/RemotesApi.md +5 -5
- data/docs/RepairApi.md +5 -5
- data/docs/RepositoriesApi.md +5 -5
- data/docs/RepositoriesReclaimSpaceApi.md +5 -5
- data/docs/RepositoryVersionsApi.md +5 -5
- data/docs/RolesApi.md +30 -30
- data/docs/SigningServicesApi.md +10 -10
- data/docs/TaskGroupsApi.md +10 -10
- data/docs/TaskSchedulesApi.md +30 -30
- data/docs/TasksApi.md +95 -95
- data/docs/UploadsApi.md +50 -50
- data/docs/UpstreamPulpsApi.md +35 -35
- data/docs/UsersApi.md +30 -30
- data/docs/UsersRolesApi.md +20 -20
- data/docs/WorkersApi.md +10 -10
- 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/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 +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/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/models/artifact_distribution_response.rb +39 -39
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +0 -2
- 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/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 +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/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/models/artifact_distribution_response_spec.rb +6 -6
- metadata +140 -148
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
@@ -43,8 +43,8 @@ module PulpcoreClient
|
|
43
43
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
44
44
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
45
45
|
# @return [PaginatedRepositoryVersionResponseList]
|
46
|
-
def
|
47
|
-
data, _status_code, _headers =
|
46
|
+
def list(opts = {})
|
47
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
48
48
|
data
|
49
49
|
end
|
50
50
|
|
@@ -72,9 +72,9 @@ module PulpcoreClient
|
|
72
72
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
73
73
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
74
74
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
75
|
-
def
|
75
|
+
def list_with_http_info(opts = {})
|
76
76
|
if @api_client.config.debugging
|
77
|
-
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.
|
77
|
+
@api_client.config.logger.debug 'Calling API: RepositoryVersionsApi.list ...'
|
78
78
|
end
|
79
79
|
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
80
80
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -134,7 +134,7 @@ module PulpcoreClient
|
|
134
134
|
|
135
135
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
136
136
|
if @api_client.config.debugging
|
137
|
-
@api_client.config.logger.debug "API called: RepositoryVersionsApi#
|
137
|
+
@api_client.config.logger.debug "API called: RepositoryVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
138
138
|
end
|
139
139
|
return data, status_code, headers
|
140
140
|
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 create(role, opts = {})
|
28
|
+
data, _status_code, _headers = 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 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.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.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#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 delete(role_href, opts = {})
|
92
|
+
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 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.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.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#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
142
|
end
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
@@ -166,8 +166,8 @@ module PulpcoreClient
|
|
166
166
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
167
167
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
168
|
# @return [PaginatedRoleResponseList]
|
169
|
-
def
|
170
|
-
data, _status_code, _headers =
|
169
|
+
def list(opts = {})
|
170
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
171
171
|
data
|
172
172
|
end
|
173
173
|
|
@@ -194,9 +194,9 @@ module PulpcoreClient
|
|
194
194
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
195
195
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
196
196
|
# @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
|
197
|
-
def
|
197
|
+
def list_with_http_info(opts = {})
|
198
198
|
if @api_client.config.debugging
|
199
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
199
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.list ...'
|
200
200
|
end
|
201
201
|
allowable_values = ["-description", "-locked", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "description", "locked", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
202
202
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -255,7 +255,7 @@ module PulpcoreClient
|
|
255
255
|
|
256
256
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
257
257
|
if @api_client.config.debugging
|
258
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
258
|
+
@api_client.config.logger.debug "API called: RolesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
259
259
|
end
|
260
260
|
return data, status_code, headers
|
261
261
|
end
|
@@ -266,8 +266,8 @@ module PulpcoreClient
|
|
266
266
|
# @param patched_role [PatchedRole]
|
267
267
|
# @param [Hash] opts the optional parameters
|
268
268
|
# @return [RoleResponse]
|
269
|
-
def
|
270
|
-
data, _status_code, _headers =
|
269
|
+
def partial_update(role_href, patched_role, opts = {})
|
270
|
+
data, _status_code, _headers = partial_update_with_http_info(role_href, patched_role, opts)
|
271
271
|
data
|
272
272
|
end
|
273
273
|
|
@@ -277,17 +277,17 @@ module PulpcoreClient
|
|
277
277
|
# @param patched_role [PatchedRole]
|
278
278
|
# @param [Hash] opts the optional parameters
|
279
279
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
280
|
-
def
|
280
|
+
def partial_update_with_http_info(role_href, patched_role, opts = {})
|
281
281
|
if @api_client.config.debugging
|
282
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
282
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.partial_update ...'
|
283
283
|
end
|
284
284
|
# verify the required parameter 'role_href' is set
|
285
285
|
if @api_client.config.client_side_validation && role_href.nil?
|
286
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
286
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.partial_update"
|
287
287
|
end
|
288
288
|
# verify the required parameter 'patched_role' is set
|
289
289
|
if @api_client.config.client_side_validation && patched_role.nil?
|
290
|
-
fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.
|
290
|
+
fail ArgumentError, "Missing the required parameter 'patched_role' when calling RolesApi.partial_update"
|
291
291
|
end
|
292
292
|
# resource path
|
293
293
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -325,7 +325,7 @@ module PulpcoreClient
|
|
325
325
|
|
326
326
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
327
327
|
if @api_client.config.debugging
|
328
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
328
|
+
@api_client.config.logger.debug "API called: RolesApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
329
329
|
end
|
330
330
|
return data, status_code, headers
|
331
331
|
end
|
@@ -337,8 +337,8 @@ module PulpcoreClient
|
|
337
337
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
338
338
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
339
339
|
# @return [RoleResponse]
|
340
|
-
def
|
341
|
-
data, _status_code, _headers =
|
340
|
+
def read(role_href, opts = {})
|
341
|
+
data, _status_code, _headers = read_with_http_info(role_href, opts)
|
342
342
|
data
|
343
343
|
end
|
344
344
|
|
@@ -349,13 +349,13 @@ module PulpcoreClient
|
|
349
349
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
350
350
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
351
351
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
352
|
-
def
|
352
|
+
def read_with_http_info(role_href, opts = {})
|
353
353
|
if @api_client.config.debugging
|
354
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
354
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.read ...'
|
355
355
|
end
|
356
356
|
# verify the required parameter 'role_href' is set
|
357
357
|
if @api_client.config.client_side_validation && role_href.nil?
|
358
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
358
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.read"
|
359
359
|
end
|
360
360
|
# resource path
|
361
361
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -393,7 +393,7 @@ module PulpcoreClient
|
|
393
393
|
|
394
394
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
395
395
|
if @api_client.config.debugging
|
396
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
396
|
+
@api_client.config.logger.debug "API called: RolesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
397
397
|
end
|
398
398
|
return data, status_code, headers
|
399
399
|
end
|
@@ -404,8 +404,8 @@ module PulpcoreClient
|
|
404
404
|
# @param role [Role]
|
405
405
|
# @param [Hash] opts the optional parameters
|
406
406
|
# @return [RoleResponse]
|
407
|
-
def
|
408
|
-
data, _status_code, _headers =
|
407
|
+
def update(role_href, role, opts = {})
|
408
|
+
data, _status_code, _headers = update_with_http_info(role_href, role, opts)
|
409
409
|
data
|
410
410
|
end
|
411
411
|
|
@@ -415,17 +415,17 @@ module PulpcoreClient
|
|
415
415
|
# @param role [Role]
|
416
416
|
# @param [Hash] opts the optional parameters
|
417
417
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
418
|
-
def
|
418
|
+
def update_with_http_info(role_href, role, opts = {})
|
419
419
|
if @api_client.config.debugging
|
420
|
-
@api_client.config.logger.debug 'Calling API: RolesApi.
|
420
|
+
@api_client.config.logger.debug 'Calling API: RolesApi.update ...'
|
421
421
|
end
|
422
422
|
# verify the required parameter 'role_href' is set
|
423
423
|
if @api_client.config.client_side_validation && role_href.nil?
|
424
|
-
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.
|
424
|
+
fail ArgumentError, "Missing the required parameter 'role_href' when calling RolesApi.update"
|
425
425
|
end
|
426
426
|
# verify the required parameter 'role' is set
|
427
427
|
if @api_client.config.client_side_validation && role.nil?
|
428
|
-
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.
|
428
|
+
fail ArgumentError, "Missing the required parameter 'role' when calling RolesApi.update"
|
429
429
|
end
|
430
430
|
# resource path
|
431
431
|
local_var_path = '{role_href}'.sub('{' + 'role_href' + '}', CGI.escape(role_href.to_s).gsub('%2F', '/'))
|
@@ -463,7 +463,7 @@ module PulpcoreClient
|
|
463
463
|
|
464
464
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
465
465
|
if @api_client.config.debugging
|
466
|
-
@api_client.config.logger.debug "API called: RolesApi#
|
466
|
+
@api_client.config.logger.debug "API called: RolesApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
467
467
|
end
|
468
468
|
return data, status_code, headers
|
469
469
|
end
|
@@ -31,8 +31,8 @@ module PulpcoreClient
|
|
31
31
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
32
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
33
|
# @return [PaginatedSigningServiceResponseList]
|
34
|
-
def
|
35
|
-
data, _status_code, _headers =
|
34
|
+
def list(opts = {})
|
35
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
36
36
|
data
|
37
37
|
end
|
38
38
|
|
@@ -48,9 +48,9 @@ module PulpcoreClient
|
|
48
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
50
|
# @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
|
51
|
-
def
|
51
|
+
def list_with_http_info(opts = {})
|
52
52
|
if @api_client.config.debugging
|
53
|
-
@api_client.config.logger.debug 'Calling API: SigningServicesApi.
|
53
|
+
@api_client.config.logger.debug 'Calling API: SigningServicesApi.list ...'
|
54
54
|
end
|
55
55
|
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"]
|
56
56
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -98,7 +98,7 @@ module PulpcoreClient
|
|
98
98
|
|
99
99
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
100
100
|
if @api_client.config.debugging
|
101
|
-
@api_client.config.logger.debug "API called: SigningServicesApi#
|
101
|
+
@api_client.config.logger.debug "API called: SigningServicesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
102
102
|
end
|
103
103
|
return data, status_code, headers
|
104
104
|
end
|
@@ -110,8 +110,8 @@ module PulpcoreClient
|
|
110
110
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
111
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [SigningServiceResponse]
|
113
|
-
def
|
114
|
-
data, _status_code, _headers =
|
113
|
+
def read(signing_service_href, opts = {})
|
114
|
+
data, _status_code, _headers = read_with_http_info(signing_service_href, opts)
|
115
115
|
data
|
116
116
|
end
|
117
117
|
|
@@ -122,13 +122,13 @@ 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<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
|
125
|
-
def
|
125
|
+
def read_with_http_info(signing_service_href, opts = {})
|
126
126
|
if @api_client.config.debugging
|
127
|
-
@api_client.config.logger.debug 'Calling API: SigningServicesApi.
|
127
|
+
@api_client.config.logger.debug 'Calling API: SigningServicesApi.read ...'
|
128
128
|
end
|
129
129
|
# verify the required parameter 'signing_service_href' is set
|
130
130
|
if @api_client.config.client_side_validation && signing_service_href.nil?
|
131
|
-
fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.
|
131
|
+
fail ArgumentError, "Missing the required parameter 'signing_service_href' when calling SigningServicesApi.read"
|
132
132
|
end
|
133
133
|
# resource path
|
134
134
|
local_var_path = '{signing_service_href}'.sub('{' + 'signing_service_href' + '}', CGI.escape(signing_service_href.to_s).gsub('%2F', '/'))
|
@@ -166,7 +166,7 @@ module PulpcoreClient
|
|
166
166
|
|
167
167
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
168
168
|
if @api_client.config.debugging
|
169
|
-
@api_client.config.logger.debug "API called: SigningServicesApi#
|
169
|
+
@api_client.config.logger.debug "API called: SigningServicesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
170
170
|
end
|
171
171
|
return data, status_code, headers
|
172
172
|
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 list(opts = {})
|
31
|
+
data, _status_code, _headers = 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 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.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#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 read(task_group_href, opts = {})
|
98
|
+
data, _status_code, _headers = 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 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.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.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#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 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
|
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.
|
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.
|
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.
|
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#
|
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
|
@@ -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 list(opts = {})
|
106
|
+
data, _status_code, _headers = 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 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.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#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 list_roles(task_schedule_href, opts = {})
|
190
|
+
data, _status_code, _headers = 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 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.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.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#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 my_permissions(task_schedule_href, opts = {})
|
256
|
+
data, _status_code, _headers = 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 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.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.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#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 read(task_schedule_href, opts = {})
|
323
|
+
data, _status_code, _headers = 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 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.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.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#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 remove_role(task_schedule_href, nested_role, opts = {})
|
389
|
+
data, _status_code, _headers = 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 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.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.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.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#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
447
447
|
end
|
448
448
|
return data, status_code, headers
|
449
449
|
end
|