pulp_ostree_client 2.4.8 → 2.5.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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentCommitsApi.md +20 -8
  4. data/docs/ContentConfigsApi.md +20 -8
  5. data/docs/ContentContentApi.md +28 -12
  6. data/docs/ContentObjectsApi.md +20 -8
  7. data/docs/ContentRefsApi.md +20 -8
  8. data/docs/ContentSummariesApi.md +20 -8
  9. data/docs/DistributionsOstreeApi.md +72 -32
  10. data/docs/OstreeOstreeCommitResponse.md +2 -0
  11. data/docs/OstreeOstreeConfigResponse.md +2 -0
  12. data/docs/OstreeOstreeContentResponse.md +2 -0
  13. data/docs/OstreeOstreeObjectResponse.md +2 -0
  14. data/docs/OstreeOstreeRefResponse.md +2 -0
  15. data/docs/OstreeOstreeRemoteResponse.md +1 -1
  16. data/docs/OstreeOstreeSummaryResponse.md +2 -0
  17. data/docs/RemotesOstreeApi.md +72 -32
  18. data/docs/RepositoriesOstreeApi.md +104 -48
  19. data/docs/RepositoriesOstreeVersionsApi.md +22 -10
  20. data/docs/RepositoryVersionResponse.md +3 -1
  21. data/lib/pulp_ostree_client/api/content_commits_api.rb +12 -0
  22. data/lib/pulp_ostree_client/api/content_configs_api.rb +12 -0
  23. data/lib/pulp_ostree_client/api/content_content_api.rb +15 -0
  24. data/lib/pulp_ostree_client/api/content_objects_api.rb +12 -0
  25. data/lib/pulp_ostree_client/api/content_refs_api.rb +12 -0
  26. data/lib/pulp_ostree_client/api/content_summaries_api.rb +12 -0
  27. data/lib/pulp_ostree_client/api/distributions_ostree_api.rb +36 -0
  28. data/lib/pulp_ostree_client/api/remotes_ostree_api.rb +36 -0
  29. data/lib/pulp_ostree_client/api/repositories_ostree_api.rb +48 -0
  30. data/lib/pulp_ostree_client/api/repositories_ostree_versions_api.rb +15 -3
  31. data/lib/pulp_ostree_client/models/ostree_ostree_commit_response.rb +10 -1
  32. data/lib/pulp_ostree_client/models/ostree_ostree_config_response.rb +10 -1
  33. data/lib/pulp_ostree_client/models/ostree_ostree_content_response.rb +10 -1
  34. data/lib/pulp_ostree_client/models/ostree_ostree_object_response.rb +10 -1
  35. data/lib/pulp_ostree_client/models/ostree_ostree_ref_response.rb +10 -1
  36. data/lib/pulp_ostree_client/models/ostree_ostree_remote.rb +0 -15
  37. data/lib/pulp_ostree_client/models/ostree_ostree_remote_response.rb +0 -15
  38. data/lib/pulp_ostree_client/models/ostree_ostree_repository.rb +0 -15
  39. data/lib/pulp_ostree_client/models/ostree_ostree_repository_response.rb +0 -15
  40. data/lib/pulp_ostree_client/models/ostree_ostree_summary_response.rb +10 -1
  41. data/lib/pulp_ostree_client/models/paginated_repository_version_response_list.rb +0 -2
  42. data/lib/pulp_ostree_client/models/paginatedostree_ostree_commit_response_list.rb +0 -2
  43. data/lib/pulp_ostree_client/models/paginatedostree_ostree_config_response_list.rb +0 -2
  44. data/lib/pulp_ostree_client/models/paginatedostree_ostree_content_response_list.rb +0 -2
  45. data/lib/pulp_ostree_client/models/paginatedostree_ostree_distribution_response_list.rb +0 -2
  46. data/lib/pulp_ostree_client/models/paginatedostree_ostree_object_response_list.rb +0 -2
  47. data/lib/pulp_ostree_client/models/paginatedostree_ostree_ref_response_list.rb +0 -2
  48. data/lib/pulp_ostree_client/models/paginatedostree_ostree_remote_response_list.rb +0 -2
  49. data/lib/pulp_ostree_client/models/paginatedostree_ostree_repository_response_list.rb +0 -2
  50. data/lib/pulp_ostree_client/models/paginatedostree_ostree_summary_response_list.rb +0 -2
  51. data/lib/pulp_ostree_client/models/patchedostree_ostree_remote.rb +0 -15
  52. data/lib/pulp_ostree_client/models/patchedostree_ostree_repository.rb +0 -15
  53. data/lib/pulp_ostree_client/models/repository_version_response.rb +13 -4
  54. data/lib/pulp_ostree_client/version.rb +1 -1
  55. data/spec/api/content_commits_api_spec.rb +4 -0
  56. data/spec/api/content_configs_api_spec.rb +4 -0
  57. data/spec/api/content_content_api_spec.rb +5 -0
  58. data/spec/api/content_objects_api_spec.rb +4 -0
  59. data/spec/api/content_refs_api_spec.rb +4 -0
  60. data/spec/api/content_summaries_api_spec.rb +4 -0
  61. data/spec/api/distributions_ostree_api_spec.rb +12 -0
  62. data/spec/api/remotes_ostree_api_spec.rb +12 -0
  63. data/spec/api/repositories_ostree_api_spec.rb +16 -0
  64. data/spec/api/repositories_ostree_versions_api_spec.rb +5 -1
  65. data/spec/models/ostree_ostree_commit_response_spec.rb +6 -0
  66. data/spec/models/ostree_ostree_config_response_spec.rb +6 -0
  67. data/spec/models/ostree_ostree_content_response_spec.rb +6 -0
  68. data/spec/models/ostree_ostree_object_response_spec.rb +6 -0
  69. data/spec/models/ostree_ostree_ref_response_spec.rb +6 -0
  70. data/spec/models/ostree_ostree_summary_response_spec.rb +6 -0
  71. data/spec/models/repository_version_response_spec.rb +6 -0
  72. metadata +43 -43
@@ -22,6 +22,7 @@ module PulpOstreeClient
22
22
  # List ostree summarys
23
23
  # A ViewSet class for OSTree repository summary files.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Integer] :limit Number of results to return per page.
26
27
  # @option opts [Integer] :offset The initial index from which to return the results.
27
28
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -45,6 +46,7 @@ module PulpOstreeClient
45
46
  # List ostree summarys
46
47
  # A ViewSet class for OSTree repository summary files.
47
48
  # @param [Hash] opts the optional parameters
49
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
48
50
  # @option opts [Integer] :limit Number of results to return per page.
49
51
  # @option opts [Integer] :offset The initial index from which to return the results.
50
52
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -92,6 +94,7 @@ module PulpOstreeClient
92
94
  header_params = opts[:header_params] || {}
93
95
  # HTTP header 'Accept' (if needed)
94
96
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
97
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
95
98
 
96
99
  # form parameters
97
100
  form_params = opts[:form_params] || {}
@@ -126,6 +129,7 @@ module PulpOstreeClient
126
129
  # A ViewSet class for OSTree repository summary files.
127
130
  # @param ostree_ostree_summary_href [String]
128
131
  # @param [Hash] opts the optional parameters
132
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
129
133
  # @option opts [Array<String>] :fields A list of fields to include in the response.
130
134
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
131
135
  # @return [OstreeOstreeSummaryResponse]
@@ -138,6 +142,7 @@ module PulpOstreeClient
138
142
  # A ViewSet class for OSTree repository summary files.
139
143
  # @param ostree_ostree_summary_href [String]
140
144
  # @param [Hash] opts the optional parameters
145
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
141
146
  # @option opts [Array<String>] :fields A list of fields to include in the response.
142
147
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
143
148
  # @return [Array<(OstreeOstreeSummaryResponse, Integer, Hash)>] OstreeOstreeSummaryResponse data, response status code and response headers
@@ -161,6 +166,7 @@ module PulpOstreeClient
161
166
  header_params = opts[:header_params] || {}
162
167
  # HTTP header 'Accept' (if needed)
163
168
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
169
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
164
170
 
165
171
  # form parameters
166
172
  form_params = opts[:form_params] || {}
@@ -196,6 +202,7 @@ module PulpOstreeClient
196
202
  # @param ostree_ostree_summary_href [String]
197
203
  # @param set_label [SetLabel]
198
204
  # @param [Hash] opts the optional parameters
205
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
199
206
  # @return [SetLabelResponse]
200
207
  def set_label(ostree_ostree_summary_href, set_label, opts = {})
201
208
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_summary_href, set_label, opts)
@@ -207,6 +214,7 @@ module PulpOstreeClient
207
214
  # @param ostree_ostree_summary_href [String]
208
215
  # @param set_label [SetLabel]
209
216
  # @param [Hash] opts the optional parameters
217
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
210
218
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
211
219
  def set_label_with_http_info(ostree_ostree_summary_href, set_label, opts = {})
212
220
  if @api_client.config.debugging
@@ -235,6 +243,7 @@ module PulpOstreeClient
235
243
  if !content_type.nil?
236
244
  header_params['Content-Type'] = content_type
237
245
  end
246
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
238
247
 
239
248
  # form parameters
240
249
  form_params = opts[:form_params] || {}
@@ -270,6 +279,7 @@ module PulpOstreeClient
270
279
  # @param ostree_ostree_summary_href [String]
271
280
  # @param unset_label [UnsetLabel]
272
281
  # @param [Hash] opts the optional parameters
282
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
273
283
  # @return [UnsetLabelResponse]
274
284
  def unset_label(ostree_ostree_summary_href, unset_label, opts = {})
275
285
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_summary_href, unset_label, opts)
@@ -281,6 +291,7 @@ module PulpOstreeClient
281
291
  # @param ostree_ostree_summary_href [String]
282
292
  # @param unset_label [UnsetLabel]
283
293
  # @param [Hash] opts the optional parameters
294
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
284
295
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
285
296
  def unset_label_with_http_info(ostree_ostree_summary_href, unset_label, opts = {})
286
297
  if @api_client.config.debugging
@@ -309,6 +320,7 @@ module PulpOstreeClient
309
320
  if !content_type.nil?
310
321
  header_params['Content-Type'] = content_type
311
322
  end
323
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
312
324
 
313
325
  # form parameters
314
326
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpOstreeClient
24
24
  # @param ostree_ostree_distribution_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(ostree_ostree_distribution_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(ostree_ostree_distribution_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpOstreeClient
35
36
  # @param ostree_ostree_distribution_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(ostree_ostree_distribution_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpOstreeClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpOstreeClient
97
100
  # Trigger an asynchronous create task
98
101
  # @param ostree_ostree_distribution [OstreeOstreeDistribution]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [AsyncOperationResponse]
101
105
  def create(ostree_ostree_distribution, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(ostree_ostree_distribution, opts)
@@ -107,6 +111,7 @@ module PulpOstreeClient
107
111
  # Trigger an asynchronous create task
108
112
  # @param ostree_ostree_distribution [OstreeOstreeDistribution]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
111
116
  def create_with_http_info(ostree_ostree_distribution, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpOstreeClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpOstreeClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param ostree_ostree_distribution_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(ostree_ostree_distribution_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(ostree_ostree_distribution_href, opts)
@@ -175,6 +182,7 @@ module PulpOstreeClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param ostree_ostree_distribution_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(ostree_ostree_distribution_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpOstreeClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
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 PulpOstreeClient
227
236
  # List ostree distributions
228
237
  # A ViewSet class for OSTree distributions.
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
  # @option opts [String] :base_path Filter results where base_path matches value
231
241
  # @option opts [String] :base_path__contains Filter results where base_path contains value
232
242
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -263,6 +273,7 @@ module PulpOstreeClient
263
273
  # List ostree distributions
264
274
  # A ViewSet class for OSTree distributions.
265
275
  # @param [Hash] opts the optional parameters
276
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
266
277
  # @option opts [String] :base_path Filter results where base_path matches value
267
278
  # @option opts [String] :base_path__contains Filter results where base_path contains value
268
279
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -336,6 +347,7 @@ module PulpOstreeClient
336
347
  header_params = opts[:header_params] || {}
337
348
  # HTTP header 'Accept' (if needed)
338
349
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
350
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
339
351
 
340
352
  # form parameters
341
353
  form_params = opts[:form_params] || {}
@@ -370,6 +382,7 @@ module PulpOstreeClient
370
382
  # List roles assigned to this object.
371
383
  # @param ostree_ostree_distribution_href [String]
372
384
  # @param [Hash] opts the optional parameters
385
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
373
386
  # @option opts [Array<String>] :fields A list of fields to include in the response.
374
387
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
375
388
  # @return [ObjectRolesResponse]
@@ -382,6 +395,7 @@ module PulpOstreeClient
382
395
  # List roles assigned to this object.
383
396
  # @param ostree_ostree_distribution_href [String]
384
397
  # @param [Hash] opts the optional parameters
398
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
385
399
  # @option opts [Array<String>] :fields A list of fields to include in the response.
386
400
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
387
401
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -405,6 +419,7 @@ module PulpOstreeClient
405
419
  header_params = opts[:header_params] || {}
406
420
  # HTTP header 'Accept' (if needed)
407
421
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
422
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
408
423
 
409
424
  # form parameters
410
425
  form_params = opts[:form_params] || {}
@@ -439,6 +454,7 @@ module PulpOstreeClient
439
454
  # List permissions available to the current user on this object.
440
455
  # @param ostree_ostree_distribution_href [String]
441
456
  # @param [Hash] opts the optional parameters
457
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
442
458
  # @option opts [Array<String>] :fields A list of fields to include in the response.
443
459
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
444
460
  # @return [MyPermissionsResponse]
@@ -451,6 +467,7 @@ module PulpOstreeClient
451
467
  # List permissions available to the current user on this object.
452
468
  # @param ostree_ostree_distribution_href [String]
453
469
  # @param [Hash] opts the optional parameters
470
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
454
471
  # @option opts [Array<String>] :fields A list of fields to include in the response.
455
472
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
456
473
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -474,6 +491,7 @@ module PulpOstreeClient
474
491
  header_params = opts[:header_params] || {}
475
492
  # HTTP header 'Accept' (if needed)
476
493
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
494
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
477
495
 
478
496
  # form parameters
479
497
  form_params = opts[:form_params] || {}
@@ -509,6 +527,7 @@ module PulpOstreeClient
509
527
  # @param ostree_ostree_distribution_href [String]
510
528
  # @param patchedostree_ostree_distribution [PatchedostreeOstreeDistribution]
511
529
  # @param [Hash] opts the optional parameters
530
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
512
531
  # @return [AsyncOperationResponse]
513
532
  def partial_update(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts = {})
514
533
  data, _status_code, _headers = partial_update_with_http_info(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts)
@@ -520,6 +539,7 @@ module PulpOstreeClient
520
539
  # @param ostree_ostree_distribution_href [String]
521
540
  # @param patchedostree_ostree_distribution [PatchedostreeOstreeDistribution]
522
541
  # @param [Hash] opts the optional parameters
542
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
523
543
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
524
544
  def partial_update_with_http_info(ostree_ostree_distribution_href, patchedostree_ostree_distribution, opts = {})
525
545
  if @api_client.config.debugging
@@ -548,6 +568,7 @@ module PulpOstreeClient
548
568
  if !content_type.nil?
549
569
  header_params['Content-Type'] = content_type
550
570
  end
571
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
551
572
 
552
573
  # form parameters
553
574
  form_params = opts[:form_params] || {}
@@ -582,6 +603,7 @@ module PulpOstreeClient
582
603
  # A ViewSet class for OSTree distributions.
583
604
  # @param ostree_ostree_distribution_href [String]
584
605
  # @param [Hash] opts the optional parameters
606
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
585
607
  # @option opts [Array<String>] :fields A list of fields to include in the response.
586
608
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
587
609
  # @return [OstreeOstreeDistributionResponse]
@@ -594,6 +616,7 @@ module PulpOstreeClient
594
616
  # A ViewSet class for OSTree distributions.
595
617
  # @param ostree_ostree_distribution_href [String]
596
618
  # @param [Hash] opts the optional parameters
619
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
597
620
  # @option opts [Array<String>] :fields A list of fields to include in the response.
598
621
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
599
622
  # @return [Array<(OstreeOstreeDistributionResponse, Integer, Hash)>] OstreeOstreeDistributionResponse data, response status code and response headers
@@ -617,6 +640,7 @@ module PulpOstreeClient
617
640
  header_params = opts[:header_params] || {}
618
641
  # HTTP header 'Accept' (if needed)
619
642
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
643
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
620
644
 
621
645
  # form parameters
622
646
  form_params = opts[:form_params] || {}
@@ -652,6 +676,7 @@ module PulpOstreeClient
652
676
  # @param ostree_ostree_distribution_href [String]
653
677
  # @param nested_role [NestedRole]
654
678
  # @param [Hash] opts the optional parameters
679
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
655
680
  # @return [NestedRoleResponse]
656
681
  def remove_role(ostree_ostree_distribution_href, nested_role, opts = {})
657
682
  data, _status_code, _headers = remove_role_with_http_info(ostree_ostree_distribution_href, nested_role, opts)
@@ -663,6 +688,7 @@ module PulpOstreeClient
663
688
  # @param ostree_ostree_distribution_href [String]
664
689
  # @param nested_role [NestedRole]
665
690
  # @param [Hash] opts the optional parameters
691
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
666
692
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
667
693
  def remove_role_with_http_info(ostree_ostree_distribution_href, nested_role, opts = {})
668
694
  if @api_client.config.debugging
@@ -691,6 +717,7 @@ module PulpOstreeClient
691
717
  if !content_type.nil?
692
718
  header_params['Content-Type'] = content_type
693
719
  end
720
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
694
721
 
695
722
  # form parameters
696
723
  form_params = opts[:form_params] || {}
@@ -726,6 +753,7 @@ module PulpOstreeClient
726
753
  # @param ostree_ostree_distribution_href [String]
727
754
  # @param set_label [SetLabel]
728
755
  # @param [Hash] opts the optional parameters
756
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
729
757
  # @return [SetLabelResponse]
730
758
  def set_label(ostree_ostree_distribution_href, set_label, opts = {})
731
759
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_distribution_href, set_label, opts)
@@ -737,6 +765,7 @@ module PulpOstreeClient
737
765
  # @param ostree_ostree_distribution_href [String]
738
766
  # @param set_label [SetLabel]
739
767
  # @param [Hash] opts the optional parameters
768
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
740
769
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
741
770
  def set_label_with_http_info(ostree_ostree_distribution_href, set_label, opts = {})
742
771
  if @api_client.config.debugging
@@ -765,6 +794,7 @@ module PulpOstreeClient
765
794
  if !content_type.nil?
766
795
  header_params['Content-Type'] = content_type
767
796
  end
797
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
768
798
 
769
799
  # form parameters
770
800
  form_params = opts[:form_params] || {}
@@ -800,6 +830,7 @@ module PulpOstreeClient
800
830
  # @param ostree_ostree_distribution_href [String]
801
831
  # @param unset_label [UnsetLabel]
802
832
  # @param [Hash] opts the optional parameters
833
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
803
834
  # @return [UnsetLabelResponse]
804
835
  def unset_label(ostree_ostree_distribution_href, unset_label, opts = {})
805
836
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_distribution_href, unset_label, opts)
@@ -811,6 +842,7 @@ module PulpOstreeClient
811
842
  # @param ostree_ostree_distribution_href [String]
812
843
  # @param unset_label [UnsetLabel]
813
844
  # @param [Hash] opts the optional parameters
845
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
814
846
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
815
847
  def unset_label_with_http_info(ostree_ostree_distribution_href, unset_label, opts = {})
816
848
  if @api_client.config.debugging
@@ -839,6 +871,7 @@ module PulpOstreeClient
839
871
  if !content_type.nil?
840
872
  header_params['Content-Type'] = content_type
841
873
  end
874
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
842
875
 
843
876
  # form parameters
844
877
  form_params = opts[:form_params] || {}
@@ -874,6 +907,7 @@ module PulpOstreeClient
874
907
  # @param ostree_ostree_distribution_href [String]
875
908
  # @param ostree_ostree_distribution [OstreeOstreeDistribution]
876
909
  # @param [Hash] opts the optional parameters
910
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
877
911
  # @return [AsyncOperationResponse]
878
912
  def update(ostree_ostree_distribution_href, ostree_ostree_distribution, opts = {})
879
913
  data, _status_code, _headers = update_with_http_info(ostree_ostree_distribution_href, ostree_ostree_distribution, opts)
@@ -885,6 +919,7 @@ module PulpOstreeClient
885
919
  # @param ostree_ostree_distribution_href [String]
886
920
  # @param ostree_ostree_distribution [OstreeOstreeDistribution]
887
921
  # @param [Hash] opts the optional parameters
922
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
888
923
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
889
924
  def update_with_http_info(ostree_ostree_distribution_href, ostree_ostree_distribution, opts = {})
890
925
  if @api_client.config.debugging
@@ -913,6 +948,7 @@ module PulpOstreeClient
913
948
  if !content_type.nil?
914
949
  header_params['Content-Type'] = content_type
915
950
  end
951
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
916
952
 
917
953
  # form parameters
918
954
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpOstreeClient
24
24
  # @param ostree_ostree_remote_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(ostree_ostree_remote_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(ostree_ostree_remote_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpOstreeClient
35
36
  # @param ostree_ostree_remote_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(ostree_ostree_remote_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpOstreeClient
63
65
  if !content_type.nil?
64
66
  header_params['Content-Type'] = content_type
65
67
  end
68
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
66
69
 
67
70
  # form parameters
68
71
  form_params = opts[:form_params] || {}
@@ -97,6 +100,7 @@ module PulpOstreeClient
97
100
  # A ViewSet class for OSTree remote repositories.
98
101
  # @param ostree_ostree_remote [OstreeOstreeRemote]
99
102
  # @param [Hash] opts the optional parameters
103
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
100
104
  # @return [OstreeOstreeRemoteResponse]
101
105
  def create(ostree_ostree_remote, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(ostree_ostree_remote, opts)
@@ -107,6 +111,7 @@ module PulpOstreeClient
107
111
  # A ViewSet class for OSTree remote repositories.
108
112
  # @param ostree_ostree_remote [OstreeOstreeRemote]
109
113
  # @param [Hash] opts the optional parameters
114
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
110
115
  # @return [Array<(OstreeOstreeRemoteResponse, Integer, Hash)>] OstreeOstreeRemoteResponse data, response status code and response headers
111
116
  def create_with_http_info(ostree_ostree_remote, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpOstreeClient
131
136
  if !content_type.nil?
132
137
  header_params['Content-Type'] = content_type
133
138
  end
139
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
134
140
 
135
141
  # form parameters
136
142
  form_params = opts[:form_params] || {}
@@ -165,6 +171,7 @@ module PulpOstreeClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param ostree_ostree_remote_href [String]
167
173
  # @param [Hash] opts the optional parameters
174
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
168
175
  # @return [AsyncOperationResponse]
169
176
  def delete(ostree_ostree_remote_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(ostree_ostree_remote_href, opts)
@@ -175,6 +182,7 @@ module PulpOstreeClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param ostree_ostree_remote_href [String]
177
184
  # @param [Hash] opts the optional parameters
185
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
178
186
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
179
187
  def delete_with_http_info(ostree_ostree_remote_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpOstreeClient
194
202
  header_params = opts[:header_params] || {}
195
203
  # HTTP header 'Accept' (if needed)
196
204
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
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 PulpOstreeClient
227
236
  # List ostree remotes
228
237
  # A ViewSet class for OSTree remote repositories.
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
  # @option opts [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -262,6 +272,7 @@ module PulpOstreeClient
262
272
  # List ostree remotes
263
273
  # A ViewSet class for OSTree remote repositories.
264
274
  # @param [Hash] opts the optional parameters
275
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
265
276
  # @option opts [Integer] :limit Number of results to return per page.
266
277
  # @option opts [String] :name Filter results where name matches value
267
278
  # @option opts [String] :name__contains Filter results where name contains value
@@ -333,6 +344,7 @@ module PulpOstreeClient
333
344
  header_params = opts[:header_params] || {}
334
345
  # HTTP header 'Accept' (if needed)
335
346
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
347
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
336
348
 
337
349
  # form parameters
338
350
  form_params = opts[:form_params] || {}
@@ -367,6 +379,7 @@ module PulpOstreeClient
367
379
  # List roles assigned to this object.
368
380
  # @param ostree_ostree_remote_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 [ObjectRolesResponse]
@@ -379,6 +392,7 @@ module PulpOstreeClient
379
392
  # List roles assigned to this object.
380
393
  # @param ostree_ostree_remote_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<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -402,6 +416,7 @@ module PulpOstreeClient
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']) unless header_params['Accept']
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 PulpOstreeClient
436
451
  # List permissions available to the current user on this object.
437
452
  # @param ostree_ostree_remote_href [String]
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
  # @option opts [Array<String>] :fields A list of fields to include in the response.
440
456
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
441
457
  # @return [MyPermissionsResponse]
@@ -448,6 +464,7 @@ module PulpOstreeClient
448
464
  # List permissions available to the current user on this object.
449
465
  # @param ostree_ostree_remote_href [String]
450
466
  # @param [Hash] opts the optional parameters
467
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
451
468
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
469
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
470
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -471,6 +488,7 @@ module PulpOstreeClient
471
488
  header_params = opts[:header_params] || {}
472
489
  # HTTP header 'Accept' (if needed)
473
490
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
491
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
474
492
 
475
493
  # form parameters
476
494
  form_params = opts[:form_params] || {}
@@ -506,6 +524,7 @@ module PulpOstreeClient
506
524
  # @param ostree_ostree_remote_href [String]
507
525
  # @param patchedostree_ostree_remote [PatchedostreeOstreeRemote]
508
526
  # @param [Hash] opts the optional parameters
527
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
509
528
  # @return [AsyncOperationResponse]
510
529
  def partial_update(ostree_ostree_remote_href, patchedostree_ostree_remote, opts = {})
511
530
  data, _status_code, _headers = partial_update_with_http_info(ostree_ostree_remote_href, patchedostree_ostree_remote, opts)
@@ -517,6 +536,7 @@ module PulpOstreeClient
517
536
  # @param ostree_ostree_remote_href [String]
518
537
  # @param patchedostree_ostree_remote [PatchedostreeOstreeRemote]
519
538
  # @param [Hash] opts the optional parameters
539
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
520
540
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
521
541
  def partial_update_with_http_info(ostree_ostree_remote_href, patchedostree_ostree_remote, opts = {})
522
542
  if @api_client.config.debugging
@@ -545,6 +565,7 @@ module PulpOstreeClient
545
565
  if !content_type.nil?
546
566
  header_params['Content-Type'] = content_type
547
567
  end
568
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
548
569
 
549
570
  # form parameters
550
571
  form_params = opts[:form_params] || {}
@@ -579,6 +600,7 @@ module PulpOstreeClient
579
600
  # A ViewSet class for OSTree remote repositories.
580
601
  # @param ostree_ostree_remote_href [String]
581
602
  # @param [Hash] opts the optional parameters
603
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
582
604
  # @option opts [Array<String>] :fields A list of fields to include in the response.
583
605
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
584
606
  # @return [OstreeOstreeRemoteResponse]
@@ -591,6 +613,7 @@ module PulpOstreeClient
591
613
  # A ViewSet class for OSTree remote repositories.
592
614
  # @param ostree_ostree_remote_href [String]
593
615
  # @param [Hash] opts the optional parameters
616
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
594
617
  # @option opts [Array<String>] :fields A list of fields to include in the response.
595
618
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
596
619
  # @return [Array<(OstreeOstreeRemoteResponse, Integer, Hash)>] OstreeOstreeRemoteResponse data, response status code and response headers
@@ -614,6 +637,7 @@ module PulpOstreeClient
614
637
  header_params = opts[:header_params] || {}
615
638
  # HTTP header 'Accept' (if needed)
616
639
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
640
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
617
641
 
618
642
  # form parameters
619
643
  form_params = opts[:form_params] || {}
@@ -649,6 +673,7 @@ module PulpOstreeClient
649
673
  # @param ostree_ostree_remote_href [String]
650
674
  # @param nested_role [NestedRole]
651
675
  # @param [Hash] opts the optional parameters
676
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
652
677
  # @return [NestedRoleResponse]
653
678
  def remove_role(ostree_ostree_remote_href, nested_role, opts = {})
654
679
  data, _status_code, _headers = remove_role_with_http_info(ostree_ostree_remote_href, nested_role, opts)
@@ -660,6 +685,7 @@ module PulpOstreeClient
660
685
  # @param ostree_ostree_remote_href [String]
661
686
  # @param nested_role [NestedRole]
662
687
  # @param [Hash] opts the optional parameters
688
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
663
689
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
664
690
  def remove_role_with_http_info(ostree_ostree_remote_href, nested_role, opts = {})
665
691
  if @api_client.config.debugging
@@ -688,6 +714,7 @@ module PulpOstreeClient
688
714
  if !content_type.nil?
689
715
  header_params['Content-Type'] = content_type
690
716
  end
717
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
691
718
 
692
719
  # form parameters
693
720
  form_params = opts[:form_params] || {}
@@ -723,6 +750,7 @@ module PulpOstreeClient
723
750
  # @param ostree_ostree_remote_href [String]
724
751
  # @param set_label [SetLabel]
725
752
  # @param [Hash] opts the optional parameters
753
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
726
754
  # @return [SetLabelResponse]
727
755
  def set_label(ostree_ostree_remote_href, set_label, opts = {})
728
756
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_remote_href, set_label, opts)
@@ -734,6 +762,7 @@ module PulpOstreeClient
734
762
  # @param ostree_ostree_remote_href [String]
735
763
  # @param set_label [SetLabel]
736
764
  # @param [Hash] opts the optional parameters
765
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
737
766
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
738
767
  def set_label_with_http_info(ostree_ostree_remote_href, set_label, opts = {})
739
768
  if @api_client.config.debugging
@@ -762,6 +791,7 @@ module PulpOstreeClient
762
791
  if !content_type.nil?
763
792
  header_params['Content-Type'] = content_type
764
793
  end
794
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
765
795
 
766
796
  # form parameters
767
797
  form_params = opts[:form_params] || {}
@@ -797,6 +827,7 @@ module PulpOstreeClient
797
827
  # @param ostree_ostree_remote_href [String]
798
828
  # @param unset_label [UnsetLabel]
799
829
  # @param [Hash] opts the optional parameters
830
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
800
831
  # @return [UnsetLabelResponse]
801
832
  def unset_label(ostree_ostree_remote_href, unset_label, opts = {})
802
833
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_remote_href, unset_label, opts)
@@ -808,6 +839,7 @@ module PulpOstreeClient
808
839
  # @param ostree_ostree_remote_href [String]
809
840
  # @param unset_label [UnsetLabel]
810
841
  # @param [Hash] opts the optional parameters
842
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
811
843
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
812
844
  def unset_label_with_http_info(ostree_ostree_remote_href, unset_label, opts = {})
813
845
  if @api_client.config.debugging
@@ -836,6 +868,7 @@ module PulpOstreeClient
836
868
  if !content_type.nil?
837
869
  header_params['Content-Type'] = content_type
838
870
  end
871
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
839
872
 
840
873
  # form parameters
841
874
  form_params = opts[:form_params] || {}
@@ -871,6 +904,7 @@ module PulpOstreeClient
871
904
  # @param ostree_ostree_remote_href [String]
872
905
  # @param ostree_ostree_remote [OstreeOstreeRemote]
873
906
  # @param [Hash] opts the optional parameters
907
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
874
908
  # @return [AsyncOperationResponse]
875
909
  def update(ostree_ostree_remote_href, ostree_ostree_remote, opts = {})
876
910
  data, _status_code, _headers = update_with_http_info(ostree_ostree_remote_href, ostree_ostree_remote, opts)
@@ -882,6 +916,7 @@ module PulpOstreeClient
882
916
  # @param ostree_ostree_remote_href [String]
883
917
  # @param ostree_ostree_remote [OstreeOstreeRemote]
884
918
  # @param [Hash] opts the optional parameters
919
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
885
920
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
886
921
  def update_with_http_info(ostree_ostree_remote_href, ostree_ostree_remote, opts = {})
887
922
  if @api_client.config.debugging
@@ -910,6 +945,7 @@ module PulpOstreeClient
910
945
  if !content_type.nil?
911
946
  header_params['Content-Type'] = content_type
912
947
  end
948
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
913
949
 
914
950
  # form parameters
915
951
  form_params = opts[:form_params] || {}