pulpcore_client 3.21.4 → 3.21.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/docs/AccessPoliciesApi.md +8 -8
- data/docs/ArtifactsApi.md +8 -8
- data/docs/ContentApi.md +4 -4
- data/docs/ContentguardsApi.md +4 -4
- data/docs/ContentguardsContentRedirectApi.md +16 -16
- data/docs/ContentguardsRbacApi.md +16 -16
- data/docs/DistributionsApi.md +4 -4
- data/docs/ExportersFilesystemApi.md +8 -8
- data/docs/ExportersFilesystemExportsApi.md +8 -8
- data/docs/ExportersPulpApi.md +8 -8
- data/docs/ExportersPulpExportsApi.md +8 -8
- data/docs/FilesystemExport.md +3 -1
- data/docs/GroupsApi.md +16 -16
- data/docs/GroupsRolesApi.md +8 -8
- data/docs/GroupsUsersApi.md +4 -4
- data/docs/ImportersPulpApi.md +8 -8
- data/docs/ImportersPulpImportsApi.md +8 -8
- data/docs/PublicationsApi.md +4 -4
- data/docs/RemotesApi.md +4 -4
- data/docs/RepositoriesApi.md +4 -4
- data/docs/RepositoryVersionsApi.md +4 -4
- data/docs/RolesApi.md +8 -8
- data/docs/SigningServicesApi.md +8 -8
- data/docs/TaskGroupsApi.md +8 -8
- data/docs/TaskSchedulesApi.md +16 -16
- data/docs/TasksApi.md +16 -16
- data/docs/UploadsApi.md +16 -16
- data/docs/UsersApi.md +8 -8
- data/docs/UsersRolesApi.md +8 -8
- data/docs/WorkersApi.md +8 -8
- data/lib/pulpcore_client/api/access_policies_api.rb +12 -12
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -12
- data/lib/pulpcore_client/api/content_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -6
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +24 -24
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +24 -24
- data/lib/pulpcore_client/api/distributions_api.rb +6 -6
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +12 -12
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -12
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +12 -12
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -12
- data/lib/pulpcore_client/api/groups_api.rb +24 -24
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -12
- data/lib/pulpcore_client/api/groups_users_api.rb +6 -6
- data/lib/pulpcore_client/api/importers_pulp_api.rb +12 -12
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -12
- data/lib/pulpcore_client/api/publications_api.rb +6 -6
- data/lib/pulpcore_client/api/remotes_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +6 -6
- data/lib/pulpcore_client/api/roles_api.rb +12 -12
- data/lib/pulpcore_client/api/signing_services_api.rb +12 -12
- data/lib/pulpcore_client/api/task_groups_api.rb +12 -12
- data/lib/pulpcore_client/api/task_schedules_api.rb +24 -24
- data/lib/pulpcore_client/api/tasks_api.rb +24 -24
- data/lib/pulpcore_client/api/uploads_api.rb +24 -24
- data/lib/pulpcore_client/api/users_api.rb +12 -12
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -12
- data/lib/pulpcore_client/api/workers_api.rb +12 -12
- data/lib/pulpcore_client/models/filesystem_export.rb +14 -4
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +4 -4
- data/spec/api/artifacts_api_spec.rb +4 -4
- 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 +8 -8
- data/spec/api/contentguards_rbac_api_spec.rb +8 -8
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/exporters_filesystem_api_spec.rb +4 -4
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -4
- data/spec/api/exporters_pulp_api_spec.rb +4 -4
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -4
- data/spec/api/groups_api_spec.rb +8 -8
- data/spec/api/groups_roles_api_spec.rb +4 -4
- data/spec/api/groups_users_api_spec.rb +2 -2
- data/spec/api/importers_pulp_api_spec.rb +4 -4
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -4
- data/spec/api/publications_api_spec.rb +2 -2
- data/spec/api/remotes_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +2 -2
- data/spec/api/roles_api_spec.rb +4 -4
- 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 +8 -8
- data/spec/api/tasks_api_spec.rb +8 -8
- data/spec/api/uploads_api_spec.rb +8 -8
- data/spec/api/users_api_spec.rb +4 -4
- data/spec/api/users_roles_api_spec.rb +4 -4
- data/spec/api/workers_api_spec.rb +4 -4
- data/spec/models/filesystem_export_spec.rb +6 -0
- metadata +129 -129
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [String] :name
|
27
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
28
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
30
|
# @return [PaginatedSigningServiceResponseList]
|
31
31
|
def list(opts = {})
|
32
32
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [String] :name
|
41
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
42
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
43
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [Array<(PaginatedSigningServiceResponseList, Integer, Hash)>] PaginatedSigningServiceResponseList data, response status code and response headers
|
45
45
|
def list_with_http_info(opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -54,8 +54,8 @@ module PulpcoreClient
|
|
54
54
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
55
55
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
56
56
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
57
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
58
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
57
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
58
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
59
59
|
|
60
60
|
# header parameters
|
61
61
|
header_params = opts[:header_params] || {}
|
@@ -94,8 +94,8 @@ module PulpcoreClient
|
|
94
94
|
# A ViewSet that supports browsing of existing signing services.
|
95
95
|
# @param signing_service_href [String]
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
98
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
99
99
|
# @return [SigningServiceResponse]
|
100
100
|
def read(signing_service_href, opts = {})
|
101
101
|
data, _status_code, _headers = read_with_http_info(signing_service_href, opts)
|
@@ -106,8 +106,8 @@ module PulpcoreClient
|
|
106
106
|
# A ViewSet that supports browsing of existing signing services.
|
107
107
|
# @param signing_service_href [String]
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
110
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
109
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
110
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
111
111
|
# @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
|
112
112
|
def read_with_http_info(signing_service_href, opts = {})
|
113
113
|
if @api_client.config.debugging
|
@@ -122,8 +122,8 @@ module PulpcoreClient
|
|
122
122
|
|
123
123
|
# query parameters
|
124
124
|
query_params = opts[:query_params] || {}
|
125
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
126
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
125
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
126
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
127
127
|
|
128
128
|
# header parameters
|
129
129
|
header_params = opts[:header_params] || {}
|
@@ -25,8 +25,8 @@ module PulpcoreClient
|
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
27
|
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
30
|
# @return [PaginatedTaskGroupResponseList]
|
31
31
|
def list(opts = {})
|
32
32
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -39,8 +39,8 @@ module PulpcoreClient
|
|
39
39
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
43
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [Array<(PaginatedTaskGroupResponseList, Integer, Hash)>] PaginatedTaskGroupResponseList data, response status code and response headers
|
45
45
|
def list_with_http_info(opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -58,8 +58,8 @@ module PulpcoreClient
|
|
58
58
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
59
59
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
60
60
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
61
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
62
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
61
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
62
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
63
63
|
|
64
64
|
# header parameters
|
65
65
|
header_params = opts[:header_params] || {}
|
@@ -98,8 +98,8 @@ module PulpcoreClient
|
|
98
98
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
99
99
|
# @param task_group_href [String]
|
100
100
|
# @param [Hash] opts the optional parameters
|
101
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
102
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
101
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
102
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
103
103
|
# @return [TaskGroupResponse]
|
104
104
|
def read(task_group_href, opts = {})
|
105
105
|
data, _status_code, _headers = read_with_http_info(task_group_href, opts)
|
@@ -110,8 +110,8 @@ module PulpcoreClient
|
|
110
110
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
111
111
|
# @param task_group_href [String]
|
112
112
|
# @param [Hash] opts the optional parameters
|
113
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
114
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
113
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
114
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
115
115
|
# @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
|
116
116
|
def read_with_http_info(task_group_href, opts = {})
|
117
117
|
if @api_client.config.debugging
|
@@ -126,8 +126,8 @@ module PulpcoreClient
|
|
126
126
|
|
127
127
|
# query parameters
|
128
128
|
query_params = opts[:query_params] || {}
|
129
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
130
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
129
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
130
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
131
131
|
|
132
132
|
# header parameters
|
133
133
|
header_params = opts[:header_params] || {}
|
@@ -97,8 +97,8 @@ module PulpcoreClient
|
|
97
97
|
# @option opts [Array<String>] :ordering Ordering
|
98
98
|
# @option opts [String] :task_name
|
99
99
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
100
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
101
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
102
|
# @return [PaginatedTaskScheduleResponseList]
|
103
103
|
def list(opts = {})
|
104
104
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -115,8 +115,8 @@ module PulpcoreClient
|
|
115
115
|
# @option opts [Array<String>] :ordering Ordering
|
116
116
|
# @option opts [String] :task_name
|
117
117
|
# @option opts [String] :task_name__contains Filter results where task_name contains value
|
118
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
119
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
120
|
# @return [Array<(PaginatedTaskScheduleResponseList, Integer, Hash)>] PaginatedTaskScheduleResponseList data, response status code and response headers
|
121
121
|
def list_with_http_info(opts = {})
|
122
122
|
if @api_client.config.debugging
|
@@ -138,8 +138,8 @@ module PulpcoreClient
|
|
138
138
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
139
139
|
query_params[:'task_name'] = opts[:'task_name'] if !opts[:'task_name'].nil?
|
140
140
|
query_params[:'task_name__contains'] = opts[:'task_name__contains'] if !opts[:'task_name__contains'].nil?
|
141
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
142
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
141
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
142
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
143
143
|
|
144
144
|
# header parameters
|
145
145
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +177,8 @@ module PulpcoreClient
|
|
177
177
|
# List roles assigned to this object.
|
178
178
|
# @param task_schedule_href [String]
|
179
179
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
181
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
182
182
|
# @return [ObjectRolesResponse]
|
183
183
|
def list_roles(task_schedule_href, opts = {})
|
184
184
|
data, _status_code, _headers = list_roles_with_http_info(task_schedule_href, opts)
|
@@ -188,8 +188,8 @@ module PulpcoreClient
|
|
188
188
|
# List roles assigned to this object.
|
189
189
|
# @param task_schedule_href [String]
|
190
190
|
# @param [Hash] opts the optional parameters
|
191
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
192
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
191
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
192
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
193
193
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
194
194
|
def list_roles_with_http_info(task_schedule_href, opts = {})
|
195
195
|
if @api_client.config.debugging
|
@@ -204,8 +204,8 @@ module PulpcoreClient
|
|
204
204
|
|
205
205
|
# query parameters
|
206
206
|
query_params = opts[:query_params] || {}
|
207
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
208
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
207
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
208
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
209
209
|
|
210
210
|
# header parameters
|
211
211
|
header_params = opts[:header_params] || {}
|
@@ -243,8 +243,8 @@ module PulpcoreClient
|
|
243
243
|
# List permissions available to the current user on this object.
|
244
244
|
# @param task_schedule_href [String]
|
245
245
|
# @param [Hash] opts the optional parameters
|
246
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
247
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
246
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
247
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
248
248
|
# @return [MyPermissionsResponse]
|
249
249
|
def my_permissions(task_schedule_href, opts = {})
|
250
250
|
data, _status_code, _headers = my_permissions_with_http_info(task_schedule_href, opts)
|
@@ -254,8 +254,8 @@ module PulpcoreClient
|
|
254
254
|
# List permissions available to the current user on this object.
|
255
255
|
# @param task_schedule_href [String]
|
256
256
|
# @param [Hash] opts the optional parameters
|
257
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
258
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
257
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
258
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
259
259
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
260
260
|
def my_permissions_with_http_info(task_schedule_href, opts = {})
|
261
261
|
if @api_client.config.debugging
|
@@ -270,8 +270,8 @@ module PulpcoreClient
|
|
270
270
|
|
271
271
|
# query parameters
|
272
272
|
query_params = opts[:query_params] || {}
|
273
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
274
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
273
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
274
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
275
275
|
|
276
276
|
# header parameters
|
277
277
|
header_params = opts[:header_params] || {}
|
@@ -310,8 +310,8 @@ module PulpcoreClient
|
|
310
310
|
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
311
311
|
# @param task_schedule_href [String]
|
312
312
|
# @param [Hash] opts the optional parameters
|
313
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
314
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
313
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
314
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
315
315
|
# @return [TaskScheduleResponse]
|
316
316
|
def read(task_schedule_href, opts = {})
|
317
317
|
data, _status_code, _headers = read_with_http_info(task_schedule_href, opts)
|
@@ -322,8 +322,8 @@ module PulpcoreClient
|
|
322
322
|
# ViewSet to monitor task schedules. NOTE: This feature is in tech-preview and may change in backwards incompatible ways.
|
323
323
|
# @param task_schedule_href [String]
|
324
324
|
# @param [Hash] opts the optional parameters
|
325
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
326
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
325
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
326
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
327
327
|
# @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
|
328
328
|
def read_with_http_info(task_schedule_href, opts = {})
|
329
329
|
if @api_client.config.debugging
|
@@ -338,8 +338,8 @@ module PulpcoreClient
|
|
338
338
|
|
339
339
|
# query parameters
|
340
340
|
query_params = opts[:query_params] || {}
|
341
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
342
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
341
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
342
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
343
343
|
|
344
344
|
# header parameters
|
345
345
|
header_params = opts[:header_params] || {}
|
@@ -178,8 +178,8 @@ module PulpcoreClient
|
|
178
178
|
# @option opts [String] :task_group Foreign Key referenced by HREF
|
179
179
|
# @option opts [String] :worker Foreign Key referenced by HREF
|
180
180
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
181
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
182
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
181
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
182
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
183
183
|
# @return [PaginatedTaskResponseList]
|
184
184
|
def list(opts = {})
|
185
185
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -217,8 +217,8 @@ module PulpcoreClient
|
|
217
217
|
# @option opts [String] :task_group Foreign Key referenced by HREF
|
218
218
|
# @option opts [String] :worker Foreign Key referenced by HREF
|
219
219
|
# @option opts [Array<String>] :worker__in Filter results where worker is in a comma-separated list of values
|
220
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
221
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
220
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
221
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
222
222
|
# @return [Array<(PaginatedTaskResponseList, Integer, Hash)>] PaginatedTaskResponseList data, response status code and response headers
|
223
223
|
def list_with_http_info(opts = {})
|
224
224
|
if @api_client.config.debugging
|
@@ -265,8 +265,8 @@ module PulpcoreClient
|
|
265
265
|
query_params[:'task_group'] = opts[:'task_group'] if !opts[:'task_group'].nil?
|
266
266
|
query_params[:'worker'] = opts[:'worker'] if !opts[:'worker'].nil?
|
267
267
|
query_params[:'worker__in'] = @api_client.build_collection_param(opts[:'worker__in'], :csv) if !opts[:'worker__in'].nil?
|
268
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
269
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
268
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
269
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
270
270
|
|
271
271
|
# header parameters
|
272
272
|
header_params = opts[:header_params] || {}
|
@@ -304,8 +304,8 @@ module PulpcoreClient
|
|
304
304
|
# List roles assigned to this object.
|
305
305
|
# @param task_href [String]
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
308
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
307
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
308
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
309
309
|
# @return [ObjectRolesResponse]
|
310
310
|
def list_roles(task_href, opts = {})
|
311
311
|
data, _status_code, _headers = list_roles_with_http_info(task_href, opts)
|
@@ -315,8 +315,8 @@ module PulpcoreClient
|
|
315
315
|
# List roles assigned to this object.
|
316
316
|
# @param task_href [String]
|
317
317
|
# @param [Hash] opts the optional parameters
|
318
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
319
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
318
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
319
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
320
320
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
321
321
|
def list_roles_with_http_info(task_href, opts = {})
|
322
322
|
if @api_client.config.debugging
|
@@ -331,8 +331,8 @@ module PulpcoreClient
|
|
331
331
|
|
332
332
|
# query parameters
|
333
333
|
query_params = opts[:query_params] || {}
|
334
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
335
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
334
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
335
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
336
336
|
|
337
337
|
# header parameters
|
338
338
|
header_params = opts[:header_params] || {}
|
@@ -370,8 +370,8 @@ module PulpcoreClient
|
|
370
370
|
# List permissions available to the current user on this object.
|
371
371
|
# @param task_href [String]
|
372
372
|
# @param [Hash] opts the optional parameters
|
373
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
374
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
373
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
375
|
# @return [MyPermissionsResponse]
|
376
376
|
def my_permissions(task_href, opts = {})
|
377
377
|
data, _status_code, _headers = my_permissions_with_http_info(task_href, opts)
|
@@ -381,8 +381,8 @@ module PulpcoreClient
|
|
381
381
|
# List permissions available to the current user on this object.
|
382
382
|
# @param task_href [String]
|
383
383
|
# @param [Hash] opts the optional parameters
|
384
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
385
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
384
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
385
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
386
386
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
387
387
|
def my_permissions_with_http_info(task_href, opts = {})
|
388
388
|
if @api_client.config.debugging
|
@@ -397,8 +397,8 @@ module PulpcoreClient
|
|
397
397
|
|
398
398
|
# query parameters
|
399
399
|
query_params = opts[:query_params] || {}
|
400
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
401
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
400
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
401
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
402
402
|
|
403
403
|
# header parameters
|
404
404
|
header_params = opts[:header_params] || {}
|
@@ -501,8 +501,8 @@ module PulpcoreClient
|
|
501
501
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
502
502
|
# @param task_href [String]
|
503
503
|
# @param [Hash] opts the optional parameters
|
504
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
505
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
504
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
505
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
506
506
|
# @return [TaskResponse]
|
507
507
|
def read(task_href, opts = {})
|
508
508
|
data, _status_code, _headers = read_with_http_info(task_href, opts)
|
@@ -513,8 +513,8 @@ module PulpcoreClient
|
|
513
513
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
514
514
|
# @param task_href [String]
|
515
515
|
# @param [Hash] opts the optional parameters
|
516
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
517
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
516
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
517
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
518
518
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
519
519
|
def read_with_http_info(task_href, opts = {})
|
520
520
|
if @api_client.config.debugging
|
@@ -529,8 +529,8 @@ module PulpcoreClient
|
|
529
529
|
|
530
530
|
# query parameters
|
531
531
|
query_params = opts[:query_params] || {}
|
532
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
533
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
532
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
533
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
534
534
|
|
535
535
|
# header parameters
|
536
536
|
header_params = opts[:header_params] || {}
|
@@ -286,8 +286,8 @@ module PulpcoreClient
|
|
286
286
|
# @param [Hash] opts the optional parameters
|
287
287
|
# @option opts [Integer] :limit Number of results to return per page.
|
288
288
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
289
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
290
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
289
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
290
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
291
291
|
# @return [PaginatedUploadResponseList]
|
292
292
|
def list(opts = {})
|
293
293
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -299,8 +299,8 @@ module PulpcoreClient
|
|
299
299
|
# @param [Hash] opts the optional parameters
|
300
300
|
# @option opts [Integer] :limit Number of results to return per page.
|
301
301
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
302
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
303
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
302
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
303
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
304
304
|
# @return [Array<(PaginatedUploadResponseList, Integer, Hash)>] PaginatedUploadResponseList data, response status code and response headers
|
305
305
|
def list_with_http_info(opts = {})
|
306
306
|
if @api_client.config.debugging
|
@@ -313,8 +313,8 @@ module PulpcoreClient
|
|
313
313
|
query_params = opts[:query_params] || {}
|
314
314
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
315
315
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
316
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
317
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
316
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
317
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
318
318
|
|
319
319
|
# header parameters
|
320
320
|
header_params = opts[:header_params] || {}
|
@@ -352,8 +352,8 @@ module PulpcoreClient
|
|
352
352
|
# List roles assigned to this object.
|
353
353
|
# @param upload_href [String]
|
354
354
|
# @param [Hash] opts the optional parameters
|
355
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
356
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
355
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
356
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
357
357
|
# @return [ObjectRolesResponse]
|
358
358
|
def list_roles(upload_href, opts = {})
|
359
359
|
data, _status_code, _headers = list_roles_with_http_info(upload_href, opts)
|
@@ -363,8 +363,8 @@ module PulpcoreClient
|
|
363
363
|
# List roles assigned to this object.
|
364
364
|
# @param upload_href [String]
|
365
365
|
# @param [Hash] opts the optional parameters
|
366
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
367
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
366
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
367
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
368
368
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
369
369
|
def list_roles_with_http_info(upload_href, opts = {})
|
370
370
|
if @api_client.config.debugging
|
@@ -379,8 +379,8 @@ module PulpcoreClient
|
|
379
379
|
|
380
380
|
# query parameters
|
381
381
|
query_params = opts[:query_params] || {}
|
382
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
383
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
382
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
383
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
384
384
|
|
385
385
|
# header parameters
|
386
386
|
header_params = opts[:header_params] || {}
|
@@ -418,8 +418,8 @@ module PulpcoreClient
|
|
418
418
|
# List permissions available to the current user on this object.
|
419
419
|
# @param upload_href [String]
|
420
420
|
# @param [Hash] opts the optional parameters
|
421
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
422
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
421
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
422
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
423
423
|
# @return [MyPermissionsResponse]
|
424
424
|
def my_permissions(upload_href, opts = {})
|
425
425
|
data, _status_code, _headers = my_permissions_with_http_info(upload_href, opts)
|
@@ -429,8 +429,8 @@ module PulpcoreClient
|
|
429
429
|
# List permissions available to the current user on this object.
|
430
430
|
# @param upload_href [String]
|
431
431
|
# @param [Hash] opts the optional parameters
|
432
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
433
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
432
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
433
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
434
434
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
435
435
|
def my_permissions_with_http_info(upload_href, opts = {})
|
436
436
|
if @api_client.config.debugging
|
@@ -445,8 +445,8 @@ module PulpcoreClient
|
|
445
445
|
|
446
446
|
# query parameters
|
447
447
|
query_params = opts[:query_params] || {}
|
448
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
449
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
448
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
449
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
450
450
|
|
451
451
|
# header parameters
|
452
452
|
header_params = opts[:header_params] || {}
|
@@ -485,8 +485,8 @@ module PulpcoreClient
|
|
485
485
|
# View for chunked uploads.
|
486
486
|
# @param upload_href [String]
|
487
487
|
# @param [Hash] opts the optional parameters
|
488
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
489
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
488
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
489
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
490
490
|
# @return [UploadDetailResponse]
|
491
491
|
def read(upload_href, opts = {})
|
492
492
|
data, _status_code, _headers = read_with_http_info(upload_href, opts)
|
@@ -497,8 +497,8 @@ module PulpcoreClient
|
|
497
497
|
# View for chunked uploads.
|
498
498
|
# @param upload_href [String]
|
499
499
|
# @param [Hash] opts the optional parameters
|
500
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
501
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
500
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
501
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
502
502
|
# @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
|
503
503
|
def read_with_http_info(upload_href, opts = {})
|
504
504
|
if @api_client.config.debugging
|
@@ -513,8 +513,8 @@ module PulpcoreClient
|
|
513
513
|
|
514
514
|
# query parameters
|
515
515
|
query_params = opts[:query_params] || {}
|
516
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
517
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
516
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
517
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
518
518
|
|
519
519
|
# header parameters
|
520
520
|
header_params = opts[:header_params] || {}
|
@@ -171,8 +171,8 @@ module PulpcoreClient
|
|
171
171
|
# @option opts [String] :username__icontains Filter results where username contains value
|
172
172
|
# @option opts [String] :username__iexact Filter results where username matches value
|
173
173
|
# @option opts [Array<String>] :username__in Filter results where username is in a comma-separated list of values
|
174
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
175
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
174
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
175
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
176
176
|
# @return [PaginatedUserResponseList]
|
177
177
|
def list(opts = {})
|
178
178
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -207,8 +207,8 @@ module PulpcoreClient
|
|
207
207
|
# @option opts [String] :username__icontains Filter results where username contains value
|
208
208
|
# @option opts [String] :username__iexact Filter results where username matches value
|
209
209
|
# @option opts [Array<String>] :username__in Filter results where username is in a comma-separated list of values
|
210
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
211
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
210
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
211
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
212
212
|
# @return [Array<(PaginatedUserResponseList, Integer, Hash)>] PaginatedUserResponseList data, response status code and response headers
|
213
213
|
def list_with_http_info(opts = {})
|
214
214
|
if @api_client.config.debugging
|
@@ -248,8 +248,8 @@ module PulpcoreClient
|
|
248
248
|
query_params[:'username__icontains'] = opts[:'username__icontains'] if !opts[:'username__icontains'].nil?
|
249
249
|
query_params[:'username__iexact'] = opts[:'username__iexact'] if !opts[:'username__iexact'].nil?
|
250
250
|
query_params[:'username__in'] = @api_client.build_collection_param(opts[:'username__in'], :csv) if !opts[:'username__in'].nil?
|
251
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
252
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
251
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
252
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
253
253
|
|
254
254
|
# header parameters
|
255
255
|
header_params = opts[:header_params] || {}
|
@@ -358,8 +358,8 @@ module PulpcoreClient
|
|
358
358
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
359
359
|
# @param auth_user_href [String]
|
360
360
|
# @param [Hash] opts the optional parameters
|
361
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
362
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
361
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
362
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
363
363
|
# @return [UserResponse]
|
364
364
|
def read(auth_user_href, opts = {})
|
365
365
|
data, _status_code, _headers = read_with_http_info(auth_user_href, opts)
|
@@ -370,8 +370,8 @@ module PulpcoreClient
|
|
370
370
|
# ViewSet for User. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
371
371
|
# @param auth_user_href [String]
|
372
372
|
# @param [Hash] opts the optional parameters
|
373
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
374
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
373
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
375
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
376
376
|
def read_with_http_info(auth_user_href, opts = {})
|
377
377
|
if @api_client.config.debugging
|
@@ -386,8 +386,8 @@ module PulpcoreClient
|
|
386
386
|
|
387
387
|
# query parameters
|
388
388
|
query_params = opts[:query_params] || {}
|
389
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
390
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
389
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
390
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
391
391
|
|
392
392
|
# header parameters
|
393
393
|
header_params = opts[:header_params] || {}
|