pulpcore_client 3.22.28 → 3.22.29
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 +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 +37 -37
- 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 +5 -5
- metadata +152 -144
|
@@ -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 groups_add_role(group_href, nested_role, opts = {})
|
|
28
|
+
data, _status_code, _headers = groups_add_role_with_http_info(group_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 groups_add_role_with_http_info(group_href, nested_role, opts = {})
|
|
38
38
|
if @api_client.config.debugging
|
|
39
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_add_role ...'
|
|
40
40
|
end
|
|
41
41
|
# verify the required parameter 'group_href' is set
|
|
42
42
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
43
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_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 GroupsApi.
|
|
47
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.groups_add_role"
|
|
48
48
|
end
|
|
49
49
|
# resource path
|
|
50
50
|
local_var_path = '{group_href}add_role/'.sub('{' + 'group_href' + '}', CGI.escape(group_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: GroupsApi#
|
|
85
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
86
|
end
|
|
87
87
|
return data, status_code, headers
|
|
88
88
|
end
|
|
@@ -92,8 +92,8 @@ module PulpcoreClient
|
|
|
92
92
|
# @param group [Group]
|
|
93
93
|
# @param [Hash] opts the optional parameters
|
|
94
94
|
# @return [GroupResponse]
|
|
95
|
-
def
|
|
96
|
-
data, _status_code, _headers =
|
|
95
|
+
def groups_create(group, opts = {})
|
|
96
|
+
data, _status_code, _headers = groups_create_with_http_info(group, opts)
|
|
97
97
|
data
|
|
98
98
|
end
|
|
99
99
|
|
|
@@ -102,13 +102,13 @@ module PulpcoreClient
|
|
|
102
102
|
# @param group [Group]
|
|
103
103
|
# @param [Hash] opts the optional parameters
|
|
104
104
|
# @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
|
|
105
|
-
def
|
|
105
|
+
def groups_create_with_http_info(group, opts = {})
|
|
106
106
|
if @api_client.config.debugging
|
|
107
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_create ...'
|
|
108
108
|
end
|
|
109
109
|
# verify the required parameter 'group' is set
|
|
110
110
|
if @api_client.config.client_side_validation && group.nil?
|
|
111
|
-
fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.groups_create"
|
|
112
112
|
end
|
|
113
113
|
# resource path
|
|
114
114
|
local_var_path = '/pulp/api/v3/groups/'
|
|
@@ -146,7 +146,7 @@ module PulpcoreClient
|
|
|
146
146
|
|
|
147
147
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
148
148
|
if @api_client.config.debugging
|
|
149
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
149
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
150
150
|
end
|
|
151
151
|
return data, status_code, headers
|
|
152
152
|
end
|
|
@@ -156,8 +156,8 @@ module PulpcoreClient
|
|
|
156
156
|
# @param group_href [String]
|
|
157
157
|
# @param [Hash] opts the optional parameters
|
|
158
158
|
# @return [nil]
|
|
159
|
-
def
|
|
160
|
-
|
|
159
|
+
def groups_delete(group_href, opts = {})
|
|
160
|
+
groups_delete_with_http_info(group_href, opts)
|
|
161
161
|
nil
|
|
162
162
|
end
|
|
163
163
|
|
|
@@ -166,13 +166,13 @@ module PulpcoreClient
|
|
|
166
166
|
# @param group_href [String]
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
168
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
169
|
-
def
|
|
169
|
+
def groups_delete_with_http_info(group_href, opts = {})
|
|
170
170
|
if @api_client.config.debugging
|
|
171
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
171
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_delete ...'
|
|
172
172
|
end
|
|
173
173
|
# verify the required parameter 'group_href' is set
|
|
174
174
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
175
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
175
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_delete"
|
|
176
176
|
end
|
|
177
177
|
# resource path
|
|
178
178
|
local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -206,7 +206,7 @@ module PulpcoreClient
|
|
|
206
206
|
|
|
207
207
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
208
208
|
if @api_client.config.debugging
|
|
209
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
209
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
210
210
|
end
|
|
211
211
|
return data, status_code, headers
|
|
212
212
|
end
|
|
@@ -227,8 +227,8 @@ module PulpcoreClient
|
|
|
227
227
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
228
228
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
229
229
|
# @return [PaginatedGroupResponseList]
|
|
230
|
-
def
|
|
231
|
-
data, _status_code, _headers =
|
|
230
|
+
def groups_list(opts = {})
|
|
231
|
+
data, _status_code, _headers = groups_list_with_http_info(opts)
|
|
232
232
|
data
|
|
233
233
|
end
|
|
234
234
|
|
|
@@ -248,9 +248,9 @@ module PulpcoreClient
|
|
|
248
248
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
249
249
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
250
250
|
# @return [Array<(PaginatedGroupResponseList, Integer, Hash)>] PaginatedGroupResponseList data, response status code and response headers
|
|
251
|
-
def
|
|
251
|
+
def groups_list_with_http_info(opts = {})
|
|
252
252
|
if @api_client.config.debugging
|
|
253
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
253
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_list ...'
|
|
254
254
|
end
|
|
255
255
|
allowable_values = ["-id", "-name", "-pk", "id", "name", "pk"]
|
|
256
256
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -302,7 +302,7 @@ module PulpcoreClient
|
|
|
302
302
|
|
|
303
303
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
304
304
|
if @api_client.config.debugging
|
|
305
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
305
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
306
306
|
end
|
|
307
307
|
return data, status_code, headers
|
|
308
308
|
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 [ObjectRolesResponse]
|
|
316
|
-
def
|
|
317
|
-
data, _status_code, _headers =
|
|
316
|
+
def groups_list_roles(group_href, opts = {})
|
|
317
|
+
data, _status_code, _headers = groups_list_roles_with_http_info(group_href, opts)
|
|
318
318
|
data
|
|
319
319
|
end
|
|
320
320
|
|
|
@@ -324,13 +324,13 @@ module PulpcoreClient
|
|
|
324
324
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
325
325
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
326
326
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
327
|
-
def
|
|
327
|
+
def groups_list_roles_with_http_info(group_href, opts = {})
|
|
328
328
|
if @api_client.config.debugging
|
|
329
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
329
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_list_roles ...'
|
|
330
330
|
end
|
|
331
331
|
# verify the required parameter 'group_href' is set
|
|
332
332
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
333
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
333
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_list_roles"
|
|
334
334
|
end
|
|
335
335
|
# resource path
|
|
336
336
|
local_var_path = '{group_href}list_roles/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -368,7 +368,7 @@ module PulpcoreClient
|
|
|
368
368
|
|
|
369
369
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
370
370
|
if @api_client.config.debugging
|
|
371
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
371
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
372
372
|
end
|
|
373
373
|
return data, status_code, headers
|
|
374
374
|
end
|
|
@@ -379,8 +379,8 @@ module PulpcoreClient
|
|
|
379
379
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
380
380
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
381
381
|
# @return [MyPermissionsResponse]
|
|
382
|
-
def
|
|
383
|
-
data, _status_code, _headers =
|
|
382
|
+
def groups_my_permissions(group_href, opts = {})
|
|
383
|
+
data, _status_code, _headers = groups_my_permissions_with_http_info(group_href, opts)
|
|
384
384
|
data
|
|
385
385
|
end
|
|
386
386
|
|
|
@@ -390,13 +390,13 @@ module PulpcoreClient
|
|
|
390
390
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
391
391
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
392
392
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
393
|
-
def
|
|
393
|
+
def groups_my_permissions_with_http_info(group_href, opts = {})
|
|
394
394
|
if @api_client.config.debugging
|
|
395
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
395
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_my_permissions ...'
|
|
396
396
|
end
|
|
397
397
|
# verify the required parameter 'group_href' is set
|
|
398
398
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
399
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
399
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_my_permissions"
|
|
400
400
|
end
|
|
401
401
|
# resource path
|
|
402
402
|
local_var_path = '{group_href}my_permissions/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -434,7 +434,7 @@ module PulpcoreClient
|
|
|
434
434
|
|
|
435
435
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
436
436
|
if @api_client.config.debugging
|
|
437
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
437
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
438
438
|
end
|
|
439
439
|
return data, status_code, headers
|
|
440
440
|
end
|
|
@@ -445,8 +445,8 @@ module PulpcoreClient
|
|
|
445
445
|
# @param patched_group [PatchedGroup]
|
|
446
446
|
# @param [Hash] opts the optional parameters
|
|
447
447
|
# @return [GroupResponse]
|
|
448
|
-
def
|
|
449
|
-
data, _status_code, _headers =
|
|
448
|
+
def groups_partial_update(group_href, patched_group, opts = {})
|
|
449
|
+
data, _status_code, _headers = groups_partial_update_with_http_info(group_href, patched_group, opts)
|
|
450
450
|
data
|
|
451
451
|
end
|
|
452
452
|
|
|
@@ -456,17 +456,17 @@ module PulpcoreClient
|
|
|
456
456
|
# @param patched_group [PatchedGroup]
|
|
457
457
|
# @param [Hash] opts the optional parameters
|
|
458
458
|
# @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
|
|
459
|
-
def
|
|
459
|
+
def groups_partial_update_with_http_info(group_href, patched_group, opts = {})
|
|
460
460
|
if @api_client.config.debugging
|
|
461
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
461
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_partial_update ...'
|
|
462
462
|
end
|
|
463
463
|
# verify the required parameter 'group_href' is set
|
|
464
464
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
465
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
465
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_partial_update"
|
|
466
466
|
end
|
|
467
467
|
# verify the required parameter 'patched_group' is set
|
|
468
468
|
if @api_client.config.client_side_validation && patched_group.nil?
|
|
469
|
-
fail ArgumentError, "Missing the required parameter 'patched_group' when calling GroupsApi.
|
|
469
|
+
fail ArgumentError, "Missing the required parameter 'patched_group' when calling GroupsApi.groups_partial_update"
|
|
470
470
|
end
|
|
471
471
|
# resource path
|
|
472
472
|
local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -504,7 +504,7 @@ module PulpcoreClient
|
|
|
504
504
|
|
|
505
505
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
506
506
|
if @api_client.config.debugging
|
|
507
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
507
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
508
508
|
end
|
|
509
509
|
return data, status_code, headers
|
|
510
510
|
end
|
|
@@ -516,8 +516,8 @@ module PulpcoreClient
|
|
|
516
516
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
517
517
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
518
518
|
# @return [GroupResponse]
|
|
519
|
-
def
|
|
520
|
-
data, _status_code, _headers =
|
|
519
|
+
def groups_read(group_href, opts = {})
|
|
520
|
+
data, _status_code, _headers = groups_read_with_http_info(group_href, opts)
|
|
521
521
|
data
|
|
522
522
|
end
|
|
523
523
|
|
|
@@ -528,13 +528,13 @@ module PulpcoreClient
|
|
|
528
528
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
529
529
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
530
530
|
# @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
|
|
531
|
-
def
|
|
531
|
+
def groups_read_with_http_info(group_href, opts = {})
|
|
532
532
|
if @api_client.config.debugging
|
|
533
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
533
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_read ...'
|
|
534
534
|
end
|
|
535
535
|
# verify the required parameter 'group_href' is set
|
|
536
536
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
537
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
537
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_read"
|
|
538
538
|
end
|
|
539
539
|
# resource path
|
|
540
540
|
local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -572,7 +572,7 @@ module PulpcoreClient
|
|
|
572
572
|
|
|
573
573
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
574
574
|
if @api_client.config.debugging
|
|
575
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
575
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
576
576
|
end
|
|
577
577
|
return data, status_code, headers
|
|
578
578
|
end
|
|
@@ -582,8 +582,8 @@ module PulpcoreClient
|
|
|
582
582
|
# @param nested_role [NestedRole]
|
|
583
583
|
# @param [Hash] opts the optional parameters
|
|
584
584
|
# @return [NestedRoleResponse]
|
|
585
|
-
def
|
|
586
|
-
data, _status_code, _headers =
|
|
585
|
+
def groups_remove_role(group_href, nested_role, opts = {})
|
|
586
|
+
data, _status_code, _headers = groups_remove_role_with_http_info(group_href, nested_role, opts)
|
|
587
587
|
data
|
|
588
588
|
end
|
|
589
589
|
|
|
@@ -592,17 +592,17 @@ module PulpcoreClient
|
|
|
592
592
|
# @param nested_role [NestedRole]
|
|
593
593
|
# @param [Hash] opts the optional parameters
|
|
594
594
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
595
|
-
def
|
|
595
|
+
def groups_remove_role_with_http_info(group_href, nested_role, opts = {})
|
|
596
596
|
if @api_client.config.debugging
|
|
597
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
597
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_remove_role ...'
|
|
598
598
|
end
|
|
599
599
|
# verify the required parameter 'group_href' is set
|
|
600
600
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
601
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
601
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_remove_role"
|
|
602
602
|
end
|
|
603
603
|
# verify the required parameter 'nested_role' is set
|
|
604
604
|
if @api_client.config.client_side_validation && nested_role.nil?
|
|
605
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.
|
|
605
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling GroupsApi.groups_remove_role"
|
|
606
606
|
end
|
|
607
607
|
# resource path
|
|
608
608
|
local_var_path = '{group_href}remove_role/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -640,7 +640,7 @@ module PulpcoreClient
|
|
|
640
640
|
|
|
641
641
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
642
642
|
if @api_client.config.debugging
|
|
643
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
643
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
644
644
|
end
|
|
645
645
|
return data, status_code, headers
|
|
646
646
|
end
|
|
@@ -651,8 +651,8 @@ module PulpcoreClient
|
|
|
651
651
|
# @param group [Group]
|
|
652
652
|
# @param [Hash] opts the optional parameters
|
|
653
653
|
# @return [GroupResponse]
|
|
654
|
-
def
|
|
655
|
-
data, _status_code, _headers =
|
|
654
|
+
def groups_update(group_href, group, opts = {})
|
|
655
|
+
data, _status_code, _headers = groups_update_with_http_info(group_href, group, opts)
|
|
656
656
|
data
|
|
657
657
|
end
|
|
658
658
|
|
|
@@ -662,17 +662,17 @@ module PulpcoreClient
|
|
|
662
662
|
# @param group [Group]
|
|
663
663
|
# @param [Hash] opts the optional parameters
|
|
664
664
|
# @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
|
|
665
|
-
def
|
|
665
|
+
def groups_update_with_http_info(group_href, group, opts = {})
|
|
666
666
|
if @api_client.config.debugging
|
|
667
|
-
@api_client.config.logger.debug 'Calling API: GroupsApi.
|
|
667
|
+
@api_client.config.logger.debug 'Calling API: GroupsApi.groups_update ...'
|
|
668
668
|
end
|
|
669
669
|
# verify the required parameter 'group_href' is set
|
|
670
670
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
671
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.
|
|
671
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsApi.groups_update"
|
|
672
672
|
end
|
|
673
673
|
# verify the required parameter 'group' is set
|
|
674
674
|
if @api_client.config.client_side_validation && group.nil?
|
|
675
|
-
fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.
|
|
675
|
+
fail ArgumentError, "Missing the required parameter 'group' when calling GroupsApi.groups_update"
|
|
676
676
|
end
|
|
677
677
|
# resource path
|
|
678
678
|
local_var_path = '{group_href}'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -710,7 +710,7 @@ module PulpcoreClient
|
|
|
710
710
|
|
|
711
711
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
712
712
|
if @api_client.config.debugging
|
|
713
|
-
@api_client.config.logger.debug "API called: GroupsApi#
|
|
713
|
+
@api_client.config.logger.debug "API called: GroupsApi#groups_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
714
714
|
end
|
|
715
715
|
return data, status_code, headers
|
|
716
716
|
end
|
|
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
|
25
25
|
# @param group_role [GroupRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [GroupRoleResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def groups_roles_create(group_href, group_role, opts = {})
|
|
29
|
+
data, _status_code, _headers = groups_roles_create_with_http_info(group_href, group_role, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module PulpcoreClient
|
|
|
36
36
|
# @param group_role [GroupRole]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def groups_roles_create_with_http_info(group_href, group_role, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_create ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'group_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.groups_roles_create"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'group_role' is set
|
|
48
48
|
if @api_client.config.client_side_validation && group_role.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'group_role' when calling GroupsRolesApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'group_role' when calling GroupsRolesApi.groups_roles_create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{group_href}roles/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,7 +84,7 @@ module PulpcoreClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
@@ -94,8 +94,8 @@ module PulpcoreClient
|
|
|
94
94
|
# @param groups_group_role_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def
|
|
98
|
-
|
|
97
|
+
def groups_roles_delete(groups_group_role_href, opts = {})
|
|
98
|
+
groups_roles_delete_with_http_info(groups_group_role_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -104,13 +104,13 @@ module PulpcoreClient
|
|
|
104
104
|
# @param groups_group_role_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def groups_roles_delete_with_http_info(groups_group_role_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_delete ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'groups_group_role_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && groups_group_role_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.groups_roles_delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
116
|
local_var_path = '{groups_group_role_href}'.sub('{' + 'groups_group_role_href' + '}', CGI.escape(groups_group_role_href.to_s).gsub('%2F', '/'))
|
|
@@ -144,7 +144,7 @@ module PulpcoreClient
|
|
|
144
144
|
|
|
145
145
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
147
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
@@ -165,8 +165,8 @@ module PulpcoreClient
|
|
|
165
165
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
166
166
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
167
167
|
# @return [PaginatedGroupRoleResponseList]
|
|
168
|
-
def
|
|
169
|
-
data, _status_code, _headers =
|
|
168
|
+
def groups_roles_list(group_href, opts = {})
|
|
169
|
+
data, _status_code, _headers = groups_roles_list_with_http_info(group_href, opts)
|
|
170
170
|
data
|
|
171
171
|
end
|
|
172
172
|
|
|
@@ -186,13 +186,13 @@ 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 [Array<(PaginatedGroupRoleResponseList, Integer, Hash)>] PaginatedGroupRoleResponseList data, response status code and response headers
|
|
189
|
-
def
|
|
189
|
+
def groups_roles_list_with_http_info(group_href, opts = {})
|
|
190
190
|
if @api_client.config.debugging
|
|
191
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
191
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_list ...'
|
|
192
192
|
end
|
|
193
193
|
# verify the required parameter 'group_href' is set
|
|
194
194
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
195
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.
|
|
195
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.groups_roles_list"
|
|
196
196
|
end
|
|
197
197
|
allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
|
|
198
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
@@ -243,7 +243,7 @@ module PulpcoreClient
|
|
|
243
243
|
|
|
244
244
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
245
245
|
if @api_client.config.debugging
|
|
246
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
246
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
247
247
|
end
|
|
248
248
|
return data, status_code, headers
|
|
249
249
|
end
|
|
@@ -255,8 +255,8 @@ module PulpcoreClient
|
|
|
255
255
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
256
256
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
257
257
|
# @return [GroupRoleResponse]
|
|
258
|
-
def
|
|
259
|
-
data, _status_code, _headers =
|
|
258
|
+
def groups_roles_read(groups_group_role_href, opts = {})
|
|
259
|
+
data, _status_code, _headers = groups_roles_read_with_http_info(groups_group_role_href, opts)
|
|
260
260
|
data
|
|
261
261
|
end
|
|
262
262
|
|
|
@@ -267,13 +267,13 @@ module PulpcoreClient
|
|
|
267
267
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
268
268
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
269
269
|
# @return [Array<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
|
|
270
|
-
def
|
|
270
|
+
def groups_roles_read_with_http_info(groups_group_role_href, opts = {})
|
|
271
271
|
if @api_client.config.debugging
|
|
272
|
-
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.
|
|
272
|
+
@api_client.config.logger.debug 'Calling API: GroupsRolesApi.groups_roles_read ...'
|
|
273
273
|
end
|
|
274
274
|
# verify the required parameter 'groups_group_role_href' is set
|
|
275
275
|
if @api_client.config.client_side_validation && groups_group_role_href.nil?
|
|
276
|
-
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.
|
|
276
|
+
fail ArgumentError, "Missing the required parameter 'groups_group_role_href' when calling GroupsRolesApi.groups_roles_read"
|
|
277
277
|
end
|
|
278
278
|
# resource path
|
|
279
279
|
local_var_path = '{groups_group_role_href}'.sub('{' + 'groups_group_role_href' + '}', CGI.escape(groups_group_role_href.to_s).gsub('%2F', '/'))
|
|
@@ -311,7 +311,7 @@ module PulpcoreClient
|
|
|
311
311
|
|
|
312
312
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
313
313
|
if @api_client.config.debugging
|
|
314
|
-
@api_client.config.logger.debug "API called: GroupsRolesApi#
|
|
314
|
+
@api_client.config.logger.debug "API called: GroupsRolesApi#groups_roles_read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
315
315
|
end
|
|
316
316
|
return data, status_code, headers
|
|
317
317
|
end
|
|
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
|
25
25
|
# @param group_user [GroupUser]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
27
|
# @return [GroupUserResponse]
|
|
28
|
-
def
|
|
29
|
-
data, _status_code, _headers =
|
|
28
|
+
def groups_users_create(group_href, group_user, opts = {})
|
|
29
|
+
data, _status_code, _headers = groups_users_create_with_http_info(group_href, group_user, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -36,17 +36,17 @@ module PulpcoreClient
|
|
|
36
36
|
# @param group_user [GroupUser]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
38
|
# @return [Array<(GroupUserResponse, Integer, Hash)>] GroupUserResponse data, response status code and response headers
|
|
39
|
-
def
|
|
39
|
+
def groups_users_create_with_http_info(group_href, group_user, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.groups_users_create ...'
|
|
42
42
|
end
|
|
43
43
|
# verify the required parameter 'group_href' is set
|
|
44
44
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
45
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.groups_users_create"
|
|
46
46
|
end
|
|
47
47
|
# verify the required parameter 'group_user' is set
|
|
48
48
|
if @api_client.config.client_side_validation && group_user.nil?
|
|
49
|
-
fail ArgumentError, "Missing the required parameter 'group_user' when calling GroupsUsersApi.
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'group_user' when calling GroupsUsersApi.groups_users_create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
52
|
local_var_path = '{group_href}users/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -84,7 +84,7 @@ module PulpcoreClient
|
|
|
84
84
|
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
86
86
|
if @api_client.config.debugging
|
|
87
|
-
@api_client.config.logger.debug "API called: GroupsUsersApi#
|
|
87
|
+
@api_client.config.logger.debug "API called: GroupsUsersApi#groups_users_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
@@ -94,8 +94,8 @@ module PulpcoreClient
|
|
|
94
94
|
# @param groups_user_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def
|
|
98
|
-
|
|
97
|
+
def groups_users_delete(groups_user_href, opts = {})
|
|
98
|
+
groups_users_delete_with_http_info(groups_user_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -104,13 +104,13 @@ module PulpcoreClient
|
|
|
104
104
|
# @param groups_user_href [String]
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
|
-
def
|
|
107
|
+
def groups_users_delete_with_http_info(groups_user_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.groups_users_delete ...'
|
|
110
110
|
end
|
|
111
111
|
# verify the required parameter 'groups_user_href' is set
|
|
112
112
|
if @api_client.config.client_side_validation && groups_user_href.nil?
|
|
113
|
-
fail ArgumentError, "Missing the required parameter 'groups_user_href' when calling GroupsUsersApi.
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'groups_user_href' when calling GroupsUsersApi.groups_users_delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
116
|
local_var_path = '{groups_user_href}'.sub('{' + 'groups_user_href' + '}', CGI.escape(groups_user_href.to_s).gsub('%2F', '/'))
|
|
@@ -144,7 +144,7 @@ module PulpcoreClient
|
|
|
144
144
|
|
|
145
145
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
146
146
|
if @api_client.config.debugging
|
|
147
|
-
@api_client.config.logger.debug "API called: GroupsUsersApi#
|
|
147
|
+
@api_client.config.logger.debug "API called: GroupsUsersApi#groups_users_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
@@ -158,8 +158,8 @@ module PulpcoreClient
|
|
|
158
158
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
159
159
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
160
160
|
# @return [PaginatedGroupUserResponseList]
|
|
161
|
-
def
|
|
162
|
-
data, _status_code, _headers =
|
|
161
|
+
def groups_users_list(group_href, opts = {})
|
|
162
|
+
data, _status_code, _headers = groups_users_list_with_http_info(group_href, opts)
|
|
163
163
|
data
|
|
164
164
|
end
|
|
165
165
|
|
|
@@ -172,13 +172,13 @@ module PulpcoreClient
|
|
|
172
172
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
173
173
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
174
174
|
# @return [Array<(PaginatedGroupUserResponseList, Integer, Hash)>] PaginatedGroupUserResponseList data, response status code and response headers
|
|
175
|
-
def
|
|
175
|
+
def groups_users_list_with_http_info(group_href, opts = {})
|
|
176
176
|
if @api_client.config.debugging
|
|
177
|
-
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: GroupsUsersApi.groups_users_list ...'
|
|
178
178
|
end
|
|
179
179
|
# verify the required parameter 'group_href' is set
|
|
180
180
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
181
|
-
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsUsersApi.groups_users_list"
|
|
182
182
|
end
|
|
183
183
|
# resource path
|
|
184
184
|
local_var_path = '{group_href}users/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
@@ -218,7 +218,7 @@ module PulpcoreClient
|
|
|
218
218
|
|
|
219
219
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
220
220
|
if @api_client.config.debugging
|
|
221
|
-
@api_client.config.logger.debug "API called: GroupsUsersApi#
|
|
221
|
+
@api_client.config.logger.debug "API called: GroupsUsersApi#groups_users_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
222
222
|
end
|
|
223
223
|
return data, status_code, headers
|
|
224
224
|
end
|