pulpcore_client 3.21.4 → 3.21.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +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
|
@@ -222,8 +222,8 @@ module PulpcoreClient
|
|
|
222
222
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
223
223
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
224
224
|
# @option opts [Array<String>] :ordering Ordering
|
|
225
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
226
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
225
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
226
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
227
227
|
# @return [PaginatedContentRedirectContentGuardResponseList]
|
|
228
228
|
def list(opts = {})
|
|
229
229
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -241,8 +241,8 @@ module PulpcoreClient
|
|
|
241
241
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
242
242
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
243
243
|
# @option opts [Array<String>] :ordering Ordering
|
|
244
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
245
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
244
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
245
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
246
246
|
# @return [Array<(PaginatedContentRedirectContentGuardResponseList, Integer, Hash)>] PaginatedContentRedirectContentGuardResponseList data, response status code and response headers
|
|
247
247
|
def list_with_http_info(opts = {})
|
|
248
248
|
if @api_client.config.debugging
|
|
@@ -265,8 +265,8 @@ module PulpcoreClient
|
|
|
265
265
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
266
266
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
267
267
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].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 content_redirect_content_guard_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(content_redirect_content_guard_href, opts = {})
|
|
311
311
|
data, _status_code, _headers = list_roles_with_http_info(content_redirect_content_guard_href, opts)
|
|
@@ -315,8 +315,8 @@ module PulpcoreClient
|
|
|
315
315
|
# List roles assigned to this object.
|
|
316
316
|
# @param content_redirect_content_guard_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(content_redirect_content_guard_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 content_redirect_content_guard_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(content_redirect_content_guard_href, opts = {})
|
|
377
377
|
data, _status_code, _headers = my_permissions_with_http_info(content_redirect_content_guard_href, opts)
|
|
@@ -381,8 +381,8 @@ module PulpcoreClient
|
|
|
381
381
|
# List permissions available to the current user on this object.
|
|
382
382
|
# @param content_redirect_content_guard_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(content_redirect_content_guard_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] || {}
|
|
@@ -507,8 +507,8 @@ module PulpcoreClient
|
|
|
507
507
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
508
508
|
# @param content_redirect_content_guard_href [String]
|
|
509
509
|
# @param [Hash] opts the optional parameters
|
|
510
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
511
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
510
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
511
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
512
512
|
# @return [ContentRedirectContentGuardResponse]
|
|
513
513
|
def read(content_redirect_content_guard_href, opts = {})
|
|
514
514
|
data, _status_code, _headers = read_with_http_info(content_redirect_content_guard_href, opts)
|
|
@@ -519,8 +519,8 @@ module PulpcoreClient
|
|
|
519
519
|
# Content guard to protect preauthenticated redirects to the content app.
|
|
520
520
|
# @param content_redirect_content_guard_href [String]
|
|
521
521
|
# @param [Hash] opts the optional parameters
|
|
522
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
523
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
522
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
523
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
524
524
|
# @return [Array<(ContentRedirectContentGuardResponse, Integer, Hash)>] ContentRedirectContentGuardResponse data, response status code and response headers
|
|
525
525
|
def read_with_http_info(content_redirect_content_guard_href, opts = {})
|
|
526
526
|
if @api_client.config.debugging
|
|
@@ -535,8 +535,8 @@ module PulpcoreClient
|
|
|
535
535
|
|
|
536
536
|
# query parameters
|
|
537
537
|
query_params = opts[:query_params] || {}
|
|
538
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
539
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
538
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
539
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
540
540
|
|
|
541
541
|
# header parameters
|
|
542
542
|
header_params = opts[:header_params] || {}
|
|
@@ -222,8 +222,8 @@ module PulpcoreClient
|
|
|
222
222
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
223
223
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
224
224
|
# @option opts [Array<String>] :ordering Ordering
|
|
225
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
226
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
225
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
226
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
227
227
|
# @return [PaginatedRBACContentGuardResponseList]
|
|
228
228
|
def list(opts = {})
|
|
229
229
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -241,8 +241,8 @@ module PulpcoreClient
|
|
|
241
241
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
242
242
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
243
243
|
# @option opts [Array<String>] :ordering Ordering
|
|
244
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
245
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
244
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
245
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
246
246
|
# @return [Array<(PaginatedRBACContentGuardResponseList, Integer, Hash)>] PaginatedRBACContentGuardResponseList data, response status code and response headers
|
|
247
247
|
def list_with_http_info(opts = {})
|
|
248
248
|
if @api_client.config.debugging
|
|
@@ -265,8 +265,8 @@ module PulpcoreClient
|
|
|
265
265
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
266
266
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
267
267
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].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 r_b_a_c_content_guard_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(r_b_a_c_content_guard_href, opts = {})
|
|
311
311
|
data, _status_code, _headers = list_roles_with_http_info(r_b_a_c_content_guard_href, opts)
|
|
@@ -315,8 +315,8 @@ module PulpcoreClient
|
|
|
315
315
|
# List roles assigned to this object.
|
|
316
316
|
# @param r_b_a_c_content_guard_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(r_b_a_c_content_guard_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 r_b_a_c_content_guard_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(r_b_a_c_content_guard_href, opts = {})
|
|
377
377
|
data, _status_code, _headers = my_permissions_with_http_info(r_b_a_c_content_guard_href, opts)
|
|
@@ -381,8 +381,8 @@ module PulpcoreClient
|
|
|
381
381
|
# List permissions available to the current user on this object.
|
|
382
382
|
# @param r_b_a_c_content_guard_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(r_b_a_c_content_guard_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] || {}
|
|
@@ -507,8 +507,8 @@ module PulpcoreClient
|
|
|
507
507
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
508
508
|
# @param r_b_a_c_content_guard_href [String]
|
|
509
509
|
# @param [Hash] opts the optional parameters
|
|
510
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
511
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
510
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
511
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
512
512
|
# @return [RBACContentGuardResponse]
|
|
513
513
|
def read(r_b_a_c_content_guard_href, opts = {})
|
|
514
514
|
data, _status_code, _headers = read_with_http_info(r_b_a_c_content_guard_href, opts)
|
|
@@ -519,8 +519,8 @@ module PulpcoreClient
|
|
|
519
519
|
# Viewset for creating contentguards that use RBAC to protect content. Has add and remove actions for managing permission for users and groups to download content protected by this guard.
|
|
520
520
|
# @param r_b_a_c_content_guard_href [String]
|
|
521
521
|
# @param [Hash] opts the optional parameters
|
|
522
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
523
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
522
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
523
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
524
524
|
# @return [Array<(RBACContentGuardResponse, Integer, Hash)>] RBACContentGuardResponse data, response status code and response headers
|
|
525
525
|
def read_with_http_info(r_b_a_c_content_guard_href, opts = {})
|
|
526
526
|
if @api_client.config.debugging
|
|
@@ -535,8 +535,8 @@ module PulpcoreClient
|
|
|
535
535
|
|
|
536
536
|
# query parameters
|
|
537
537
|
query_params = opts[:query_params] || {}
|
|
538
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
539
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
538
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
539
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
540
540
|
|
|
541
541
|
# header parameters
|
|
542
542
|
header_params = opts[:header_params] || {}
|
|
@@ -36,8 +36,8 @@ module PulpcoreClient
|
|
|
36
36
|
# @option opts [Array<String>] :ordering Ordering
|
|
37
37
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
38
38
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
39
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
40
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
39
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
40
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
41
41
|
# @return [PaginatedDistributionResponseList]
|
|
42
42
|
def list(opts = {})
|
|
43
43
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -61,8 +61,8 @@ module PulpcoreClient
|
|
|
61
61
|
# @option opts [Array<String>] :ordering Ordering
|
|
62
62
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
63
63
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
64
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
65
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
64
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
65
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
66
66
|
# @return [Array<(PaginatedDistributionResponseList, Integer, Hash)>] PaginatedDistributionResponseList data, response status code and response headers
|
|
67
67
|
def list_with_http_info(opts = {})
|
|
68
68
|
if @api_client.config.debugging
|
|
@@ -91,8 +91,8 @@ module PulpcoreClient
|
|
|
91
91
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
92
92
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
|
93
93
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
|
94
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
95
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
94
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
95
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
96
96
|
|
|
97
97
|
# header parameters
|
|
98
98
|
header_params = opts[:header_params] || {}
|
|
@@ -156,8 +156,8 @@ module PulpcoreClient
|
|
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
|
159
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
159
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
160
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
161
161
|
# @return [PaginatedFilesystemExporterResponseList]
|
|
162
162
|
def list(opts = {})
|
|
163
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -175,8 +175,8 @@ module PulpcoreClient
|
|
|
175
175
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
177
177
|
# @option opts [Array<String>] :ordering Ordering
|
|
178
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
179
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
178
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
179
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
180
180
|
# @return [Array<(PaginatedFilesystemExporterResponseList, Integer, Hash)>] PaginatedFilesystemExporterResponseList data, response status code and response headers
|
|
181
181
|
def list_with_http_info(opts = {})
|
|
182
182
|
if @api_client.config.debugging
|
|
@@ -199,8 +199,8 @@ module PulpcoreClient
|
|
|
199
199
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
200
200
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
201
201
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
202
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
203
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
202
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
203
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
204
204
|
|
|
205
205
|
# header parameters
|
|
206
206
|
header_params = opts[:header_params] || {}
|
|
@@ -309,8 +309,8 @@ module PulpcoreClient
|
|
|
309
309
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
|
310
310
|
# @param filesystem_exporter_href [String]
|
|
311
311
|
# @param [Hash] opts the optional parameters
|
|
312
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
313
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
312
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
313
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
314
314
|
# @return [FilesystemExporterResponse]
|
|
315
315
|
def read(filesystem_exporter_href, opts = {})
|
|
316
316
|
data, _status_code, _headers = read_with_http_info(filesystem_exporter_href, opts)
|
|
@@ -321,8 +321,8 @@ module PulpcoreClient
|
|
|
321
321
|
# Endpoint for managing FilesystemExporters. FilesystemExporters are provided as a tech preview.
|
|
322
322
|
# @param filesystem_exporter_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<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
|
327
327
|
def read_with_http_info(filesystem_exporter_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] || {}
|
|
@@ -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 [PaginatedFilesystemExportResponseList]
|
|
161
161
|
def list(filesystem_exporter_href, opts = {})
|
|
162
162
|
data, _status_code, _headers = list_with_http_info(filesystem_exporter_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<(PaginatedFilesystemExportResponseList, Integer, Hash)>] PaginatedFilesystemExportResponseList data, response status code and response headers
|
|
175
175
|
def list_with_http_info(filesystem_exporter_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
|
# Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
|
|
228
228
|
# @param filesystem_filesystem_export_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 [FilesystemExportResponse]
|
|
233
233
|
def read(filesystem_filesystem_export_href, opts = {})
|
|
234
234
|
data, _status_code, _headers = read_with_http_info(filesystem_filesystem_export_href, opts)
|
|
@@ -239,8 +239,8 @@ module PulpcoreClient
|
|
|
239
239
|
# Endpoint for managing FilesystemExports. This endpoint is provided as a tech preview.
|
|
240
240
|
# @param filesystem_filesystem_export_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<(FilesystemExportResponse, Integer, Hash)>] FilesystemExportResponse data, response status code and response headers
|
|
245
245
|
def read_with_http_info(filesystem_filesystem_export_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] || {}
|
|
@@ -156,8 +156,8 @@ module PulpcoreClient
|
|
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
|
159
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
160
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
159
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
160
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
161
161
|
# @return [PaginatedPulpExporterResponseList]
|
|
162
162
|
def list(opts = {})
|
|
163
163
|
data, _status_code, _headers = list_with_http_info(opts)
|
|
@@ -175,8 +175,8 @@ module PulpcoreClient
|
|
|
175
175
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
|
176
176
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
177
177
|
# @option opts [Array<String>] :ordering Ordering
|
|
178
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
179
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
178
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
179
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
180
180
|
# @return [Array<(PaginatedPulpExporterResponseList, Integer, Hash)>] PaginatedPulpExporterResponseList data, response status code and response headers
|
|
181
181
|
def list_with_http_info(opts = {})
|
|
182
182
|
if @api_client.config.debugging
|
|
@@ -199,8 +199,8 @@ module PulpcoreClient
|
|
|
199
199
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
|
200
200
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
|
201
201
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
|
202
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
203
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
202
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
203
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
204
204
|
|
|
205
205
|
# header parameters
|
|
206
206
|
header_params = opts[:header_params] || {}
|
|
@@ -309,8 +309,8 @@ module PulpcoreClient
|
|
|
309
309
|
# ViewSet for viewing PulpExporters.
|
|
310
310
|
# @param pulp_exporter_href [String]
|
|
311
311
|
# @param [Hash] opts the optional parameters
|
|
312
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
|
313
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
312
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
313
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
314
314
|
# @return [PulpExporterResponse]
|
|
315
315
|
def read(pulp_exporter_href, opts = {})
|
|
316
316
|
data, _status_code, _headers = read_with_http_info(pulp_exporter_href, opts)
|
|
@@ -321,8 +321,8 @@ module PulpcoreClient
|
|
|
321
321
|
# ViewSet for viewing PulpExporters.
|
|
322
322
|
# @param pulp_exporter_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<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
|
327
327
|
def read_with_http_info(pulp_exporter_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] || {}
|
|
@@ -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 [PaginatedPulpExportResponseList]
|
|
161
161
|
def list(pulp_exporter_href, opts = {})
|
|
162
162
|
data, _status_code, _headers = list_with_http_info(pulp_exporter_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<(PaginatedPulpExportResponseList, Integer, Hash)>] PaginatedPulpExportResponseList data, response status code and response headers
|
|
175
175
|
def list_with_http_info(pulp_exporter_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 viewing exports from a PulpExporter.
|
|
228
228
|
# @param pulp_pulp_export_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 [PulpExportResponse]
|
|
233
233
|
def read(pulp_pulp_export_href, opts = {})
|
|
234
234
|
data, _status_code, _headers = read_with_http_info(pulp_pulp_export_href, opts)
|
|
@@ -239,8 +239,8 @@ module PulpcoreClient
|
|
|
239
239
|
# ViewSet for viewing exports from a PulpExporter.
|
|
240
240
|
# @param pulp_pulp_export_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<(PulpExportResponse, Integer, Hash)>] PulpExportResponse data, response status code and response headers
|
|
245
245
|
def read_with_http_info(pulp_pulp_export_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] || {}
|