pulpcore_client 3.21.5 → 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/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/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
- metadata +129 -129
@@ -224,8 +224,8 @@ module PulpcoreClient
|
|
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
226
|
# @option opts [Array<String>] :ordering Ordering
|
227
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
228
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
227
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
228
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
229
229
|
# @return [PaginatedGroupResponseList]
|
230
230
|
def list(opts = {})
|
231
231
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -245,8 +245,8 @@ module PulpcoreClient
|
|
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
247
|
# @option opts [Array<String>] :ordering Ordering
|
248
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
249
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
248
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
250
|
# @return [Array<(PaginatedGroupResponseList, Integer, Hash)>] PaginatedGroupResponseList data, response status code and response headers
|
251
251
|
def list_with_http_info(opts = {})
|
252
252
|
if @api_client.config.debugging
|
@@ -271,8 +271,8 @@ module PulpcoreClient
|
|
271
271
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
272
272
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
273
273
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
274
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
275
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
274
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
275
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
276
276
|
|
277
277
|
# header parameters
|
278
278
|
header_params = opts[:header_params] || {}
|
@@ -310,8 +310,8 @@ module PulpcoreClient
|
|
310
310
|
# List roles assigned to this object.
|
311
311
|
# @param group_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 [ObjectRolesResponse]
|
316
316
|
def list_roles(group_href, opts = {})
|
317
317
|
data, _status_code, _headers = list_roles_with_http_info(group_href, opts)
|
@@ -321,8 +321,8 @@ module PulpcoreClient
|
|
321
321
|
# List roles assigned to this object.
|
322
322
|
# @param group_href [String]
|
323
323
|
# @param [Hash] opts the optional parameters
|
324
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
325
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
324
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
325
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
326
326
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
327
327
|
def list_roles_with_http_info(group_href, opts = {})
|
328
328
|
if @api_client.config.debugging
|
@@ -337,8 +337,8 @@ module PulpcoreClient
|
|
337
337
|
|
338
338
|
# query parameters
|
339
339
|
query_params = opts[:query_params] || {}
|
340
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
341
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
340
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
341
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
342
342
|
|
343
343
|
# header parameters
|
344
344
|
header_params = opts[:header_params] || {}
|
@@ -376,8 +376,8 @@ module PulpcoreClient
|
|
376
376
|
# List permissions available to the current user on this object.
|
377
377
|
# @param group_href [String]
|
378
378
|
# @param [Hash] opts the optional parameters
|
379
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
380
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
379
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
380
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
381
381
|
# @return [MyPermissionsResponse]
|
382
382
|
def my_permissions(group_href, opts = {})
|
383
383
|
data, _status_code, _headers = my_permissions_with_http_info(group_href, opts)
|
@@ -387,8 +387,8 @@ module PulpcoreClient
|
|
387
387
|
# List permissions available to the current user on this object.
|
388
388
|
# @param group_href [String]
|
389
389
|
# @param [Hash] opts the optional parameters
|
390
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
391
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
390
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
391
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
392
392
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
393
393
|
def my_permissions_with_http_info(group_href, opts = {})
|
394
394
|
if @api_client.config.debugging
|
@@ -403,8 +403,8 @@ module PulpcoreClient
|
|
403
403
|
|
404
404
|
# query parameters
|
405
405
|
query_params = opts[:query_params] || {}
|
406
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
407
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
406
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
407
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
408
408
|
|
409
409
|
# header parameters
|
410
410
|
header_params = opts[:header_params] || {}
|
@@ -513,8 +513,8 @@ module PulpcoreClient
|
|
513
513
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
514
514
|
# @param group_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 [GroupResponse]
|
519
519
|
def read(group_href, opts = {})
|
520
520
|
data, _status_code, _headers = read_with_http_info(group_href, opts)
|
@@ -525,8 +525,8 @@ module PulpcoreClient
|
|
525
525
|
# ViewSet for Group. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
526
526
|
# @param group_href [String]
|
527
527
|
# @param [Hash] opts the optional parameters
|
528
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
529
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
528
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
529
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
530
530
|
# @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
|
531
531
|
def read_with_http_info(group_href, opts = {})
|
532
532
|
if @api_client.config.debugging
|
@@ -541,8 +541,8 @@ module PulpcoreClient
|
|
541
541
|
|
542
542
|
# query parameters
|
543
543
|
query_params = opts[:query_params] || {}
|
544
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
545
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
544
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
545
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
546
546
|
|
547
547
|
# header parameters
|
548
548
|
header_params = opts[:header_params] || {}
|
@@ -162,8 +162,8 @@ module PulpcoreClient
|
|
162
162
|
# @option opts [String] :role__icontains
|
163
163
|
# @option opts [Array<String>] :role__in Multiple values may be separated by commas.
|
164
164
|
# @option opts [String] :role__startswith
|
165
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
166
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
165
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
167
|
# @return [PaginatedGroupRoleResponseList]
|
168
168
|
def list(group_href, opts = {})
|
169
169
|
data, _status_code, _headers = list_with_http_info(group_href, opts)
|
@@ -183,8 +183,8 @@ module PulpcoreClient
|
|
183
183
|
# @option opts [String] :role__icontains
|
184
184
|
# @option opts [Array<String>] :role__in Multiple values may be separated by commas.
|
185
185
|
# @option opts [String] :role__startswith
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
188
|
# @return [Array<(PaginatedGroupRoleResponseList, Integer, Hash)>] PaginatedGroupRoleResponseList data, response status code and response headers
|
189
189
|
def list_with_http_info(group_href, opts = {})
|
190
190
|
if @api_client.config.debugging
|
@@ -212,8 +212,8 @@ module PulpcoreClient
|
|
212
212
|
query_params[:'role__icontains'] = opts[:'role__icontains'] if !opts[:'role__icontains'].nil?
|
213
213
|
query_params[:'role__in'] = @api_client.build_collection_param(opts[:'role__in'], :csv) if !opts[:'role__in'].nil?
|
214
214
|
query_params[:'role__startswith'] = opts[:'role__startswith'] if !opts[:'role__startswith'].nil?
|
215
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
216
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
215
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
216
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
217
217
|
|
218
218
|
# header parameters
|
219
219
|
header_params = opts[:header_params] || {}
|
@@ -252,8 +252,8 @@ module PulpcoreClient
|
|
252
252
|
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
253
253
|
# @param groups_group_role_href [String]
|
254
254
|
# @param [Hash] opts the optional parameters
|
255
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
256
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
255
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
256
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
257
257
|
# @return [GroupRoleResponse]
|
258
258
|
def read(groups_group_role_href, opts = {})
|
259
259
|
data, _status_code, _headers = read_with_http_info(groups_group_role_href, opts)
|
@@ -264,8 +264,8 @@ module PulpcoreClient
|
|
264
264
|
# ViewSet for GroupRole. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
265
265
|
# @param groups_group_role_href [String]
|
266
266
|
# @param [Hash] opts the optional parameters
|
267
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
268
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
267
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
268
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
269
269
|
# @return [Array<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
|
270
270
|
def read_with_http_info(groups_group_role_href, opts = {})
|
271
271
|
if @api_client.config.debugging
|
@@ -280,8 +280,8 @@ module PulpcoreClient
|
|
280
280
|
|
281
281
|
# query parameters
|
282
282
|
query_params = opts[:query_params] || {}
|
283
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
284
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
283
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
284
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
285
285
|
|
286
286
|
# header parameters
|
287
287
|
header_params = opts[:header_params] || {}
|
@@ -155,8 +155,8 @@ 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] :fields A list of fields to include in the response.
|
159
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
158
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
159
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
160
160
|
# @return [PaginatedGroupUserResponseList]
|
161
161
|
def list(group_href, opts = {})
|
162
162
|
data, _status_code, _headers = list_with_http_info(group_href, opts)
|
@@ -169,8 +169,8 @@ module PulpcoreClient
|
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
173
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
172
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
173
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
174
174
|
# @return [Array<(PaginatedGroupUserResponseList, Integer, Hash)>] PaginatedGroupUserResponseList data, response status code and response headers
|
175
175
|
def list_with_http_info(group_href, opts = {})
|
176
176
|
if @api_client.config.debugging
|
@@ -187,8 +187,8 @@ module PulpcoreClient
|
|
187
187
|
query_params = opts[:query_params] || {}
|
188
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
189
189
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
190
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
191
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
190
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
191
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
192
192
|
|
193
193
|
# header parameters
|
194
194
|
header_params = opts[:header_params] || {}
|
@@ -154,8 +154,8 @@ module PulpcoreClient
|
|
154
154
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
155
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
156
|
# @option opts [Array<String>] :ordering Ordering
|
157
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
158
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
157
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
158
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
159
159
|
# @return [PaginatedPulpImporterResponseList]
|
160
160
|
def list(opts = {})
|
161
161
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -173,8 +173,8 @@ module PulpcoreClient
|
|
173
173
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
174
174
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
175
175
|
# @option opts [Array<String>] :ordering Ordering
|
176
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
177
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
176
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
177
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
178
178
|
# @return [Array<(PaginatedPulpImporterResponseList, Integer, Hash)>] PaginatedPulpImporterResponseList data, response status code and response headers
|
179
179
|
def list_with_http_info(opts = {})
|
180
180
|
if @api_client.config.debugging
|
@@ -197,8 +197,8 @@ module PulpcoreClient
|
|
197
197
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
198
198
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
199
199
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
200
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
201
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
200
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
201
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
202
202
|
|
203
203
|
# header parameters
|
204
204
|
header_params = opts[:header_params] || {}
|
@@ -307,8 +307,8 @@ module PulpcoreClient
|
|
307
307
|
# ViewSet for PulpImporters.
|
308
308
|
# @param pulp_importer_href [String]
|
309
309
|
# @param [Hash] opts the optional parameters
|
310
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
311
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
310
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
311
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
312
312
|
# @return [PulpImporterResponse]
|
313
313
|
def read(pulp_importer_href, opts = {})
|
314
314
|
data, _status_code, _headers = read_with_http_info(pulp_importer_href, opts)
|
@@ -319,8 +319,8 @@ module PulpcoreClient
|
|
319
319
|
# ViewSet for PulpImporters.
|
320
320
|
# @param pulp_importer_href [String]
|
321
321
|
# @param [Hash] opts the optional parameters
|
322
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
323
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
322
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
323
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
324
324
|
# @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
|
325
325
|
def read_with_http_info(pulp_importer_href, opts = {})
|
326
326
|
if @api_client.config.debugging
|
@@ -335,8 +335,8 @@ module PulpcoreClient
|
|
335
335
|
|
336
336
|
# query parameters
|
337
337
|
query_params = opts[:query_params] || {}
|
338
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
339
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
338
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
339
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
340
340
|
|
341
341
|
# header parameters
|
342
342
|
header_params = opts[:header_params] || {}
|
@@ -155,8 +155,8 @@ 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] :fields A list of fields to include in the response.
|
159
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
158
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
159
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
160
160
|
# @return [PaginatedImportResponseList]
|
161
161
|
def list(pulp_importer_href, opts = {})
|
162
162
|
data, _status_code, _headers = list_with_http_info(pulp_importer_href, opts)
|
@@ -169,8 +169,8 @@ module PulpcoreClient
|
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @option opts [Integer] :limit Number of results to return per page.
|
171
171
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
172
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
173
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
172
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
173
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
174
174
|
# @return [Array<(PaginatedImportResponseList, Integer, Hash)>] PaginatedImportResponseList data, response status code and response headers
|
175
175
|
def list_with_http_info(pulp_importer_href, opts = {})
|
176
176
|
if @api_client.config.debugging
|
@@ -187,8 +187,8 @@ module PulpcoreClient
|
|
187
187
|
query_params = opts[:query_params] || {}
|
188
188
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
189
189
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
190
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
191
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
190
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
191
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
192
192
|
|
193
193
|
# header parameters
|
194
194
|
header_params = opts[:header_params] || {}
|
@@ -227,8 +227,8 @@ module PulpcoreClient
|
|
227
227
|
# ViewSet for PulpImports.
|
228
228
|
# @param pulp_pulp_import_href [String]
|
229
229
|
# @param [Hash] opts the optional parameters
|
230
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
231
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
230
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
231
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
232
232
|
# @return [ImportResponse]
|
233
233
|
def read(pulp_pulp_import_href, opts = {})
|
234
234
|
data, _status_code, _headers = read_with_http_info(pulp_pulp_import_href, opts)
|
@@ -239,8 +239,8 @@ module PulpcoreClient
|
|
239
239
|
# ViewSet for PulpImports.
|
240
240
|
# @param pulp_pulp_import_href [String]
|
241
241
|
# @param [Hash] opts the optional parameters
|
242
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
243
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
242
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
243
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
244
244
|
# @return [Array<(ImportResponse, Integer, Hash)>] ImportResponse data, response status code and response headers
|
245
245
|
def read_with_http_info(pulp_pulp_import_href, opts = {})
|
246
246
|
if @api_client.config.debugging
|
@@ -255,8 +255,8 @@ module PulpcoreClient
|
|
255
255
|
|
256
256
|
# query parameters
|
257
257
|
query_params = opts[:query_params] || {}
|
258
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
259
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
258
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
259
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
260
260
|
|
261
261
|
# header parameters
|
262
262
|
header_params = opts[:header_params] || {}
|
@@ -35,8 +35,8 @@ module PulpcoreClient
|
|
35
35
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
36
36
|
# @option opts [String] :repository Repository referenced by HREF
|
37
37
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
38
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
38
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [PaginatedPublicationResponseList]
|
41
41
|
def list(opts = {})
|
42
42
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -59,8 +59,8 @@ module PulpcoreClient
|
|
59
59
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
60
60
|
# @option opts [String] :repository Repository referenced by HREF
|
61
61
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
62
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
63
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
62
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
63
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
64
64
|
# @return [Array<(PaginatedPublicationResponseList, Integer, Hash)>] PaginatedPublicationResponseList data, response status code and response headers
|
65
65
|
def list_with_http_info(opts = {})
|
66
66
|
if @api_client.config.debugging
|
@@ -88,8 +88,8 @@ module PulpcoreClient
|
|
88
88
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
89
89
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
90
90
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
91
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
92
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
91
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
92
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
93
93
|
|
94
94
|
# header parameters
|
95
95
|
header_params = opts[:header_params] || {}
|
@@ -37,8 +37,8 @@ module PulpcoreClient
|
|
37
37
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
38
38
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
39
39
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
40
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
41
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
40
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [PaginatedRemoteResponseList]
|
43
43
|
def list(opts = {})
|
44
44
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -63,8 +63,8 @@ module PulpcoreClient
|
|
63
63
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
64
64
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
65
65
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
66
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
67
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
66
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
67
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
68
68
|
# @return [Array<(PaginatedRemoteResponseList, Integer, Hash)>] PaginatedRemoteResponseList data, response status code and response headers
|
69
69
|
def list_with_http_info(opts = {})
|
70
70
|
if @api_client.config.debugging
|
@@ -94,8 +94,8 @@ module PulpcoreClient
|
|
94
94
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
95
95
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
96
96
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
97
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
98
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
97
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
98
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
99
99
|
|
100
100
|
# header parameters
|
101
101
|
header_params = opts[:header_params] || {}
|
@@ -32,8 +32,8 @@ module PulpcoreClient
|
|
32
32
|
# @option opts [Array<String>] :ordering Ordering
|
33
33
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
34
34
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
35
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
36
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
35
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
36
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
37
37
|
# @return [PaginatedRepositoryResponseList]
|
38
38
|
def list(opts = {})
|
39
39
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -53,8 +53,8 @@ module PulpcoreClient
|
|
53
53
|
# @option opts [Array<String>] :ordering Ordering
|
54
54
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
55
55
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
56
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
57
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
56
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
57
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
58
58
|
# @return [Array<(PaginatedRepositoryResponseList, Integer, Hash)>] PaginatedRepositoryResponseList data, response status code and response headers
|
59
59
|
def list_with_http_info(opts = {})
|
60
60
|
if @api_client.config.debugging
|
@@ -79,8 +79,8 @@ module PulpcoreClient
|
|
79
79
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
80
80
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
81
81
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
82
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
83
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
82
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
83
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
84
84
|
|
85
85
|
# header parameters
|
86
86
|
header_params = opts[:header_params] || {}
|
@@ -38,8 +38,8 @@ module PulpcoreClient
|
|
38
38
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
39
39
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
40
40
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
41
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
42
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
41
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
42
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
43
43
|
# @return [PaginatedRepositoryVersionResponseList]
|
44
44
|
def list(opts = {})
|
45
45
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -65,8 +65,8 @@ module PulpcoreClient
|
|
65
65
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
66
66
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
67
67
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
68
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
69
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
68
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
69
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
70
70
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
71
71
|
def list_with_http_info(opts = {})
|
72
72
|
if @api_client.config.debugging
|
@@ -98,8 +98,8 @@ module PulpcoreClient
|
|
98
98
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
99
99
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
100
100
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
101
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
102
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
101
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
102
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
103
103
|
|
104
104
|
# header parameters
|
105
105
|
header_params = opts[:header_params] || {}
|
@@ -161,8 +161,8 @@ module PulpcoreClient
|
|
161
161
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
162
162
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
163
|
# @option opts [Array<String>] :ordering Ordering
|
164
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
165
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
164
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
165
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
166
166
|
# @return [PaginatedRoleResponseList]
|
167
167
|
def list(opts = {})
|
168
168
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -187,8 +187,8 @@ module PulpcoreClient
|
|
187
187
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
188
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
189
189
|
# @option opts [Array<String>] :ordering Ordering
|
190
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
191
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
190
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
192
|
# @return [Array<(PaginatedRoleResponseList, Integer, Hash)>] PaginatedRoleResponseList data, response status code and response headers
|
193
193
|
def list_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
@@ -218,8 +218,8 @@ module PulpcoreClient
|
|
218
218
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
219
219
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
220
220
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
221
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
222
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
221
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
222
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
223
223
|
|
224
224
|
# header parameters
|
225
225
|
header_params = opts[:header_params] || {}
|
@@ -328,8 +328,8 @@ module PulpcoreClient
|
|
328
328
|
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
329
329
|
# @param role_href [String]
|
330
330
|
# @param [Hash] opts the optional parameters
|
331
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
332
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
331
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
332
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
333
333
|
# @return [RoleResponse]
|
334
334
|
def read(role_href, opts = {})
|
335
335
|
data, _status_code, _headers = read_with_http_info(role_href, opts)
|
@@ -340,8 +340,8 @@ module PulpcoreClient
|
|
340
340
|
# ViewSet for Role. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
341
341
|
# @param role_href [String]
|
342
342
|
# @param [Hash] opts the optional parameters
|
343
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
344
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
343
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
344
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
345
345
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
346
346
|
def read_with_http_info(role_href, opts = {})
|
347
347
|
if @api_client.config.debugging
|
@@ -356,8 +356,8 @@ module PulpcoreClient
|
|
356
356
|
|
357
357
|
# query parameters
|
358
358
|
query_params = opts[:query_params] || {}
|
359
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
360
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
359
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
360
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
361
361
|
|
362
362
|
# header parameters
|
363
363
|
header_params = opts[:header_params] || {}
|