pulpcore_client 3.49.53 → 3.49.55
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 +5 -4
- data/docs/AccessPoliciesApi.md +22 -6
- data/docs/ArtifactDistributionResponse.md +5 -5
- data/docs/ArtifactsApi.md +12 -2
- data/docs/ContentApi.md +2 -0
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +44 -12
- data/docs/ContentguardsContentRedirectApi.md +44 -12
- data/docs/ContentguardsHeaderApi.md +44 -12
- data/docs/ContentguardsRbacApi.md +44 -12
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DomainsApi.md +28 -8
- data/docs/ExportersFilesystemApi.md +28 -8
- data/docs/ExportersFilesystemExportsApi.md +16 -4
- data/docs/ExportersPulpApi.md +28 -8
- data/docs/ExportersPulpExportsApi.md +16 -4
- data/docs/GroupsApi.md +44 -12
- data/docs/GroupsRolesApi.md +16 -4
- data/docs/GroupsUsersApi.md +14 -4
- data/docs/ImportersPulpApi.md +28 -8
- data/docs/ImportersPulpImportCheckApi.md +6 -2
- data/docs/ImportersPulpImportsApi.md +16 -4
- data/docs/OrphansApi.md +9 -3
- data/docs/OrphansCleanupApi.md +6 -2
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +6 -2
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesReclaimSpaceApi.md +6 -2
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +28 -8
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +13 -3
- data/docs/TaskGroupsApi.md +4 -0
- data/docs/TaskSchedulesApi.md +20 -4
- data/docs/TasksApi.md +38 -10
- data/docs/UploadsApi.md +40 -10
- data/docs/UpstreamPulpsApi.md +50 -14
- data/docs/UsersApi.md +28 -8
- data/docs/UsersRolesApi.md +16 -4
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/domains_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +6 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +27 -0
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +21 -21
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/domains_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +2 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +9 -0
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +3 -3
- metadata +2 -2
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
|
23
23
|
# ViewSet for Role.
|
|
24
24
|
# @param role [Role]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @return [RoleResponse]
|
|
27
28
|
def create(role, opts = {})
|
|
28
29
|
data, _status_code, _headers = create_with_http_info(role, opts)
|
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
|
33
34
|
# ViewSet for Role.
|
|
34
35
|
# @param role [Role]
|
|
35
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
36
38
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
37
39
|
def create_with_http_info(role, opts = {})
|
|
38
40
|
if @api_client.config.debugging
|
|
@@ -54,6 +56,7 @@ module PulpcoreClient
|
|
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
55
57
|
# HTTP header 'Content-Type'
|
|
56
58
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
57
60
|
|
|
58
61
|
# form parameters
|
|
59
62
|
form_params = opts[:form_params] || {}
|
|
@@ -87,6 +90,7 @@ module PulpcoreClient
|
|
|
87
90
|
# ViewSet for Role.
|
|
88
91
|
# @param role_href [String]
|
|
89
92
|
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
90
94
|
# @return [nil]
|
|
91
95
|
def delete(role_href, opts = {})
|
|
92
96
|
delete_with_http_info(role_href, opts)
|
|
@@ -97,6 +101,7 @@ module PulpcoreClient
|
|
|
97
101
|
# ViewSet for Role.
|
|
98
102
|
# @param role_href [String]
|
|
99
103
|
# @param [Hash] opts the optional parameters
|
|
104
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
105
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
101
106
|
def delete_with_http_info(role_href, opts = {})
|
|
102
107
|
if @api_client.config.debugging
|
|
@@ -114,6 +119,7 @@ module PulpcoreClient
|
|
|
114
119
|
|
|
115
120
|
# header parameters
|
|
116
121
|
header_params = opts[:header_params] || {}
|
|
122
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
117
123
|
|
|
118
124
|
# form parameters
|
|
119
125
|
form_params = opts[:form_params] || {}
|
|
@@ -146,6 +152,7 @@ module PulpcoreClient
|
|
|
146
152
|
# List roles
|
|
147
153
|
# ViewSet for Role.
|
|
148
154
|
# @param [Hash] opts the optional parameters
|
|
155
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
149
156
|
# @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
|
|
150
157
|
# @option opts [String] :description Filter results where description matches value
|
|
151
158
|
# @option opts [String] :description__contains Filter results where description contains value
|
|
@@ -179,6 +186,7 @@ module PulpcoreClient
|
|
|
179
186
|
# List roles
|
|
180
187
|
# ViewSet for Role.
|
|
181
188
|
# @param [Hash] opts the optional parameters
|
|
189
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
182
190
|
# @option opts [Array<String>] :contains_permission Filter roles that have any of the permissions in the list.
|
|
183
191
|
# @option opts [String] :description Filter results where description matches value
|
|
184
192
|
# @option opts [String] :description__contains Filter results where description contains value
|
|
@@ -246,6 +254,7 @@ module PulpcoreClient
|
|
|
246
254
|
header_params = opts[:header_params] || {}
|
|
247
255
|
# HTTP header 'Accept' (if needed)
|
|
248
256
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
257
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
249
258
|
|
|
250
259
|
# form parameters
|
|
251
260
|
form_params = opts[:form_params] || {}
|
|
@@ -280,6 +289,7 @@ module PulpcoreClient
|
|
|
280
289
|
# @param role_href [String]
|
|
281
290
|
# @param patched_role [PatchedRole]
|
|
282
291
|
# @param [Hash] opts the optional parameters
|
|
292
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
283
293
|
# @return [RoleResponse]
|
|
284
294
|
def partial_update(role_href, patched_role, opts = {})
|
|
285
295
|
data, _status_code, _headers = partial_update_with_http_info(role_href, patched_role, opts)
|
|
@@ -291,6 +301,7 @@ module PulpcoreClient
|
|
|
291
301
|
# @param role_href [String]
|
|
292
302
|
# @param patched_role [PatchedRole]
|
|
293
303
|
# @param [Hash] opts the optional parameters
|
|
304
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
294
305
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
295
306
|
def partial_update_with_http_info(role_href, patched_role, opts = {})
|
|
296
307
|
if @api_client.config.debugging
|
|
@@ -316,6 +327,7 @@ module PulpcoreClient
|
|
|
316
327
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
317
328
|
# HTTP header 'Content-Type'
|
|
318
329
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
330
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
319
331
|
|
|
320
332
|
# form parameters
|
|
321
333
|
form_params = opts[:form_params] || {}
|
|
@@ -349,6 +361,7 @@ module PulpcoreClient
|
|
|
349
361
|
# ViewSet for Role.
|
|
350
362
|
# @param role_href [String]
|
|
351
363
|
# @param [Hash] opts the optional parameters
|
|
364
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
352
365
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
353
366
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
354
367
|
# @return [RoleResponse]
|
|
@@ -361,6 +374,7 @@ module PulpcoreClient
|
|
|
361
374
|
# ViewSet for Role.
|
|
362
375
|
# @param role_href [String]
|
|
363
376
|
# @param [Hash] opts the optional parameters
|
|
377
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
364
378
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
365
379
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
366
380
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
@@ -384,6 +398,7 @@ module PulpcoreClient
|
|
|
384
398
|
header_params = opts[:header_params] || {}
|
|
385
399
|
# HTTP header 'Accept' (if needed)
|
|
386
400
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
401
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
387
402
|
|
|
388
403
|
# form parameters
|
|
389
404
|
form_params = opts[:form_params] || {}
|
|
@@ -418,6 +433,7 @@ module PulpcoreClient
|
|
|
418
433
|
# @param role_href [String]
|
|
419
434
|
# @param role [Role]
|
|
420
435
|
# @param [Hash] opts the optional parameters
|
|
436
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
421
437
|
# @return [RoleResponse]
|
|
422
438
|
def update(role_href, role, opts = {})
|
|
423
439
|
data, _status_code, _headers = update_with_http_info(role_href, role, opts)
|
|
@@ -429,6 +445,7 @@ module PulpcoreClient
|
|
|
429
445
|
# @param role_href [String]
|
|
430
446
|
# @param role [Role]
|
|
431
447
|
# @param [Hash] opts the optional parameters
|
|
448
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
432
449
|
# @return [Array<(RoleResponse, Integer, Hash)>] RoleResponse data, response status code and response headers
|
|
433
450
|
def update_with_http_info(role_href, role, opts = {})
|
|
434
451
|
if @api_client.config.debugging
|
|
@@ -454,6 +471,7 @@ module PulpcoreClient
|
|
|
454
471
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
455
472
|
# HTTP header 'Content-Type'
|
|
456
473
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
474
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
457
475
|
|
|
458
476
|
# form parameters
|
|
459
477
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List signing services
|
|
23
23
|
# A ViewSet that supports browsing of existing signing services.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
27
|
# @option opts [String] :name Filter results where name matches value
|
|
27
28
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -40,6 +41,7 @@ module PulpcoreClient
|
|
|
40
41
|
# List signing services
|
|
41
42
|
# A ViewSet that supports browsing of existing signing services.
|
|
42
43
|
# @param [Hash] opts the optional parameters
|
|
44
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
43
45
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
44
46
|
# @option opts [String] :name Filter results where name matches value
|
|
45
47
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
@@ -77,6 +79,7 @@ module PulpcoreClient
|
|
|
77
79
|
header_params = opts[:header_params] || {}
|
|
78
80
|
# HTTP header 'Accept' (if needed)
|
|
79
81
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
82
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
80
83
|
|
|
81
84
|
# form parameters
|
|
82
85
|
form_params = opts[:form_params] || {}
|
|
@@ -110,6 +113,7 @@ module PulpcoreClient
|
|
|
110
113
|
# A ViewSet that supports browsing of existing signing services.
|
|
111
114
|
# @param signing_service_href [String]
|
|
112
115
|
# @param [Hash] opts the optional parameters
|
|
116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
113
117
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
118
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
115
119
|
# @return [SigningServiceResponse]
|
|
@@ -122,6 +126,7 @@ module PulpcoreClient
|
|
|
122
126
|
# A ViewSet that supports browsing of existing signing services.
|
|
123
127
|
# @param signing_service_href [String]
|
|
124
128
|
# @param [Hash] opts the optional parameters
|
|
129
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
125
130
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
126
131
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
127
132
|
# @return [Array<(SigningServiceResponse, Integer, Hash)>] SigningServiceResponse data, response status code and response headers
|
|
@@ -145,6 +150,7 @@ module PulpcoreClient
|
|
|
145
150
|
header_params = opts[:header_params] || {}
|
|
146
151
|
# HTTP header 'Accept' (if needed)
|
|
147
152
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
153
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
148
154
|
|
|
149
155
|
# form parameters
|
|
150
156
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,9 @@ module PulpcoreClient
|
|
|
22
22
|
# Inspect status of Pulp
|
|
23
23
|
# Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
27
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
25
28
|
# @return [StatusResponse]
|
|
26
29
|
def status_read(opts = {})
|
|
27
30
|
data, _status_code, _headers = status_read_with_http_info(opts)
|
|
@@ -31,6 +34,9 @@ module PulpcoreClient
|
|
|
31
34
|
# Inspect status of Pulp
|
|
32
35
|
# Returns status and app information about Pulp. Information includes: * version of pulpcore and loaded pulp plugins * known workers * known content apps * database connection status * redis connection status * disk usage information
|
|
33
36
|
# @param [Hash] opts the optional parameters
|
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
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.
|
|
34
40
|
# @return [Array<(StatusResponse, Integer, Hash)>] StatusResponse data, response status code and response headers
|
|
35
41
|
def status_read_with_http_info(opts = {})
|
|
36
42
|
if @api_client.config.debugging
|
|
@@ -41,11 +47,14 @@ module PulpcoreClient
|
|
|
41
47
|
|
|
42
48
|
# query parameters
|
|
43
49
|
query_params = opts[:query_params] || {}
|
|
50
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
|
51
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
|
44
52
|
|
|
45
53
|
# header parameters
|
|
46
54
|
header_params = opts[:header_params] || {}
|
|
47
55
|
# HTTP header 'Accept' (if needed)
|
|
48
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
49
58
|
|
|
50
59
|
# form parameters
|
|
51
60
|
form_params = opts[:form_params] || {}
|
|
@@ -22,6 +22,7 @@ module PulpcoreClient
|
|
|
22
22
|
# List task groups
|
|
23
23
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
25
26
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
26
27
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
27
28
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
|
35
36
|
# List task groups
|
|
36
37
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
39
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
40
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -58,6 +60,7 @@ module PulpcoreClient
|
|
|
58
60
|
header_params = opts[:header_params] || {}
|
|
59
61
|
# HTTP header 'Accept' (if needed)
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
61
64
|
|
|
62
65
|
# form parameters
|
|
63
66
|
form_params = opts[:form_params] || {}
|
|
@@ -91,6 +94,7 @@ module PulpcoreClient
|
|
|
91
94
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
92
95
|
# @param task_group_href [String]
|
|
93
96
|
# @param [Hash] opts the optional parameters
|
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
95
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
96
100
|
# @return [TaskGroupResponse]
|
|
@@ -103,6 +107,7 @@ module PulpcoreClient
|
|
|
103
107
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
104
108
|
# @param task_group_href [String]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
107
112
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
108
113
|
# @return [Array<(TaskGroupResponse, Integer, Hash)>] TaskGroupResponse data, response status code and response headers
|
|
@@ -126,6 +131,7 @@ module PulpcoreClient
|
|
|
126
131
|
header_params = opts[:header_params] || {}
|
|
127
132
|
# HTTP header 'Accept' (if needed)
|
|
128
133
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
134
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
129
135
|
|
|
130
136
|
# form parameters
|
|
131
137
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
# @param task_schedule_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(task_schedule_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(task_schedule_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
|
35
36
|
# @param task_schedule_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(task_schedule_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpcoreClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -92,6 +95,7 @@ module PulpcoreClient
|
|
|
92
95
|
# List task schedules
|
|
93
96
|
# ViewSet to monitor task schedules.
|
|
94
97
|
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
95
99
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
96
100
|
# @option opts [String] :name Filter results where name matches value
|
|
97
101
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -113,6 +117,7 @@ module PulpcoreClient
|
|
|
113
117
|
# List task schedules
|
|
114
118
|
# ViewSet to monitor task schedules.
|
|
115
119
|
# @param [Hash] opts the optional parameters
|
|
120
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
116
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
117
122
|
# @option opts [String] :name Filter results where name matches value
|
|
118
123
|
# @option opts [String] :name__contains Filter results where name contains value
|
|
@@ -156,6 +161,7 @@ module PulpcoreClient
|
|
|
156
161
|
header_params = opts[:header_params] || {}
|
|
157
162
|
# HTTP header 'Accept' (if needed)
|
|
158
163
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
164
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
159
165
|
|
|
160
166
|
# form parameters
|
|
161
167
|
form_params = opts[:form_params] || {}
|
|
@@ -189,6 +195,7 @@ module PulpcoreClient
|
|
|
189
195
|
# List roles assigned to this object.
|
|
190
196
|
# @param task_schedule_href [String]
|
|
191
197
|
# @param [Hash] opts the optional parameters
|
|
198
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
192
199
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
193
200
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
194
201
|
# @return [ObjectRolesResponse]
|
|
@@ -201,6 +208,7 @@ module PulpcoreClient
|
|
|
201
208
|
# List roles assigned to this object.
|
|
202
209
|
# @param task_schedule_href [String]
|
|
203
210
|
# @param [Hash] opts the optional parameters
|
|
211
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
204
212
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
205
213
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
206
214
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -224,6 +232,7 @@ module PulpcoreClient
|
|
|
224
232
|
header_params = opts[:header_params] || {}
|
|
225
233
|
# HTTP header 'Accept' (if needed)
|
|
226
234
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
235
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
227
236
|
|
|
228
237
|
# form parameters
|
|
229
238
|
form_params = opts[:form_params] || {}
|
|
@@ -257,6 +266,7 @@ module PulpcoreClient
|
|
|
257
266
|
# List permissions available to the current user on this object.
|
|
258
267
|
# @param task_schedule_href [String]
|
|
259
268
|
# @param [Hash] opts the optional parameters
|
|
269
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
260
270
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
261
271
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
262
272
|
# @return [MyPermissionsResponse]
|
|
@@ -269,6 +279,7 @@ module PulpcoreClient
|
|
|
269
279
|
# List permissions available to the current user on this object.
|
|
270
280
|
# @param task_schedule_href [String]
|
|
271
281
|
# @param [Hash] opts the optional parameters
|
|
282
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
272
283
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
273
284
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
274
285
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -292,6 +303,7 @@ module PulpcoreClient
|
|
|
292
303
|
header_params = opts[:header_params] || {}
|
|
293
304
|
# HTTP header 'Accept' (if needed)
|
|
294
305
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
306
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
295
307
|
|
|
296
308
|
# form parameters
|
|
297
309
|
form_params = opts[:form_params] || {}
|
|
@@ -325,6 +337,7 @@ module PulpcoreClient
|
|
|
325
337
|
# ViewSet to monitor task schedules.
|
|
326
338
|
# @param task_schedule_href [String]
|
|
327
339
|
# @param [Hash] opts the optional parameters
|
|
340
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
328
341
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
329
342
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
330
343
|
# @return [TaskScheduleResponse]
|
|
@@ -337,6 +350,7 @@ module PulpcoreClient
|
|
|
337
350
|
# ViewSet to monitor task schedules.
|
|
338
351
|
# @param task_schedule_href [String]
|
|
339
352
|
# @param [Hash] opts the optional parameters
|
|
353
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
340
354
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
341
355
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
342
356
|
# @return [Array<(TaskScheduleResponse, Integer, Hash)>] TaskScheduleResponse data, response status code and response headers
|
|
@@ -360,6 +374,7 @@ module PulpcoreClient
|
|
|
360
374
|
header_params = opts[:header_params] || {}
|
|
361
375
|
# HTTP header 'Accept' (if needed)
|
|
362
376
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
377
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
363
378
|
|
|
364
379
|
# form parameters
|
|
365
380
|
form_params = opts[:form_params] || {}
|
|
@@ -394,6 +409,7 @@ module PulpcoreClient
|
|
|
394
409
|
# @param task_schedule_href [String]
|
|
395
410
|
# @param nested_role [NestedRole]
|
|
396
411
|
# @param [Hash] opts the optional parameters
|
|
412
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
397
413
|
# @return [NestedRoleResponse]
|
|
398
414
|
def remove_role(task_schedule_href, nested_role, opts = {})
|
|
399
415
|
data, _status_code, _headers = remove_role_with_http_info(task_schedule_href, nested_role, opts)
|
|
@@ -405,6 +421,7 @@ module PulpcoreClient
|
|
|
405
421
|
# @param task_schedule_href [String]
|
|
406
422
|
# @param nested_role [NestedRole]
|
|
407
423
|
# @param [Hash] opts the optional parameters
|
|
424
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
408
425
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
409
426
|
def remove_role_with_http_info(task_schedule_href, nested_role, opts = {})
|
|
410
427
|
if @api_client.config.debugging
|
|
@@ -430,6 +447,7 @@ module PulpcoreClient
|
|
|
430
447
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
431
448
|
# HTTP header 'Content-Type'
|
|
432
449
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
450
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
433
451
|
|
|
434
452
|
# form parameters
|
|
435
453
|
form_params = opts[:form_params] || {}
|
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
|
24
24
|
# @param task_href [String]
|
|
25
25
|
# @param nested_role [NestedRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
28
|
# @return [NestedRoleResponse]
|
|
28
29
|
def add_role(task_href, nested_role, opts = {})
|
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(task_href, nested_role, opts)
|
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
|
35
36
|
# @param task_href [String]
|
|
36
37
|
# @param nested_role [NestedRole]
|
|
37
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
39
41
|
def add_role_with_http_info(task_href, nested_role, opts = {})
|
|
40
42
|
if @api_client.config.debugging
|
|
@@ -60,6 +62,7 @@ module PulpcoreClient
|
|
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
61
63
|
# HTTP header 'Content-Type'
|
|
62
64
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
65
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
63
66
|
|
|
64
67
|
# form parameters
|
|
65
68
|
form_params = opts[:form_params] || {}
|
|
@@ -93,6 +96,7 @@ module PulpcoreClient
|
|
|
93
96
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
94
97
|
# @param task_href [String]
|
|
95
98
|
# @param [Hash] opts the optional parameters
|
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
96
100
|
# @return [nil]
|
|
97
101
|
def delete(task_href, opts = {})
|
|
98
102
|
delete_with_http_info(task_href, opts)
|
|
@@ -103,6 +107,7 @@ module PulpcoreClient
|
|
|
103
107
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
104
108
|
# @param task_href [String]
|
|
105
109
|
# @param [Hash] opts the optional parameters
|
|
110
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
106
111
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
107
112
|
def delete_with_http_info(task_href, opts = {})
|
|
108
113
|
if @api_client.config.debugging
|
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
|
120
125
|
|
|
121
126
|
# header parameters
|
|
122
127
|
header_params = opts[:header_params] || {}
|
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
123
129
|
|
|
124
130
|
# form parameters
|
|
125
131
|
form_params = opts[:form_params] || {}
|
|
@@ -152,6 +158,7 @@ module PulpcoreClient
|
|
|
152
158
|
# List tasks
|
|
153
159
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
154
160
|
# @param [Hash] opts the optional parameters
|
|
161
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
155
162
|
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
|
156
163
|
# @option opts [String] :created_resources
|
|
157
164
|
# @option opts [String] :exclusive_resources
|
|
@@ -204,6 +211,7 @@ module PulpcoreClient
|
|
|
204
211
|
# List tasks
|
|
205
212
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
206
213
|
# @param [Hash] opts the optional parameters
|
|
214
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
207
215
|
# @option opts [String] :child_tasks Filter results where child_tasks matches value
|
|
208
216
|
# @option opts [String] :created_resources
|
|
209
217
|
# @option opts [String] :exclusive_resources
|
|
@@ -313,6 +321,7 @@ module PulpcoreClient
|
|
|
313
321
|
header_params = opts[:header_params] || {}
|
|
314
322
|
# HTTP header 'Accept' (if needed)
|
|
315
323
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
324
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
316
325
|
|
|
317
326
|
# form parameters
|
|
318
327
|
form_params = opts[:form_params] || {}
|
|
@@ -346,6 +355,7 @@ module PulpcoreClient
|
|
|
346
355
|
# List roles assigned to this object.
|
|
347
356
|
# @param task_href [String]
|
|
348
357
|
# @param [Hash] opts the optional parameters
|
|
358
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
349
359
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
350
360
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
351
361
|
# @return [ObjectRolesResponse]
|
|
@@ -358,6 +368,7 @@ module PulpcoreClient
|
|
|
358
368
|
# List roles assigned to this object.
|
|
359
369
|
# @param task_href [String]
|
|
360
370
|
# @param [Hash] opts the optional parameters
|
|
371
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
361
372
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
362
373
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
363
374
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -381,6 +392,7 @@ module PulpcoreClient
|
|
|
381
392
|
header_params = opts[:header_params] || {}
|
|
382
393
|
# HTTP header 'Accept' (if needed)
|
|
383
394
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
395
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
384
396
|
|
|
385
397
|
# form parameters
|
|
386
398
|
form_params = opts[:form_params] || {}
|
|
@@ -414,6 +426,7 @@ module PulpcoreClient
|
|
|
414
426
|
# List permissions available to the current user on this object.
|
|
415
427
|
# @param task_href [String]
|
|
416
428
|
# @param [Hash] opts the optional parameters
|
|
429
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
417
430
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
418
431
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
419
432
|
# @return [MyPermissionsResponse]
|
|
@@ -426,6 +439,7 @@ module PulpcoreClient
|
|
|
426
439
|
# List permissions available to the current user on this object.
|
|
427
440
|
# @param task_href [String]
|
|
428
441
|
# @param [Hash] opts the optional parameters
|
|
442
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
429
443
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
430
444
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
431
445
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -449,6 +463,7 @@ module PulpcoreClient
|
|
|
449
463
|
header_params = opts[:header_params] || {}
|
|
450
464
|
# HTTP header 'Accept' (if needed)
|
|
451
465
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
466
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
452
467
|
|
|
453
468
|
# form parameters
|
|
454
469
|
form_params = opts[:form_params] || {}
|
|
@@ -482,6 +497,7 @@ module PulpcoreClient
|
|
|
482
497
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
|
483
498
|
# @param purge [Purge]
|
|
484
499
|
# @param [Hash] opts the optional parameters
|
|
500
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
485
501
|
# @return [AsyncOperationResponse]
|
|
486
502
|
def purge(purge, opts = {})
|
|
487
503
|
data, _status_code, _headers = purge_with_http_info(purge, opts)
|
|
@@ -492,6 +508,7 @@ module PulpcoreClient
|
|
|
492
508
|
# Trigger an asynchronous task that deletes completed tasks that finished prior to a specified timestamp.
|
|
493
509
|
# @param purge [Purge]
|
|
494
510
|
# @param [Hash] opts the optional parameters
|
|
511
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
495
512
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
|
496
513
|
def purge_with_http_info(purge, opts = {})
|
|
497
514
|
if @api_client.config.debugging
|
|
@@ -513,6 +530,7 @@ module PulpcoreClient
|
|
|
513
530
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
514
531
|
# HTTP header 'Content-Type'
|
|
515
532
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
533
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
516
534
|
|
|
517
535
|
# form parameters
|
|
518
536
|
form_params = opts[:form_params] || {}
|
|
@@ -546,6 +564,7 @@ module PulpcoreClient
|
|
|
546
564
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
547
565
|
# @param task_href [String]
|
|
548
566
|
# @param [Hash] opts the optional parameters
|
|
567
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
549
568
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
550
569
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
551
570
|
# @return [TaskResponse]
|
|
@@ -558,6 +577,7 @@ module PulpcoreClient
|
|
|
558
577
|
# A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
559
578
|
# @param task_href [String]
|
|
560
579
|
# @param [Hash] opts the optional parameters
|
|
580
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
561
581
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
562
582
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
563
583
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
|
@@ -581,6 +601,7 @@ module PulpcoreClient
|
|
|
581
601
|
header_params = opts[:header_params] || {}
|
|
582
602
|
# HTTP header 'Accept' (if needed)
|
|
583
603
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
604
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
584
605
|
|
|
585
606
|
# form parameters
|
|
586
607
|
form_params = opts[:form_params] || {}
|
|
@@ -615,6 +636,7 @@ module PulpcoreClient
|
|
|
615
636
|
# @param task_href [String]
|
|
616
637
|
# @param nested_role [NestedRole]
|
|
617
638
|
# @param [Hash] opts the optional parameters
|
|
639
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
618
640
|
# @return [NestedRoleResponse]
|
|
619
641
|
def remove_role(task_href, nested_role, opts = {})
|
|
620
642
|
data, _status_code, _headers = remove_role_with_http_info(task_href, nested_role, opts)
|
|
@@ -626,6 +648,7 @@ module PulpcoreClient
|
|
|
626
648
|
# @param task_href [String]
|
|
627
649
|
# @param nested_role [NestedRole]
|
|
628
650
|
# @param [Hash] opts the optional parameters
|
|
651
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
629
652
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
630
653
|
def remove_role_with_http_info(task_href, nested_role, opts = {})
|
|
631
654
|
if @api_client.config.debugging
|
|
@@ -651,6 +674,7 @@ module PulpcoreClient
|
|
|
651
674
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
652
675
|
# HTTP header 'Content-Type'
|
|
653
676
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
677
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
654
678
|
|
|
655
679
|
# form parameters
|
|
656
680
|
form_params = opts[:form_params] || {}
|
|
@@ -685,6 +709,7 @@ module PulpcoreClient
|
|
|
685
709
|
# @param task_href [String]
|
|
686
710
|
# @param patched_task_cancel [PatchedTaskCancel]
|
|
687
711
|
# @param [Hash] opts the optional parameters
|
|
712
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
688
713
|
# @return [TaskResponse]
|
|
689
714
|
def tasks_cancel(task_href, patched_task_cancel, opts = {})
|
|
690
715
|
data, _status_code, _headers = tasks_cancel_with_http_info(task_href, patched_task_cancel, opts)
|
|
@@ -696,6 +721,7 @@ module PulpcoreClient
|
|
|
696
721
|
# @param task_href [String]
|
|
697
722
|
# @param patched_task_cancel [PatchedTaskCancel]
|
|
698
723
|
# @param [Hash] opts the optional parameters
|
|
724
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
699
725
|
# @return [Array<(TaskResponse, Integer, Hash)>] TaskResponse data, response status code and response headers
|
|
700
726
|
def tasks_cancel_with_http_info(task_href, patched_task_cancel, opts = {})
|
|
701
727
|
if @api_client.config.debugging
|
|
@@ -721,6 +747,7 @@ module PulpcoreClient
|
|
|
721
747
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
722
748
|
# HTTP header 'Content-Type'
|
|
723
749
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
750
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
724
751
|
|
|
725
752
|
# form parameters
|
|
726
753
|
form_params = opts[:form_params] || {}
|