pulp_npm_client 0.3.2 → 0.4.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContentPackagesApi.md +22 -8
  4. data/docs/DistributionsNpmApi.md +52 -24
  5. data/docs/NpmNpmRemoteResponse.md +1 -1
  6. data/docs/NpmPackageResponse.md +2 -0
  7. data/docs/RemotesNpmApi.md +52 -24
  8. data/docs/RepositoriesNpmApi.md +68 -32
  9. data/docs/RepositoriesNpmVersionsApi.md +22 -10
  10. data/docs/RepositoryVersionResponse.md +3 -1
  11. data/lib/pulp_npm_client/api/content_packages_api.rb +15 -0
  12. data/lib/pulp_npm_client/api/distributions_npm_api.rb +24 -0
  13. data/lib/pulp_npm_client/api/remotes_npm_api.rb +24 -0
  14. data/lib/pulp_npm_client/api/repositories_npm_api.rb +30 -0
  15. data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +15 -3
  16. data/lib/pulp_npm_client/models/npm_npm_remote.rb +0 -15
  17. data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +0 -15
  18. data/lib/pulp_npm_client/models/npm_npm_repository.rb +0 -15
  19. data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +0 -15
  20. data/lib/pulp_npm_client/models/npm_package_response.rb +10 -1
  21. data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +0 -2
  22. data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +0 -2
  23. data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +0 -2
  24. data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +0 -2
  25. data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +0 -2
  26. data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +0 -15
  27. data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +0 -15
  28. data/lib/pulp_npm_client/models/repository_version_response.rb +13 -4
  29. data/lib/pulp_npm_client/version.rb +1 -1
  30. data/pulp_npm_client.gemspec +0 -1
  31. data/spec/api/content_packages_api_spec.rb +5 -0
  32. data/spec/api/distributions_npm_api_spec.rb +8 -0
  33. data/spec/api/remotes_npm_api_spec.rb +8 -0
  34. data/spec/api/repositories_npm_api_spec.rb +10 -0
  35. data/spec/api/repositories_npm_versions_api_spec.rb +5 -1
  36. data/spec/models/npm_package_response_spec.rb +6 -0
  37. data/spec/models/repository_version_response_spec.rb +6 -0
  38. metadata +24 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0849e092176d8eb115c39a014e54e6814bbcb868f3cc3402d94af9b99032fbf5'
4
- data.tar.gz: 857a99d5f6717de7a5fdcaffc7a8f48d2d7620dccd15f39aba18539d26212a8b
3
+ metadata.gz: a9309c83840648e03d28ece10486e6e7d8174a5e6ad0e89d5bbdb5d704941652
4
+ data.tar.gz: 75f0406934fb6d314d5017ac8ee2de276daa8e6b421342174dde8df0a061f731
5
5
  SHA512:
6
- metadata.gz: 787ad2d0c2f35b59e6ca63412a9040cada368d488b2d0bb401b84a67a8bacfa8c7242bc733f1853ff57c50554a73134ba708cad57ef1b927fc995304f8acd7ff
7
- data.tar.gz: 9b45ee013905050a6c0526d3b58ffeedce80815e563626032c359720c5b243dc6bf8ab620a0f6a15d3390c34f5be7370a295cd789e6d1bf0f6c0adf210ef754e
6
+ metadata.gz: f7479a0d6e8160ca8f04dd122f9a1b67b9282ca1c9a263f19e6b928cfae9e840998bb945ebf9e1d0a92bfd4bb341c394af220b36bbbdd9e3003729f19d04a06f
7
+ data.tar.gz: c7640bceee500ce139371c42af94ec1bb73526955f462cf5e02be6ff982f51a68fcd8f0f872184393801e4bf759f081271ecee67f5fc90cbd6fc5dd77407b40b
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.3.2
10
+ - Package version: 0.4.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_npm_client.gemspec
25
25
  Then either install the gem locally:
26
26
 
27
27
  ```shell
28
- gem install ./pulp_npm_client-0.3.2.gem
28
+ gem install ./pulp_npm_client-0.4.0.gem
29
29
  ```
30
30
 
31
- (for development, run `gem install --dev ./pulp_npm_client-0.3.2.gem` to install the development dependencies)
31
+ (for development, run `gem install --dev ./pulp_npm_client-0.4.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_npm_client', '~> 0.3.2'
37
+ gem 'pulp_npm_client', '~> 0.4.0'
38
38
 
39
39
  ### Install from Git
40
40
 
@@ -72,6 +72,7 @@ relative_path = 'relative_path_example' # String |
72
72
  name = 'name_example' # String |
73
73
  version = 'version_example' # String |
74
74
  opts = {
75
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
75
76
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
76
77
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
77
78
  artifact: 'artifact_example', # String | Artifact file representing the physical content
@@ -36,6 +36,7 @@ relative_path = 'relative_path_example' # String |
36
36
  name = 'name_example' # String |
37
37
  version = 'version_example' # String |
38
38
  opts = {
39
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
39
40
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
40
41
  pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
41
42
  artifact: 'artifact_example', # String | Artifact file representing the physical content
@@ -78,6 +79,7 @@ end
78
79
  | **relative_path** | **String** | | |
79
80
  | **name** | **String** | | |
80
81
  | **version** | **String** | | |
82
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
81
83
  | **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
82
84
  | **pulp_labels** | [**Hash&lt;String, String&gt;**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
83
85
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
@@ -121,6 +123,7 @@ end
121
123
 
122
124
  api_instance = PulpNpmClient::ContentPackagesApi.new
123
125
  opts = {
126
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
124
127
  limit: 56, # Integer | Number of results to return per page.
125
128
  name: 'name_example', # String | Filter results where name matches value
126
129
  name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
@@ -170,6 +173,7 @@ end
170
173
 
171
174
  | Name | Type | Description | Notes |
172
175
  | ---- | ---- | ----------- | ----- |
176
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
173
177
  | **limit** | **Integer** | Number of results to return per page. | [optional] |
174
178
  | **name** | **String** | Filter results where name matches value | [optional] |
175
179
  | **name__in** | [**Array&lt;String&gt;**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
@@ -224,6 +228,7 @@ end
224
228
  api_instance = PulpNpmClient::ContentPackagesApi.new
225
229
  npm_package_href = 'npm_package_href_example' # String |
226
230
  opts = {
231
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
227
232
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
228
233
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
229
234
  }
@@ -260,6 +265,7 @@ end
260
265
  | Name | Type | Description | Notes |
261
266
  | ---- | ---- | ----------- | ----- |
262
267
  | **npm_package_href** | **String** | | |
268
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
263
269
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
264
270
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
265
271
 
@@ -279,7 +285,7 @@ end
279
285
 
280
286
  ## set_label
281
287
 
282
- > <SetLabelResponse> set_label(npm_package_href, set_label)
288
+ > <SetLabelResponse> set_label(npm_package_href, set_label, opts)
283
289
 
284
290
  Set a label
285
291
 
@@ -300,10 +306,13 @@ end
300
306
  api_instance = PulpNpmClient::ContentPackagesApi.new
301
307
  npm_package_href = 'npm_package_href_example' # String |
302
308
  set_label = PulpNpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
309
+ opts = {
310
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
311
+ }
303
312
 
304
313
  begin
305
314
  # Set a label
306
- result = api_instance.set_label(npm_package_href, set_label)
315
+ result = api_instance.set_label(npm_package_href, set_label, opts)
307
316
  p result
308
317
  rescue PulpNpmClient::ApiError => e
309
318
  puts "Error when calling ContentPackagesApi->set_label: #{e}"
@@ -314,12 +323,12 @@ end
314
323
 
315
324
  This returns an Array which contains the response data, status code and headers.
316
325
 
317
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(npm_package_href, set_label)
326
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(npm_package_href, set_label, opts)
318
327
 
319
328
  ```ruby
320
329
  begin
321
330
  # Set a label
322
- data, status_code, headers = api_instance.set_label_with_http_info(npm_package_href, set_label)
331
+ data, status_code, headers = api_instance.set_label_with_http_info(npm_package_href, set_label, opts)
323
332
  p status_code # => 2xx
324
333
  p headers # => { ... }
325
334
  p data # => <SetLabelResponse>
@@ -334,6 +343,7 @@ end
334
343
  | ---- | ---- | ----------- | ----- |
335
344
  | **npm_package_href** | **String** | | |
336
345
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
346
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
337
347
 
338
348
  ### Return type
339
349
 
@@ -351,7 +361,7 @@ end
351
361
 
352
362
  ## unset_label
353
363
 
354
- > <UnsetLabelResponse> unset_label(npm_package_href, unset_label)
364
+ > <UnsetLabelResponse> unset_label(npm_package_href, unset_label, opts)
355
365
 
356
366
  Unset a label
357
367
 
@@ -372,10 +382,13 @@ end
372
382
  api_instance = PulpNpmClient::ContentPackagesApi.new
373
383
  npm_package_href = 'npm_package_href_example' # String |
374
384
  unset_label = PulpNpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
385
+ opts = {
386
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
387
+ }
375
388
 
376
389
  begin
377
390
  # Unset a label
378
- result = api_instance.unset_label(npm_package_href, unset_label)
391
+ result = api_instance.unset_label(npm_package_href, unset_label, opts)
379
392
  p result
380
393
  rescue PulpNpmClient::ApiError => e
381
394
  puts "Error when calling ContentPackagesApi->unset_label: #{e}"
@@ -386,12 +399,12 @@ end
386
399
 
387
400
  This returns an Array which contains the response data, status code and headers.
388
401
 
389
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(npm_package_href, unset_label)
402
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(npm_package_href, unset_label, opts)
390
403
 
391
404
  ```ruby
392
405
  begin
393
406
  # Unset a label
394
- data, status_code, headers = api_instance.unset_label_with_http_info(npm_package_href, unset_label)
407
+ data, status_code, headers = api_instance.unset_label_with_http_info(npm_package_href, unset_label, opts)
395
408
  p status_code # => 2xx
396
409
  p headers # => { ... }
397
410
  p data # => <UnsetLabelResponse>
@@ -406,6 +419,7 @@ end
406
419
  | ---- | ---- | ----------- | ----- |
407
420
  | **npm_package_href** | **String** | | |
408
421
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
422
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
409
423
 
410
424
  ### Return type
411
425
 
@@ -16,7 +16,7 @@ All URIs are relative to *http://localhost:24817*
16
16
 
17
17
  ## create
18
18
 
19
- > <AsyncOperationResponse> create(npm_npm_distribution)
19
+ > <AsyncOperationResponse> create(npm_npm_distribution, opts)
20
20
 
21
21
  Create a npm distribution
22
22
 
@@ -36,10 +36,13 @@ end
36
36
 
37
37
  api_instance = PulpNpmClient::DistributionsNpmApi.new
38
38
  npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # NpmNpmDistribution |
39
+ opts = {
40
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
41
+ }
39
42
 
40
43
  begin
41
44
  # Create a npm distribution
42
- result = api_instance.create(npm_npm_distribution)
45
+ result = api_instance.create(npm_npm_distribution, opts)
43
46
  p result
44
47
  rescue PulpNpmClient::ApiError => e
45
48
  puts "Error when calling DistributionsNpmApi->create: #{e}"
@@ -50,12 +53,12 @@ end
50
53
 
51
54
  This returns an Array which contains the response data, status code and headers.
52
55
 
53
- > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(npm_npm_distribution)
56
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(npm_npm_distribution, opts)
54
57
 
55
58
  ```ruby
56
59
  begin
57
60
  # Create a npm distribution
58
- data, status_code, headers = api_instance.create_with_http_info(npm_npm_distribution)
61
+ data, status_code, headers = api_instance.create_with_http_info(npm_npm_distribution, opts)
59
62
  p status_code # => 2xx
60
63
  p headers # => { ... }
61
64
  p data # => <AsyncOperationResponse>
@@ -69,6 +72,7 @@ end
69
72
  | Name | Type | Description | Notes |
70
73
  | ---- | ---- | ----------- | ----- |
71
74
  | **npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md) | | |
75
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
72
76
 
73
77
  ### Return type
74
78
 
@@ -86,7 +90,7 @@ end
86
90
 
87
91
  ## delete
88
92
 
89
- > <AsyncOperationResponse> delete(npm_npm_distribution_href)
93
+ > <AsyncOperationResponse> delete(npm_npm_distribution_href, opts)
90
94
 
91
95
  Delete a npm distribution
92
96
 
@@ -106,10 +110,13 @@ end
106
110
 
107
111
  api_instance = PulpNpmClient::DistributionsNpmApi.new
108
112
  npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
113
+ opts = {
114
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
115
+ }
109
116
 
110
117
  begin
111
118
  # Delete a npm distribution
112
- result = api_instance.delete(npm_npm_distribution_href)
119
+ result = api_instance.delete(npm_npm_distribution_href, opts)
113
120
  p result
114
121
  rescue PulpNpmClient::ApiError => e
115
122
  puts "Error when calling DistributionsNpmApi->delete: #{e}"
@@ -120,12 +127,12 @@ end
120
127
 
121
128
  This returns an Array which contains the response data, status code and headers.
122
129
 
123
- > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(npm_npm_distribution_href)
130
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(npm_npm_distribution_href, opts)
124
131
 
125
132
  ```ruby
126
133
  begin
127
134
  # Delete a npm distribution
128
- data, status_code, headers = api_instance.delete_with_http_info(npm_npm_distribution_href)
135
+ data, status_code, headers = api_instance.delete_with_http_info(npm_npm_distribution_href, opts)
129
136
  p status_code # => 2xx
130
137
  p headers # => { ... }
131
138
  p data # => <AsyncOperationResponse>
@@ -139,6 +146,7 @@ end
139
146
  | Name | Type | Description | Notes |
140
147
  | ---- | ---- | ----------- | ----- |
141
148
  | **npm_npm_distribution_href** | **String** | | |
149
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
142
150
 
143
151
  ### Return type
144
152
 
@@ -176,6 +184,7 @@ end
176
184
 
177
185
  api_instance = PulpNpmClient::DistributionsNpmApi.new
178
186
  opts = {
187
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
179
188
  base_path: 'base_path_example', # String | Filter results where base_path matches value
180
189
  base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
181
190
  base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
@@ -236,6 +245,7 @@ end
236
245
 
237
246
  | Name | Type | Description | Notes |
238
247
  | ---- | ---- | ----------- | ----- |
248
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
239
249
  | **base_path** | **String** | Filter results where base_path matches value | [optional] |
240
250
  | **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
241
251
  | **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
@@ -280,7 +290,7 @@ end
280
290
 
281
291
  ## partial_update
282
292
 
283
- > <AsyncOperationResponse> partial_update(npm_npm_distribution_href, patchednpm_npm_distribution)
293
+ > <AsyncOperationResponse> partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
284
294
 
285
295
  Update a npm distribution
286
296
 
@@ -301,10 +311,13 @@ end
301
311
  api_instance = PulpNpmClient::DistributionsNpmApi.new
302
312
  npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
303
313
  patchednpm_npm_distribution = PulpNpmClient::PatchednpmNpmDistribution.new # PatchednpmNpmDistribution |
314
+ opts = {
315
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
316
+ }
304
317
 
305
318
  begin
306
319
  # Update a npm distribution
307
- result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution)
320
+ result = api_instance.partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
308
321
  p result
309
322
  rescue PulpNpmClient::ApiError => e
310
323
  puts "Error when calling DistributionsNpmApi->partial_update: #{e}"
@@ -315,12 +328,12 @@ end
315
328
 
316
329
  This returns an Array which contains the response data, status code and headers.
317
330
 
318
- > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution)
331
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
319
332
 
320
333
  ```ruby
321
334
  begin
322
335
  # Update a npm distribution
323
- data, status_code, headers = api_instance.partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution)
336
+ data, status_code, headers = api_instance.partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
324
337
  p status_code # => 2xx
325
338
  p headers # => { ... }
326
339
  p data # => <AsyncOperationResponse>
@@ -335,6 +348,7 @@ end
335
348
  | ---- | ---- | ----------- | ----- |
336
349
  | **npm_npm_distribution_href** | **String** | | |
337
350
  | **patchednpm_npm_distribution** | [**PatchednpmNpmDistribution**](PatchednpmNpmDistribution.md) | | |
351
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
338
352
 
339
353
  ### Return type
340
354
 
@@ -373,6 +387,7 @@ end
373
387
  api_instance = PulpNpmClient::DistributionsNpmApi.new
374
388
  npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
375
389
  opts = {
390
+ x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
376
391
  fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
377
392
  exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
378
393
  }
@@ -409,6 +424,7 @@ end
409
424
  | Name | Type | Description | Notes |
410
425
  | ---- | ---- | ----------- | ----- |
411
426
  | **npm_npm_distribution_href** | **String** | | |
427
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
412
428
  | **fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to include in the response. | [optional] |
413
429
  | **exclude_fields** | [**Array&lt;String&gt;**](String.md) | A list of fields to exclude from the response. | [optional] |
414
430
 
@@ -428,7 +444,7 @@ end
428
444
 
429
445
  ## set_label
430
446
 
431
- > <SetLabelResponse> set_label(npm_npm_distribution_href, set_label)
447
+ > <SetLabelResponse> set_label(npm_npm_distribution_href, set_label, opts)
432
448
 
433
449
  Set a label
434
450
 
@@ -449,10 +465,13 @@ end
449
465
  api_instance = PulpNpmClient::DistributionsNpmApi.new
450
466
  npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
451
467
  set_label = PulpNpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
468
+ opts = {
469
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
470
+ }
452
471
 
453
472
  begin
454
473
  # Set a label
455
- result = api_instance.set_label(npm_npm_distribution_href, set_label)
474
+ result = api_instance.set_label(npm_npm_distribution_href, set_label, opts)
456
475
  p result
457
476
  rescue PulpNpmClient::ApiError => e
458
477
  puts "Error when calling DistributionsNpmApi->set_label: #{e}"
@@ -463,12 +482,12 @@ end
463
482
 
464
483
  This returns an Array which contains the response data, status code and headers.
465
484
 
466
- > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(npm_npm_distribution_href, set_label)
485
+ > <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(npm_npm_distribution_href, set_label, opts)
467
486
 
468
487
  ```ruby
469
488
  begin
470
489
  # Set a label
471
- data, status_code, headers = api_instance.set_label_with_http_info(npm_npm_distribution_href, set_label)
490
+ data, status_code, headers = api_instance.set_label_with_http_info(npm_npm_distribution_href, set_label, opts)
472
491
  p status_code # => 2xx
473
492
  p headers # => { ... }
474
493
  p data # => <SetLabelResponse>
@@ -483,6 +502,7 @@ end
483
502
  | ---- | ---- | ----------- | ----- |
484
503
  | **npm_npm_distribution_href** | **String** | | |
485
504
  | **set_label** | [**SetLabel**](SetLabel.md) | | |
505
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
486
506
 
487
507
  ### Return type
488
508
 
@@ -500,7 +520,7 @@ end
500
520
 
501
521
  ## unset_label
502
522
 
503
- > <UnsetLabelResponse> unset_label(npm_npm_distribution_href, unset_label)
523
+ > <UnsetLabelResponse> unset_label(npm_npm_distribution_href, unset_label, opts)
504
524
 
505
525
  Unset a label
506
526
 
@@ -521,10 +541,13 @@ end
521
541
  api_instance = PulpNpmClient::DistributionsNpmApi.new
522
542
  npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
523
543
  unset_label = PulpNpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
544
+ opts = {
545
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
546
+ }
524
547
 
525
548
  begin
526
549
  # Unset a label
527
- result = api_instance.unset_label(npm_npm_distribution_href, unset_label)
550
+ result = api_instance.unset_label(npm_npm_distribution_href, unset_label, opts)
528
551
  p result
529
552
  rescue PulpNpmClient::ApiError => e
530
553
  puts "Error when calling DistributionsNpmApi->unset_label: #{e}"
@@ -535,12 +558,12 @@ end
535
558
 
536
559
  This returns an Array which contains the response data, status code and headers.
537
560
 
538
- > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(npm_npm_distribution_href, unset_label)
561
+ > <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(npm_npm_distribution_href, unset_label, opts)
539
562
 
540
563
  ```ruby
541
564
  begin
542
565
  # Unset a label
543
- data, status_code, headers = api_instance.unset_label_with_http_info(npm_npm_distribution_href, unset_label)
566
+ data, status_code, headers = api_instance.unset_label_with_http_info(npm_npm_distribution_href, unset_label, opts)
544
567
  p status_code # => 2xx
545
568
  p headers # => { ... }
546
569
  p data # => <UnsetLabelResponse>
@@ -555,6 +578,7 @@ end
555
578
  | ---- | ---- | ----------- | ----- |
556
579
  | **npm_npm_distribution_href** | **String** | | |
557
580
  | **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
581
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
558
582
 
559
583
  ### Return type
560
584
 
@@ -572,7 +596,7 @@ end
572
596
 
573
597
  ## update
574
598
 
575
- > <AsyncOperationResponse> update(npm_npm_distribution_href, npm_npm_distribution)
599
+ > <AsyncOperationResponse> update(npm_npm_distribution_href, npm_npm_distribution, opts)
576
600
 
577
601
  Update a npm distribution
578
602
 
@@ -593,10 +617,13 @@ end
593
617
  api_instance = PulpNpmClient::DistributionsNpmApi.new
594
618
  npm_npm_distribution_href = 'npm_npm_distribution_href_example' # String |
595
619
  npm_npm_distribution = PulpNpmClient::NpmNpmDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # NpmNpmDistribution |
620
+ opts = {
621
+ x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
622
+ }
596
623
 
597
624
  begin
598
625
  # Update a npm distribution
599
- result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution)
626
+ result = api_instance.update(npm_npm_distribution_href, npm_npm_distribution, opts)
600
627
  p result
601
628
  rescue PulpNpmClient::ApiError => e
602
629
  puts "Error when calling DistributionsNpmApi->update: #{e}"
@@ -607,12 +634,12 @@ end
607
634
 
608
635
  This returns an Array which contains the response data, status code and headers.
609
636
 
610
- > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(npm_npm_distribution_href, npm_npm_distribution)
637
+ > <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(npm_npm_distribution_href, npm_npm_distribution, opts)
611
638
 
612
639
  ```ruby
613
640
  begin
614
641
  # Update a npm distribution
615
- data, status_code, headers = api_instance.update_with_http_info(npm_npm_distribution_href, npm_npm_distribution)
642
+ data, status_code, headers = api_instance.update_with_http_info(npm_npm_distribution_href, npm_npm_distribution, opts)
616
643
  p status_code # => 2xx
617
644
  p headers # => { ... }
618
645
  p data # => <AsyncOperationResponse>
@@ -627,6 +654,7 @@ end
627
654
  | ---- | ---- | ----------- | ----- |
628
655
  | **npm_npm_distribution_href** | **String** | | |
629
656
  | **npm_npm_distribution** | [**NpmNpmDistribution**](NpmNpmDistribution.md) | | |
657
+ | **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md) | List of profilers to use on tasks. | [optional] |
630
658
 
631
659
  ### Return type
632
660
 
@@ -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;NpmNpmRemoteResponseHiddenFieldsInner&gt;**](NpmNpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional][readonly] |
27
+ | **hidden_fields** | [**Array&lt;NpmNpmRemoteResponseHiddenFieldsInner&gt;**](NpmNpmRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
28
28
 
29
29
  ## Example
30
30
 
@@ -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
  | **artifact** | **String** | Artifact file representing the physical content | [optional] |
13
14
  | **relative_path** | **String** | | |
14
15
  | **name** | **String** | | |
@@ -25,6 +26,7 @@ instance = PulpNpmClient::NpmPackageResponse.new(
25
26
  pulp_created: null,
26
27
  pulp_last_updated: null,
27
28
  pulp_labels: null,
29
+ vuln_report: null,
28
30
  artifact: null,
29
31
  relative_path: null,
30
32
  name: null,