pulp_gem_client 0.7.1 → 0.7.2

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 (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentGemApi.md +22 -8
  4. data/docs/DistributionsGemApi.md +72 -32
  5. data/docs/GemGemContentResponse.md +2 -0
  6. data/docs/GemGemRemoteResponse.md +1 -1
  7. data/docs/PublicationsGemApi.md +40 -16
  8. data/docs/RemotesGemApi.md +72 -32
  9. data/docs/RepositoriesGemApi.md +88 -40
  10. data/docs/RepositoriesGemVersionsApi.md +22 -10
  11. data/docs/RepositoryVersionResponse.md +3 -1
  12. data/lib/pulp_gem_client/api/content_gem_api.rb +15 -0
  13. data/lib/pulp_gem_client/api/distributions_gem_api.rb +36 -0
  14. data/lib/pulp_gem_client/api/publications_gem_api.rb +24 -0
  15. data/lib/pulp_gem_client/api/remotes_gem_api.rb +36 -0
  16. data/lib/pulp_gem_client/api/repositories_gem_api.rb +42 -0
  17. data/lib/pulp_gem_client/api/repositories_gem_versions_api.rb +15 -3
  18. data/lib/pulp_gem_client/models/gem_gem_content_response.rb +10 -1
  19. data/lib/pulp_gem_client/models/gem_gem_remote.rb +0 -17
  20. data/lib/pulp_gem_client/models/gem_gem_remote_response.rb +0 -17
  21. data/lib/pulp_gem_client/models/gem_gem_repository.rb +0 -15
  22. data/lib/pulp_gem_client/models/gem_gem_repository_response.rb +0 -15
  23. data/lib/pulp_gem_client/models/paginated_repository_version_response_list.rb +0 -2
  24. data/lib/pulp_gem_client/models/paginatedgem_gem_content_response_list.rb +0 -2
  25. data/lib/pulp_gem_client/models/paginatedgem_gem_distribution_response_list.rb +0 -2
  26. data/lib/pulp_gem_client/models/paginatedgem_gem_publication_response_list.rb +0 -2
  27. data/lib/pulp_gem_client/models/paginatedgem_gem_remote_response_list.rb +0 -2
  28. data/lib/pulp_gem_client/models/paginatedgem_gem_repository_response_list.rb +0 -2
  29. data/lib/pulp_gem_client/models/patchedgem_gem_remote.rb +0 -17
  30. data/lib/pulp_gem_client/models/patchedgem_gem_repository.rb +0 -15
  31. data/lib/pulp_gem_client/models/repository_version_response.rb +13 -4
  32. data/lib/pulp_gem_client/version.rb +1 -1
  33. data/pulp_gem_client.gemspec +0 -1
  34. data/spec/api/content_gem_api_spec.rb +5 -0
  35. data/spec/api/distributions_gem_api_spec.rb +12 -0
  36. data/spec/api/publications_gem_api_spec.rb +8 -0
  37. data/spec/api/remotes_gem_api_spec.rb +12 -0
  38. data/spec/api/repositories_gem_api_spec.rb +14 -0
  39. data/spec/api/repositories_gem_versions_api_spec.rb +5 -1
  40. data/spec/models/gem_gem_content_response_spec.rb +6 -0
  41. data/spec/models/repository_version_response_spec.rb +6 -0
  42. metadata +28 -48
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3007be0eb7890f58b7a6929a538e4134e4ab0cd974e974a504d288d449173823
4
- data.tar.gz: 3ea8e5d5a4be65f7d0aa8c47fbca015e086256c4643280b9ffc78da382cdf92d
3
+ metadata.gz: d0f45ad582c861fe815cde4500d4862720df97871a011783a02b9b372e4fefd3
4
+ data.tar.gz: 28a10768cbb2af44a758b3b60a1d723549f665e8073e3adbee6523f895d174e8
5
5
  SHA512:
6
- metadata.gz: 2d7258cfca8a1a26410c710704b2f2f83be21c42c8144071f325309259435298f8ebc166315bc5f8c6925494b6ce66c65864b318d0e9be218ec783b2c5f5fd65
7
- data.tar.gz: 502a94c4b39b7e4afbc598aa77ac65ff263d43025151b8522ee4539134c313e01f763abdd5ca53b936ca7abd548b68a6b9ea2744334ca6152bf6da5a388fd133
6
+ metadata.gz: 6eea771ab15d35f31f045b892348addbf65438c4485903fb0f3a4072343d477e52dd72626a0577e10e9dc63a9a25fd18faee28d551c75272a5ba83dd3c3fa18d
7
+ data.tar.gz: 97df1ad83c9831083a7e06e9c1c8c5d43cba1848490825a072c87abee6955752f26602bc11ede09b76a40770bbc653d2295cc1d706c98cdff5394150de65dc00
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: 0.7.1
10
+ - Package version: 0.7.2
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_gem_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_gem_client-0.7.1.gem
28
+ gem install ./pulp_gem_client-0.7.2.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_gem_client-0.7.1.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_gem_client-0.7.2.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_gem_client', '~> 0.7.1'
37
+ gem 'pulp_gem_client', '~> 0.7.2'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -69,6 +69,7 @@ end
69
69
 
70
70
  api_instance = PulpGemClient::ContentGemApi.new
71
71
  opts = {
72
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
72
73
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
73
74
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
74
75
  artifact: 'artifact_example', # String | Artifact file representing the physical content
@@ -33,6 +33,7 @@ end
33
33
 
34
34
  api_instance = PulpGemClient::ContentGemApi.new
35
35
  opts = {
36
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
36
37
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
38
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
38
39
  artifact: 'artifact_example', # String | Artifact file representing the physical content
@@ -70,6 +71,7 @@ end
70
71
 
71
72
  | Name | Type | Description | Notes |
72
73
  | ---- | ---- | ----------- | ----- |
74
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
73
75
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
74
76
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
75
77
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
@@ -111,6 +113,7 @@ end
111
113
 
112
114
  api_instance = PulpGemClient::ContentGemApi.new
113
115
  opts = {
116
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
114
117
  checksum: 'checksum_example', # String | Filter results where checksum matches value
115
118
  limit: 56, # Integer | Number of results to return per page.
116
119
  name: 'name_example', # String | Filter results where name matches value
@@ -162,6 +165,7 @@ end
162
165
 
163
166
  | Name | Type | Description | Notes |
164
167
  | ---- | ---- | ----------- | ----- |
168
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
165
169
  | **checksum** | **String** | Filter results where checksum matches value | [optional] |
166
170
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
167
171
  | **name** | **String** | Filter results where name matches value | [optional] |
@@ -218,6 +222,7 @@ end
218
222
  api_instance = PulpGemClient::ContentGemApi.new
219
223
  gem_gem_content_href = 'gem_gem_content_href_example' # String |
220
224
  opts = {
225
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
221
226
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
222
227
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
223
228
  }
@@ -254,6 +259,7 @@ end
254
259
  | Name | Type | Description | Notes |
255
260
  | ---- | ---- | ----------- | ----- |
256
261
  | **gem_gem_content_href** | **String** | | |
262
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
257
263
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
258
264
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
259
265
 
@@ -273,7 +279,7 @@ end
273
279
 
274
280
  ## set_label
275
281
 
276
- > <SetLabelResponse> set_label(gem_gem_content_href, set_label)
282
+ > <SetLabelResponse> set_label(gem_gem_content_href, set_label, opts)
277
283
 
278
284
  Set a label
279
285
 
@@ -294,10 +300,13 @@ end
294
300
  api_instance = PulpGemClient::ContentGemApi.new
295
301
  gem_gem_content_href = 'gem_gem_content_href_example' # String |
296
302
  set_label = PulpGemClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
303
+ opts = {
304
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
305
+ }
297
306
 
298
307
  begin
299
308
  # Set a label
300
- result = api_instance.set_label(gem_gem_content_href, set_label)
309
+ result = api_instance.set_label(gem_gem_content_href, set_label, opts)
301
310
  p result
302
311
  rescue PulpGemClient::ApiError => e
303
312
  puts "Error when calling ContentGemApi->set_label: #{e}"
@@ -308,12 +317,12 @@ end
308
317
 
309
318
  This returns an Array which contains the response data, status code and headers.
310
319
 
311
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(gem_gem_content_href, set_label)
320
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(gem_gem_content_href, set_label, opts)
312
321
 
313
322
  ```ruby
314
323
  begin
315
324
  # Set a label
316
- data, status_code, headers = api_instance.set_label_with_http_info(gem_gem_content_href, set_label)
325
+ data, status_code, headers = api_instance.set_label_with_http_info(gem_gem_content_href, set_label, opts)
317
326
  p status_code # => 2xx
318
327
  p headers # => { ... }
319
328
  p data # => <SetLabelResponse>
@@ -328,6 +337,7 @@ end
328
337
  | ---- | ---- | ----------- | ----- |
329
338
  | **gem_gem_content_href** | **String** | | |
330
339
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
340
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
331
341
 
332
342
  ### Return type
333
343
 
@@ -345,7 +355,7 @@ end
345
355
 
346
356
  ## unset_label
347
357
 
348
- > <UnsetLabelResponse> unset_label(gem_gem_content_href, unset_label)
358
+ > <UnsetLabelResponse> unset_label(gem_gem_content_href, unset_label, opts)
349
359
 
350
360
  Unset a label
351
361
 
@@ -366,10 +376,13 @@ end
366
376
  api_instance = PulpGemClient::ContentGemApi.new
367
377
  gem_gem_content_href = 'gem_gem_content_href_example' # String |
368
378
  unset_label = PulpGemClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
379
+ opts = {
380
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
381
+ }
369
382
 
370
383
  begin
371
384
  # Unset a label
372
- result = api_instance.unset_label(gem_gem_content_href, unset_label)
385
+ result = api_instance.unset_label(gem_gem_content_href, unset_label, opts)
373
386
  p result
374
387
  rescue PulpGemClient::ApiError => e
375
388
  puts "Error when calling ContentGemApi->unset_label: #{e}"
@@ -380,12 +393,12 @@ end
380
393
 
381
394
  This returns an Array which contains the response data, status code and headers.
382
395
 
383
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(gem_gem_content_href, unset_label)
396
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(gem_gem_content_href, unset_label, opts)
384
397
 
385
398
  ```ruby
386
399
  begin
387
400
  # Unset a label
388
- data, status_code, headers = api_instance.unset_label_with_http_info(gem_gem_content_href, unset_label)
401
+ data, status_code, headers = api_instance.unset_label_with_http_info(gem_gem_content_href, unset_label, opts)
389
402
  p status_code # => 2xx
390
403
  p headers # => { ... }
391
404
  p data # => <UnsetLabelResponse>
@@ -400,6 +413,7 @@ end
400
413
  | ---- | ---- | ----------- | ----- |
401
414
  | **gem_gem_content_href** | **String** | | |
402
415
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
416
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
403
417
 
404
418
  ### Return type
405
419
 
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
20
20
 
21
21
  ## add_role
22
22
 
23
- > <NestedRoleResponse> add_role(gem_gem_distribution_href, nested_role)
23
+ > <NestedRoleResponse> add_role(gem_gem_distribution_href, nested_role, opts)
24
24
 
25
25
  Add a role
26
26
 
@@ -41,10 +41,13 @@ end
41
41
  api_instance = PulpGemClient::DistributionsGemApi.new
42
42
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
43
43
  nested_role = PulpGemClient::NestedRole.new({role: 'role_example'}) # NestedRole |
44
+ opts = {
45
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
46
+ }
44
47
 
45
48
  begin
46
49
  # Add a role
47
- result = api_instance.add_role(gem_gem_distribution_href, nested_role)
50
+ result = api_instance.add_role(gem_gem_distribution_href, nested_role, opts)
48
51
  p result
49
52
  rescue PulpGemClient::ApiError => e
50
53
  puts "Error when calling DistributionsGemApi->add_role: #{e}"
@@ -55,12 +58,12 @@ end
55
58
 
56
59
  This returns an Array which contains the response data, status code and headers.
57
60
 
58
- > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(gem_gem_distribution_href, nested_role)
61
+ > <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(gem_gem_distribution_href, nested_role, opts)
59
62
 
60
63
  ```ruby
61
64
  begin
62
65
  # Add a role
63
- data, status_code, headers = api_instance.add_role_with_http_info(gem_gem_distribution_href, nested_role)
66
+ data, status_code, headers = api_instance.add_role_with_http_info(gem_gem_distribution_href, nested_role, opts)
64
67
  p status_code # => 2xx
65
68
  p headers # => { ... }
66
69
  p data # => <NestedRoleResponse>
@@ -75,6 +78,7 @@ end
75
78
  | ---- | ---- | ----------- | ----- |
76
79
  | **gem_gem_distribution_href** | **String** | | |
77
80
  | **nested_role** | [**NestedRole**](NestedRole.md) | | |
81
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
78
82
 
79
83
  ### Return type
80
84
 
@@ -92,7 +96,7 @@ end
92
96
 
93
97
  ## create
94
98
 
95
- > <AsyncOperationResponse> create(gem_gem_distribution)
99
+ > <AsyncOperationResponse> create(gem_gem_distribution, opts)
96
100
 
97
101
  Create a gem distribution
98
102
 
@@ -112,10 +116,13 @@ end
112
116
 
113
117
  api_instance = PulpGemClient::DistributionsGemApi.new
114
118
  gem_gem_distribution = PulpGemClient::GemGemDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # GemGemDistribution |
119
+ opts = {
120
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
121
+ }
115
122
 
116
123
  begin
117
124
  # Create a gem distribution
118
- result = api_instance.create(gem_gem_distribution)
125
+ result = api_instance.create(gem_gem_distribution, opts)
119
126
  p result
120
127
  rescue PulpGemClient::ApiError => e
121
128
  puts "Error when calling DistributionsGemApi->create: #{e}"
@@ -126,12 +133,12 @@ end
126
133
 
127
134
  This returns an Array which contains the response data, status code and headers.
128
135
 
129
- > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(gem_gem_distribution)
136
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(gem_gem_distribution, opts)
130
137
 
131
138
  ```ruby
132
139
  begin
133
140
  # Create a gem distribution
134
- data, status_code, headers = api_instance.create_with_http_info(gem_gem_distribution)
141
+ data, status_code, headers = api_instance.create_with_http_info(gem_gem_distribution, opts)
135
142
  p status_code # => 2xx
136
143
  p headers # => { ... }
137
144
  p data # => <AsyncOperationResponse>
@@ -145,6 +152,7 @@ end
145
152
  | Name | Type | Description | Notes |
146
153
  | ---- | ---- | ----------- | ----- |
147
154
  | **gem_gem_distribution** | [**GemGemDistribution**](GemGemDistribution.md) | | |
155
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
148
156
 
149
157
  ### Return type
150
158
 
@@ -162,7 +170,7 @@ end
162
170
 
163
171
  ## delete
164
172
 
165
- > <AsyncOperationResponse> delete(gem_gem_distribution_href)
173
+ > <AsyncOperationResponse> delete(gem_gem_distribution_href, opts)
166
174
 
167
175
  Delete a gem distribution
168
176
 
@@ -182,10 +190,13 @@ end
182
190
 
183
191
  api_instance = PulpGemClient::DistributionsGemApi.new
184
192
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
193
+ opts = {
194
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
195
+ }
185
196
 
186
197
  begin
187
198
  # Delete a gem distribution
188
- result = api_instance.delete(gem_gem_distribution_href)
199
+ result = api_instance.delete(gem_gem_distribution_href, opts)
189
200
  p result
190
201
  rescue PulpGemClient::ApiError => e
191
202
  puts "Error when calling DistributionsGemApi->delete: #{e}"
@@ -196,12 +207,12 @@ end
196
207
 
197
208
  This returns an Array which contains the response data, status code and headers.
198
209
 
199
- > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(gem_gem_distribution_href)
210
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(gem_gem_distribution_href, opts)
200
211
 
201
212
  ```ruby
202
213
  begin
203
214
  # Delete a gem distribution
204
- data, status_code, headers = api_instance.delete_with_http_info(gem_gem_distribution_href)
215
+ data, status_code, headers = api_instance.delete_with_http_info(gem_gem_distribution_href, opts)
205
216
  p status_code # => 2xx
206
217
  p headers # => { ... }
207
218
  p data # => <AsyncOperationResponse>
@@ -215,6 +226,7 @@ end
215
226
  | Name | Type | Description | Notes |
216
227
  | ---- | ---- | ----------- | ----- |
217
228
  | **gem_gem_distribution_href** | **String** | | |
229
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
218
230
 
219
231
  ### Return type
220
232
 
@@ -252,6 +264,7 @@ end
252
264
 
253
265
  api_instance = PulpGemClient::DistributionsGemApi.new
254
266
  opts = {
267
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
255
268
  base_path: 'base_path_example', # String | Filter results where base_path matches value
256
269
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
257
270
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
@@ -312,6 +325,7 @@ end
312
325
 
313
326
  | Name | Type | Description | Notes |
314
327
  | ---- | ---- | ----------- | ----- |
328
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
315
329
  | **base_path** | **String** | Filter results where base_path matches value | [optional] |
316
330
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
317
331
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
@@ -377,6 +391,7 @@ end
377
391
  api_instance = PulpGemClient::DistributionsGemApi.new
378
392
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
379
393
  opts = {
394
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
380
395
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
381
396
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
382
397
  }
@@ -413,6 +428,7 @@ end
413
428
  | Name | Type | Description | Notes |
414
429
  | ---- | ---- | ----------- | ----- |
415
430
  | **gem_gem_distribution_href** | **String** | | |
431
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
416
432
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
417
433
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
418
434
 
@@ -453,6 +469,7 @@ end
453
469
  api_instance = PulpGemClient::DistributionsGemApi.new
454
470
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
455
471
  opts = {
472
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
456
473
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
457
474
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
458
475
  }
@@ -489,6 +506,7 @@ end
489
506
  | Name | Type | Description | Notes |
490
507
  | ---- | ---- | ----------- | ----- |
491
508
  | **gem_gem_distribution_href** | **String** | | |
509
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
492
510
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
493
511
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
494
512
 
@@ -508,7 +526,7 @@ end
508
526
 
509
527
  ## partial_update
510
528
 
511
- > <AsyncOperationResponse> partial_update(gem_gem_distribution_href, patchedgem_gem_distribution)
529
+ > <AsyncOperationResponse> partial_update(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
512
530
 
513
531
  Update a gem distribution
514
532
 
@@ -529,10 +547,13 @@ end
529
547
  api_instance = PulpGemClient::DistributionsGemApi.new
530
548
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
531
549
  patchedgem_gem_distribution = PulpGemClient::PatchedgemGemDistribution.new # PatchedgemGemDistribution |
550
+ opts = {
551
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
552
+ }
532
553
 
533
554
  begin
534
555
  # Update a gem distribution
535
- result = api_instance.partial_update(gem_gem_distribution_href, patchedgem_gem_distribution)
556
+ result = api_instance.partial_update(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
536
557
  p result
537
558
  rescue PulpGemClient::ApiError => e
538
559
  puts "Error when calling DistributionsGemApi->partial_update: #{e}"
@@ -543,12 +564,12 @@ end
543
564
 
544
565
  This returns an Array which contains the response data, status code and headers.
545
566
 
546
- > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution)
567
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
547
568
 
548
569
  ```ruby
549
570
  begin
550
571
  # Update a gem distribution
551
- data, status_code, headers = api_instance.partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution)
572
+ data, status_code, headers = api_instance.partial_update_with_http_info(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
552
573
  p status_code # => 2xx
553
574
  p headers # => { ... }
554
575
  p data # => <AsyncOperationResponse>
@@ -563,6 +584,7 @@ end
563
584
  | ---- | ---- | ----------- | ----- |
564
585
  | **gem_gem_distribution_href** | **String** | | |
565
586
  | **patchedgem_gem_distribution** | [**PatchedgemGemDistribution**](PatchedgemGemDistribution.md) | | |
587
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
566
588
 
567
589
  ### Return type
568
590
 
@@ -601,6 +623,7 @@ end
601
623
  api_instance = PulpGemClient::DistributionsGemApi.new
602
624
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
603
625
  opts = {
626
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
604
627
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
605
628
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
606
629
  }
@@ -637,6 +660,7 @@ end
637
660
  | Name | Type | Description | Notes |
638
661
  | ---- | ---- | ----------- | ----- |
639
662
  | **gem_gem_distribution_href** | **String** | | |
663
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
640
664
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
641
665
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
642
666
 
@@ -656,7 +680,7 @@ end
656
680
 
657
681
  ## remove_role
658
682
 
659
- > <NestedRoleResponse> remove_role(gem_gem_distribution_href, nested_role)
683
+ > <NestedRoleResponse> remove_role(gem_gem_distribution_href, nested_role, opts)
660
684
 
661
685
  Remove a role
662
686
 
@@ -677,10 +701,13 @@ end
677
701
  api_instance = PulpGemClient::DistributionsGemApi.new
678
702
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
679
703
  nested_role = PulpGemClient::NestedRole.new({role: 'role_example'}) # NestedRole |
704
+ opts = {
705
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
706
+ }
680
707
 
681
708
  begin
682
709
  # Remove a role
683
- result = api_instance.remove_role(gem_gem_distribution_href, nested_role)
710
+ result = api_instance.remove_role(gem_gem_distribution_href, nested_role, opts)
684
711
  p result
685
712
  rescue PulpGemClient::ApiError => e
686
713
  puts "Error when calling DistributionsGemApi->remove_role: #{e}"
@@ -691,12 +718,12 @@ end
691
718
 
692
719
  This returns an Array which contains the response data, status code and headers.
693
720
 
694
- > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(gem_gem_distribution_href, nested_role)
721
+ > <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(gem_gem_distribution_href, nested_role, opts)
695
722
 
696
723
  ```ruby
697
724
  begin
698
725
  # Remove a role
699
- data, status_code, headers = api_instance.remove_role_with_http_info(gem_gem_distribution_href, nested_role)
726
+ data, status_code, headers = api_instance.remove_role_with_http_info(gem_gem_distribution_href, nested_role, opts)
700
727
  p status_code # => 2xx
701
728
  p headers # => { ... }
702
729
  p data # => <NestedRoleResponse>
@@ -711,6 +738,7 @@ end
711
738
  | ---- | ---- | ----------- | ----- |
712
739
  | **gem_gem_distribution_href** | **String** | | |
713
740
  | **nested_role** | [**NestedRole**](NestedRole.md) | | |
741
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
714
742
 
715
743
  ### Return type
716
744
 
@@ -728,7 +756,7 @@ end
728
756
 
729
757
  ## set_label
730
758
 
731
- > <SetLabelResponse> set_label(gem_gem_distribution_href, set_label)
759
+ > <SetLabelResponse> set_label(gem_gem_distribution_href, set_label, opts)
732
760
 
733
761
  Set a label
734
762
 
@@ -749,10 +777,13 @@ end
749
777
  api_instance = PulpGemClient::DistributionsGemApi.new
750
778
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
751
779
  set_label = PulpGemClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
780
+ opts = {
781
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
782
+ }
752
783
 
753
784
  begin
754
785
  # Set a label
755
- result = api_instance.set_label(gem_gem_distribution_href, set_label)
786
+ result = api_instance.set_label(gem_gem_distribution_href, set_label, opts)
756
787
  p result
757
788
  rescue PulpGemClient::ApiError => e
758
789
  puts "Error when calling DistributionsGemApi->set_label: #{e}"
@@ -763,12 +794,12 @@ end
763
794
 
764
795
  This returns an Array which contains the response data, status code and headers.
765
796
 
766
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(gem_gem_distribution_href, set_label)
797
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(gem_gem_distribution_href, set_label, opts)
767
798
 
768
799
  ```ruby
769
800
  begin
770
801
  # Set a label
771
- data, status_code, headers = api_instance.set_label_with_http_info(gem_gem_distribution_href, set_label)
802
+ data, status_code, headers = api_instance.set_label_with_http_info(gem_gem_distribution_href, set_label, opts)
772
803
  p status_code # => 2xx
773
804
  p headers # => { ... }
774
805
  p data # => <SetLabelResponse>
@@ -783,6 +814,7 @@ end
783
814
  | ---- | ---- | ----------- | ----- |
784
815
  | **gem_gem_distribution_href** | **String** | | |
785
816
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
817
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
786
818
 
787
819
  ### Return type
788
820
 
@@ -800,7 +832,7 @@ end
800
832
 
801
833
  ## unset_label
802
834
 
803
- > <UnsetLabelResponse> unset_label(gem_gem_distribution_href, unset_label)
835
+ > <UnsetLabelResponse> unset_label(gem_gem_distribution_href, unset_label, opts)
804
836
 
805
837
  Unset a label
806
838
 
@@ -821,10 +853,13 @@ end
821
853
  api_instance = PulpGemClient::DistributionsGemApi.new
822
854
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
823
855
  unset_label = PulpGemClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
856
+ opts = {
857
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
858
+ }
824
859
 
825
860
  begin
826
861
  # Unset a label
827
- result = api_instance.unset_label(gem_gem_distribution_href, unset_label)
862
+ result = api_instance.unset_label(gem_gem_distribution_href, unset_label, opts)
828
863
  p result
829
864
  rescue PulpGemClient::ApiError => e
830
865
  puts "Error when calling DistributionsGemApi->unset_label: #{e}"
@@ -835,12 +870,12 @@ end
835
870
 
836
871
  This returns an Array which contains the response data, status code and headers.
837
872
 
838
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(gem_gem_distribution_href, unset_label)
873
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(gem_gem_distribution_href, unset_label, opts)
839
874
 
840
875
  ```ruby
841
876
  begin
842
877
  # Unset a label
843
- data, status_code, headers = api_instance.unset_label_with_http_info(gem_gem_distribution_href, unset_label)
878
+ data, status_code, headers = api_instance.unset_label_with_http_info(gem_gem_distribution_href, unset_label, opts)
844
879
  p status_code # => 2xx
845
880
  p headers # => { ... }
846
881
  p data # => <UnsetLabelResponse>
@@ -855,6 +890,7 @@ end
855
890
  | ---- | ---- | ----------- | ----- |
856
891
  | **gem_gem_distribution_href** | **String** | | |
857
892
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
893
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
858
894
 
859
895
  ### Return type
860
896
 
@@ -872,7 +908,7 @@ end
872
908
 
873
909
  ## update
874
910
 
875
- > <AsyncOperationResponse> update(gem_gem_distribution_href, gem_gem_distribution)
911
+ > <AsyncOperationResponse> update(gem_gem_distribution_href, gem_gem_distribution, opts)
876
912
 
877
913
  Update a gem distribution
878
914
 
@@ -893,10 +929,13 @@ end
893
929
  api_instance = PulpGemClient::DistributionsGemApi.new
894
930
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
895
931
  gem_gem_distribution = PulpGemClient::GemGemDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # GemGemDistribution |
932
+ opts = {
933
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
934
+ }
896
935
 
897
936
  begin
898
937
  # Update a gem distribution
899
- result = api_instance.update(gem_gem_distribution_href, gem_gem_distribution)
938
+ result = api_instance.update(gem_gem_distribution_href, gem_gem_distribution, opts)
900
939
  p result
901
940
  rescue PulpGemClient::ApiError => e
902
941
  puts "Error when calling DistributionsGemApi->update: #{e}"
@@ -907,12 +946,12 @@ end
907
946
 
908
947
  This returns an Array which contains the response data, status code and headers.
909
948
 
910
- > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(gem_gem_distribution_href, gem_gem_distribution)
949
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts)
911
950
 
912
951
  ```ruby
913
952
  begin
914
953
  # Update a gem distribution
915
- data, status_code, headers = api_instance.update_with_http_info(gem_gem_distribution_href, gem_gem_distribution)
954
+ data, status_code, headers = api_instance.update_with_http_info(gem_gem_distribution_href, gem_gem_distribution, opts)
916
955
  p status_code # => 2xx
917
956
  p headers # => { ... }
918
957
  p data # => <AsyncOperationResponse>
@@ -927,6 +966,7 @@ end
927
966
  | ---- | ---- | ----------- | ----- |
928
967
  | **gem_gem_distribution_href** | **String** | | |
929
968
  | **gem_gem_distribution** | [**GemGemDistribution**](GemGemDistribution.md) | | |
969
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
930
970
 
931
971
  ### Return type
932
972
 
@@ -9,6 +9,7 @@
9
9
  | **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
10
10
  | **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
11
11
  | **pulp_labels** | **Hash&lt;String, String&gt;** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
12
+ | **vuln_report** | **String** | | [optional][readonly] |
12
13
  | **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {&#39;relative/path&#39;: &#39;/artifacts/1/&#39; | [readonly] |
13
14
  | **checksum** | **String** | SHA256 checksum of the gem | [optional][readonly] |
14
15
  | **name** | **String** | Name of the gem | [optional][readonly] |
@@ -30,6 +31,7 @@ instance = PulpGemClient::GemGemContentResponse.new(
30
31
  pulp_created: null,
31
32
  pulp_last_updated: null,
32
33
  pulp_labels: null,
34
+ vuln_report: null,
33
35
  artifacts: null,
34
36
  checksum: null,
35
37
  name: null,
@@ -24,7 +24,7 @@
24
24
  | **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
25
25
  | **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional] |
26
26
  | **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
27
- | **hidden_fields** | [**Array&lt;GemGemRemoteResponseHiddenFieldsInner&gt;**](GemGemRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
27
+ | **hidden_fields** | [**Array&lt;GemGemRemoteResponseHiddenFieldsInner&gt;**](GemGemRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
28
28
  | **prereleases** | **Boolean** | | [optional][default to false] |
29
29
  | **includes** | **Hash&lt;String, String&gt;** | | [optional] |
30
30
  | **excludes** | **Hash&lt;String, String&gt;** | | [optional] |