pulp_gem_client 0.7.0 → 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 +76 -34
  5. data/docs/GemGemContentResponse.md +2 -0
  6. data/docs/GemGemRemoteResponse.md +1 -1
  7. data/docs/PublicationsGemApi.md +44 -18
  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 +42 -3
  14. data/lib/pulp_gem_client/api/publications_gem_api.rb +30 -3
  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 +14 -1
  36. data/spec/api/publications_gem_api_spec.rb +10 -1
  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: 78e153bf6c2b9f77d49caef80f592dcb6fb80a43f51160bfa0ac683c8dd0211d
4
- data.tar.gz: 32eeae6717927583f11ea813a5535c662ca601f918cbd668f2210702f3c41523
3
+ metadata.gz: d0f45ad582c861fe815cde4500d4862720df97871a011783a02b9b372e4fefd3
4
+ data.tar.gz: 28a10768cbb2af44a758b3b60a1d723549f665e8073e3adbee6523f895d174e8
5
5
  SHA512:
6
- metadata.gz: 4cdf43ec58c7120d548d610cc2a760789e1f09aca7e055280b39d858225943f3ac9ef877afa87749ce44fb20f66ad130768782635e9c06ebc3684534c2fe12d1
7
- data.tar.gz: 91aa2f0a51af6b8e08c994c92b3b03d7cb5de17507e70a2284a3510203ead2aacd844aaac4b97ce4ed60c8bd8677bb75593c9518a39e0604bce959865c3aeca2
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.0
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.0.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.0.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.0'
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,10 +264,12 @@ 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
258
271
  base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
272
+ checkpoint: true, # Boolean | Filter results where checkpoint matches value
259
273
  limit: 56, # Integer | Number of results to return per page.
260
274
  name: 'name_example', # String | Filter results where name matches value
261
275
  name__contains: 'name__contains_example', # String | Filter results where name contains value
@@ -267,7 +281,7 @@ opts = {
267
281
  name__regex: 'name__regex_example', # String | Filter results where name matches regex value
268
282
  name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
269
283
  offset: 56, # Integer | The initial index from which to return the results.
270
- ordering: ['-base_path'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
284
+ ordering: ['-base_path'], # 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) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
271
285
  prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
272
286
  pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
273
287
  pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
@@ -311,10 +325,12 @@ end
311
325
 
312
326
  | Name | Type | Description | Notes |
313
327
  | ---- | ---- | ----------- | ----- |
328
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
314
329
  | **base_path** | **String** | Filter results where base_path matches value | [optional] |
315
330
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
316
331
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
317
332
  | **base_path__in** | [**Array&lt;String&gt;**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
333
+ | **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
318
334
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
319
335
  | **name** | **String** | Filter results where name matches value | [optional] |
320
336
  | **name__contains** | **String** | Filter results where name contains value | [optional] |
@@ -326,7 +342,7 @@ end
326
342
  | **name__regex** | **String** | Filter results where name matches regex value | [optional] |
327
343
  | **name__startswith** | **String** | Filter results where name starts with value | [optional] |
328
344
  | **offset** | **Integer** | The initial index from which to return the results. | [optional] |
329
- | **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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
345
+ | **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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;checkpoint&#x60; - Checkpoint * &#x60;-checkpoint&#x60; - Checkpoint (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending) | [optional] |
330
346
  | **prn__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
331
347
  | **pulp_href__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
332
348
  | **pulp_id__in** | [**Array&lt;String&gt;**](String.md) | Multiple values may be separated by commas. | [optional] |
@@ -375,6 +391,7 @@ end
375
391
  api_instance = PulpGemClient::DistributionsGemApi.new
376
392
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
377
393
  opts = {
394
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
378
395
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
379
396
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
380
397
  }
@@ -411,6 +428,7 @@ end
411
428
  | Name | Type | Description | Notes |
412
429
  | ---- | ---- | ----------- | ----- |
413
430
  | **gem_gem_distribution_href** | **String** | | |
431
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
414
432
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
415
433
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
416
434
 
@@ -451,6 +469,7 @@ end
451
469
  api_instance = PulpGemClient::DistributionsGemApi.new
452
470
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
453
471
  opts = {
472
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
454
473
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
455
474
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
456
475
  }
@@ -487,6 +506,7 @@ end
487
506
  | Name | Type | Description | Notes |
488
507
  | ---- | ---- | ----------- | ----- |
489
508
  | **gem_gem_distribution_href** | **String** | | |
509
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
490
510
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
491
511
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
492
512
 
@@ -506,7 +526,7 @@ end
506
526
 
507
527
  ## partial_update
508
528
 
509
- > <AsyncOperationResponse> partial_update(gem_gem_distribution_href, patchedgem_gem_distribution)
529
+ > <AsyncOperationResponse> partial_update(gem_gem_distribution_href, patchedgem_gem_distribution, opts)
510
530
 
511
531
  Update a gem distribution
512
532
 
@@ -527,10 +547,13 @@ end
527
547
  api_instance = PulpGemClient::DistributionsGemApi.new
528
548
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
529
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
+ }
530
553
 
531
554
  begin
532
555
  # Update a gem distribution
533
- 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)
534
557
  p result
535
558
  rescue PulpGemClient::ApiError => e
536
559
  puts "Error when calling DistributionsGemApi->partial_update: #{e}"
@@ -541,12 +564,12 @@ end
541
564
 
542
565
  This returns an Array which contains the response data, status code and headers.
543
566
 
544
- > <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)
545
568
 
546
569
  ```ruby
547
570
  begin
548
571
  # Update a gem distribution
549
- 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)
550
573
  p status_code # => 2xx
551
574
  p headers # => { ... }
552
575
  p data # => <AsyncOperationResponse>
@@ -561,6 +584,7 @@ end
561
584
  | ---- | ---- | ----------- | ----- |
562
585
  | **gem_gem_distribution_href** | **String** | | |
563
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] |
564
588
 
565
589
  ### Return type
566
590
 
@@ -599,6 +623,7 @@ end
599
623
  api_instance = PulpGemClient::DistributionsGemApi.new
600
624
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
601
625
  opts = {
626
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
602
627
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
603
628
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
604
629
  }
@@ -635,6 +660,7 @@ end
635
660
  | Name | Type | Description | Notes |
636
661
  | ---- | ---- | ----------- | ----- |
637
662
  | **gem_gem_distribution_href** | **String** | | |
663
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
638
664
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
639
665
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
640
666
 
@@ -654,7 +680,7 @@ end
654
680
 
655
681
  ## remove_role
656
682
 
657
- > <NestedRoleResponse> remove_role(gem_gem_distribution_href, nested_role)
683
+ > <NestedRoleResponse> remove_role(gem_gem_distribution_href, nested_role, opts)
658
684
 
659
685
  Remove a role
660
686
 
@@ -675,10 +701,13 @@ end
675
701
  api_instance = PulpGemClient::DistributionsGemApi.new
676
702
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
677
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
+ }
678
707
 
679
708
  begin
680
709
  # Remove a role
681
- result = api_instance.remove_role(gem_gem_distribution_href, nested_role)
710
+ result = api_instance.remove_role(gem_gem_distribution_href, nested_role, opts)
682
711
  p result
683
712
  rescue PulpGemClient::ApiError => e
684
713
  puts "Error when calling DistributionsGemApi->remove_role: #{e}"
@@ -689,12 +718,12 @@ end
689
718
 
690
719
  This returns an Array which contains the response data, status code and headers.
691
720
 
692
- > <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)
693
722
 
694
723
  ```ruby
695
724
  begin
696
725
  # Remove a role
697
- 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)
698
727
  p status_code # => 2xx
699
728
  p headers # => { ... }
700
729
  p data # => <NestedRoleResponse>
@@ -709,6 +738,7 @@ end
709
738
  | ---- | ---- | ----------- | ----- |
710
739
  | **gem_gem_distribution_href** | **String** | | |
711
740
  | **nested_role** | [**NestedRole**](NestedRole.md) | | |
741
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
712
742
 
713
743
  ### Return type
714
744
 
@@ -726,7 +756,7 @@ end
726
756
 
727
757
  ## set_label
728
758
 
729
- > <SetLabelResponse> set_label(gem_gem_distribution_href, set_label)
759
+ > <SetLabelResponse> set_label(gem_gem_distribution_href, set_label, opts)
730
760
 
731
761
  Set a label
732
762
 
@@ -747,10 +777,13 @@ end
747
777
  api_instance = PulpGemClient::DistributionsGemApi.new
748
778
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
749
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
+ }
750
783
 
751
784
  begin
752
785
  # Set a label
753
- result = api_instance.set_label(gem_gem_distribution_href, set_label)
786
+ result = api_instance.set_label(gem_gem_distribution_href, set_label, opts)
754
787
  p result
755
788
  rescue PulpGemClient::ApiError => e
756
789
  puts "Error when calling DistributionsGemApi->set_label: #{e}"
@@ -761,12 +794,12 @@ end
761
794
 
762
795
  This returns an Array which contains the response data, status code and headers.
763
796
 
764
- > <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)
765
798
 
766
799
  ```ruby
767
800
  begin
768
801
  # Set a label
769
- 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)
770
803
  p status_code # => 2xx
771
804
  p headers # => { ... }
772
805
  p data # => <SetLabelResponse>
@@ -781,6 +814,7 @@ end
781
814
  | ---- | ---- | ----------- | ----- |
782
815
  | **gem_gem_distribution_href** | **String** | | |
783
816
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
817
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
784
818
 
785
819
  ### Return type
786
820
 
@@ -798,7 +832,7 @@ end
798
832
 
799
833
  ## unset_label
800
834
 
801
- > <UnsetLabelResponse> unset_label(gem_gem_distribution_href, unset_label)
835
+ > <UnsetLabelResponse> unset_label(gem_gem_distribution_href, unset_label, opts)
802
836
 
803
837
  Unset a label
804
838
 
@@ -819,10 +853,13 @@ end
819
853
  api_instance = PulpGemClient::DistributionsGemApi.new
820
854
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
821
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
+ }
822
859
 
823
860
  begin
824
861
  # Unset a label
825
- result = api_instance.unset_label(gem_gem_distribution_href, unset_label)
862
+ result = api_instance.unset_label(gem_gem_distribution_href, unset_label, opts)
826
863
  p result
827
864
  rescue PulpGemClient::ApiError => e
828
865
  puts "Error when calling DistributionsGemApi->unset_label: #{e}"
@@ -833,12 +870,12 @@ end
833
870
 
834
871
  This returns an Array which contains the response data, status code and headers.
835
872
 
836
- > <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)
837
874
 
838
875
  ```ruby
839
876
  begin
840
877
  # Unset a label
841
- 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)
842
879
  p status_code # => 2xx
843
880
  p headers # => { ... }
844
881
  p data # => <UnsetLabelResponse>
@@ -853,6 +890,7 @@ end
853
890
  | ---- | ---- | ----------- | ----- |
854
891
  | **gem_gem_distribution_href** | **String** | | |
855
892
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
893
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
856
894
 
857
895
  ### Return type
858
896
 
@@ -870,7 +908,7 @@ end
870
908
 
871
909
  ## update
872
910
 
873
- > <AsyncOperationResponse> update(gem_gem_distribution_href, gem_gem_distribution)
911
+ > <AsyncOperationResponse> update(gem_gem_distribution_href, gem_gem_distribution, opts)
874
912
 
875
913
  Update a gem distribution
876
914
 
@@ -891,10 +929,13 @@ end
891
929
  api_instance = PulpGemClient::DistributionsGemApi.new
892
930
  gem_gem_distribution_href = 'gem_gem_distribution_href_example' # String |
893
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
+ }
894
935
 
895
936
  begin
896
937
  # Update a gem distribution
897
- result = api_instance.update(gem_gem_distribution_href, gem_gem_distribution)
938
+ result = api_instance.update(gem_gem_distribution_href, gem_gem_distribution, opts)
898
939
  p result
899
940
  rescue PulpGemClient::ApiError => e
900
941
  puts "Error when calling DistributionsGemApi->update: #{e}"
@@ -905,12 +946,12 @@ end
905
946
 
906
947
  This returns an Array which contains the response data, status code and headers.
907
948
 
908
- > <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)
909
950
 
910
951
  ```ruby
911
952
  begin
912
953
  # Update a gem distribution
913
- 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)
914
955
  p status_code # => 2xx
915
956
  p headers # => { ... }
916
957
  p data # => <AsyncOperationResponse>
@@ -925,6 +966,7 @@ end
925
966
  | ---- | ---- | ----------- | ----- |
926
967
  | **gem_gem_distribution_href** | **String** | | |
927
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] |
928
970
 
929
971
  ### Return type
930
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,