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.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccessPoliciesApi.md +22 -6
  4. data/docs/ArtifactDistributionResponse.md +5 -5
  5. data/docs/ArtifactsApi.md +12 -2
  6. data/docs/ContentApi.md +2 -0
  7. data/docs/ContentguardsApi.md +2 -0
  8. data/docs/ContentguardsCompositeApi.md +44 -12
  9. data/docs/ContentguardsContentRedirectApi.md +44 -12
  10. data/docs/ContentguardsHeaderApi.md +44 -12
  11. data/docs/ContentguardsRbacApi.md +44 -12
  12. data/docs/DistributionsApi.md +2 -0
  13. data/docs/DistributionsArtifactsApi.md +4 -0
  14. data/docs/DomainsApi.md +28 -8
  15. data/docs/ExportersFilesystemApi.md +28 -8
  16. data/docs/ExportersFilesystemExportsApi.md +16 -4
  17. data/docs/ExportersPulpApi.md +28 -8
  18. data/docs/ExportersPulpExportsApi.md +16 -4
  19. data/docs/GroupsApi.md +44 -12
  20. data/docs/GroupsRolesApi.md +16 -4
  21. data/docs/GroupsUsersApi.md +14 -4
  22. data/docs/ImportersPulpApi.md +28 -8
  23. data/docs/ImportersPulpImportCheckApi.md +6 -2
  24. data/docs/ImportersPulpImportsApi.md +16 -4
  25. data/docs/OrphansApi.md +9 -3
  26. data/docs/OrphansCleanupApi.md +6 -2
  27. data/docs/PublicationsApi.md +2 -0
  28. data/docs/RemotesApi.md +2 -0
  29. data/docs/RepairApi.md +6 -2
  30. data/docs/RepositoriesApi.md +2 -0
  31. data/docs/RepositoriesReclaimSpaceApi.md +6 -2
  32. data/docs/RepositoryVersionsApi.md +2 -0
  33. data/docs/RolesApi.md +28 -8
  34. data/docs/SigningServicesApi.md +4 -0
  35. data/docs/StatusApi.md +13 -3
  36. data/docs/TaskGroupsApi.md +4 -0
  37. data/docs/TaskSchedulesApi.md +20 -4
  38. data/docs/TasksApi.md +38 -10
  39. data/docs/UploadsApi.md +40 -10
  40. data/docs/UpstreamPulpsApi.md +50 -14
  41. data/docs/UsersApi.md +28 -8
  42. data/docs/UsersRolesApi.md +16 -4
  43. data/docs/WorkersApi.md +4 -0
  44. data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
  45. data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
  46. data/lib/pulpcore_client/api/content_api.rb +3 -0
  47. data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
  48. data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
  49. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
  50. data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
  51. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
  52. data/lib/pulpcore_client/api/distributions_api.rb +3 -0
  53. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  54. data/lib/pulpcore_client/api/domains_api.rb +18 -0
  55. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
  56. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
  57. data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
  58. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
  59. data/lib/pulpcore_client/api/groups_api.rb +30 -0
  60. data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
  61. data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
  62. data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
  63. data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
  64. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
  65. data/lib/pulpcore_client/api/orphans_api.rb +3 -0
  66. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
  67. data/lib/pulpcore_client/api/publications_api.rb +3 -0
  68. data/lib/pulpcore_client/api/remotes_api.rb +3 -0
  69. data/lib/pulpcore_client/api/repair_api.rb +3 -0
  70. data/lib/pulpcore_client/api/repositories_api.rb +3 -0
  71. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
  72. data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
  73. data/lib/pulpcore_client/api/roles_api.rb +18 -0
  74. data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
  75. data/lib/pulpcore_client/api/status_api.rb +9 -0
  76. data/lib/pulpcore_client/api/task_groups_api.rb +6 -0
  77. data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
  78. data/lib/pulpcore_client/api/tasks_api.rb +27 -0
  79. data/lib/pulpcore_client/api/uploads_api.rb +30 -0
  80. data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
  81. data/lib/pulpcore_client/api/users_api.rb +18 -0
  82. data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
  83. data/lib/pulpcore_client/api/workers_api.rb +6 -0
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +21 -21
  85. data/lib/pulpcore_client/version.rb +1 -1
  86. data/spec/api/access_policies_api_spec.rb +5 -0
  87. data/spec/api/artifacts_api_spec.rb +4 -0
  88. data/spec/api/content_api_spec.rb +1 -0
  89. data/spec/api/contentguards_api_spec.rb +1 -0
  90. data/spec/api/contentguards_composite_api_spec.rb +10 -0
  91. data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
  92. data/spec/api/contentguards_header_api_spec.rb +10 -0
  93. data/spec/api/contentguards_rbac_api_spec.rb +10 -0
  94. data/spec/api/distributions_api_spec.rb +1 -0
  95. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  96. data/spec/api/domains_api_spec.rb +6 -0
  97. data/spec/api/exporters_filesystem_api_spec.rb +6 -0
  98. data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
  99. data/spec/api/exporters_pulp_api_spec.rb +6 -0
  100. data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
  101. data/spec/api/groups_api_spec.rb +10 -0
  102. data/spec/api/groups_roles_api_spec.rb +4 -0
  103. data/spec/api/groups_users_api_spec.rb +3 -0
  104. data/spec/api/importers_pulp_api_spec.rb +6 -0
  105. data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
  106. data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
  107. data/spec/api/orphans_api_spec.rb +1 -0
  108. data/spec/api/orphans_cleanup_api_spec.rb +1 -0
  109. data/spec/api/publications_api_spec.rb +1 -0
  110. data/spec/api/remotes_api_spec.rb +1 -0
  111. data/spec/api/repair_api_spec.rb +1 -0
  112. data/spec/api/repositories_api_spec.rb +1 -0
  113. data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
  114. data/spec/api/repository_versions_api_spec.rb +1 -0
  115. data/spec/api/roles_api_spec.rb +6 -0
  116. data/spec/api/signing_services_api_spec.rb +2 -0
  117. data/spec/api/status_api_spec.rb +3 -0
  118. data/spec/api/task_groups_api_spec.rb +2 -0
  119. data/spec/api/task_schedules_api_spec.rb +6 -0
  120. data/spec/api/tasks_api_spec.rb +9 -0
  121. data/spec/api/uploads_api_spec.rb +10 -0
  122. data/spec/api/upstream_pulps_api_spec.rb +11 -0
  123. data/spec/api/users_api_spec.rb +6 -0
  124. data/spec/api/users_roles_api_spec.rb +4 -0
  125. data/spec/api/workers_api_spec.rb +2 -0
  126. data/spec/models/artifact_distribution_response_spec.rb +3 -3
  127. metadata +2 -2
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param upload_href [String]
25
25
  # @param upload [Upload]
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(upload_href, upload, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(upload_href, upload, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param upload_href [String]
36
37
  # @param upload [Upload]
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(upload_href, upload, 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] || {}
@@ -94,6 +97,7 @@ module PulpcoreClient
94
97
  # @param upload_href [String]
95
98
  # @param upload_commit [UploadCommit]
96
99
  # @param [Hash] opts the optional parameters
100
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
97
101
  # @return [AsyncOperationResponse]
98
102
  def commit(upload_href, upload_commit, opts = {})
99
103
  data, _status_code, _headers = commit_with_http_info(upload_href, upload_commit, opts)
@@ -105,6 +109,7 @@ module PulpcoreClient
105
109
  # @param upload_href [String]
106
110
  # @param upload_commit [UploadCommit]
107
111
  # @param [Hash] opts the optional parameters
112
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
108
113
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
109
114
  def commit_with_http_info(upload_href, upload_commit, opts = {})
110
115
  if @api_client.config.debugging
@@ -130,6 +135,7 @@ module PulpcoreClient
130
135
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
131
136
  # HTTP header 'Content-Type'
132
137
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
138
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
133
139
 
134
140
  # form parameters
135
141
  form_params = opts[:form_params] || {}
@@ -163,6 +169,7 @@ module PulpcoreClient
163
169
  # View for chunked uploads.
164
170
  # @param upload [Upload]
165
171
  # @param [Hash] opts the optional parameters
172
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
166
173
  # @return [UploadResponse]
167
174
  def create(upload, opts = {})
168
175
  data, _status_code, _headers = create_with_http_info(upload, opts)
@@ -173,6 +180,7 @@ module PulpcoreClient
173
180
  # View for chunked uploads.
174
181
  # @param upload [Upload]
175
182
  # @param [Hash] opts the optional parameters
183
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
176
184
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
177
185
  def create_with_http_info(upload, opts = {})
178
186
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpcoreClient
194
202
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
195
203
  # HTTP header 'Content-Type'
196
204
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
205
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
197
206
 
198
207
  # form parameters
199
208
  form_params = opts[:form_params] || {}
@@ -227,6 +236,7 @@ module PulpcoreClient
227
236
  # View for chunked uploads.
228
237
  # @param upload_href [String]
229
238
  # @param [Hash] opts the optional parameters
239
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
240
  # @return [nil]
231
241
  def delete(upload_href, opts = {})
232
242
  delete_with_http_info(upload_href, opts)
@@ -237,6 +247,7 @@ module PulpcoreClient
237
247
  # View for chunked uploads.
238
248
  # @param upload_href [String]
239
249
  # @param [Hash] opts the optional parameters
250
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
240
251
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
241
252
  def delete_with_http_info(upload_href, opts = {})
242
253
  if @api_client.config.debugging
@@ -254,6 +265,7 @@ module PulpcoreClient
254
265
 
255
266
  # header parameters
256
267
  header_params = opts[:header_params] || {}
268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
257
269
 
258
270
  # form parameters
259
271
  form_params = opts[:form_params] || {}
@@ -286,6 +298,7 @@ module PulpcoreClient
286
298
  # List uploads
287
299
  # View for chunked uploads.
288
300
  # @param [Hash] opts the optional parameters
301
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
289
302
  # @option opts [Integer] :limit Number of results to return per page.
290
303
  # @option opts [Integer] :offset The initial index from which to return the results.
291
304
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -307,6 +320,7 @@ module PulpcoreClient
307
320
  # List uploads
308
321
  # View for chunked uploads.
309
322
  # @param [Hash] opts the optional parameters
323
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
310
324
  # @option opts [Integer] :limit Number of results to return per page.
311
325
  # @option opts [Integer] :offset The initial index from which to return the results.
312
326
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;size&#x60; - Size * &#x60;-size&#x60; - Size (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -350,6 +364,7 @@ module PulpcoreClient
350
364
  header_params = opts[:header_params] || {}
351
365
  # HTTP header 'Accept' (if needed)
352
366
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
367
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
353
368
 
354
369
  # form parameters
355
370
  form_params = opts[:form_params] || {}
@@ -383,6 +398,7 @@ module PulpcoreClient
383
398
  # List roles assigned to this object.
384
399
  # @param upload_href [String]
385
400
  # @param [Hash] opts the optional parameters
401
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
386
402
  # @option opts [Array<String>] :fields A list of fields to include in the response.
387
403
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
388
404
  # @return [ObjectRolesResponse]
@@ -395,6 +411,7 @@ module PulpcoreClient
395
411
  # List roles assigned to this object.
396
412
  # @param upload_href [String]
397
413
  # @param [Hash] opts the optional parameters
414
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
398
415
  # @option opts [Array<String>] :fields A list of fields to include in the response.
399
416
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
400
417
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -418,6 +435,7 @@ module PulpcoreClient
418
435
  header_params = opts[:header_params] || {}
419
436
  # HTTP header 'Accept' (if needed)
420
437
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
438
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
421
439
 
422
440
  # form parameters
423
441
  form_params = opts[:form_params] || {}
@@ -451,6 +469,7 @@ module PulpcoreClient
451
469
  # List permissions available to the current user on this object.
452
470
  # @param upload_href [String]
453
471
  # @param [Hash] opts the optional parameters
472
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
454
473
  # @option opts [Array<String>] :fields A list of fields to include in the response.
455
474
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
456
475
  # @return [MyPermissionsResponse]
@@ -463,6 +482,7 @@ module PulpcoreClient
463
482
  # List permissions available to the current user on this object.
464
483
  # @param upload_href [String]
465
484
  # @param [Hash] opts the optional parameters
485
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
466
486
  # @option opts [Array<String>] :fields A list of fields to include in the response.
467
487
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
468
488
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -486,6 +506,7 @@ module PulpcoreClient
486
506
  header_params = opts[:header_params] || {}
487
507
  # HTTP header 'Accept' (if needed)
488
508
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
509
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
489
510
 
490
511
  # form parameters
491
512
  form_params = opts[:form_params] || {}
@@ -519,6 +540,7 @@ module PulpcoreClient
519
540
  # View for chunked uploads.
520
541
  # @param upload_href [String]
521
542
  # @param [Hash] opts the optional parameters
543
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
522
544
  # @option opts [Array<String>] :fields A list of fields to include in the response.
523
545
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
524
546
  # @return [UploadDetailResponse]
@@ -531,6 +553,7 @@ module PulpcoreClient
531
553
  # View for chunked uploads.
532
554
  # @param upload_href [String]
533
555
  # @param [Hash] opts the optional parameters
556
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
534
557
  # @option opts [Array<String>] :fields A list of fields to include in the response.
535
558
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
536
559
  # @return [Array<(UploadDetailResponse, Integer, Hash)>] UploadDetailResponse data, response status code and response headers
@@ -554,6 +577,7 @@ module PulpcoreClient
554
577
  header_params = opts[:header_params] || {}
555
578
  # HTTP header 'Accept' (if needed)
556
579
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
580
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
557
581
 
558
582
  # form parameters
559
583
  form_params = opts[:form_params] || {}
@@ -588,6 +612,7 @@ module PulpcoreClient
588
612
  # @param upload_href [String]
589
613
  # @param upload [Upload]
590
614
  # @param [Hash] opts the optional parameters
615
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
591
616
  # @return [NestedRoleResponse]
592
617
  def remove_role(upload_href, upload, opts = {})
593
618
  data, _status_code, _headers = remove_role_with_http_info(upload_href, upload, opts)
@@ -599,6 +624,7 @@ module PulpcoreClient
599
624
  # @param upload_href [String]
600
625
  # @param upload [Upload]
601
626
  # @param [Hash] opts the optional parameters
627
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
602
628
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
603
629
  def remove_role_with_http_info(upload_href, upload, opts = {})
604
630
  if @api_client.config.debugging
@@ -624,6 +650,7 @@ module PulpcoreClient
624
650
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
625
651
  # HTTP header 'Content-Type'
626
652
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
653
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
627
654
 
628
655
  # form parameters
629
656
  form_params = opts[:form_params] || {}
@@ -659,6 +686,7 @@ module PulpcoreClient
659
686
  # @param upload_href [String]
660
687
  # @param file [File] A chunk of the uploaded file.
661
688
  # @param [Hash] opts the optional parameters
689
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
662
690
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
663
691
  # @return [UploadResponse]
664
692
  def update(content_range, upload_href, file, opts = {})
@@ -672,6 +700,7 @@ module PulpcoreClient
672
700
  # @param upload_href [String]
673
701
  # @param file [File] A chunk of the uploaded file.
674
702
  # @param [Hash] opts the optional parameters
703
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
675
704
  # @option opts [String] :sha256 The SHA-256 checksum of the chunk if available.
676
705
  # @return [Array<(UploadResponse, Integer, Hash)>] UploadResponse data, response status code and response headers
677
706
  def update_with_http_info(content_range, upload_href, file, opts = {})
@@ -707,6 +736,7 @@ module PulpcoreClient
707
736
  # HTTP header 'Content-Type'
708
737
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
709
738
  header_params[:'Content-Range'] = content_range
739
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
710
740
 
711
741
  # form parameters
712
742
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ 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.
27
28
  # @return [NestedRoleResponse]
28
29
  def add_role(upstream_pulp_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(upstream_pulp_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param upstream_pulp_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(upstream_pulp_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
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
94
97
  # @param upstream_pulp [UpstreamPulp]
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 [UpstreamPulpResponse]
97
101
  def create(upstream_pulp, opts = {})
98
102
  data, _status_code, _headers = create_with_http_info(upstream_pulp, opts)
@@ -103,6 +107,7 @@ module PulpcoreClient
103
107
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
104
108
  # @param upstream_pulp [UpstreamPulp]
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<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
107
112
  def create_with_http_info(upstream_pulp, opts = {})
108
113
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpcoreClient
124
129
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
125
130
  # HTTP header 'Content-Type'
126
131
  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?
127
133
 
128
134
  # form parameters
129
135
  form_params = opts[:form_params] || {}
@@ -157,6 +163,7 @@ module PulpcoreClient
157
163
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
158
164
  # @param upstream_pulp_href [String]
159
165
  # @param [Hash] opts the optional parameters
166
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
167
  # @return [nil]
161
168
  def delete(upstream_pulp_href, opts = {})
162
169
  delete_with_http_info(upstream_pulp_href, opts)
@@ -167,6 +174,7 @@ module PulpcoreClient
167
174
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
168
175
  # @param upstream_pulp_href [String]
169
176
  # @param [Hash] opts the optional parameters
177
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
170
178
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
171
179
  def delete_with_http_info(upstream_pulp_href, opts = {})
172
180
  if @api_client.config.debugging
@@ -184,6 +192,7 @@ module PulpcoreClient
184
192
 
185
193
  # header parameters
186
194
  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?
187
196
 
188
197
  # form parameters
189
198
  form_params = opts[:form_params] || {}
@@ -216,6 +225,7 @@ module PulpcoreClient
216
225
  # List upstream pulps
217
226
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
218
227
  # @param [Hash] opts the optional parameters
228
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
219
229
  # @option opts [Integer] :limit Number of results to return per page.
220
230
  # @option opts [Integer] :offset The initial index from which to return the results.
221
231
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -229,6 +239,7 @@ module PulpcoreClient
229
239
  # List upstream pulps
230
240
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
231
241
  # @param [Hash] opts the optional parameters
242
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
232
243
  # @option opts [Integer] :limit Number of results to return per page.
233
244
  # @option opts [Integer] :offset The initial index from which to return the results.
234
245
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -252,6 +263,7 @@ module PulpcoreClient
252
263
  header_params = opts[:header_params] || {}
253
264
  # HTTP header 'Accept' (if needed)
254
265
  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?
255
267
 
256
268
  # form parameters
257
269
  form_params = opts[:form_params] || {}
@@ -285,6 +297,7 @@ module PulpcoreClient
285
297
  # List roles assigned to this object.
286
298
  # @param upstream_pulp_href [String]
287
299
  # @param [Hash] opts the optional parameters
300
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
288
301
  # @option opts [Array<String>] :fields A list of fields to include in the response.
289
302
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
290
303
  # @return [ObjectRolesResponse]
@@ -297,6 +310,7 @@ module PulpcoreClient
297
310
  # List roles assigned to this object.
298
311
  # @param upstream_pulp_href [String]
299
312
  # @param [Hash] opts the optional parameters
313
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
300
314
  # @option opts [Array<String>] :fields A list of fields to include in the response.
301
315
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
302
316
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -320,6 +334,7 @@ module PulpcoreClient
320
334
  header_params = opts[:header_params] || {}
321
335
  # HTTP header 'Accept' (if needed)
322
336
  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?
323
338
 
324
339
  # form parameters
325
340
  form_params = opts[:form_params] || {}
@@ -353,6 +368,7 @@ module PulpcoreClient
353
368
  # List permissions available to the current user on this object.
354
369
  # @param upstream_pulp_href [String]
355
370
  # @param [Hash] opts the optional parameters
371
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
356
372
  # @option opts [Array<String>] :fields A list of fields to include in the response.
357
373
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
358
374
  # @return [MyPermissionsResponse]
@@ -365,6 +381,7 @@ module PulpcoreClient
365
381
  # List permissions available to the current user on this object.
366
382
  # @param upstream_pulp_href [String]
367
383
  # @param [Hash] opts the optional parameters
384
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
368
385
  # @option opts [Array<String>] :fields A list of fields to include in the response.
369
386
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
370
387
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -388,6 +405,7 @@ module PulpcoreClient
388
405
  header_params = opts[:header_params] || {}
389
406
  # HTTP header 'Accept' (if needed)
390
407
  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?
391
409
 
392
410
  # form parameters
393
411
  form_params = opts[:form_params] || {}
@@ -422,6 +440,7 @@ module PulpcoreClient
422
440
  # @param upstream_pulp_href [String]
423
441
  # @param patched_upstream_pulp [PatchedUpstreamPulp]
424
442
  # @param [Hash] opts the optional parameters
443
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
425
444
  # @return [UpstreamPulpResponse]
426
445
  def partial_update(upstream_pulp_href, patched_upstream_pulp, opts = {})
427
446
  data, _status_code, _headers = partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts)
@@ -433,6 +452,7 @@ module PulpcoreClient
433
452
  # @param upstream_pulp_href [String]
434
453
  # @param patched_upstream_pulp [PatchedUpstreamPulp]
435
454
  # @param [Hash] opts the optional parameters
455
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
436
456
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
437
457
  def partial_update_with_http_info(upstream_pulp_href, patched_upstream_pulp, opts = {})
438
458
  if @api_client.config.debugging
@@ -458,6 +478,7 @@ module PulpcoreClient
458
478
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
459
479
  # HTTP header 'Content-Type'
460
480
  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?
461
482
 
462
483
  # form parameters
463
484
  form_params = opts[:form_params] || {}
@@ -491,6 +512,7 @@ module PulpcoreClient
491
512
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
492
513
  # @param upstream_pulp_href [String]
493
514
  # @param [Hash] opts the optional parameters
515
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
494
516
  # @option opts [Array<String>] :fields A list of fields to include in the response.
495
517
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
496
518
  # @return [UpstreamPulpResponse]
@@ -503,6 +525,7 @@ module PulpcoreClient
503
525
  # API for configuring an upstream Pulp to replicate. This API is provided as a tech preview.
504
526
  # @param upstream_pulp_href [String]
505
527
  # @param [Hash] opts the optional parameters
528
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
506
529
  # @option opts [Array<String>] :fields A list of fields to include in the response.
507
530
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
508
531
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
@@ -526,6 +549,7 @@ module PulpcoreClient
526
549
  header_params = opts[:header_params] || {}
527
550
  # HTTP header 'Accept' (if needed)
528
551
  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?
529
553
 
530
554
  # form parameters
531
555
  form_params = opts[:form_params] || {}
@@ -560,6 +584,7 @@ module PulpcoreClient
560
584
  # @param upstream_pulp_href [String]
561
585
  # @param nested_role [NestedRole]
562
586
  # @param [Hash] opts the optional parameters
587
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
563
588
  # @return [NestedRoleResponse]
564
589
  def remove_role(upstream_pulp_href, nested_role, opts = {})
565
590
  data, _status_code, _headers = remove_role_with_http_info(upstream_pulp_href, nested_role, opts)
@@ -571,6 +596,7 @@ module PulpcoreClient
571
596
  # @param upstream_pulp_href [String]
572
597
  # @param nested_role [NestedRole]
573
598
  # @param [Hash] opts the optional parameters
599
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
574
600
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
575
601
  def remove_role_with_http_info(upstream_pulp_href, nested_role, opts = {})
576
602
  if @api_client.config.debugging
@@ -596,6 +622,7 @@ module PulpcoreClient
596
622
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
597
623
  # HTTP header 'Content-Type'
598
624
  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?
599
626
 
600
627
  # form parameters
601
628
  form_params = opts[:form_params] || {}
@@ -629,6 +656,7 @@ module PulpcoreClient
629
656
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
630
657
  # @param upstream_pulp_href [String]
631
658
  # @param [Hash] opts the optional parameters
659
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
632
660
  # @return [TaskGroupOperationResponse]
633
661
  def replicate(upstream_pulp_href, opts = {})
634
662
  data, _status_code, _headers = replicate_with_http_info(upstream_pulp_href, opts)
@@ -639,6 +667,7 @@ module PulpcoreClient
639
667
  # Trigger an asynchronous repository replication task group. This API is provided as a tech preview.
640
668
  # @param upstream_pulp_href [String]
641
669
  # @param [Hash] opts the optional parameters
670
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
642
671
  # @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
643
672
  def replicate_with_http_info(upstream_pulp_href, opts = {})
644
673
  if @api_client.config.debugging
@@ -658,6 +687,7 @@ module PulpcoreClient
658
687
  header_params = opts[:header_params] || {}
659
688
  # HTTP header 'Accept' (if needed)
660
689
  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?
661
691
 
662
692
  # form parameters
663
693
  form_params = opts[:form_params] || {}
@@ -692,6 +722,7 @@ module PulpcoreClient
692
722
  # @param upstream_pulp_href [String]
693
723
  # @param upstream_pulp [UpstreamPulp]
694
724
  # @param [Hash] opts the optional parameters
725
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
695
726
  # @return [UpstreamPulpResponse]
696
727
  def update(upstream_pulp_href, upstream_pulp, opts = {})
697
728
  data, _status_code, _headers = update_with_http_info(upstream_pulp_href, upstream_pulp, opts)
@@ -703,6 +734,7 @@ module PulpcoreClient
703
734
  # @param upstream_pulp_href [String]
704
735
  # @param upstream_pulp [UpstreamPulp]
705
736
  # @param [Hash] opts the optional parameters
737
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
706
738
  # @return [Array<(UpstreamPulpResponse, Integer, Hash)>] UpstreamPulpResponse data, response status code and response headers
707
739
  def update_with_http_info(upstream_pulp_href, upstream_pulp, opts = {})
708
740
  if @api_client.config.debugging
@@ -728,6 +760,7 @@ module PulpcoreClient
728
760
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
729
761
  # HTTP header 'Content-Type'
730
762
  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?
731
764
 
732
765
  # form parameters
733
766
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ 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.
26
27
  # @return [UserResponse]
27
28
  def create(user, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(user, opts)
@@ -33,6 +34,7 @@ module PulpcoreClient
33
34
  # ViewSet for User.
34
35
  # @param user [User]
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<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
37
39
  def create_with_http_info(user, 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 User.
88
91
  # @param auth_user_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(auth_user_href, opts = {})
92
96
  delete_with_http_info(auth_user_href, opts)
@@ -97,6 +101,7 @@ module PulpcoreClient
97
101
  # ViewSet for User.
98
102
  # @param auth_user_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(auth_user_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 users
147
153
  # ViewSet for User.
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 [String] :email Filter results where email matches value
150
157
  # @option opts [String] :email__contains Filter results where email contains value
151
158
  # @option opts [String] :email__icontains Filter results where email contains value
@@ -185,6 +192,7 @@ module PulpcoreClient
185
192
  # List users
186
193
  # ViewSet for User.
187
194
  # @param [Hash] opts the optional parameters
195
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
188
196
  # @option opts [String] :email Filter results where email matches value
189
197
  # @option opts [String] :email__contains Filter results where email contains value
190
198
  # @option opts [String] :email__icontains Filter results where email contains value
@@ -264,6 +272,7 @@ module PulpcoreClient
264
272
  header_params = opts[:header_params] || {}
265
273
  # HTTP header 'Accept' (if needed)
266
274
  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?
267
276
 
268
277
  # form parameters
269
278
  form_params = opts[:form_params] || {}
@@ -298,6 +307,7 @@ module PulpcoreClient
298
307
  # @param auth_user_href [String]
299
308
  # @param patched_user [PatchedUser]
300
309
  # @param [Hash] opts the optional parameters
310
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
301
311
  # @return [UserResponse]
302
312
  def partial_update(auth_user_href, patched_user, opts = {})
303
313
  data, _status_code, _headers = partial_update_with_http_info(auth_user_href, patched_user, opts)
@@ -309,6 +319,7 @@ module PulpcoreClient
309
319
  # @param auth_user_href [String]
310
320
  # @param patched_user [PatchedUser]
311
321
  # @param [Hash] opts the optional parameters
322
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
312
323
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
313
324
  def partial_update_with_http_info(auth_user_href, patched_user, opts = {})
314
325
  if @api_client.config.debugging
@@ -334,6 +345,7 @@ module PulpcoreClient
334
345
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
335
346
  # HTTP header 'Content-Type'
336
347
  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?
337
349
 
338
350
  # form parameters
339
351
  form_params = opts[:form_params] || {}
@@ -367,6 +379,7 @@ module PulpcoreClient
367
379
  # ViewSet for User.
368
380
  # @param auth_user_href [String]
369
381
  # @param [Hash] opts the optional parameters
382
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
370
383
  # @option opts [Array<String>] :fields A list of fields to include in the response.
371
384
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
372
385
  # @return [UserResponse]
@@ -379,6 +392,7 @@ module PulpcoreClient
379
392
  # ViewSet for User.
380
393
  # @param auth_user_href [String]
381
394
  # @param [Hash] opts the optional parameters
395
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
382
396
  # @option opts [Array<String>] :fields A list of fields to include in the response.
383
397
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
384
398
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
@@ -402,6 +416,7 @@ module PulpcoreClient
402
416
  header_params = opts[:header_params] || {}
403
417
  # HTTP header 'Accept' (if needed)
404
418
  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?
405
420
 
406
421
  # form parameters
407
422
  form_params = opts[:form_params] || {}
@@ -436,6 +451,7 @@ module PulpcoreClient
436
451
  # @param auth_user_href [String]
437
452
  # @param user [User]
438
453
  # @param [Hash] opts the optional parameters
454
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
439
455
  # @return [UserResponse]
440
456
  def update(auth_user_href, user, opts = {})
441
457
  data, _status_code, _headers = update_with_http_info(auth_user_href, user, opts)
@@ -447,6 +463,7 @@ module PulpcoreClient
447
463
  # @param auth_user_href [String]
448
464
  # @param user [User]
449
465
  # @param [Hash] opts the optional parameters
466
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
450
467
  # @return [Array<(UserResponse, Integer, Hash)>] UserResponse data, response status code and response headers
451
468
  def update_with_http_info(auth_user_href, user, opts = {})
452
469
  if @api_client.config.debugging
@@ -472,6 +489,7 @@ module PulpcoreClient
472
489
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
473
490
  # HTTP header 'Content-Type'
474
491
  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?
475
493
 
476
494
  # form parameters
477
495
  form_params = opts[:form_params] || {}