pulpcore_client 3.49.57 → 3.50.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/docs/AccessPoliciesApi.md +7 -23
- data/docs/ArtifactDistributionResponse.md +8 -8
- data/docs/ArtifactsApi.md +3 -13
- data/docs/ContentApi.md +1 -3
- data/docs/ContentguardsApi.md +1 -3
- data/docs/ContentguardsCompositeApi.md +13 -45
- data/docs/ContentguardsContentRedirectApi.md +13 -45
- data/docs/ContentguardsHeaderApi.md +13 -45
- data/docs/ContentguardsRbacApi.md +13 -45
- data/docs/DistributionsApi.md +1 -3
- data/docs/DistributionsArtifactsApi.md +1 -5
- data/docs/Domain.md +1 -1
- data/docs/DomainResponse.md +1 -1
- data/docs/DomainsApi.md +9 -29
- data/docs/ExportersFilesystemApi.md +9 -29
- data/docs/ExportersFilesystemExportsApi.md +5 -17
- data/docs/ExportersPulpApi.md +9 -29
- data/docs/ExportersPulpExportsApi.md +5 -17
- data/docs/GroupsApi.md +13 -45
- data/docs/GroupsRolesApi.md +5 -17
- data/docs/GroupsUsersApi.md +5 -15
- data/docs/ImportersPulpApi.md +9 -29
- data/docs/ImportersPulpImportCheckApi.md +3 -7
- data/docs/ImportersPulpImportsApi.md +5 -17
- data/docs/OrphansApi.md +4 -10
- data/docs/OrphansCleanupApi.md +3 -7
- data/docs/PatchedDomain.md +1 -1
- data/docs/PublicationsApi.md +1 -3
- data/docs/RemotesApi.md +1 -3
- data/docs/RepairApi.md +3 -7
- data/docs/RepositoriesApi.md +1 -3
- data/docs/RepositoriesReclaimSpaceApi.md +3 -7
- data/docs/RepositoryVersionsApi.md +1 -3
- data/docs/RolesApi.md +9 -29
- data/docs/SigningServicesApi.md +1 -5
- data/docs/StatusApi.md +4 -14
- data/docs/TaskGroupsApi.md +1 -5
- data/docs/TaskSchedulesApi.md +5 -21
- data/docs/TasksApi.md +13 -41
- data/docs/UploadsApi.md +11 -41
- data/docs/UpstreamPulpsApi.md +15 -51
- data/docs/UsersApi.md +9 -29
- data/docs/UsersRolesApi.md +5 -17
- data/docs/WorkersApi.md +1 -5
- data/lib/pulpcore_client/api/access_policies_api.rb +0 -15
- data/lib/pulpcore_client/api/artifacts_api.rb +0 -12
- data/lib/pulpcore_client/api/content_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_api.rb +0 -3
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_header_api.rb +0 -30
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +0 -30
- data/lib/pulpcore_client/api/distributions_api.rb +0 -3
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +0 -6
- data/lib/pulpcore_client/api/domains_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_api.rb +0 -30
- data/lib/pulpcore_client/api/groups_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/groups_users_api.rb +0 -9
- data/lib/pulpcore_client/api/importers_pulp_api.rb +0 -18
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +0 -3
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +0 -12
- data/lib/pulpcore_client/api/orphans_api.rb +0 -3
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +0 -3
- data/lib/pulpcore_client/api/publications_api.rb +0 -3
- data/lib/pulpcore_client/api/remotes_api.rb +0 -3
- data/lib/pulpcore_client/api/repair_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_api.rb +0 -3
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +0 -3
- data/lib/pulpcore_client/api/repository_versions_api.rb +0 -3
- data/lib/pulpcore_client/api/roles_api.rb +0 -18
- data/lib/pulpcore_client/api/signing_services_api.rb +0 -6
- data/lib/pulpcore_client/api/status_api.rb +0 -9
- data/lib/pulpcore_client/api/task_groups_api.rb +0 -6
- data/lib/pulpcore_client/api/task_schedules_api.rb +0 -18
- data/lib/pulpcore_client/api/tasks_api.rb +2 -29
- data/lib/pulpcore_client/api/uploads_api.rb +0 -30
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +0 -33
- data/lib/pulpcore_client/api/users_api.rb +0 -18
- data/lib/pulpcore_client/api/users_roles_api.rb +0 -12
- data/lib/pulpcore_client/api/workers_api.rb +0 -6
- data/lib/pulpcore_client/configuration.rb +2 -2
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +37 -37
- data/lib/pulpcore_client/models/domain.rb +1 -1
- data/lib/pulpcore_client/models/domain_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_domain.rb +1 -1
- data/lib/pulpcore_client/models/storage_class_enum.rb +0 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +0 -5
- data/spec/api/artifacts_api_spec.rb +0 -4
- data/spec/api/content_api_spec.rb +0 -1
- data/spec/api/contentguards_api_spec.rb +0 -1
- data/spec/api/contentguards_composite_api_spec.rb +0 -10
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -10
- data/spec/api/contentguards_header_api_spec.rb +0 -10
- data/spec/api/contentguards_rbac_api_spec.rb +0 -10
- data/spec/api/distributions_api_spec.rb +0 -1
- data/spec/api/distributions_artifacts_api_spec.rb +0 -2
- data/spec/api/domains_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_api_spec.rb +0 -6
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -4
- data/spec/api/exporters_pulp_api_spec.rb +0 -6
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -4
- data/spec/api/groups_api_spec.rb +0 -10
- data/spec/api/groups_roles_api_spec.rb +0 -4
- data/spec/api/groups_users_api_spec.rb +0 -3
- data/spec/api/importers_pulp_api_spec.rb +0 -6
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -1
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -4
- data/spec/api/orphans_api_spec.rb +0 -1
- data/spec/api/orphans_cleanup_api_spec.rb +0 -1
- data/spec/api/publications_api_spec.rb +0 -1
- data/spec/api/remotes_api_spec.rb +0 -1
- data/spec/api/repair_api_spec.rb +0 -1
- data/spec/api/repositories_api_spec.rb +0 -1
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -1
- data/spec/api/repository_versions_api_spec.rb +0 -1
- data/spec/api/roles_api_spec.rb +0 -6
- data/spec/api/signing_services_api_spec.rb +0 -2
- data/spec/api/status_api_spec.rb +0 -3
- data/spec/api/task_groups_api_spec.rb +0 -2
- data/spec/api/task_schedules_api_spec.rb +0 -6
- data/spec/api/tasks_api_spec.rb +1 -10
- data/spec/api/uploads_api_spec.rb +0 -10
- data/spec/api/upstream_pulps_api_spec.rb +0 -11
- data/spec/api/users_api_spec.rb +0 -6
- data/spec/api/users_roles_api_spec.rb +0 -4
- data/spec/api/workers_api_spec.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +7 -7
- metadata +169 -169
|
@@ -24,7 +24,6 @@ module PulpcoreClient
|
|
|
24
24
|
# @param upstream_pulp_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.
|
|
28
27
|
# @return [NestedRoleResponse]
|
|
29
28
|
def add_role(upstream_pulp_href, nested_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = add_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpcoreClient
|
|
|
36
35
|
# @param upstream_pulp_href [String]
|
|
37
36
|
# @param nested_role [NestedRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
41
39
|
def add_role_with_http_info(upstream_pulp_href, nested_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpcoreClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
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?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpcoreClient
|
|
|
96
93
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
97
94
|
# @param upstream_pulp [UpstreamPulp]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [UpstreamPulpResponse]
|
|
101
97
|
def create(upstream_pulp, opts = {})
|
|
102
98
|
data, _status_code, _headers = create_with_http_info(upstream_pulp, opts)
|
|
@@ -107,7 +103,6 @@ module PulpcoreClient
|
|
|
107
103
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
108
104
|
# @param upstream_pulp [UpstreamPulp]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
|
112
107
|
def create_with_http_info(upstream_pulp, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -129,7 +124,6 @@ module PulpcoreClient
|
|
|
129
124
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
125
|
# HTTP header 'Content-Type'
|
|
131
126
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
132
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
133
127
|
|
|
134
128
|
# form parameters
|
|
135
129
|
form_params = opts[:form_params] || {}
|
|
@@ -163,7 +157,6 @@ module PulpcoreClient
|
|
|
163
157
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
164
158
|
# @param upstream_pulp_href [String]
|
|
165
159
|
# @param [Hash] opts the optional parameters
|
|
166
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
167
160
|
# @return [nil]
|
|
168
161
|
def delete(upstream_pulp_href, opts = {})
|
|
169
162
|
delete_with_http_info(upstream_pulp_href, opts)
|
|
@@ -174,7 +167,6 @@ module PulpcoreClient
|
|
|
174
167
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
175
168
|
# @param upstream_pulp_href [String]
|
|
176
169
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
170
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
179
171
|
def delete_with_http_info(upstream_pulp_href, opts = {})
|
|
180
172
|
if @api_client.config.debugging
|
|
@@ -192,7 +184,6 @@ module PulpcoreClient
|
|
|
192
184
|
|
|
193
185
|
# header parameters
|
|
194
186
|
header_params = opts[:header_params] || {}
|
|
195
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
196
187
|
|
|
197
188
|
# form parameters
|
|
198
189
|
form_params = opts[:form_params] || {}
|
|
@@ -225,7 +216,6 @@ module PulpcoreClient
|
|
|
225
216
|
# List upstream pulps
|
|
226
217
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
227
218
|
# @param [Hash] opts the optional parameters
|
|
228
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
229
219
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
230
220
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
231
221
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -239,7 +229,6 @@ module PulpcoreClient
|
|
|
239
229
|
# List upstream pulps
|
|
240
230
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
241
231
|
# @param [Hash] opts the optional parameters
|
|
242
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
243
232
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
244
233
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
|
245
234
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
@@ -263,7 +252,6 @@ module PulpcoreClient
|
|
|
263
252
|
header_params = opts[:header_params] || {}
|
|
264
253
|
# HTTP header 'Accept' (if needed)
|
|
265
254
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
266
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
267
255
|
|
|
268
256
|
# form parameters
|
|
269
257
|
form_params = opts[:form_params] || {}
|
|
@@ -297,7 +285,6 @@ module PulpcoreClient
|
|
|
297
285
|
# List roles assigned to this object.
|
|
298
286
|
# @param upstream_pulp_href [String]
|
|
299
287
|
# @param [Hash] opts the optional parameters
|
|
300
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
301
288
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
302
289
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
303
290
|
# @return [ObjectRolesResponse]
|
|
@@ -310,7 +297,6 @@ module PulpcoreClient
|
|
|
310
297
|
# List roles assigned to this object.
|
|
311
298
|
# @param upstream_pulp_href [String]
|
|
312
299
|
# @param [Hash] opts the optional parameters
|
|
313
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
314
300
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
315
301
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
316
302
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
|
@@ -334,7 +320,6 @@ module PulpcoreClient
|
|
|
334
320
|
header_params = opts[:header_params] || {}
|
|
335
321
|
# HTTP header 'Accept' (if needed)
|
|
336
322
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
337
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
338
323
|
|
|
339
324
|
# form parameters
|
|
340
325
|
form_params = opts[:form_params] || {}
|
|
@@ -368,7 +353,6 @@ module PulpcoreClient
|
|
|
368
353
|
# List permissions available to the current user on this object.
|
|
369
354
|
# @param upstream_pulp_href [String]
|
|
370
355
|
# @param [Hash] opts the optional parameters
|
|
371
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
372
356
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
373
357
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
374
358
|
# @return [MyPermissionsResponse]
|
|
@@ -381,7 +365,6 @@ module PulpcoreClient
|
|
|
381
365
|
# List permissions available to the current user on this object.
|
|
382
366
|
# @param upstream_pulp_href [String]
|
|
383
367
|
# @param [Hash] opts the optional parameters
|
|
384
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
385
368
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
386
369
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
387
370
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
|
@@ -405,7 +388,6 @@ module PulpcoreClient
|
|
|
405
388
|
header_params = opts[:header_params] || {}
|
|
406
389
|
# HTTP header 'Accept' (if needed)
|
|
407
390
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
408
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
409
391
|
|
|
410
392
|
# form parameters
|
|
411
393
|
form_params = opts[:form_params] || {}
|
|
@@ -440,7 +422,6 @@ module PulpcoreClient
|
|
|
440
422
|
# @param upstream_pulp_href [String]
|
|
441
423
|
# @param patched_upstream_pulp [PatchedUpstreamPulp]
|
|
442
424
|
# @param [Hash] opts the optional parameters
|
|
443
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
444
425
|
# @return [UpstreamPulpResponse]
|
|
445
426
|
def partial_update(upstream_pulp_href, patched_upstream_pulp, opts = {})
|
|
446
427
|
data, _status_code, _headers = partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
|
|
@@ -452,7 +433,6 @@ module PulpcoreClient
|
|
|
452
433
|
# @param upstream_pulp_href [String]
|
|
453
434
|
# @param patched_upstream_pulp [PatchedUpstreamPulp]
|
|
454
435
|
# @param [Hash] opts the optional parameters
|
|
455
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
456
436
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
|
457
437
|
def partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts = {})
|
|
458
438
|
if @api_client.config.debugging
|
|
@@ -478,7 +458,6 @@ module PulpcoreClient
|
|
|
478
458
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
479
459
|
# HTTP header 'Content-Type'
|
|
480
460
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
481
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
482
461
|
|
|
483
462
|
# form parameters
|
|
484
463
|
form_params = opts[:form_params] || {}
|
|
@@ -512,7 +491,6 @@ module PulpcoreClient
|
|
|
512
491
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
513
492
|
# @param upstream_pulp_href [String]
|
|
514
493
|
# @param [Hash] opts the optional parameters
|
|
515
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
516
494
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
517
495
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
518
496
|
# @return [UpstreamPulpResponse]
|
|
@@ -525,7 +503,6 @@ module PulpcoreClient
|
|
|
525
503
|
# API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
|
|
526
504
|
# @param upstream_pulp_href [String]
|
|
527
505
|
# @param [Hash] opts the optional parameters
|
|
528
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
529
506
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
530
507
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
531
508
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
|
@@ -549,7 +526,6 @@ module PulpcoreClient
|
|
|
549
526
|
header_params = opts[:header_params] || {}
|
|
550
527
|
# HTTP header 'Accept' (if needed)
|
|
551
528
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
552
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
553
529
|
|
|
554
530
|
# form parameters
|
|
555
531
|
form_params = opts[:form_params] || {}
|
|
@@ -584,7 +560,6 @@ module PulpcoreClient
|
|
|
584
560
|
# @param upstream_pulp_href [String]
|
|
585
561
|
# @param nested_role [NestedRole]
|
|
586
562
|
# @param [Hash] opts the optional parameters
|
|
587
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
588
563
|
# @return [NestedRoleResponse]
|
|
589
564
|
def remove_role(upstream_pulp_href, nested_role, opts = {})
|
|
590
565
|
data, _status_code, _headers = remove_role_with_http_info(upstream_pulp_href, nested_role, opts)
|
|
@@ -596,7 +571,6 @@ module PulpcoreClient
|
|
|
596
571
|
# @param upstream_pulp_href [String]
|
|
597
572
|
# @param nested_role [NestedRole]
|
|
598
573
|
# @param [Hash] opts the optional parameters
|
|
599
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
600
574
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
|
601
575
|
def remove_role_with_http_info(upstream_pulp_href, nested_role, opts = {})
|
|
602
576
|
if @api_client.config.debugging
|
|
@@ -622,7 +596,6 @@ module PulpcoreClient
|
|
|
622
596
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
623
597
|
# HTTP header 'Content-Type'
|
|
624
598
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
625
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
626
599
|
|
|
627
600
|
# form parameters
|
|
628
601
|
form_params = opts[:form_params] || {}
|
|
@@ -656,7 +629,6 @@ module PulpcoreClient
|
|
|
656
629
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
657
630
|
# @param upstream_pulp_href [String]
|
|
658
631
|
# @param [Hash] opts the optional parameters
|
|
659
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
660
632
|
# @return [TaskGroupOperationResponse]
|
|
661
633
|
def replicate(upstream_pulp_href, opts = {})
|
|
662
634
|
data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
|
|
@@ -667,7 +639,6 @@ module PulpcoreClient
|
|
|
667
639
|
# Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
|
|
668
640
|
# @param upstream_pulp_href [String]
|
|
669
641
|
# @param [Hash] opts the optional parameters
|
|
670
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
671
642
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
|
672
643
|
def replicate_with_http_info(upstream_pulp_href, opts = {})
|
|
673
644
|
if @api_client.config.debugging
|
|
@@ -687,7 +658,6 @@ module PulpcoreClient
|
|
|
687
658
|
header_params = opts[:header_params] || {}
|
|
688
659
|
# HTTP header 'Accept' (if needed)
|
|
689
660
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
690
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
691
661
|
|
|
692
662
|
# form parameters
|
|
693
663
|
form_params = opts[:form_params] || {}
|
|
@@ -722,7 +692,6 @@ module PulpcoreClient
|
|
|
722
692
|
# @param upstream_pulp_href [String]
|
|
723
693
|
# @param upstream_pulp [UpstreamPulp]
|
|
724
694
|
# @param [Hash] opts the optional parameters
|
|
725
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
726
695
|
# @return [UpstreamPulpResponse]
|
|
727
696
|
def update(upstream_pulp_href, upstream_pulp, opts = {})
|
|
728
697
|
data, _status_code, _headers = update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
|
|
@@ -734,7 +703,6 @@ module PulpcoreClient
|
|
|
734
703
|
# @param upstream_pulp_href [String]
|
|
735
704
|
# @param upstream_pulp [UpstreamPulp]
|
|
736
705
|
# @param [Hash] opts the optional parameters
|
|
737
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
738
706
|
# @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
|
|
739
707
|
def update_with_http_info(upstream_pulp_href, upstream_pulp, opts = {})
|
|
740
708
|
if @api_client.config.debugging
|
|
@@ -760,7 +728,6 @@ module PulpcoreClient
|
|
|
760
728
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
761
729
|
# HTTP header 'Content-Type'
|
|
762
730
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
763
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
764
731
|
|
|
765
732
|
# form parameters
|
|
766
733
|
form_params = opts[:form_params] || {}
|
|
@@ -23,7 +23,6 @@ module PulpcoreClient
|
|
|
23
23
|
# ViewSet for User.
|
|
24
24
|
# @param user [User]
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
27
26
|
# @return [UserResponse]
|
|
28
27
|
def create(user, opts = {})
|
|
29
28
|
data, _status_code, _headers = create_with_http_info(user, opts)
|
|
@@ -34,7 +33,6 @@ module PulpcoreClient
|
|
|
34
33
|
# ViewSet for User.
|
|
35
34
|
# @param user [User]
|
|
36
35
|
# @param [Hash] opts the optional parameters
|
|
37
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
38
36
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
|
39
37
|
def create_with_http_info(user, opts = {})
|
|
40
38
|
if @api_client.config.debugging
|
|
@@ -56,7 +54,6 @@ module PulpcoreClient
|
|
|
56
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
57
55
|
# HTTP header 'Content-Type'
|
|
58
56
|
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?
|
|
60
57
|
|
|
61
58
|
# form parameters
|
|
62
59
|
form_params = opts[:form_params] || {}
|
|
@@ -90,7 +87,6 @@ module PulpcoreClient
|
|
|
90
87
|
# ViewSet for User.
|
|
91
88
|
# @param auth_user_href [String]
|
|
92
89
|
# @param [Hash] opts the optional parameters
|
|
93
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
94
90
|
# @return [nil]
|
|
95
91
|
def delete(auth_user_href, opts = {})
|
|
96
92
|
delete_with_http_info(auth_user_href, opts)
|
|
@@ -101,7 +97,6 @@ module PulpcoreClient
|
|
|
101
97
|
# ViewSet for User.
|
|
102
98
|
# @param auth_user_href [String]
|
|
103
99
|
# @param [Hash] opts the optional parameters
|
|
104
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
105
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
106
101
|
def delete_with_http_info(auth_user_href, opts = {})
|
|
107
102
|
if @api_client.config.debugging
|
|
@@ -119,7 +114,6 @@ module PulpcoreClient
|
|
|
119
114
|
|
|
120
115
|
# header parameters
|
|
121
116
|
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?
|
|
123
117
|
|
|
124
118
|
# form parameters
|
|
125
119
|
form_params = opts[:form_params] || {}
|
|
@@ -152,7 +146,6 @@ module PulpcoreClient
|
|
|
152
146
|
# List users
|
|
153
147
|
# ViewSet for User.
|
|
154
148
|
# @param [Hash] opts the optional parameters
|
|
155
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
156
149
|
# @option opts [String] :email Filter results where email matches value
|
|
157
150
|
# @option opts [String] :email__contains Filter results where email contains value
|
|
158
151
|
# @option opts [String] :email__icontains Filter results where email contains value
|
|
@@ -192,7 +185,6 @@ module PulpcoreClient
|
|
|
192
185
|
# List users
|
|
193
186
|
# ViewSet for User.
|
|
194
187
|
# @param [Hash] opts the optional parameters
|
|
195
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
196
188
|
# @option opts [String] :email Filter results where email matches value
|
|
197
189
|
# @option opts [String] :email__contains Filter results where email contains value
|
|
198
190
|
# @option opts [String] :email__icontains Filter results where email contains value
|
|
@@ -272,7 +264,6 @@ module PulpcoreClient
|
|
|
272
264
|
header_params = opts[:header_params] || {}
|
|
273
265
|
# HTTP header 'Accept' (if needed)
|
|
274
266
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
275
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
276
267
|
|
|
277
268
|
# form parameters
|
|
278
269
|
form_params = opts[:form_params] || {}
|
|
@@ -307,7 +298,6 @@ module PulpcoreClient
|
|
|
307
298
|
# @param auth_user_href [String]
|
|
308
299
|
# @param patched_user [PatchedUser]
|
|
309
300
|
# @param [Hash] opts the optional parameters
|
|
310
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
311
301
|
# @return [UserResponse]
|
|
312
302
|
def partial_update(auth_user_href, patched_user, opts = {})
|
|
313
303
|
data, _status_code, _headers = partial_update_with_http_info(auth_user_href, patched_user, opts)
|
|
@@ -319,7 +309,6 @@ module PulpcoreClient
|
|
|
319
309
|
# @param auth_user_href [String]
|
|
320
310
|
# @param patched_user [PatchedUser]
|
|
321
311
|
# @param [Hash] opts the optional parameters
|
|
322
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
323
312
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
|
324
313
|
def partial_update_with_http_info(auth_user_href, patched_user, opts = {})
|
|
325
314
|
if @api_client.config.debugging
|
|
@@ -345,7 +334,6 @@ module PulpcoreClient
|
|
|
345
334
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
346
335
|
# HTTP header 'Content-Type'
|
|
347
336
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
348
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
349
337
|
|
|
350
338
|
# form parameters
|
|
351
339
|
form_params = opts[:form_params] || {}
|
|
@@ -379,7 +367,6 @@ module PulpcoreClient
|
|
|
379
367
|
# ViewSet for User.
|
|
380
368
|
# @param auth_user_href [String]
|
|
381
369
|
# @param [Hash] opts the optional parameters
|
|
382
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
383
370
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
384
371
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
385
372
|
# @return [UserResponse]
|
|
@@ -392,7 +379,6 @@ module PulpcoreClient
|
|
|
392
379
|
# ViewSet for User.
|
|
393
380
|
# @param auth_user_href [String]
|
|
394
381
|
# @param [Hash] opts the optional parameters
|
|
395
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
396
382
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
397
383
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
398
384
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
|
@@ -416,7 +402,6 @@ module PulpcoreClient
|
|
|
416
402
|
header_params = opts[:header_params] || {}
|
|
417
403
|
# HTTP header 'Accept' (if needed)
|
|
418
404
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
419
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
420
405
|
|
|
421
406
|
# form parameters
|
|
422
407
|
form_params = opts[:form_params] || {}
|
|
@@ -451,7 +436,6 @@ module PulpcoreClient
|
|
|
451
436
|
# @param auth_user_href [String]
|
|
452
437
|
# @param user [User]
|
|
453
438
|
# @param [Hash] opts the optional parameters
|
|
454
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
455
439
|
# @return [UserResponse]
|
|
456
440
|
def update(auth_user_href, user, opts = {})
|
|
457
441
|
data, _status_code, _headers = update_with_http_info(auth_user_href, user, opts)
|
|
@@ -463,7 +447,6 @@ module PulpcoreClient
|
|
|
463
447
|
# @param auth_user_href [String]
|
|
464
448
|
# @param user [User]
|
|
465
449
|
# @param [Hash] opts the optional parameters
|
|
466
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
467
450
|
# @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
|
|
468
451
|
def update_with_http_info(auth_user_href, user, opts = {})
|
|
469
452
|
if @api_client.config.debugging
|
|
@@ -489,7 +472,6 @@ module PulpcoreClient
|
|
|
489
472
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
490
473
|
# HTTP header 'Content-Type'
|
|
491
474
|
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
|
492
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
493
475
|
|
|
494
476
|
# form parameters
|
|
495
477
|
form_params = opts[:form_params] || {}
|
|
@@ -24,7 +24,6 @@ module PulpcoreClient
|
|
|
24
24
|
# @param auth_user_href [String]
|
|
25
25
|
# @param user_role [UserRole]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
27
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
28
27
|
# @return [UserRoleResponse]
|
|
29
28
|
def create(auth_user_href, user_role, opts = {})
|
|
30
29
|
data, _status_code, _headers = create_with_http_info(auth_user_href, user_role, opts)
|
|
@@ -36,7 +35,6 @@ module PulpcoreClient
|
|
|
36
35
|
# @param auth_user_href [String]
|
|
37
36
|
# @param user_role [UserRole]
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
40
38
|
# @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
|
|
41
39
|
def create_with_http_info(auth_user_href, user_role, opts = {})
|
|
42
40
|
if @api_client.config.debugging
|
|
@@ -62,7 +60,6 @@ module PulpcoreClient
|
|
|
62
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
63
61
|
# HTTP header 'Content-Type'
|
|
64
62
|
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?
|
|
66
63
|
|
|
67
64
|
# form parameters
|
|
68
65
|
form_params = opts[:form_params] || {}
|
|
@@ -96,7 +93,6 @@ module PulpcoreClient
|
|
|
96
93
|
# ViewSet for UserRole.
|
|
97
94
|
# @param auth_users_user_role_href [String]
|
|
98
95
|
# @param [Hash] opts the optional parameters
|
|
99
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
100
96
|
# @return [nil]
|
|
101
97
|
def delete(auth_users_user_role_href, opts = {})
|
|
102
98
|
delete_with_http_info(auth_users_user_role_href, opts)
|
|
@@ -107,7 +103,6 @@ module PulpcoreClient
|
|
|
107
103
|
# ViewSet for UserRole.
|
|
108
104
|
# @param auth_users_user_role_href [String]
|
|
109
105
|
# @param [Hash] opts the optional parameters
|
|
110
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
111
106
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
112
107
|
def delete_with_http_info(auth_users_user_role_href, opts = {})
|
|
113
108
|
if @api_client.config.debugging
|
|
@@ -125,7 +120,6 @@ module PulpcoreClient
|
|
|
125
120
|
|
|
126
121
|
# header parameters
|
|
127
122
|
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?
|
|
129
123
|
|
|
130
124
|
# form parameters
|
|
131
125
|
form_params = opts[:form_params] || {}
|
|
@@ -159,7 +153,6 @@ module PulpcoreClient
|
|
|
159
153
|
# ViewSet for UserRole.
|
|
160
154
|
# @param auth_user_href [String]
|
|
161
155
|
# @param [Hash] opts the optional parameters
|
|
162
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
163
156
|
# @option opts [String] :content_object content_object
|
|
164
157
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
|
165
158
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -185,7 +178,6 @@ module PulpcoreClient
|
|
|
185
178
|
# ViewSet for UserRole.
|
|
186
179
|
# @param auth_user_href [String]
|
|
187
180
|
# @param [Hash] opts the optional parameters
|
|
188
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
189
181
|
# @option opts [String] :content_object content_object
|
|
190
182
|
# @option opts [String] :domain Foreign Key referenced by HREF
|
|
191
183
|
# @option opts [Integer] :limit Number of results to return per page.
|
|
@@ -239,7 +231,6 @@ module PulpcoreClient
|
|
|
239
231
|
header_params = opts[:header_params] || {}
|
|
240
232
|
# HTTP header 'Accept' (if needed)
|
|
241
233
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
242
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
243
234
|
|
|
244
235
|
# form parameters
|
|
245
236
|
form_params = opts[:form_params] || {}
|
|
@@ -273,7 +264,6 @@ module PulpcoreClient
|
|
|
273
264
|
# ViewSet for UserRole.
|
|
274
265
|
# @param auth_users_user_role_href [String]
|
|
275
266
|
# @param [Hash] opts the optional parameters
|
|
276
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
277
267
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
278
268
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
279
269
|
# @return [UserRoleResponse]
|
|
@@ -286,7 +276,6 @@ module PulpcoreClient
|
|
|
286
276
|
# ViewSet for UserRole.
|
|
287
277
|
# @param auth_users_user_role_href [String]
|
|
288
278
|
# @param [Hash] opts the optional parameters
|
|
289
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
290
279
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
291
280
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
292
281
|
# @return [Array<(UserRoleResponse, Integer, Hash)>] UserRoleResponse data, response status code and response headers
|
|
@@ -310,7 +299,6 @@ module PulpcoreClient
|
|
|
310
299
|
header_params = opts[:header_params] || {}
|
|
311
300
|
# HTTP header 'Accept' (if needed)
|
|
312
301
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
313
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
314
302
|
|
|
315
303
|
# form parameters
|
|
316
304
|
form_params = opts[:form_params] || {}
|
|
@@ -22,7 +22,6 @@ module PulpcoreClient
|
|
|
22
22
|
# List workers
|
|
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.
|
|
26
25
|
# @option opts [DateTime] :last_heartbeat Filter results where last_heartbeat matches value
|
|
27
26
|
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
|
28
27
|
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
|
@@ -57,7 +56,6 @@ module PulpcoreClient
|
|
|
57
56
|
# List workers
|
|
58
57
|
# 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.
|
|
59
58
|
# @param [Hash] opts the optional parameters
|
|
60
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
61
59
|
# @option opts [DateTime] :last_heartbeat Filter results where last_heartbeat matches value
|
|
62
60
|
# @option opts [DateTime] :last_heartbeat__gt Filter results where last_heartbeat is greater than value
|
|
63
61
|
# @option opts [DateTime] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value
|
|
@@ -127,7 +125,6 @@ module PulpcoreClient
|
|
|
127
125
|
header_params = opts[:header_params] || {}
|
|
128
126
|
# HTTP header 'Accept' (if needed)
|
|
129
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
130
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
131
128
|
|
|
132
129
|
# form parameters
|
|
133
130
|
form_params = opts[:form_params] || {}
|
|
@@ -161,7 +158,6 @@ module PulpcoreClient
|
|
|
161
158
|
# 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.
|
|
162
159
|
# @param worker_href [String]
|
|
163
160
|
# @param [Hash] opts the optional parameters
|
|
164
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
165
161
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
166
162
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
167
163
|
# @return [WorkerResponse]
|
|
@@ -174,7 +170,6 @@ module PulpcoreClient
|
|
|
174
170
|
# 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.
|
|
175
171
|
# @param worker_href [String]
|
|
176
172
|
# @param [Hash] opts the optional parameters
|
|
177
|
-
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
178
173
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
179
174
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
180
175
|
# @return [Array<(WorkerResponse, Integer, Hash)>] WorkerResponse data, response status code and response headers
|
|
@@ -198,7 +193,6 @@ module PulpcoreClient
|
|
|
198
193
|
header_params = opts[:header_params] || {}
|
|
199
194
|
# HTTP header 'Accept' (if needed)
|
|
200
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
201
|
-
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
202
196
|
|
|
203
197
|
# form parameters
|
|
204
198
|
form_params = opts[:form_params] || {}
|
|
@@ -128,7 +128,7 @@ module PulpcoreClient
|
|
|
128
128
|
|
|
129
129
|
def initialize
|
|
130
130
|
@scheme = 'http'
|
|
131
|
-
@host = '
|
|
131
|
+
@host = 'pulp'
|
|
132
132
|
@base_path = ''
|
|
133
133
|
@api_key = {}
|
|
134
134
|
@api_key_prefix = {}
|
|
@@ -210,7 +210,7 @@ module PulpcoreClient
|
|
|
210
210
|
def server_settings
|
|
211
211
|
[
|
|
212
212
|
{
|
|
213
|
-
url: "http://
|
|
213
|
+
url: "http://pulp/",
|
|
214
214
|
description: "No description provided",
|
|
215
215
|
}
|
|
216
216
|
]
|