pulpcore_client 3.19.1 → 3.20.0
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 +93 -16
- data/docs/AccessPoliciesApi.md +2 -2
- data/docs/AccessPolicy.md +3 -1
- data/docs/AccessPolicyResponse.md +3 -1
- data/docs/AcsApi.md +417 -0
- data/docs/AlternateContentSource.md +23 -0
- data/docs/AlternateContentSourceResponse.md +27 -0
- data/docs/ArtifactsApi.md +2 -2
- data/docs/ContentApi.md +117 -3
- data/docs/ContentGuard.md +19 -0
- data/docs/ContentguardsApi.md +282 -3
- data/docs/ContentguardsContentRedirectApi.md +230 -2
- data/docs/ContentguardsRbacApi.md +2 -2
- data/docs/Distribution.md +25 -0
- data/docs/DistributionsApi.md +283 -3
- data/docs/Export.md +17 -0
- data/docs/ExportResponse.md +25 -0
- data/docs/Exporter.md +17 -0
- data/docs/ExporterResponse.md +21 -0
- data/docs/ExportersApi.md +362 -0
- data/docs/{GroupsModelPermissionsApi.md → ExportersExportsApi.md} +46 -48
- data/docs/ExportersFilesystemApi.md +2 -2
- data/docs/ExportersFilesystemExportsApi.md +0 -2
- data/docs/ExportersPulpApi.md +2 -2
- data/docs/ExportersPulpExportsApi.md +0 -2
- data/docs/GroupRole.md +1 -1
- data/docs/GroupRoleResponse.md +6 -2
- data/docs/GroupsApi.md +2 -2
- data/docs/GroupsRolesApi.md +2 -2
- data/docs/GroupsUsersApi.md +0 -2
- data/docs/Import.md +19 -0
- data/docs/Importer.md +17 -0
- data/docs/ImporterResponse.md +21 -0
- data/docs/ImportersApi.md +361 -0
- data/docs/{GroupsObjectPermissionsApi.md → ImportersImportsApi.md} +46 -48
- data/docs/ImportersPulpApi.md +2 -2
- data/docs/ImportersPulpImportsApi.md +0 -2
- data/docs/MultipleArtifactContent.md +17 -0
- data/docs/OrphansCleanup.md +1 -1
- data/docs/PaginatedAlternateContentSourceResponseList.md +23 -0
- data/docs/{PaginatedPermissionResponseList.md → PaginatedExportResponseList.md} +3 -3
- data/docs/PaginatedExporterResponseList.md +23 -0
- data/docs/PaginatedImporterResponseList.md +23 -0
- data/docs/PaginatedRemoteResponseList.md +23 -0
- data/docs/PatchedAccessPolicy.md +3 -1
- data/docs/PatchedAlternateContentSource.md +23 -0
- data/docs/PatchedContentGuard.md +19 -0
- data/docs/PatchedDistribution.md +25 -0
- data/docs/PatchedExporter.md +17 -0
- data/docs/PatchedImporter.md +17 -0
- data/docs/PatchedRemote.md +57 -0
- data/docs/PatchedRepository.md +25 -0
- data/docs/PolicyEnum.md +16 -0
- data/docs/PublicationsApi.md +117 -2
- data/docs/Remote.md +57 -0
- data/docs/RemoteResponse.md +53 -0
- data/docs/RemotesApi.md +376 -0
- data/docs/RepositoriesApi.md +283 -3
- data/docs/RepositoriesVersionsApi.md +271 -0
- data/docs/Repository.md +25 -0
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +6 -2
- data/docs/SigningServicesApi.md +0 -2
- data/docs/TaskGroupsApi.md +2 -2
- data/docs/TaskSchedulesApi.md +2 -2
- data/docs/TasksApi.md +2 -2
- data/docs/UploadsApi.md +0 -2
- data/docs/UserRole.md +1 -1
- data/docs/UserRoleResponse.md +6 -2
- data/docs/UsersApi.md +2 -61
- data/docs/UsersRolesApi.md +2 -2
- data/docs/VersionResponse.md +3 -1
- data/docs/WorkersApi.md +2 -2
- data/lib/pulpcore_client/api/access_policies_api.rb +7 -3
- data/lib/pulpcore_client/api/acs_api.rb +514 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +7 -3
- data/lib/pulpcore_client/api/content_api.rb +141 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +341 -5
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +275 -3
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +7 -3
- data/lib/pulpcore_client/api/distributions_api.rb +343 -5
- data/lib/pulpcore_client/api/exporters_api.rb +446 -0
- data/lib/pulpcore_client/api/{groups_model_permissions_api.rb → exporters_exports_api.rb} +76 -79
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -3
- data/lib/pulpcore_client/api/groups_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_api.rb +444 -0
- data/lib/pulpcore_client/api/{groups_object_permissions_api.rb → importers_imports_api.rb} +76 -79
- data/lib/pulpcore_client/api/importers_pulp_api.rb +7 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +138 -3
- data/lib/pulpcore_client/api/remotes_api.rb +467 -0
- data/lib/pulpcore_client/api/repositories_api.rb +343 -5
- data/lib/pulpcore_client/api/repositories_versions_api.rb +343 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +7 -0
- data/lib/pulpcore_client/api/roles_api.rb +13 -3
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -3
- data/lib/pulpcore_client/api/task_groups_api.rb +7 -3
- data/lib/pulpcore_client/api/task_schedules_api.rb +7 -3
- data/lib/pulpcore_client/api/tasks_api.rb +7 -3
- data/lib/pulpcore_client/api/uploads_api.rb +0 -3
- data/lib/pulpcore_client/api/users_api.rb +7 -69
- data/lib/pulpcore_client/api/users_roles_api.rb +7 -3
- data/lib/pulpcore_client/api/workers_api.rb +7 -3
- data/lib/pulpcore_client/models/access_policy.rb +14 -4
- data/lib/pulpcore_client/models/access_policy_response.rb +14 -4
- data/lib/pulpcore_client/models/alternate_content_source.rb +270 -0
- data/lib/pulpcore_client/models/alternate_content_source_response.rb +270 -0
- data/lib/pulpcore_client/models/content_guard.rb +258 -0
- data/lib/pulpcore_client/models/distribution.rb +297 -0
- data/lib/pulpcore_client/models/export.rb +209 -0
- data/lib/pulpcore_client/models/export_response.rb +250 -0
- data/lib/pulpcore_client/models/exporter.rb +232 -0
- data/lib/pulpcore_client/models/{permission_response.rb → exporter_response.rb} +24 -27
- data/lib/pulpcore_client/models/group_role.rb +1 -1
- data/lib/pulpcore_client/models/group_role_response.rb +26 -6
- data/lib/pulpcore_client/models/import.rb +228 -0
- data/lib/pulpcore_client/models/importer.rb +232 -0
- data/lib/pulpcore_client/models/importer_response.rb +232 -0
- data/lib/pulpcore_client/models/multiple_artifact_content.rb +213 -0
- data/lib/pulpcore_client/models/orphans_cleanup.rb +0 -2
- data/lib/pulpcore_client/models/paginated_alternate_content_source_response_list.rb +237 -0
- data/lib/pulpcore_client/models/{paginated_permission_response_list.rb → paginated_export_response_list.rb} +4 -4
- data/lib/pulpcore_client/models/paginated_exporter_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_importer_response_list.rb +237 -0
- data/lib/pulpcore_client/models/paginated_remote_response_list.rb +237 -0
- data/lib/pulpcore_client/models/patched_access_policy.rb +14 -4
- data/lib/pulpcore_client/models/patched_alternate_content_source.rb +256 -0
- data/lib/pulpcore_client/models/patched_content_guard.rb +249 -0
- data/lib/pulpcore_client/models/patched_distribution.rb +279 -0
- data/lib/pulpcore_client/models/patched_exporter.rb +223 -0
- data/lib/pulpcore_client/models/patched_importer.rb +223 -0
- data/lib/pulpcore_client/models/patched_remote.rb +649 -0
- data/lib/pulpcore_client/models/patched_repository.rb +295 -0
- data/lib/pulpcore_client/models/policy_enum.rb +36 -0
- data/lib/pulpcore_client/models/remote.rb +667 -0
- data/lib/pulpcore_client/models/remote_response.rb +483 -0
- data/lib/pulpcore_client/models/repository.rb +304 -0
- data/lib/pulpcore_client/models/user_role.rb +1 -1
- data/lib/pulpcore_client/models/user_role_response.rb +26 -6
- data/lib/pulpcore_client/models/version_response.rb +19 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +35 -4
- data/spec/api/access_policies_api_spec.rb +1 -1
- data/spec/api/acs_api_spec.rb +132 -0
- data/spec/api/artifacts_api_spec.rb +1 -1
- data/spec/api/content_api_spec.rb +28 -2
- data/spec/api/contentguards_api_spec.rb +66 -2
- data/spec/api/contentguards_content_redirect_api_spec.rb +51 -1
- data/spec/api/contentguards_rbac_api_spec.rb +1 -1
- data/spec/api/distributions_api_spec.rb +66 -2
- data/spec/api/exporters_api_spec.rb +120 -0
- data/spec/api/{groups_model_permissions_api_spec.rb → exporters_exports_api_spec.rb} +22 -23
- data/spec/api/exporters_filesystem_api_spec.rb +1 -1
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -1
- data/spec/api/exporters_pulp_api_spec.rb +1 -1
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -1
- data/spec/api/groups_api_spec.rb +1 -1
- data/spec/api/groups_roles_api_spec.rb +1 -1
- data/spec/api/groups_users_api_spec.rb +0 -1
- data/spec/api/importers_api_spec.rb +120 -0
- data/spec/api/{groups_object_permissions_api_spec.rb → importers_imports_api_spec.rb} +22 -23
- data/spec/api/importers_pulp_api_spec.rb +1 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +28 -1
- data/spec/api/remotes_api_spec.rb +127 -0
- data/spec/api/repositories_api_spec.rb +66 -2
- data/spec/api/repositories_versions_api_spec.rb +104 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +3 -1
- data/spec/api/signing_services_api_spec.rb +0 -1
- data/spec/api/task_groups_api_spec.rb +1 -1
- data/spec/api/task_schedules_api_spec.rb +1 -1
- data/spec/api/tasks_api_spec.rb +1 -1
- data/spec/api/uploads_api_spec.rb +0 -1
- data/spec/api/users_api_spec.rb +1 -14
- data/spec/api/users_roles_api_spec.rb +1 -1
- data/spec/api/workers_api_spec.rb +1 -1
- data/spec/models/access_policy_response_spec.rb +6 -0
- data/spec/models/access_policy_spec.rb +6 -0
- data/spec/models/alternate_content_source_response_spec.rb +71 -0
- data/spec/models/{permission_response_spec.rb → alternate_content_source_spec.rb} +10 -10
- data/spec/models/content_guard_spec.rb +47 -0
- data/spec/models/distribution_spec.rb +65 -0
- data/spec/models/export_response_spec.rb +65 -0
- data/spec/models/export_spec.rb +41 -0
- data/spec/models/exporter_response_spec.rb +53 -0
- data/spec/models/exporter_spec.rb +41 -0
- data/spec/models/group_role_response_spec.rb +12 -0
- data/spec/models/import_spec.rb +47 -0
- data/spec/models/importer_response_spec.rb +53 -0
- data/spec/models/importer_spec.rb +41 -0
- data/spec/models/multiple_artifact_content_spec.rb +41 -0
- data/spec/models/paginated_alternate_content_source_response_list_spec.rb +59 -0
- data/spec/models/{paginated_permission_response_list_spec.rb → paginated_export_response_list_spec.rb} +6 -6
- data/spec/models/paginated_exporter_response_list_spec.rb +59 -0
- data/spec/models/paginated_importer_response_list_spec.rb +59 -0
- data/spec/models/paginated_remote_response_list_spec.rb +59 -0
- data/spec/models/patched_access_policy_spec.rb +6 -0
- data/spec/models/patched_alternate_content_source_spec.rb +59 -0
- data/spec/models/patched_content_guard_spec.rb +47 -0
- data/spec/models/patched_distribution_spec.rb +65 -0
- data/spec/models/patched_exporter_spec.rb +41 -0
- data/spec/models/patched_importer_spec.rb +41 -0
- data/spec/models/patched_remote_spec.rb +161 -0
- data/spec/models/patched_repository_spec.rb +65 -0
- data/spec/models/policy_enum_spec.rb +35 -0
- data/spec/models/remote_response_spec.rb +149 -0
- data/spec/models/remote_spec.rb +161 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/user_role_response_spec.rb +12 -0
- data/spec/models/version_response_spec.rb +6 -0
- metadata +263 -139
- data/docs/PermissionResponse.md +0 -23
|
@@ -13,43 +13,43 @@ OpenAPI Generator version: 4.3.1
|
|
|
13
13
|
require 'cgi'
|
|
14
14
|
|
|
15
15
|
module PulpcoreClient
|
|
16
|
-
class
|
|
16
|
+
class ExportersExportsApi
|
|
17
17
|
attr_accessor :api_client
|
|
18
18
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Create
|
|
23
|
-
#
|
|
24
|
-
# @param
|
|
25
|
-
# @param
|
|
22
|
+
# Create an export
|
|
23
|
+
# ViewSet for viewing exports from an Exporter.
|
|
24
|
+
# @param exporter_href [String]
|
|
25
|
+
# @param export [Export]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @return [
|
|
28
|
-
def create(
|
|
29
|
-
data, _status_code, _headers = create_with_http_info(
|
|
27
|
+
# @return [ExportResponse]
|
|
28
|
+
def create(exporter_href, export, opts = {})
|
|
29
|
+
data, _status_code, _headers = create_with_http_info(exporter_href, export, opts)
|
|
30
30
|
data
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
# Create
|
|
34
|
-
#
|
|
35
|
-
# @param
|
|
36
|
-
# @param
|
|
33
|
+
# Create an export
|
|
34
|
+
# ViewSet for viewing exports from an Exporter.
|
|
35
|
+
# @param exporter_href [String]
|
|
36
|
+
# @param export [Export]
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
|
38
|
-
# @return [Array<(
|
|
39
|
-
def create_with_http_info(
|
|
38
|
+
# @return [Array<(ExportResponse, Integer, Hash)>] ExportResponse data, response status code and response headers
|
|
39
|
+
def create_with_http_info(exporter_href, export, opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
41
|
-
@api_client.config.logger.debug 'Calling API:
|
|
41
|
+
@api_client.config.logger.debug 'Calling API: ExportersExportsApi.create ...'
|
|
42
42
|
end
|
|
43
|
-
# verify the required parameter '
|
|
44
|
-
if @api_client.config.client_side_validation &&
|
|
45
|
-
fail ArgumentError, "Missing the required parameter '
|
|
43
|
+
# verify the required parameter 'exporter_href' is set
|
|
44
|
+
if @api_client.config.client_side_validation && exporter_href.nil?
|
|
45
|
+
fail ArgumentError, "Missing the required parameter 'exporter_href' when calling ExportersExportsApi.create"
|
|
46
46
|
end
|
|
47
|
-
# verify the required parameter '
|
|
48
|
-
if @api_client.config.client_side_validation &&
|
|
49
|
-
fail ArgumentError, "Missing the required parameter '
|
|
47
|
+
# verify the required parameter 'export' is set
|
|
48
|
+
if @api_client.config.client_side_validation && export.nil?
|
|
49
|
+
fail ArgumentError, "Missing the required parameter 'export' when calling ExportersExportsApi.create"
|
|
50
50
|
end
|
|
51
51
|
# resource path
|
|
52
|
-
local_var_path = '{
|
|
52
|
+
local_var_path = '{exporter_href}exports/'.sub('{' + 'exporter_href' + '}', CGI.escape(exporter_href.to_s).gsub('%2F', '/'))
|
|
53
53
|
|
|
54
54
|
# query parameters
|
|
55
55
|
query_params = opts[:query_params] || {}
|
|
@@ -65,10 +65,10 @@ module PulpcoreClient
|
|
|
65
65
|
form_params = opts[:form_params] || {}
|
|
66
66
|
|
|
67
67
|
# http body (model)
|
|
68
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
|
68
|
+
post_body = opts[:body] || @api_client.object_to_http_body(export)
|
|
69
69
|
|
|
70
70
|
# return_type
|
|
71
|
-
return_type = opts[:return_type] || '
|
|
71
|
+
return_type = opts[:return_type] || 'ExportResponse'
|
|
72
72
|
|
|
73
73
|
# auth_names
|
|
74
74
|
auth_names = opts[:auth_names] || ['basicAuth']
|
|
@@ -84,36 +84,36 @@ 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:
|
|
87
|
+
@api_client.config.logger.debug "API called: ExportersExportsApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
88
88
|
end
|
|
89
89
|
return data, status_code, headers
|
|
90
90
|
end
|
|
91
91
|
|
|
92
|
-
# Delete
|
|
93
|
-
#
|
|
94
|
-
# @param
|
|
92
|
+
# Delete an export
|
|
93
|
+
# ViewSet for viewing exports from an Exporter.
|
|
94
|
+
# @param exporters_export_href [String]
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
96
|
# @return [nil]
|
|
97
|
-
def delete(
|
|
98
|
-
delete_with_http_info(
|
|
97
|
+
def delete(exporters_export_href, opts = {})
|
|
98
|
+
delete_with_http_info(exporters_export_href, opts)
|
|
99
99
|
nil
|
|
100
100
|
end
|
|
101
101
|
|
|
102
|
-
# Delete
|
|
103
|
-
#
|
|
104
|
-
# @param
|
|
102
|
+
# Delete an export
|
|
103
|
+
# ViewSet for viewing exports from an Exporter.
|
|
104
|
+
# @param exporters_export_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 delete_with_http_info(
|
|
107
|
+
def delete_with_http_info(exporters_export_href, opts = {})
|
|
108
108
|
if @api_client.config.debugging
|
|
109
|
-
@api_client.config.logger.debug 'Calling API:
|
|
109
|
+
@api_client.config.logger.debug 'Calling API: ExportersExportsApi.delete ...'
|
|
110
110
|
end
|
|
111
|
-
# verify the required parameter '
|
|
112
|
-
if @api_client.config.client_side_validation &&
|
|
113
|
-
fail ArgumentError, "Missing the required parameter '
|
|
111
|
+
# verify the required parameter 'exporters_export_href' is set
|
|
112
|
+
if @api_client.config.client_side_validation && exporters_export_href.nil?
|
|
113
|
+
fail ArgumentError, "Missing the required parameter 'exporters_export_href' when calling ExportersExportsApi.delete"
|
|
114
114
|
end
|
|
115
115
|
# resource path
|
|
116
|
-
local_var_path = '{
|
|
116
|
+
local_var_path = '{exporters_export_href}'.sub('{' + 'exporters_export_href' + '}', CGI.escape(exporters_export_href.to_s).gsub('%2F', '/'))
|
|
117
117
|
|
|
118
118
|
# query parameters
|
|
119
119
|
query_params = opts[:query_params] || {}
|
|
@@ -144,52 +144,49 @@ 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:
|
|
147
|
+
@api_client.config.logger.debug "API called: ExportersExportsApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
148
148
|
end
|
|
149
149
|
return data, status_code, headers
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
-
# List
|
|
153
|
-
#
|
|
154
|
-
# @param
|
|
152
|
+
# List exports
|
|
153
|
+
# ViewSet for viewing exports from an Exporter.
|
|
154
|
+
# @param exporter_href [String]
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
159
158
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
159
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
|
-
# @return [
|
|
162
|
-
def list(
|
|
163
|
-
data, _status_code, _headers = list_with_http_info(
|
|
160
|
+
# @return [PaginatedExportResponseList]
|
|
161
|
+
def list(exporter_href, opts = {})
|
|
162
|
+
data, _status_code, _headers = list_with_http_info(exporter_href, opts)
|
|
164
163
|
data
|
|
165
164
|
end
|
|
166
165
|
|
|
167
|
-
# List
|
|
168
|
-
#
|
|
169
|
-
# @param
|
|
166
|
+
# List exports
|
|
167
|
+
# ViewSet for viewing exports from an Exporter.
|
|
168
|
+
# @param exporter_href [String]
|
|
170
169
|
# @param [Hash] opts the optional parameters
|
|
171
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
172
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
173
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
174
172
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
175
173
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
|
-
# @return [Array<(
|
|
177
|
-
def list_with_http_info(
|
|
174
|
+
# @return [Array<(PaginatedExportResponseList, Integer, Hash)>] PaginatedExportResponseList data, response status code and response headers
|
|
175
|
+
def list_with_http_info(exporter_href, opts = {})
|
|
178
176
|
if @api_client.config.debugging
|
|
179
|
-
@api_client.config.logger.debug 'Calling API:
|
|
177
|
+
@api_client.config.logger.debug 'Calling API: ExportersExportsApi.list ...'
|
|
180
178
|
end
|
|
181
|
-
# verify the required parameter '
|
|
182
|
-
if @api_client.config.client_side_validation &&
|
|
183
|
-
fail ArgumentError, "Missing the required parameter '
|
|
179
|
+
# verify the required parameter 'exporter_href' is set
|
|
180
|
+
if @api_client.config.client_side_validation && exporter_href.nil?
|
|
181
|
+
fail ArgumentError, "Missing the required parameter 'exporter_href' when calling ExportersExportsApi.list"
|
|
184
182
|
end
|
|
185
183
|
# resource path
|
|
186
|
-
local_var_path = '{
|
|
184
|
+
local_var_path = '{exporter_href}exports/'.sub('{' + 'exporter_href' + '}', CGI.escape(exporter_href.to_s).gsub('%2F', '/'))
|
|
187
185
|
|
|
188
186
|
# query parameters
|
|
189
187
|
query_params = opts[:query_params] || {}
|
|
190
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
191
189
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
192
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
193
190
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
191
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
195
192
|
|
|
@@ -205,7 +202,7 @@ module PulpcoreClient
|
|
|
205
202
|
post_body = opts[:body]
|
|
206
203
|
|
|
207
204
|
# return_type
|
|
208
|
-
return_type = opts[:return_type] || '
|
|
205
|
+
return_type = opts[:return_type] || 'PaginatedExportResponseList'
|
|
209
206
|
|
|
210
207
|
# auth_names
|
|
211
208
|
auth_names = opts[:auth_names] || ['basicAuth']
|
|
@@ -221,40 +218,40 @@ module PulpcoreClient
|
|
|
221
218
|
|
|
222
219
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
223
220
|
if @api_client.config.debugging
|
|
224
|
-
@api_client.config.logger.debug "API called:
|
|
221
|
+
@api_client.config.logger.debug "API called: ExportersExportsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
225
222
|
end
|
|
226
223
|
return data, status_code, headers
|
|
227
224
|
end
|
|
228
225
|
|
|
229
|
-
# Inspect
|
|
230
|
-
#
|
|
231
|
-
# @param
|
|
226
|
+
# Inspect an export
|
|
227
|
+
# ViewSet for viewing exports from an Exporter.
|
|
228
|
+
# @param exporters_export_href [String]
|
|
232
229
|
# @param [Hash] opts the optional parameters
|
|
233
230
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
234
231
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
235
|
-
# @return [
|
|
236
|
-
def read(
|
|
237
|
-
data, _status_code, _headers = read_with_http_info(
|
|
232
|
+
# @return [ExportResponse]
|
|
233
|
+
def read(exporters_export_href, opts = {})
|
|
234
|
+
data, _status_code, _headers = read_with_http_info(exporters_export_href, opts)
|
|
238
235
|
data
|
|
239
236
|
end
|
|
240
237
|
|
|
241
|
-
# Inspect
|
|
242
|
-
#
|
|
243
|
-
# @param
|
|
238
|
+
# Inspect an export
|
|
239
|
+
# ViewSet for viewing exports from an Exporter.
|
|
240
|
+
# @param exporters_export_href [String]
|
|
244
241
|
# @param [Hash] opts the optional parameters
|
|
245
242
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
246
243
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
247
|
-
# @return [Array<(
|
|
248
|
-
def read_with_http_info(
|
|
244
|
+
# @return [Array<(ExportResponse, Integer, Hash)>] ExportResponse data, response status code and response headers
|
|
245
|
+
def read_with_http_info(exporters_export_href, opts = {})
|
|
249
246
|
if @api_client.config.debugging
|
|
250
|
-
@api_client.config.logger.debug 'Calling API:
|
|
247
|
+
@api_client.config.logger.debug 'Calling API: ExportersExportsApi.read ...'
|
|
251
248
|
end
|
|
252
|
-
# verify the required parameter '
|
|
253
|
-
if @api_client.config.client_side_validation &&
|
|
254
|
-
fail ArgumentError, "Missing the required parameter '
|
|
249
|
+
# verify the required parameter 'exporters_export_href' is set
|
|
250
|
+
if @api_client.config.client_side_validation && exporters_export_href.nil?
|
|
251
|
+
fail ArgumentError, "Missing the required parameter 'exporters_export_href' when calling ExportersExportsApi.read"
|
|
255
252
|
end
|
|
256
253
|
# resource path
|
|
257
|
-
local_var_path = '{
|
|
254
|
+
local_var_path = '{exporters_export_href}'.sub('{' + 'exporters_export_href' + '}', CGI.escape(exporters_export_href.to_s).gsub('%2F', '/'))
|
|
258
255
|
|
|
259
256
|
# query parameters
|
|
260
257
|
query_params = opts[:query_params] || {}
|
|
@@ -273,7 +270,7 @@ module PulpcoreClient
|
|
|
273
270
|
post_body = opts[:body]
|
|
274
271
|
|
|
275
272
|
# return_type
|
|
276
|
-
return_type = opts[:return_type] || '
|
|
273
|
+
return_type = opts[:return_type] || 'ExportResponse'
|
|
277
274
|
|
|
278
275
|
# auth_names
|
|
279
276
|
auth_names = opts[:auth_names] || ['basicAuth']
|
|
@@ -289,7 +286,7 @@ module PulpcoreClient
|
|
|
289
286
|
|
|
290
287
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
291
288
|
if @api_client.config.debugging
|
|
292
|
-
@api_client.config.logger.debug "API called:
|
|
289
|
+
@api_client.config.logger.debug "API called: ExportersExportsApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
293
290
|
end
|
|
294
291
|
return data, status_code, headers
|
|
295
292
|
end
|
|
@@ -155,7 +155,7 @@ module PulpcoreClient
|
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [String] :ordering
|
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
161
|
# @return [PaginatedFilesystemExporterResponseList]
|
|
@@ -174,7 +174,7 @@ module PulpcoreClient
|
|
|
174
174
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
175
175
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
177
|
-
# @option opts [String] :ordering
|
|
177
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
180
180
|
# @return [Array<(PaginatedFilesystemExporterResponseList, Integer, Hash)>] PaginatedFilesystemExporterResponseList data, response status code and response headers
|
|
@@ -182,6 +182,10 @@ module PulpcoreClient
|
|
|
182
182
|
if @api_client.config.debugging
|
|
183
183
|
@api_client.config.logger.debug 'Calling API: ExportersFilesystemApi.list ...'
|
|
184
184
|
end
|
|
185
|
+
allowable_values = ["-core_fs_exporter", "-core_pulp_exporter", "-export", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "core_fs_exporter", "core_pulp_exporter", "export", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
|
|
186
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
187
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
188
|
+
end
|
|
185
189
|
# resource path
|
|
186
190
|
local_var_path = '/pulp/api/v3/exporters/core/filesystem/'
|
|
187
191
|
|
|
@@ -194,7 +198,7 @@ module PulpcoreClient
|
|
|
194
198
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
|
195
199
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
196
200
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
197
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
201
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
198
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
199
203
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
200
204
|
|
|
@@ -155,7 +155,6 @@ module PulpcoreClient
|
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
159
158
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
159
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
160
|
# @return [PaginatedFilesystemExportResponseList]
|
|
@@ -170,7 +169,6 @@ module PulpcoreClient
|
|
|
170
169
|
# @param [Hash] opts the optional parameters
|
|
171
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
172
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
173
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
174
172
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
175
173
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
174
|
# @return [Array<(PaginatedFilesystemExportResponseList, Integer, Hash)>] PaginatedFilesystemExportResponseList data, response status code and response headers
|
|
@@ -189,7 +187,6 @@ module PulpcoreClient
|
|
|
189
187
|
query_params = opts[:query_params] || {}
|
|
190
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
191
189
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
192
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
193
190
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
191
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
195
192
|
|
|
@@ -155,7 +155,7 @@ module PulpcoreClient
|
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [String] :ordering
|
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
159
159
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
160
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
161
|
# @return [PaginatedPulpExporterResponseList]
|
|
@@ -174,7 +174,7 @@ module PulpcoreClient
|
|
|
174
174
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
175
175
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
177
|
-
# @option opts [String] :ordering
|
|
177
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
178
178
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
179
179
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
180
180
|
# @return [Array<(PaginatedPulpExporterResponseList, Integer, Hash)>] PaginatedPulpExporterResponseList data, response status code and response headers
|
|
@@ -182,6 +182,10 @@ module PulpcoreClient
|
|
|
182
182
|
if @api_client.config.debugging
|
|
183
183
|
@api_client.config.logger.debug 'Calling API: ExportersPulpApi.list ...'
|
|
184
184
|
end
|
|
185
|
+
allowable_values = ["-core_fs_exporter", "-core_pulp_exporter", "-export", "-group_roles", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-user_roles", "core_fs_exporter", "core_pulp_exporter", "export", "group_roles", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "user_roles"]
|
|
186
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
187
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
188
|
+
end
|
|
185
189
|
# resource path
|
|
186
190
|
local_var_path = '/pulp/api/v3/exporters/core/pulp/'
|
|
187
191
|
|
|
@@ -194,7 +198,7 @@ module PulpcoreClient
|
|
|
194
198
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
|
195
199
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
196
200
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
197
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
201
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
198
202
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
199
203
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
200
204
|
|
|
@@ -155,7 +155,6 @@ module PulpcoreClient
|
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
159
158
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
159
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
160
|
# @return [PaginatedPulpExportResponseList]
|
|
@@ -170,7 +169,6 @@ module PulpcoreClient
|
|
|
170
169
|
# @param [Hash] opts the optional parameters
|
|
171
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
172
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
173
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
174
172
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
175
173
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
174
|
# @return [Array<(PaginatedPulpExportResponseList, Integer, Hash)>] PaginatedPulpExportResponseList data, response status code and response headers
|
|
@@ -189,7 +187,6 @@ module PulpcoreClient
|
|
|
189
187
|
query_params = opts[:query_params] || {}
|
|
190
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
191
189
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
192
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
193
190
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
191
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
195
192
|
|
|
@@ -223,7 +223,7 @@ module PulpcoreClient
|
|
|
223
223
|
# @option opts [String] :name__iexact Filter results where name matches value
|
|
224
224
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
225
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
226
|
-
# @option opts [String] :ordering
|
|
226
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
227
227
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
228
228
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
229
229
|
# @return [PaginatedGroupResponseList]
|
|
@@ -244,7 +244,7 @@ module PulpcoreClient
|
|
|
244
244
|
# @option opts [String] :name__iexact Filter results where name matches value
|
|
245
245
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
|
246
246
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
247
|
-
# @option opts [String] :ordering
|
|
247
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
248
248
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
249
249
|
# @option opts [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
|
|
@@ -252,6 +252,10 @@ module PulpcoreClient
|
|
|
252
252
|
if @api_client.config.debugging
|
|
253
253
|
@api_client.config.logger.debug 'Calling API: GroupsApi.list ...'
|
|
254
254
|
end
|
|
255
|
+
allowable_values = ["-id", "-name", "-object_roles", "-permissions", "-pk", "-user", "id", "name", "object_roles", "permissions", "pk", "user"]
|
|
256
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
257
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
258
|
+
end
|
|
255
259
|
# resource path
|
|
256
260
|
local_var_path = '/pulp/api/v3/groups/'
|
|
257
261
|
|
|
@@ -266,7 +270,7 @@ module PulpcoreClient
|
|
|
266
270
|
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
|
267
271
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
|
268
272
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
269
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
273
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
270
274
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
271
275
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
272
276
|
|
|
@@ -156,7 +156,7 @@ module PulpcoreClient
|
|
|
156
156
|
# @option opts [String] :content_object content_object
|
|
157
157
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
158
158
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
159
|
-
# @option opts [String] :ordering
|
|
159
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
160
160
|
# @option opts [String] :role
|
|
161
161
|
# @option opts [String] :role__contains
|
|
162
162
|
# @option opts [String] :role__icontains
|
|
@@ -177,7 +177,7 @@ module PulpcoreClient
|
|
|
177
177
|
# @option opts [String] :content_object content_object
|
|
178
178
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
179
179
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
180
|
-
# @option opts [String] :ordering
|
|
180
|
+
# @option opts [Array<String>] :ordering Ordering
|
|
181
181
|
# @option opts [String] :role
|
|
182
182
|
# @option opts [String] :role__contains
|
|
183
183
|
# @option opts [String] :role__icontains
|
|
@@ -194,6 +194,10 @@ module PulpcoreClient
|
|
|
194
194
|
if @api_client.config.client_side_validation && group_href.nil?
|
|
195
195
|
fail ArgumentError, "Missing the required parameter 'group_href' when calling GroupsRolesApi.list"
|
|
196
196
|
end
|
|
197
|
+
allowable_values = ["-description", "-pk", "-pulp_created", "-role", "description", "pk", "pulp_created", "role"]
|
|
198
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
|
199
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
|
200
|
+
end
|
|
197
201
|
# resource path
|
|
198
202
|
local_var_path = '{group_href}roles/'.sub('{' + 'group_href' + '}', CGI.escape(group_href.to_s).gsub('%2F', '/'))
|
|
199
203
|
|
|
@@ -202,7 +206,7 @@ module PulpcoreClient
|
|
|
202
206
|
query_params[:'content_object'] = opts[:'content_object'] if !opts[:'content_object'].nil?
|
|
203
207
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
204
208
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
205
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
209
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
206
210
|
query_params[:'role'] = opts[:'role'] if !opts[:'role'].nil?
|
|
207
211
|
query_params[:'role__contains'] = opts[:'role__contains'] if !opts[:'role__contains'].nil?
|
|
208
212
|
query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
|
|
@@ -155,7 +155,6 @@ module PulpcoreClient
|
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
156
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
159
158
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
159
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
161
160
|
# @return [PaginatedGroupUserResponseList]
|
|
@@ -170,7 +169,6 @@ module PulpcoreClient
|
|
|
170
169
|
# @param [Hash] opts the optional parameters
|
|
171
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
172
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
173
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
|
174
172
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
175
173
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
176
174
|
# @return [Array<(PaginatedGroupUserResponseList, Integer, Hash)>] PaginatedGroupUserResponseList data, response status code and response headers
|
|
@@ -189,7 +187,6 @@ module PulpcoreClient
|
|
|
189
187
|
query_params = opts[:query_params] || {}
|
|
190
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
|
191
189
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
192
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
|
193
190
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
194
191
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
195
192
|
|