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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c7036259f08101f428421813695d22a0dbbc5b14249b75bf03954e7172088ac0
4
- data.tar.gz: 2144a526772736c13ab13a78647074752ebbd2aec4e6cea71e97101133317274
3
+ metadata.gz: ba28fe0635361e651b0e1afc9645a8530f33318a1beb17e99b0b085347b82854
4
+ data.tar.gz: d61d0b3a8b206b173496b9d58ec78b97a46ce9a8308a8718761353f232be8d81
5
5
  SHA512:
6
- metadata.gz: 468928f46e2d6c86cad876c4cca4db3dd6ea2748a2076f7bdcbc67e78b67432c937e73f2de57421bddedca15fdc41a411d3342bc62f14a4bd9cf22ace680bbae
7
- data.tar.gz: 37fdbaff94f09ae19b5b2f6a62bbb8063d8b1c0330e747e53274dc53bf74ca1774336886711524c1f7a65958e7d983e4810cada9ee95406c445bbc2707cf1929
6
+ metadata.gz: 75e525688f93f567737f62c06f8142269b5c6f9413533c956d22bd19d9ada4642daad6393ceb6de6fe127a90d75688dc45fdb6b7b79be2632a212a03743f55f9
7
+ data.tar.gz: 91e45a2208612515c800741645583ad7f136c5d84a9bd43f0c87fb53839da36aff62abc554de35ee4fa77872b99aca0b92dc11745bd16ef6a8c84e8389348772
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 2.4.8
10
+ - Package version: 2.5.0
11
11
  - Generator version: 7.10.0
12
12
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
13
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
@@ -25,16 +25,16 @@ gem build pulp_ostree_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_ostree_client-2.4.8.gem
28
+ gem install ./pulp_ostree_client-2.5.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_ostree_client-2.4.8.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_ostree_client-2.5.0.gem` to install the development dependencies)
32
32
 
33
33
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
34
 
35
35
  Finally add this to the Gemfile:
36
36
 
37
- gem 'pulp_ostree_client', '~> 2.4.8'
37
+ gem 'pulp_ostree_client', '~> 2.5.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -69,6 +69,7 @@ end
69
69
 
70
70
  api_instance = PulpOstreeClient::ContentCommitsApi.new
71
71
  opts = {
72
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
72
73
  checksum: 'checksum_example', # String | Filter results where checksum matches value
73
74
  limit: 56, # Integer | Number of results to return per page.
74
75
  offset: 56, # Integer | The initial index from which to return the results.
@@ -32,6 +32,7 @@ end
32
32
 
33
33
  api_instance = PulpOstreeClient::ContentCommitsApi.new
34
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
35
36
  checksum: 'checksum_example', # String | Filter results where checksum matches value
36
37
  limit: 56, # Integer | Number of results to return per page.
37
38
  offset: 56, # Integer | The initial index from which to return the results.
@@ -80,6 +81,7 @@ end
80
81
 
81
82
  | Name | Type | Description | Notes |
82
83
  | ---- | ---- | ----------- | ----- |
84
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
83
85
  | **checksum** | **String** | Filter results where checksum matches value | [optional] |
84
86
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
85
87
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
@@ -133,6 +135,7 @@ end
133
135
  api_instance = PulpOstreeClient::ContentCommitsApi.new
134
136
  ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
135
137
  opts = {
138
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
136
139
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
137
140
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
138
141
  }
@@ -169,6 +172,7 @@ end
169
172
  | Name | Type | Description | Notes |
170
173
  | ---- | ---- | ----------- | ----- |
171
174
  | **ostree_ostree_commit_href** | **String** | | |
175
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
172
176
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
173
177
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
174
178
 
@@ -188,7 +192,7 @@ end
188
192
 
189
193
  ## set_label
190
194
 
191
- > <SetLabelResponse> set_label(ostree_ostree_commit_href, set_label)
195
+ > <SetLabelResponse> set_label(ostree_ostree_commit_href, set_label, opts)
192
196
 
193
197
  Set a label
194
198
 
@@ -209,10 +213,13 @@ end
209
213
  api_instance = PulpOstreeClient::ContentCommitsApi.new
210
214
  ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
211
215
  set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
216
+ opts = {
217
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
218
+ }
212
219
 
213
220
  begin
214
221
  # Set a label
215
- result = api_instance.set_label(ostree_ostree_commit_href, set_label)
222
+ result = api_instance.set_label(ostree_ostree_commit_href, set_label, opts)
216
223
  p result
217
224
  rescue PulpOstreeClient::ApiError => e
218
225
  puts "Error when calling ContentCommitsApi->set_label: #{e}"
@@ -223,12 +230,12 @@ end
223
230
 
224
231
  This returns an Array which contains the response data, status code and headers.
225
232
 
226
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_commit_href, set_label)
233
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_commit_href, set_label, opts)
227
234
 
228
235
  ```ruby
229
236
  begin
230
237
  # Set a label
231
- data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_commit_href, set_label)
238
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_commit_href, set_label, opts)
232
239
  p status_code # => 2xx
233
240
  p headers # => { ... }
234
241
  p data # => <SetLabelResponse>
@@ -243,6 +250,7 @@ end
243
250
  | ---- | ---- | ----------- | ----- |
244
251
  | **ostree_ostree_commit_href** | **String** | | |
245
252
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
253
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
246
254
 
247
255
  ### Return type
248
256
 
@@ -260,7 +268,7 @@ end
260
268
 
261
269
  ## unset_label
262
270
 
263
- > <UnsetLabelResponse> unset_label(ostree_ostree_commit_href, unset_label)
271
+ > <UnsetLabelResponse> unset_label(ostree_ostree_commit_href, unset_label, opts)
264
272
 
265
273
  Unset a label
266
274
 
@@ -281,10 +289,13 @@ end
281
289
  api_instance = PulpOstreeClient::ContentCommitsApi.new
282
290
  ostree_ostree_commit_href = 'ostree_ostree_commit_href_example' # String |
283
291
  unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
292
+ opts = {
293
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
294
+ }
284
295
 
285
296
  begin
286
297
  # Unset a label
287
- result = api_instance.unset_label(ostree_ostree_commit_href, unset_label)
298
+ result = api_instance.unset_label(ostree_ostree_commit_href, unset_label, opts)
288
299
  p result
289
300
  rescue PulpOstreeClient::ApiError => e
290
301
  puts "Error when calling ContentCommitsApi->unset_label: #{e}"
@@ -295,12 +306,12 @@ end
295
306
 
296
307
  This returns an Array which contains the response data, status code and headers.
297
308
 
298
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_commit_href, unset_label)
309
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_commit_href, unset_label, opts)
299
310
 
300
311
  ```ruby
301
312
  begin
302
313
  # Unset a label
303
- data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_commit_href, unset_label)
314
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_commit_href, unset_label, opts)
304
315
  p status_code # => 2xx
305
316
  p headers # => { ... }
306
317
  p data # => <UnsetLabelResponse>
@@ -315,6 +326,7 @@ end
315
326
  | ---- | ---- | ----------- | ----- |
316
327
  | **ostree_ostree_commit_href** | **String** | | |
317
328
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
329
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
318
330
 
319
331
  ### Return type
320
332
 
@@ -32,6 +32,7 @@ end
32
32
 
33
33
  api_instance = PulpOstreeClient::ContentConfigsApi.new
34
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
35
36
  limit: 56, # Integer | Number of results to return per page.
36
37
  offset: 56, # Integer | The initial index from which to return the results.
37
38
  ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
@@ -79,6 +80,7 @@ end
79
80
 
80
81
  | Name | Type | Description | Notes |
81
82
  | ---- | ---- | ----------- | ----- |
83
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
82
84
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
83
85
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
84
86
  | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
@@ -131,6 +133,7 @@ end
131
133
  api_instance = PulpOstreeClient::ContentConfigsApi.new
132
134
  ostree_ostree_config_href = 'ostree_ostree_config_href_example' # String |
133
135
  opts = {
136
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
134
137
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
135
138
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
136
139
  }
@@ -167,6 +170,7 @@ end
167
170
  | Name | Type | Description | Notes |
168
171
  | ---- | ---- | ----------- | ----- |
169
172
  | **ostree_ostree_config_href** | **String** | | |
173
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
170
174
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
171
175
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
172
176
 
@@ -186,7 +190,7 @@ end
186
190
 
187
191
  ## set_label
188
192
 
189
- > <SetLabelResponse> set_label(ostree_ostree_config_href, set_label)
193
+ > <SetLabelResponse> set_label(ostree_ostree_config_href, set_label, opts)
190
194
 
191
195
  Set a label
192
196
 
@@ -207,10 +211,13 @@ end
207
211
  api_instance = PulpOstreeClient::ContentConfigsApi.new
208
212
  ostree_ostree_config_href = 'ostree_ostree_config_href_example' # String |
209
213
  set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
214
+ opts = {
215
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
216
+ }
210
217
 
211
218
  begin
212
219
  # Set a label
213
- result = api_instance.set_label(ostree_ostree_config_href, set_label)
220
+ result = api_instance.set_label(ostree_ostree_config_href, set_label, opts)
214
221
  p result
215
222
  rescue PulpOstreeClient::ApiError => e
216
223
  puts "Error when calling ContentConfigsApi->set_label: #{e}"
@@ -221,12 +228,12 @@ end
221
228
 
222
229
  This returns an Array which contains the response data, status code and headers.
223
230
 
224
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_config_href, set_label)
231
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_config_href, set_label, opts)
225
232
 
226
233
  ```ruby
227
234
  begin
228
235
  # Set a label
229
- data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_config_href, set_label)
236
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_config_href, set_label, opts)
230
237
  p status_code # => 2xx
231
238
  p headers # => { ... }
232
239
  p data # => <SetLabelResponse>
@@ -241,6 +248,7 @@ end
241
248
  | ---- | ---- | ----------- | ----- |
242
249
  | **ostree_ostree_config_href** | **String** | | |
243
250
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
251
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
244
252
 
245
253
  ### Return type
246
254
 
@@ -258,7 +266,7 @@ end
258
266
 
259
267
  ## unset_label
260
268
 
261
- > <UnsetLabelResponse> unset_label(ostree_ostree_config_href, unset_label)
269
+ > <UnsetLabelResponse> unset_label(ostree_ostree_config_href, unset_label, opts)
262
270
 
263
271
  Unset a label
264
272
 
@@ -279,10 +287,13 @@ end
279
287
  api_instance = PulpOstreeClient::ContentConfigsApi.new
280
288
  ostree_ostree_config_href = 'ostree_ostree_config_href_example' # String |
281
289
  unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
290
+ opts = {
291
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
292
+ }
282
293
 
283
294
  begin
284
295
  # Unset a label
285
- result = api_instance.unset_label(ostree_ostree_config_href, unset_label)
296
+ result = api_instance.unset_label(ostree_ostree_config_href, unset_label, opts)
286
297
  p result
287
298
  rescue PulpOstreeClient::ApiError => e
288
299
  puts "Error when calling ContentConfigsApi->unset_label: #{e}"
@@ -293,12 +304,12 @@ end
293
304
 
294
305
  This returns an Array which contains the response data, status code and headers.
295
306
 
296
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_config_href, unset_label)
307
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_config_href, unset_label, opts)
297
308
 
298
309
  ```ruby
299
310
  begin
300
311
  # Unset a label
301
- data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_config_href, unset_label)
312
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_config_href, unset_label, opts)
302
313
  p status_code # => 2xx
303
314
  p headers # => { ... }
304
315
  p data # => <UnsetLabelResponse>
@@ -313,6 +324,7 @@ end
313
324
  | ---- | ---- | ----------- | ----- |
314
325
  | **ostree_ostree_config_href** | **String** | | |
315
326
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
327
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
316
328
 
317
329
  ### Return type
318
330
 
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
13
13
 
14
14
  ## create
15
15
 
16
- > <AsyncOperationResponse> create(ostree_ostree_content)
16
+ > <AsyncOperationResponse> create(ostree_ostree_content, opts)
17
17
 
18
18
  Create an ostree content
19
19
 
@@ -33,10 +33,13 @@ end
33
33
 
34
34
  api_instance = PulpOstreeClient::ContentContentApi.new
35
35
  ostree_ostree_content = PulpOstreeClient::OstreeOstreeContent.new({artifact: 'artifact_example', relative_path: 'relative_path_example', digest: 'digest_example'}) # OstreeOstreeContent |
36
+ opts = {
37
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
38
+ }
36
39
 
37
40
  begin
38
41
  # Create an ostree content
39
- result = api_instance.create(ostree_ostree_content)
42
+ result = api_instance.create(ostree_ostree_content, opts)
40
43
  p result
41
44
  rescue PulpOstreeClient::ApiError => e
42
45
  puts "Error when calling ContentContentApi->create: #{e}"
@@ -47,12 +50,12 @@ end
47
50
 
48
51
  This returns an Array which contains the response data, status code and headers.
49
52
 
50
- > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(ostree_ostree_content)
53
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(ostree_ostree_content, opts)
51
54
 
52
55
  ```ruby
53
56
  begin
54
57
  # Create an ostree content
55
- data, status_code, headers = api_instance.create_with_http_info(ostree_ostree_content)
58
+ data, status_code, headers = api_instance.create_with_http_info(ostree_ostree_content, opts)
56
59
  p status_code # => 2xx
57
60
  p headers # => { ... }
58
61
  p data # => <AsyncOperationResponse>
@@ -66,6 +69,7 @@ end
66
69
  | Name | Type | Description | Notes |
67
70
  | ---- | ---- | ----------- | ----- |
68
71
  | **ostree_ostree_content** | [**OstreeOstreeContent**](OstreeOstreeContent.md) | | |
72
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
69
73
 
70
74
  ### Return type
71
75
 
@@ -103,6 +107,7 @@ end
103
107
 
104
108
  api_instance = PulpOstreeClient::ContentContentApi.new
105
109
  opts = {
110
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
106
111
  limit: 56, # Integer | Number of results to return per page.
107
112
  offset: 56, # Integer | The initial index from which to return the results.
108
113
  ordering: ['-pk'], # Array<String> | Ordering * `pk` - Pk * `-pk` - Pk (descending)
@@ -150,6 +155,7 @@ end
150
155
 
151
156
  | Name | Type | Description | Notes |
152
157
  | ---- | ---- | ----------- | ----- |
158
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
153
159
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
154
160
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
155
161
  | **ordering** | [**Array&lt;String&gt;**](String.md) | Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
@@ -202,6 +208,7 @@ end
202
208
  api_instance = PulpOstreeClient::ContentContentApi.new
203
209
  ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
204
210
  opts = {
211
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
205
212
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
206
213
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
207
214
  }
@@ -238,6 +245,7 @@ end
238
245
  | Name | Type | Description | Notes |
239
246
  | ---- | ---- | ----------- | ----- |
240
247
  | **ostree_ostree_content_href** | **String** | | |
248
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
241
249
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
242
250
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
243
251
 
@@ -257,7 +265,7 @@ end
257
265
 
258
266
  ## set_label
259
267
 
260
- > <SetLabelResponse> set_label(ostree_ostree_content_href, set_label)
268
+ > <SetLabelResponse> set_label(ostree_ostree_content_href, set_label, opts)
261
269
 
262
270
  Set a label
263
271
 
@@ -278,10 +286,13 @@ end
278
286
  api_instance = PulpOstreeClient::ContentContentApi.new
279
287
  ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
280
288
  set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
289
+ opts = {
290
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
291
+ }
281
292
 
282
293
  begin
283
294
  # Set a label
284
- result = api_instance.set_label(ostree_ostree_content_href, set_label)
295
+ result = api_instance.set_label(ostree_ostree_content_href, set_label, opts)
285
296
  p result
286
297
  rescue PulpOstreeClient::ApiError => e
287
298
  puts "Error when calling ContentContentApi->set_label: #{e}"
@@ -292,12 +303,12 @@ end
292
303
 
293
304
  This returns an Array which contains the response data, status code and headers.
294
305
 
295
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_content_href, set_label)
306
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_content_href, set_label, opts)
296
307
 
297
308
  ```ruby
298
309
  begin
299
310
  # Set a label
300
- data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_content_href, set_label)
311
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_content_href, set_label, opts)
301
312
  p status_code # => 2xx
302
313
  p headers # => { ... }
303
314
  p data # => <SetLabelResponse>
@@ -312,6 +323,7 @@ end
312
323
  | ---- | ---- | ----------- | ----- |
313
324
  | **ostree_ostree_content_href** | **String** | | |
314
325
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
326
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
315
327
 
316
328
  ### Return type
317
329
 
@@ -329,7 +341,7 @@ end
329
341
 
330
342
  ## unset_label
331
343
 
332
- > <UnsetLabelResponse> unset_label(ostree_ostree_content_href, unset_label)
344
+ > <UnsetLabelResponse> unset_label(ostree_ostree_content_href, unset_label, opts)
333
345
 
334
346
  Unset a label
335
347
 
@@ -350,10 +362,13 @@ end
350
362
  api_instance = PulpOstreeClient::ContentContentApi.new
351
363
  ostree_ostree_content_href = 'ostree_ostree_content_href_example' # String |
352
364
  unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
365
+ opts = {
366
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
367
+ }
353
368
 
354
369
  begin
355
370
  # Unset a label
356
- result = api_instance.unset_label(ostree_ostree_content_href, unset_label)
371
+ result = api_instance.unset_label(ostree_ostree_content_href, unset_label, opts)
357
372
  p result
358
373
  rescue PulpOstreeClient::ApiError => e
359
374
  puts "Error when calling ContentContentApi->unset_label: #{e}"
@@ -364,12 +379,12 @@ end
364
379
 
365
380
  This returns an Array which contains the response data, status code and headers.
366
381
 
367
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_content_href, unset_label)
382
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_content_href, unset_label, opts)
368
383
 
369
384
  ```ruby
370
385
  begin
371
386
  # Unset a label
372
- data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_content_href, unset_label)
387
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_content_href, unset_label, opts)
373
388
  p status_code # => 2xx
374
389
  p headers # => { ... }
375
390
  p data # => <UnsetLabelResponse>
@@ -384,6 +399,7 @@ end
384
399
  | ---- | ---- | ----------- | ----- |
385
400
  | **ostree_ostree_content_href** | **String** | | |
386
401
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
402
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
387
403
 
388
404
  ### Return type
389
405
 
@@ -32,6 +32,7 @@ end
32
32
 
33
33
  api_instance = PulpOstreeClient::ContentObjectsApi.new
34
34
  opts = {
35
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
35
36
  checksum: 'checksum_example', # String | Filter results where checksum matches value
36
37
  limit: 56, # Integer | Number of results to return per page.
37
38
  offset: 56, # Integer | The initial index from which to return the results.
@@ -80,6 +81,7 @@ end
80
81
 
81
82
  | Name | Type | Description | Notes |
82
83
  | ---- | ---- | ----------- | ----- |
84
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
83
85
  | **checksum** | **String** | Filter results where checksum matches value | [optional] |
84
86
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
85
87
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
@@ -133,6 +135,7 @@ end
133
135
  api_instance = PulpOstreeClient::ContentObjectsApi.new
134
136
  ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
135
137
  opts = {
138
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
136
139
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
137
140
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
138
141
  }
@@ -169,6 +172,7 @@ end
169
172
  | Name | Type | Description | Notes |
170
173
  | ---- | ---- | ----------- | ----- |
171
174
  | **ostree_ostree_object_href** | **String** | | |
175
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
172
176
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
173
177
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
174
178
 
@@ -188,7 +192,7 @@ end
188
192
 
189
193
  ## set_label
190
194
 
191
- > <SetLabelResponse> set_label(ostree_ostree_object_href, set_label)
195
+ > <SetLabelResponse> set_label(ostree_ostree_object_href, set_label, opts)
192
196
 
193
197
  Set a label
194
198
 
@@ -209,10 +213,13 @@ end
209
213
  api_instance = PulpOstreeClient::ContentObjectsApi.new
210
214
  ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
211
215
  set_label = PulpOstreeClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
216
+ opts = {
217
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
218
+ }
212
219
 
213
220
  begin
214
221
  # Set a label
215
- result = api_instance.set_label(ostree_ostree_object_href, set_label)
222
+ result = api_instance.set_label(ostree_ostree_object_href, set_label, opts)
216
223
  p result
217
224
  rescue PulpOstreeClient::ApiError => e
218
225
  puts "Error when calling ContentObjectsApi->set_label: #{e}"
@@ -223,12 +230,12 @@ end
223
230
 
224
231
  This returns an Array which contains the response data, status code and headers.
225
232
 
226
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_object_href, set_label)
233
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ostree_ostree_object_href, set_label, opts)
227
234
 
228
235
  ```ruby
229
236
  begin
230
237
  # Set a label
231
- data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_object_href, set_label)
238
+ data, status_code, headers = api_instance.set_label_with_http_info(ostree_ostree_object_href, set_label, opts)
232
239
  p status_code # => 2xx
233
240
  p headers # => { ... }
234
241
  p data # => <SetLabelResponse>
@@ -243,6 +250,7 @@ end
243
250
  | ---- | ---- | ----------- | ----- |
244
251
  | **ostree_ostree_object_href** | **String** | | |
245
252
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
253
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
246
254
 
247
255
  ### Return type
248
256
 
@@ -260,7 +268,7 @@ end
260
268
 
261
269
  ## unset_label
262
270
 
263
- > <UnsetLabelResponse> unset_label(ostree_ostree_object_href, unset_label)
271
+ > <UnsetLabelResponse> unset_label(ostree_ostree_object_href, unset_label, opts)
264
272
 
265
273
  Unset a label
266
274
 
@@ -281,10 +289,13 @@ end
281
289
  api_instance = PulpOstreeClient::ContentObjectsApi.new
282
290
  ostree_ostree_object_href = 'ostree_ostree_object_href_example' # String |
283
291
  unset_label = PulpOstreeClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
292
+ opts = {
293
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
294
+ }
284
295
 
285
296
  begin
286
297
  # Unset a label
287
- result = api_instance.unset_label(ostree_ostree_object_href, unset_label)
298
+ result = api_instance.unset_label(ostree_ostree_object_href, unset_label, opts)
288
299
  p result
289
300
  rescue PulpOstreeClient::ApiError => e
290
301
  puts "Error when calling ContentObjectsApi->unset_label: #{e}"
@@ -295,12 +306,12 @@ end
295
306
 
296
307
  This returns an Array which contains the response data, status code and headers.
297
308
 
298
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_object_href, unset_label)
309
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ostree_ostree_object_href, unset_label, opts)
299
310
 
300
311
  ```ruby
301
312
  begin
302
313
  # Unset a label
303
- data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_object_href, unset_label)
314
+ data, status_code, headers = api_instance.unset_label_with_http_info(ostree_ostree_object_href, unset_label, opts)
304
315
  p status_code # => 2xx
305
316
  p headers # => { ... }
306
317
  p data # => <UnsetLabelResponse>
@@ -315,6 +326,7 @@ end
315
326
  | ---- | ---- | ----------- | ----- |
316
327
  | **ostree_ostree_object_href** | **String** | | |
317
328
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
329
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
318
330
 
319
331
  ### Return type
320
332