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
@@ -12,7 +12,7 @@ All URIs are relative to *http://localhost:24817*
12
12
 
13
13
  ## delete
14
14
 
15
- > <AsyncOperationResponse> delete(ostree_ostree_repository_version_href)
15
+ > <AsyncOperationResponse> delete(ostree_ostree_repository_version_href, opts)
16
16
 
17
17
  Delete a repository version
18
18
 
@@ -32,10 +32,13 @@ end
32
32
 
33
33
  api_instance = PulpOstreeClient::RepositoriesOstreeVersionsApi.new
34
34
  ostree_ostree_repository_version_href = 'ostree_ostree_repository_version_href_example' # String |
35
+ opts = {
36
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
37
+ }
35
38
 
36
39
  begin
37
40
  # Delete a repository version
38
- result = api_instance.delete(ostree_ostree_repository_version_href)
41
+ result = api_instance.delete(ostree_ostree_repository_version_href, opts)
39
42
  p result
40
43
  rescue PulpOstreeClient::ApiError => e
41
44
  puts "Error when calling RepositoriesOstreeVersionsApi->delete: #{e}"
@@ -46,12 +49,12 @@ end
46
49
 
47
50
  This returns an Array which contains the response data, status code and headers.
48
51
 
49
- > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ostree_ostree_repository_version_href)
52
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ostree_ostree_repository_version_href, opts)
50
53
 
51
54
  ```ruby
52
55
  begin
53
56
  # Delete a repository version
54
- data, status_code, headers = api_instance.delete_with_http_info(ostree_ostree_repository_version_href)
57
+ data, status_code, headers = api_instance.delete_with_http_info(ostree_ostree_repository_version_href, opts)
55
58
  p status_code # => 2xx
56
59
  p headers # => { ... }
57
60
  p data # => <AsyncOperationResponse>
@@ -65,6 +68,7 @@ end
65
68
  | Name | Type | Description | Notes |
66
69
  | ---- | ---- | ----------- | ----- |
67
70
  | **ostree_ostree_repository_version_href** | **String** | | |
71
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
68
72
 
69
73
  ### Return type
70
74
 
@@ -103,6 +107,7 @@ end
103
107
  api_instance = PulpOstreeClient::RepositoriesOstreeVersionsApi.new
104
108
  ostree_ostree_repository_href = 'ostree_ostree_repository_href_example' # String |
105
109
  opts = {
110
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
106
111
  content: 'content_example', # String | Content Unit referenced by HREF/PRN
107
112
  content__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
108
113
  limit: 56, # Integer | Number of results to return per page.
@@ -113,7 +118,7 @@ opts = {
113
118
  number__lte: 56, # Integer | Filter results where number is less than or equal to value
114
119
  number__range: [37], # Array<Integer> | Filter results where number is between two comma separated values
115
120
  offset: 56, # Integer | The initial index from which to return the results.
116
- ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
121
+ ordering: ['-complete'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `content_ids` - Content ids * `-content_ids` - Content ids (descending) * `pk` - Pk * `-pk` - Pk (descending)
117
122
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
118
123
  pulp_created: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created matches value
119
124
  pulp_created__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_created is greater than value
@@ -160,6 +165,7 @@ end
160
165
  | Name | Type | Description | Notes |
161
166
  | ---- | ---- | ----------- | ----- |
162
167
  | **ostree_ostree_repository_href** | **String** | | |
168
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
163
169
  | **content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
164
170
  | **content__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
165
171
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
@@ -170,7 +176,7 @@ end
170
176
  | **number__lte** | **Integer** | Filter results where number is less than or equal to value | [optional] |
171
177
  | **number__range** | [**Array&lt;Integer&gt;**](Integer.md) | Filter results where number is between two comma separated values | [optional] |
172
178
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
173
- | **ordering** | [**Array&lt;String&gt;**](String.md) | 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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
179
+ | **ordering** | [**Array&lt;String&gt;**](String.md) | 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;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
174
180
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
175
181
  | **pulp_created** | **Time** | Filter results where pulp_created matches value | [optional] |
176
182
  | **pulp_created__gt** | **Time** | Filter results where pulp_created is greater than value | [optional] |
@@ -221,6 +227,7 @@ end
221
227
  api_instance = PulpOstreeClient::RepositoriesOstreeVersionsApi.new
222
228
  ostree_ostree_repository_version_href = 'ostree_ostree_repository_version_href_example' # String |
223
229
  opts = {
230
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
224
231
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
225
232
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
226
233
  }
@@ -257,6 +264,7 @@ end
257
264
  | Name | Type | Description | Notes |
258
265
  | ---- | ---- | ----------- | ----- |
259
266
  | **ostree_ostree_repository_version_href** | **String** | | |
267
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
260
268
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
261
269
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
262
270
 
@@ -276,7 +284,7 @@ end
276
284
 
277
285
  ## repair
278
286
 
279
- > <AsyncOperationResponse> repair(ostree_ostree_repository_version_href, repair)
287
+ > <AsyncOperationResponse> repair(ostree_ostree_repository_version_href, repair, opts)
280
288
 
281
289
 
282
290
 
@@ -297,10 +305,13 @@ end
297
305
  api_instance = PulpOstreeClient::RepositoriesOstreeVersionsApi.new
298
306
  ostree_ostree_repository_version_href = 'ostree_ostree_repository_version_href_example' # String |
299
307
  repair = PulpOstreeClient::Repair.new # Repair |
308
+ opts = {
309
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
310
+ }
300
311
 
301
312
  begin
302
313
 
303
- result = api_instance.repair(ostree_ostree_repository_version_href, repair)
314
+ result = api_instance.repair(ostree_ostree_repository_version_href, repair, opts)
304
315
  p result
305
316
  rescue PulpOstreeClient::ApiError => e
306
317
  puts "Error when calling RepositoriesOstreeVersionsApi->repair: #{e}"
@@ -311,12 +322,12 @@ end
311
322
 
312
323
  This returns an Array which contains the response data, status code and headers.
313
324
 
314
- > <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(ostree_ostree_repository_version_href, repair)
325
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> repair_with_http_info(ostree_ostree_repository_version_href, repair, opts)
315
326
 
316
327
  ```ruby
317
328
  begin
318
329
 
319
- data, status_code, headers = api_instance.repair_with_http_info(ostree_ostree_repository_version_href, repair)
330
+ data, status_code, headers = api_instance.repair_with_http_info(ostree_ostree_repository_version_href, repair, opts)
320
331
  p status_code # => 2xx
321
332
  p headers # => { ... }
322
333
  p data # => <AsyncOperationResponse>
@@ -331,6 +342,7 @@ end
331
342
  | ---- | ---- | ----------- | ----- |
332
343
  | **ostree_ostree_repository_version_href** | **String** | | |
333
344
  | **repair** | [**Repair**](Repair.md) | | |
345
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
334
346
 
335
347
  ### Return type
336
348
 
@@ -12,6 +12,7 @@
12
12
  | **repository** | **String** | | [optional][readonly] |
13
13
  | **base_version** | **String** | A repository version whose content was used as the initial set of content for this repository version | [optional] |
14
14
  | **content_summary** | [**ContentSummaryResponse**](ContentSummaryResponse.md) | Various count summaries of the content in the version and the HREF to view them. | [optional][readonly] |
15
+ | **vuln_report** | **String** | | [optional][readonly] |
15
16
 
16
17
  ## Example
17
18
 
@@ -26,7 +27,8 @@ instance = PulpOstreeClient::RepositoryVersionResponse.new(
26
27
  number: null,
27
28
  repository: null,
28
29
  base_version: null,
29
- content_summary: null
30
+ content_summary: null,
31
+ vuln_report: null
30
32
  )
31
33
  ```
32
34
 
@@ -22,6 +22,7 @@ module PulpOstreeClient
22
22
  # List ostree commits
23
23
  # A ViewSet class for OSTree commits.
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 [String] :checksum Filter results where checksum matches value
26
27
  # @option opts [Integer] :limit Number of results to return per page.
27
28
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -46,6 +47,7 @@ module PulpOstreeClient
46
47
  # List ostree commits
47
48
  # A ViewSet class for OSTree commits.
48
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
49
51
  # @option opts [String] :checksum Filter results where checksum matches value
50
52
  # @option opts [Integer] :limit Number of results to return per page.
51
53
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -95,6 +97,7 @@ module PulpOstreeClient
95
97
  header_params = opts[:header_params] || {}
96
98
  # HTTP header 'Accept' (if needed)
97
99
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
100
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
98
101
 
99
102
  # form parameters
100
103
  form_params = opts[:form_params] || {}
@@ -129,6 +132,7 @@ module PulpOstreeClient
129
132
  # A ViewSet class for OSTree commits.
130
133
  # @param ostree_ostree_commit_href [String]
131
134
  # @param [Hash] opts the optional parameters
135
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
132
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
133
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
134
138
  # @return [OstreeOstreeCommitResponse]
@@ -141,6 +145,7 @@ module PulpOstreeClient
141
145
  # A ViewSet class for OSTree commits.
142
146
  # @param ostree_ostree_commit_href [String]
143
147
  # @param [Hash] opts the optional parameters
148
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
144
149
  # @option opts [Array<String>] :fields A list of fields to include in the response.
145
150
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
146
151
  # @return [Array<(OstreeOstreeCommitResponse, Integer, Hash)>] OstreeOstreeCommitResponse data, response status code and response headers
@@ -164,6 +169,7 @@ module PulpOstreeClient
164
169
  header_params = opts[:header_params] || {}
165
170
  # HTTP header 'Accept' (if needed)
166
171
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
172
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
167
173
 
168
174
  # form parameters
169
175
  form_params = opts[:form_params] || {}
@@ -199,6 +205,7 @@ module PulpOstreeClient
199
205
  # @param ostree_ostree_commit_href [String]
200
206
  # @param set_label [SetLabel]
201
207
  # @param [Hash] opts the optional parameters
208
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
202
209
  # @return [SetLabelResponse]
203
210
  def set_label(ostree_ostree_commit_href, set_label, opts = {})
204
211
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_commit_href, set_label, opts)
@@ -210,6 +217,7 @@ module PulpOstreeClient
210
217
  # @param ostree_ostree_commit_href [String]
211
218
  # @param set_label [SetLabel]
212
219
  # @param [Hash] opts the optional parameters
220
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
213
221
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
214
222
  def set_label_with_http_info(ostree_ostree_commit_href, set_label, opts = {})
215
223
  if @api_client.config.debugging
@@ -238,6 +246,7 @@ module PulpOstreeClient
238
246
  if !content_type.nil?
239
247
  header_params['Content-Type'] = content_type
240
248
  end
249
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
241
250
 
242
251
  # form parameters
243
252
  form_params = opts[:form_params] || {}
@@ -273,6 +282,7 @@ module PulpOstreeClient
273
282
  # @param ostree_ostree_commit_href [String]
274
283
  # @param unset_label [UnsetLabel]
275
284
  # @param [Hash] opts the optional parameters
285
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
276
286
  # @return [UnsetLabelResponse]
277
287
  def unset_label(ostree_ostree_commit_href, unset_label, opts = {})
278
288
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_commit_href, unset_label, opts)
@@ -284,6 +294,7 @@ module PulpOstreeClient
284
294
  # @param ostree_ostree_commit_href [String]
285
295
  # @param unset_label [UnsetLabel]
286
296
  # @param [Hash] opts the optional parameters
297
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
287
298
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
288
299
  def unset_label_with_http_info(ostree_ostree_commit_href, unset_label, opts = {})
289
300
  if @api_client.config.debugging
@@ -312,6 +323,7 @@ module PulpOstreeClient
312
323
  if !content_type.nil?
313
324
  header_params['Content-Type'] = content_type
314
325
  end
326
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
315
327
 
316
328
  # form parameters
317
329
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpOstreeClient
22
22
  # List ostree configs
23
23
  # A ViewSet class for OSTree repository configurations.
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 configs
46
47
  # A ViewSet class for OSTree repository configurations.
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 configurations.
127
130
  # @param ostree_ostree_config_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 [OstreeOstreeConfigResponse]
@@ -138,6 +142,7 @@ module PulpOstreeClient
138
142
  # A ViewSet class for OSTree repository configurations.
139
143
  # @param ostree_ostree_config_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<(OstreeOstreeConfigResponse, Integer, Hash)>] OstreeOstreeConfigResponse 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_config_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_config_href, set_label, opts = {})
201
208
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_config_href, set_label, opts)
@@ -207,6 +214,7 @@ module PulpOstreeClient
207
214
  # @param ostree_ostree_config_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_config_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_config_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_config_href, unset_label, opts = {})
275
285
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_config_href, unset_label, opts)
@@ -281,6 +291,7 @@ module PulpOstreeClient
281
291
  # @param ostree_ostree_config_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_config_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] || {}
@@ -23,6 +23,7 @@ module PulpOstreeClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param ostree_ostree_content [OstreeOstreeContent]
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 [AsyncOperationResponse]
27
28
  def create(ostree_ostree_content, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(ostree_ostree_content, opts)
@@ -33,6 +34,7 @@ module PulpOstreeClient
33
34
  # Trigger an asynchronous task to create content,optionally create new repository version.
34
35
  # @param ostree_ostree_content [OstreeOstreeContent]
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def create_with_http_info(ostree_ostree_content, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpOstreeClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}
@@ -90,6 +93,7 @@ module PulpOstreeClient
90
93
  # List ostree contents
91
94
  # A ViewSet class for uncategorized content units (e.g., static deltas).
92
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
93
97
  # @option opts [Integer] :limit Number of results to return per page.
94
98
  # @option opts [Integer] :offset The initial index from which to return the results.
95
99
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -113,6 +117,7 @@ module PulpOstreeClient
113
117
  # List ostree contents
114
118
  # A ViewSet class for uncategorized content units (e.g., static deltas).
115
119
  # @param [Hash] opts the optional parameters
120
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
116
121
  # @option opts [Integer] :limit Number of results to return per page.
117
122
  # @option opts [Integer] :offset The initial index from which to return the results.
118
123
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -160,6 +165,7 @@ module PulpOstreeClient
160
165
  header_params = opts[:header_params] || {}
161
166
  # HTTP header 'Accept' (if needed)
162
167
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
168
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
163
169
 
164
170
  # form parameters
165
171
  form_params = opts[:form_params] || {}
@@ -194,6 +200,7 @@ module PulpOstreeClient
194
200
  # A ViewSet class for uncategorized content units (e.g., static deltas).
195
201
  # @param ostree_ostree_content_href [String]
196
202
  # @param [Hash] opts the optional parameters
203
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
197
204
  # @option opts [Array<String>] :fields A list of fields to include in the response.
198
205
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
199
206
  # @return [OstreeOstreeContentResponse]
@@ -206,6 +213,7 @@ module PulpOstreeClient
206
213
  # A ViewSet class for uncategorized content units (e.g., static deltas).
207
214
  # @param ostree_ostree_content_href [String]
208
215
  # @param [Hash] opts the optional parameters
216
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
209
217
  # @option opts [Array<String>] :fields A list of fields to include in the response.
210
218
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
211
219
  # @return [Array<(OstreeOstreeContentResponse, Integer, Hash)>] OstreeOstreeContentResponse data, response status code and response headers
@@ -229,6 +237,7 @@ module PulpOstreeClient
229
237
  header_params = opts[:header_params] || {}
230
238
  # HTTP header 'Accept' (if needed)
231
239
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
240
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
232
241
 
233
242
  # form parameters
234
243
  form_params = opts[:form_params] || {}
@@ -264,6 +273,7 @@ module PulpOstreeClient
264
273
  # @param ostree_ostree_content_href [String]
265
274
  # @param set_label [SetLabel]
266
275
  # @param [Hash] opts the optional parameters
276
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
267
277
  # @return [SetLabelResponse]
268
278
  def set_label(ostree_ostree_content_href, set_label, opts = {})
269
279
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_content_href, set_label, opts)
@@ -275,6 +285,7 @@ module PulpOstreeClient
275
285
  # @param ostree_ostree_content_href [String]
276
286
  # @param set_label [SetLabel]
277
287
  # @param [Hash] opts the optional parameters
288
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
278
289
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
279
290
  def set_label_with_http_info(ostree_ostree_content_href, set_label, opts = {})
280
291
  if @api_client.config.debugging
@@ -303,6 +314,7 @@ module PulpOstreeClient
303
314
  if !content_type.nil?
304
315
  header_params['Content-Type'] = content_type
305
316
  end
317
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
306
318
 
307
319
  # form parameters
308
320
  form_params = opts[:form_params] || {}
@@ -338,6 +350,7 @@ module PulpOstreeClient
338
350
  # @param ostree_ostree_content_href [String]
339
351
  # @param unset_label [UnsetLabel]
340
352
  # @param [Hash] opts the optional parameters
353
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
341
354
  # @return [UnsetLabelResponse]
342
355
  def unset_label(ostree_ostree_content_href, unset_label, opts = {})
343
356
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_content_href, unset_label, opts)
@@ -349,6 +362,7 @@ module PulpOstreeClient
349
362
  # @param ostree_ostree_content_href [String]
350
363
  # @param unset_label [UnsetLabel]
351
364
  # @param [Hash] opts the optional parameters
365
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
352
366
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
353
367
  def unset_label_with_http_info(ostree_ostree_content_href, unset_label, opts = {})
354
368
  if @api_client.config.debugging
@@ -377,6 +391,7 @@ module PulpOstreeClient
377
391
  if !content_type.nil?
378
392
  header_params['Content-Type'] = content_type
379
393
  end
394
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
380
395
 
381
396
  # form parameters
382
397
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpOstreeClient
22
22
  # List ostree objects
23
23
  # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
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 [String] :checksum Filter results where checksum matches value
26
27
  # @option opts [Integer] :limit Number of results to return per page.
27
28
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -46,6 +47,7 @@ module PulpOstreeClient
46
47
  # List ostree objects
47
48
  # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
48
49
  # @param [Hash] opts the optional parameters
50
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
49
51
  # @option opts [String] :checksum Filter results where checksum matches value
50
52
  # @option opts [Integer] :limit Number of results to return per page.
51
53
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -95,6 +97,7 @@ module PulpOstreeClient
95
97
  header_params = opts[:header_params] || {}
96
98
  # HTTP header 'Accept' (if needed)
97
99
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
100
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
98
101
 
99
102
  # form parameters
100
103
  form_params = opts[:form_params] || {}
@@ -129,6 +132,7 @@ module PulpOstreeClient
129
132
  # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
130
133
  # @param ostree_ostree_object_href [String]
131
134
  # @param [Hash] opts the optional parameters
135
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
132
136
  # @option opts [Array<String>] :fields A list of fields to include in the response.
133
137
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
134
138
  # @return [OstreeOstreeObjectResponse]
@@ -141,6 +145,7 @@ module PulpOstreeClient
141
145
  # A ViewSet class for OSTree objects (e.g., dirtree, dirmeta, file).
142
146
  # @param ostree_ostree_object_href [String]
143
147
  # @param [Hash] opts the optional parameters
148
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
144
149
  # @option opts [Array<String>] :fields A list of fields to include in the response.
145
150
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
146
151
  # @return [Array<(OstreeOstreeObjectResponse, Integer, Hash)>] OstreeOstreeObjectResponse data, response status code and response headers
@@ -164,6 +169,7 @@ module PulpOstreeClient
164
169
  header_params = opts[:header_params] || {}
165
170
  # HTTP header 'Accept' (if needed)
166
171
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
172
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
167
173
 
168
174
  # form parameters
169
175
  form_params = opts[:form_params] || {}
@@ -199,6 +205,7 @@ module PulpOstreeClient
199
205
  # @param ostree_ostree_object_href [String]
200
206
  # @param set_label [SetLabel]
201
207
  # @param [Hash] opts the optional parameters
208
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
202
209
  # @return [SetLabelResponse]
203
210
  def set_label(ostree_ostree_object_href, set_label, opts = {})
204
211
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_object_href, set_label, opts)
@@ -210,6 +217,7 @@ module PulpOstreeClient
210
217
  # @param ostree_ostree_object_href [String]
211
218
  # @param set_label [SetLabel]
212
219
  # @param [Hash] opts the optional parameters
220
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
213
221
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
214
222
  def set_label_with_http_info(ostree_ostree_object_href, set_label, opts = {})
215
223
  if @api_client.config.debugging
@@ -238,6 +246,7 @@ module PulpOstreeClient
238
246
  if !content_type.nil?
239
247
  header_params['Content-Type'] = content_type
240
248
  end
249
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
241
250
 
242
251
  # form parameters
243
252
  form_params = opts[:form_params] || {}
@@ -273,6 +282,7 @@ module PulpOstreeClient
273
282
  # @param ostree_ostree_object_href [String]
274
283
  # @param unset_label [UnsetLabel]
275
284
  # @param [Hash] opts the optional parameters
285
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
276
286
  # @return [UnsetLabelResponse]
277
287
  def unset_label(ostree_ostree_object_href, unset_label, opts = {})
278
288
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_object_href, unset_label, opts)
@@ -284,6 +294,7 @@ module PulpOstreeClient
284
294
  # @param ostree_ostree_object_href [String]
285
295
  # @param unset_label [UnsetLabel]
286
296
  # @param [Hash] opts the optional parameters
297
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
287
298
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
288
299
  def unset_label_with_http_info(ostree_ostree_object_href, unset_label, opts = {})
289
300
  if @api_client.config.debugging
@@ -312,6 +323,7 @@ module PulpOstreeClient
312
323
  if !content_type.nil?
313
324
  header_params['Content-Type'] = content_type
314
325
  end
326
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
315
327
 
316
328
  # form parameters
317
329
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpOstreeClient
22
22
  # List ostree refs
23
23
  # A ViewSet class for OSTree head commits.
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 [String] :checksum
26
27
  # @option opts [Integer] :limit Number of results to return per page.
27
28
  # @option opts [String] :name Filter results where name matches value
@@ -55,6 +56,7 @@ module PulpOstreeClient
55
56
  # List ostree refs
56
57
  # A ViewSet class for OSTree head commits.
57
58
  # @param [Hash] opts the optional parameters
59
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
58
60
  # @option opts [String] :checksum
59
61
  # @option opts [Integer] :limit Number of results to return per page.
60
62
  # @option opts [String] :name Filter results where name matches value
@@ -122,6 +124,7 @@ module PulpOstreeClient
122
124
  header_params = opts[:header_params] || {}
123
125
  # HTTP header 'Accept' (if needed)
124
126
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
127
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
125
128
 
126
129
  # form parameters
127
130
  form_params = opts[:form_params] || {}
@@ -156,6 +159,7 @@ module PulpOstreeClient
156
159
  # A ViewSet class for OSTree head commits.
157
160
  # @param ostree_ostree_ref_href [String]
158
161
  # @param [Hash] opts the optional parameters
162
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
159
163
  # @option opts [Array<String>] :fields A list of fields to include in the response.
160
164
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
161
165
  # @return [OstreeOstreeRefResponse]
@@ -168,6 +172,7 @@ module PulpOstreeClient
168
172
  # A ViewSet class for OSTree head commits.
169
173
  # @param ostree_ostree_ref_href [String]
170
174
  # @param [Hash] opts the optional parameters
175
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
171
176
  # @option opts [Array<String>] :fields A list of fields to include in the response.
172
177
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
173
178
  # @return [Array<(OstreeOstreeRefResponse, Integer, Hash)>] OstreeOstreeRefResponse data, response status code and response headers
@@ -191,6 +196,7 @@ module PulpOstreeClient
191
196
  header_params = opts[:header_params] || {}
192
197
  # HTTP header 'Accept' (if needed)
193
198
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
199
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
194
200
 
195
201
  # form parameters
196
202
  form_params = opts[:form_params] || {}
@@ -226,6 +232,7 @@ module PulpOstreeClient
226
232
  # @param ostree_ostree_ref_href [String]
227
233
  # @param set_label [SetLabel]
228
234
  # @param [Hash] opts the optional parameters
235
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
229
236
  # @return [SetLabelResponse]
230
237
  def set_label(ostree_ostree_ref_href, set_label, opts = {})
231
238
  data, _status_code, _headers = set_label_with_http_info(ostree_ostree_ref_href, set_label, opts)
@@ -237,6 +244,7 @@ module PulpOstreeClient
237
244
  # @param ostree_ostree_ref_href [String]
238
245
  # @param set_label [SetLabel]
239
246
  # @param [Hash] opts the optional parameters
247
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
240
248
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
241
249
  def set_label_with_http_info(ostree_ostree_ref_href, set_label, opts = {})
242
250
  if @api_client.config.debugging
@@ -265,6 +273,7 @@ module PulpOstreeClient
265
273
  if !content_type.nil?
266
274
  header_params['Content-Type'] = content_type
267
275
  end
276
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
268
277
 
269
278
  # form parameters
270
279
  form_params = opts[:form_params] || {}
@@ -300,6 +309,7 @@ module PulpOstreeClient
300
309
  # @param ostree_ostree_ref_href [String]
301
310
  # @param unset_label [UnsetLabel]
302
311
  # @param [Hash] opts the optional parameters
312
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
303
313
  # @return [UnsetLabelResponse]
304
314
  def unset_label(ostree_ostree_ref_href, unset_label, opts = {})
305
315
  data, _status_code, _headers = unset_label_with_http_info(ostree_ostree_ref_href, unset_label, opts)
@@ -311,6 +321,7 @@ module PulpOstreeClient
311
321
  # @param ostree_ostree_ref_href [String]
312
322
  # @param unset_label [UnsetLabel]
313
323
  # @param [Hash] opts the optional parameters
324
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
314
325
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
315
326
  def unset_label_with_http_info(ostree_ostree_ref_href, unset_label, opts = {})
316
327
  if @api_client.config.debugging
@@ -339,6 +350,7 @@ module PulpOstreeClient
339
350
  if !content_type.nil?
340
351
  header_params['Content-Type'] = content_type
341
352
  end
353
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
342
354
 
343
355
  # form parameters
344
356
  form_params = opts[:form_params] || {}