pulp_npm_client 0.3.3 → 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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentPackagesApi.md +22 -8
- data/docs/DistributionsNpmApi.md +52 -24
- data/docs/NpmNpmRemoteResponse.md +1 -1
- data/docs/NpmPackageResponse.md +2 -0
- data/docs/RemotesNpmApi.md +52 -24
- data/docs/RepositoriesNpmApi.md +68 -32
- data/docs/RepositoriesNpmVersionsApi.md +22 -10
- data/docs/RepositoryVersionResponse.md +3 -1
- data/lib/pulp_npm_client/api/content_packages_api.rb +15 -0
- data/lib/pulp_npm_client/api/distributions_npm_api.rb +24 -0
- data/lib/pulp_npm_client/api/remotes_npm_api.rb +24 -0
- data/lib/pulp_npm_client/api/repositories_npm_api.rb +30 -0
- data/lib/pulp_npm_client/api/repositories_npm_versions_api.rb +15 -3
- data/lib/pulp_npm_client/models/npm_npm_remote.rb +0 -15
- data/lib/pulp_npm_client/models/npm_npm_remote_response.rb +0 -15
- data/lib/pulp_npm_client/models/npm_npm_repository.rb +0 -15
- data/lib/pulp_npm_client/models/npm_npm_repository_response.rb +0 -15
- data/lib/pulp_npm_client/models/npm_package_response.rb +10 -1
- data/lib/pulp_npm_client/models/paginated_repository_version_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_npm_distribution_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_npm_remote_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_npm_repository_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/paginatednpm_package_response_list.rb +0 -2
- data/lib/pulp_npm_client/models/patchednpm_npm_remote.rb +0 -15
- data/lib/pulp_npm_client/models/patchednpm_npm_repository.rb +0 -15
- data/lib/pulp_npm_client/models/repository_version_response.rb +13 -4
- data/lib/pulp_npm_client/version.rb +1 -1
- data/pulp_npm_client.gemspec +0 -1
- data/spec/api/content_packages_api_spec.rb +5 -0
- data/spec/api/distributions_npm_api_spec.rb +8 -0
- data/spec/api/remotes_npm_api_spec.rb +8 -0
- data/spec/api/repositories_npm_api_spec.rb +10 -0
- data/spec/api/repositories_npm_versions_api_spec.rb +5 -1
- data/spec/models/npm_package_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +24 -44
@@ -23,6 +23,7 @@ module PulpNpmClient
|
|
23
23
|
# Trigger an asynchronous create task
|
24
24
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AsyncOperationResponse]
|
27
28
|
def create(npm_npm_distribution, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(npm_npm_distribution, opts)
|
@@ -33,6 +34,7 @@ module PulpNpmClient
|
|
33
34
|
# Trigger an asynchronous create task
|
34
35
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(npm_npm_distribution, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpNpmClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpNpmClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param npm_npm_distribution_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(npm_npm_distribution_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(npm_npm_distribution_href, opts)
|
@@ -101,6 +105,7 @@ module PulpNpmClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param npm_npm_distribution_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(npm_npm_distribution_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpNpmClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpNpmClient
|
|
153
159
|
# List npm distributions
|
154
160
|
# ViewSet for NPM Distributions.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [String] :base_path Filter results where base_path matches value
|
157
164
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
158
165
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -189,6 +196,7 @@ module PulpNpmClient
|
|
189
196
|
# List npm distributions
|
190
197
|
# ViewSet for NPM Distributions.
|
191
198
|
# @param [Hash] opts the optional parameters
|
199
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
192
200
|
# @option opts [String] :base_path Filter results where base_path matches value
|
193
201
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
194
202
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -262,6 +270,7 @@ module PulpNpmClient
|
|
262
270
|
header_params = opts[:header_params] || {}
|
263
271
|
# HTTP header 'Accept' (if needed)
|
264
272
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
273
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
265
274
|
|
266
275
|
# form parameters
|
267
276
|
form_params = opts[:form_params] || {}
|
@@ -297,6 +306,7 @@ module PulpNpmClient
|
|
297
306
|
# @param npm_npm_distribution_href [String]
|
298
307
|
# @param patchednpm_npm_distribution [PatchednpmNpmDistribution]
|
299
308
|
# @param [Hash] opts the optional parameters
|
309
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
300
310
|
# @return [AsyncOperationResponse]
|
301
311
|
def partial_update(npm_npm_distribution_href, patchednpm_npm_distribution, opts = {})
|
302
312
|
data, _status_code, _headers = partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution, opts)
|
@@ -308,6 +318,7 @@ module PulpNpmClient
|
|
308
318
|
# @param npm_npm_distribution_href [String]
|
309
319
|
# @param patchednpm_npm_distribution [PatchednpmNpmDistribution]
|
310
320
|
# @param [Hash] opts the optional parameters
|
321
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
311
322
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
312
323
|
def partial_update_with_http_info(npm_npm_distribution_href, patchednpm_npm_distribution, opts = {})
|
313
324
|
if @api_client.config.debugging
|
@@ -336,6 +347,7 @@ module PulpNpmClient
|
|
336
347
|
if !content_type.nil?
|
337
348
|
header_params['Content-Type'] = content_type
|
338
349
|
end
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
339
351
|
|
340
352
|
# form parameters
|
341
353
|
form_params = opts[:form_params] || {}
|
@@ -370,6 +382,7 @@ module PulpNpmClient
|
|
370
382
|
# ViewSet for NPM Distributions.
|
371
383
|
# @param npm_npm_distribution_href [String]
|
372
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
388
|
# @return [NpmNpmDistributionResponse]
|
@@ -382,6 +395,7 @@ module PulpNpmClient
|
|
382
395
|
# ViewSet for NPM Distributions.
|
383
396
|
# @param npm_npm_distribution_href [String]
|
384
397
|
# @param [Hash] opts the optional parameters
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
385
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
386
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
387
401
|
# @return [Array<(NpmNpmDistributionResponse, Integer, Hash)>] NpmNpmDistributionResponse data, response status code and response headers
|
@@ -405,6 +419,7 @@ module PulpNpmClient
|
|
405
419
|
header_params = opts[:header_params] || {}
|
406
420
|
# HTTP header 'Accept' (if needed)
|
407
421
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
422
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
408
423
|
|
409
424
|
# form parameters
|
410
425
|
form_params = opts[:form_params] || {}
|
@@ -440,6 +455,7 @@ module PulpNpmClient
|
|
440
455
|
# @param npm_npm_distribution_href [String]
|
441
456
|
# @param set_label [SetLabel]
|
442
457
|
# @param [Hash] opts the optional parameters
|
458
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
443
459
|
# @return [SetLabelResponse]
|
444
460
|
def set_label(npm_npm_distribution_href, set_label, opts = {})
|
445
461
|
data, _status_code, _headers = set_label_with_http_info(npm_npm_distribution_href, set_label, opts)
|
@@ -451,6 +467,7 @@ module PulpNpmClient
|
|
451
467
|
# @param npm_npm_distribution_href [String]
|
452
468
|
# @param set_label [SetLabel]
|
453
469
|
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
454
471
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
455
472
|
def set_label_with_http_info(npm_npm_distribution_href, set_label, opts = {})
|
456
473
|
if @api_client.config.debugging
|
@@ -479,6 +496,7 @@ module PulpNpmClient
|
|
479
496
|
if !content_type.nil?
|
480
497
|
header_params['Content-Type'] = content_type
|
481
498
|
end
|
499
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
482
500
|
|
483
501
|
# form parameters
|
484
502
|
form_params = opts[:form_params] || {}
|
@@ -514,6 +532,7 @@ module PulpNpmClient
|
|
514
532
|
# @param npm_npm_distribution_href [String]
|
515
533
|
# @param unset_label [UnsetLabel]
|
516
534
|
# @param [Hash] opts the optional parameters
|
535
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
517
536
|
# @return [UnsetLabelResponse]
|
518
537
|
def unset_label(npm_npm_distribution_href, unset_label, opts = {})
|
519
538
|
data, _status_code, _headers = unset_label_with_http_info(npm_npm_distribution_href, unset_label, opts)
|
@@ -525,6 +544,7 @@ module PulpNpmClient
|
|
525
544
|
# @param npm_npm_distribution_href [String]
|
526
545
|
# @param unset_label [UnsetLabel]
|
527
546
|
# @param [Hash] opts the optional parameters
|
547
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
528
548
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
529
549
|
def unset_label_with_http_info(npm_npm_distribution_href, unset_label, opts = {})
|
530
550
|
if @api_client.config.debugging
|
@@ -553,6 +573,7 @@ module PulpNpmClient
|
|
553
573
|
if !content_type.nil?
|
554
574
|
header_params['Content-Type'] = content_type
|
555
575
|
end
|
576
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
556
577
|
|
557
578
|
# form parameters
|
558
579
|
form_params = opts[:form_params] || {}
|
@@ -588,6 +609,7 @@ module PulpNpmClient
|
|
588
609
|
# @param npm_npm_distribution_href [String]
|
589
610
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
590
611
|
# @param [Hash] opts the optional parameters
|
612
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
591
613
|
# @return [AsyncOperationResponse]
|
592
614
|
def update(npm_npm_distribution_href, npm_npm_distribution, opts = {})
|
593
615
|
data, _status_code, _headers = update_with_http_info(npm_npm_distribution_href, npm_npm_distribution, opts)
|
@@ -599,6 +621,7 @@ module PulpNpmClient
|
|
599
621
|
# @param npm_npm_distribution_href [String]
|
600
622
|
# @param npm_npm_distribution [NpmNpmDistribution]
|
601
623
|
# @param [Hash] opts the optional parameters
|
624
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
602
625
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
603
626
|
def update_with_http_info(npm_npm_distribution_href, npm_npm_distribution, opts = {})
|
604
627
|
if @api_client.config.debugging
|
@@ -627,6 +650,7 @@ module PulpNpmClient
|
|
627
650
|
if !content_type.nil?
|
628
651
|
header_params['Content-Type'] = content_type
|
629
652
|
end
|
653
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
630
654
|
|
631
655
|
# form parameters
|
632
656
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpNpmClient
|
|
23
23
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
24
24
|
# @param npm_npm_remote [NpmNpmRemote]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [NpmNpmRemoteResponse]
|
27
28
|
def create(npm_npm_remote, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(npm_npm_remote, opts)
|
@@ -33,6 +34,7 @@ module PulpNpmClient
|
|
33
34
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
34
35
|
# @param npm_npm_remote [NpmNpmRemote]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(NpmNpmRemoteResponse, Integer, Hash)>] NpmNpmRemoteResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(npm_npm_remote, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpNpmClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpNpmClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param npm_npm_remote_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(npm_npm_remote_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(npm_npm_remote_href, opts)
|
@@ -101,6 +105,7 @@ module PulpNpmClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param npm_npm_remote_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(npm_npm_remote_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpNpmClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpNpmClient
|
|
153
159
|
# List npm remotes
|
154
160
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
157
164
|
# @option opts [String] :name Filter results where name matches value
|
158
165
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -188,6 +195,7 @@ module PulpNpmClient
|
|
188
195
|
# List npm remotes
|
189
196
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
190
197
|
# @param [Hash] opts the optional parameters
|
198
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
191
199
|
# @option opts [Integer] :limit Number of results to return per page.
|
192
200
|
# @option opts [String] :name Filter results where name matches value
|
193
201
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -259,6 +267,7 @@ module PulpNpmClient
|
|
259
267
|
header_params = opts[:header_params] || {}
|
260
268
|
# HTTP header 'Accept' (if needed)
|
261
269
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
270
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
262
271
|
|
263
272
|
# form parameters
|
264
273
|
form_params = opts[:form_params] || {}
|
@@ -294,6 +303,7 @@ module PulpNpmClient
|
|
294
303
|
# @param npm_npm_remote_href [String]
|
295
304
|
# @param patchednpm_npm_remote [PatchednpmNpmRemote]
|
296
305
|
# @param [Hash] opts the optional parameters
|
306
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
297
307
|
# @return [AsyncOperationResponse]
|
298
308
|
def partial_update(npm_npm_remote_href, patchednpm_npm_remote, opts = {})
|
299
309
|
data, _status_code, _headers = partial_update_with_http_info(npm_npm_remote_href, patchednpm_npm_remote, opts)
|
@@ -305,6 +315,7 @@ module PulpNpmClient
|
|
305
315
|
# @param npm_npm_remote_href [String]
|
306
316
|
# @param patchednpm_npm_remote [PatchednpmNpmRemote]
|
307
317
|
# @param [Hash] opts the optional parameters
|
318
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
308
319
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
309
320
|
def partial_update_with_http_info(npm_npm_remote_href, patchednpm_npm_remote, opts = {})
|
310
321
|
if @api_client.config.debugging
|
@@ -333,6 +344,7 @@ module PulpNpmClient
|
|
333
344
|
if !content_type.nil?
|
334
345
|
header_params['Content-Type'] = content_type
|
335
346
|
end
|
347
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
336
348
|
|
337
349
|
# form parameters
|
338
350
|
form_params = opts[:form_params] || {}
|
@@ -367,6 +379,7 @@ module PulpNpmClient
|
|
367
379
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
368
380
|
# @param npm_npm_remote_href [String]
|
369
381
|
# @param [Hash] opts the optional parameters
|
382
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
370
383
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
371
384
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
372
385
|
# @return [NpmNpmRemoteResponse]
|
@@ -379,6 +392,7 @@ module PulpNpmClient
|
|
379
392
|
# A ViewSet for NpmRemote. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
380
393
|
# @param npm_npm_remote_href [String]
|
381
394
|
# @param [Hash] opts the optional parameters
|
395
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
396
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
397
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
398
|
# @return [Array<(NpmNpmRemoteResponse, Integer, Hash)>] NpmNpmRemoteResponse data, response status code and response headers
|
@@ -402,6 +416,7 @@ module PulpNpmClient
|
|
402
416
|
header_params = opts[:header_params] || {}
|
403
417
|
# HTTP header 'Accept' (if needed)
|
404
418
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
419
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
405
420
|
|
406
421
|
# form parameters
|
407
422
|
form_params = opts[:form_params] || {}
|
@@ -437,6 +452,7 @@ module PulpNpmClient
|
|
437
452
|
# @param npm_npm_remote_href [String]
|
438
453
|
# @param set_label [SetLabel]
|
439
454
|
# @param [Hash] opts the optional parameters
|
455
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
440
456
|
# @return [SetLabelResponse]
|
441
457
|
def set_label(npm_npm_remote_href, set_label, opts = {})
|
442
458
|
data, _status_code, _headers = set_label_with_http_info(npm_npm_remote_href, set_label, opts)
|
@@ -448,6 +464,7 @@ module PulpNpmClient
|
|
448
464
|
# @param npm_npm_remote_href [String]
|
449
465
|
# @param set_label [SetLabel]
|
450
466
|
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
451
468
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
452
469
|
def set_label_with_http_info(npm_npm_remote_href, set_label, opts = {})
|
453
470
|
if @api_client.config.debugging
|
@@ -476,6 +493,7 @@ module PulpNpmClient
|
|
476
493
|
if !content_type.nil?
|
477
494
|
header_params['Content-Type'] = content_type
|
478
495
|
end
|
496
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
479
497
|
|
480
498
|
# form parameters
|
481
499
|
form_params = opts[:form_params] || {}
|
@@ -511,6 +529,7 @@ module PulpNpmClient
|
|
511
529
|
# @param npm_npm_remote_href [String]
|
512
530
|
# @param unset_label [UnsetLabel]
|
513
531
|
# @param [Hash] opts the optional parameters
|
532
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
514
533
|
# @return [UnsetLabelResponse]
|
515
534
|
def unset_label(npm_npm_remote_href, unset_label, opts = {})
|
516
535
|
data, _status_code, _headers = unset_label_with_http_info(npm_npm_remote_href, unset_label, opts)
|
@@ -522,6 +541,7 @@ module PulpNpmClient
|
|
522
541
|
# @param npm_npm_remote_href [String]
|
523
542
|
# @param unset_label [UnsetLabel]
|
524
543
|
# @param [Hash] opts the optional parameters
|
544
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
525
545
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
526
546
|
def unset_label_with_http_info(npm_npm_remote_href, unset_label, opts = {})
|
527
547
|
if @api_client.config.debugging
|
@@ -550,6 +570,7 @@ module PulpNpmClient
|
|
550
570
|
if !content_type.nil?
|
551
571
|
header_params['Content-Type'] = content_type
|
552
572
|
end
|
573
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
553
574
|
|
554
575
|
# form parameters
|
555
576
|
form_params = opts[:form_params] || {}
|
@@ -585,6 +606,7 @@ module PulpNpmClient
|
|
585
606
|
# @param npm_npm_remote_href [String]
|
586
607
|
# @param npm_npm_remote [NpmNpmRemote]
|
587
608
|
# @param [Hash] opts the optional parameters
|
609
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
588
610
|
# @return [AsyncOperationResponse]
|
589
611
|
def update(npm_npm_remote_href, npm_npm_remote, opts = {})
|
590
612
|
data, _status_code, _headers = update_with_http_info(npm_npm_remote_href, npm_npm_remote, opts)
|
@@ -596,6 +618,7 @@ module PulpNpmClient
|
|
596
618
|
# @param npm_npm_remote_href [String]
|
597
619
|
# @param npm_npm_remote [NpmNpmRemote]
|
598
620
|
# @param [Hash] opts the optional parameters
|
621
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
599
622
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
600
623
|
def update_with_http_info(npm_npm_remote_href, npm_npm_remote, opts = {})
|
601
624
|
if @api_client.config.debugging
|
@@ -624,6 +647,7 @@ module PulpNpmClient
|
|
624
647
|
if !content_type.nil?
|
625
648
|
header_params['Content-Type'] = content_type
|
626
649
|
end
|
650
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
627
651
|
|
628
652
|
# form parameters
|
629
653
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpNpmClient
|
|
23
23
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
24
24
|
# @param npm_npm_repository [NpmNpmRepository]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [NpmNpmRepositoryResponse]
|
27
28
|
def create(npm_npm_repository, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(npm_npm_repository, opts)
|
@@ -33,6 +34,7 @@ module PulpNpmClient
|
|
33
34
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
34
35
|
# @param npm_npm_repository [NpmNpmRepository]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(NpmNpmRepositoryResponse, Integer, Hash)>] NpmNpmRepositoryResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(npm_npm_repository, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpNpmClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpNpmClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param npm_npm_repository_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(npm_npm_repository_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(npm_npm_repository_href, opts)
|
@@ -101,6 +105,7 @@ module PulpNpmClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param npm_npm_repository_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(npm_npm_repository_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpNpmClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpNpmClient
|
|
153
159
|
# List npm repositorys
|
154
160
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
157
164
|
# @option opts [Integer] :limit Number of results to return per page.
|
158
165
|
# @option opts [String] :name Filter results where name matches value
|
@@ -192,6 +199,7 @@ module PulpNpmClient
|
|
192
199
|
# List npm repositorys
|
193
200
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
194
201
|
# @param [Hash] opts the optional parameters
|
202
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
195
203
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
196
204
|
# @option opts [Integer] :limit Number of results to return per page.
|
197
205
|
# @option opts [String] :name Filter results where name matches value
|
@@ -271,6 +279,7 @@ module PulpNpmClient
|
|
271
279
|
header_params = opts[:header_params] || {}
|
272
280
|
# HTTP header 'Accept' (if needed)
|
273
281
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
282
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
274
283
|
|
275
284
|
# form parameters
|
276
285
|
form_params = opts[:form_params] || {}
|
@@ -306,6 +315,7 @@ module PulpNpmClient
|
|
306
315
|
# @param npm_npm_repository_href [String]
|
307
316
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
308
317
|
# @param [Hash] opts the optional parameters
|
318
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
309
319
|
# @return [AsyncOperationResponse]
|
310
320
|
def modify(npm_npm_repository_href, repository_add_remove_content, opts = {})
|
311
321
|
data, _status_code, _headers = modify_with_http_info(npm_npm_repository_href, repository_add_remove_content, opts)
|
@@ -317,6 +327,7 @@ module PulpNpmClient
|
|
317
327
|
# @param npm_npm_repository_href [String]
|
318
328
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
319
329
|
# @param [Hash] opts the optional parameters
|
330
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
320
331
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
321
332
|
def modify_with_http_info(npm_npm_repository_href, repository_add_remove_content, opts = {})
|
322
333
|
if @api_client.config.debugging
|
@@ -345,6 +356,7 @@ module PulpNpmClient
|
|
345
356
|
if !content_type.nil?
|
346
357
|
header_params['Content-Type'] = content_type
|
347
358
|
end
|
359
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
348
360
|
|
349
361
|
# form parameters
|
350
362
|
form_params = opts[:form_params] || {}
|
@@ -380,6 +392,7 @@ module PulpNpmClient
|
|
380
392
|
# @param npm_npm_repository_href [String]
|
381
393
|
# @param patchednpm_npm_repository [PatchednpmNpmRepository]
|
382
394
|
# @param [Hash] opts the optional parameters
|
395
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
383
396
|
# @return [AsyncOperationResponse]
|
384
397
|
def partial_update(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
|
385
398
|
data, _status_code, _headers = partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts)
|
@@ -391,6 +404,7 @@ module PulpNpmClient
|
|
391
404
|
# @param npm_npm_repository_href [String]
|
392
405
|
# @param patchednpm_npm_repository [PatchednpmNpmRepository]
|
393
406
|
# @param [Hash] opts the optional parameters
|
407
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
394
408
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
395
409
|
def partial_update_with_http_info(npm_npm_repository_href, patchednpm_npm_repository, opts = {})
|
396
410
|
if @api_client.config.debugging
|
@@ -419,6 +433,7 @@ module PulpNpmClient
|
|
419
433
|
if !content_type.nil?
|
420
434
|
header_params['Content-Type'] = content_type
|
421
435
|
end
|
436
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
422
437
|
|
423
438
|
# form parameters
|
424
439
|
form_params = opts[:form_params] || {}
|
@@ -453,6 +468,7 @@ module PulpNpmClient
|
|
453
468
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
454
469
|
# @param npm_npm_repository_href [String]
|
455
470
|
# @param [Hash] opts the optional parameters
|
471
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
456
472
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
457
473
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
458
474
|
# @return [NpmNpmRepositoryResponse]
|
@@ -465,6 +481,7 @@ module PulpNpmClient
|
|
465
481
|
# A ViewSet for NpmRepository. Similar to the PackageViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
466
482
|
# @param npm_npm_repository_href [String]
|
467
483
|
# @param [Hash] opts the optional parameters
|
484
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
468
485
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
469
486
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
470
487
|
# @return [Array<(NpmNpmRepositoryResponse, Integer, Hash)>] NpmNpmRepositoryResponse data, response status code and response headers
|
@@ -488,6 +505,7 @@ module PulpNpmClient
|
|
488
505
|
header_params = opts[:header_params] || {}
|
489
506
|
# HTTP header 'Accept' (if needed)
|
490
507
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
508
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
491
509
|
|
492
510
|
# form parameters
|
493
511
|
form_params = opts[:form_params] || {}
|
@@ -523,6 +541,7 @@ module PulpNpmClient
|
|
523
541
|
# @param npm_npm_repository_href [String]
|
524
542
|
# @param set_label [SetLabel]
|
525
543
|
# @param [Hash] opts the optional parameters
|
544
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
526
545
|
# @return [SetLabelResponse]
|
527
546
|
def set_label(npm_npm_repository_href, set_label, opts = {})
|
528
547
|
data, _status_code, _headers = set_label_with_http_info(npm_npm_repository_href, set_label, opts)
|
@@ -534,6 +553,7 @@ module PulpNpmClient
|
|
534
553
|
# @param npm_npm_repository_href [String]
|
535
554
|
# @param set_label [SetLabel]
|
536
555
|
# @param [Hash] opts the optional parameters
|
556
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
537
557
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
538
558
|
def set_label_with_http_info(npm_npm_repository_href, set_label, opts = {})
|
539
559
|
if @api_client.config.debugging
|
@@ -562,6 +582,7 @@ module PulpNpmClient
|
|
562
582
|
if !content_type.nil?
|
563
583
|
header_params['Content-Type'] = content_type
|
564
584
|
end
|
585
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
565
586
|
|
566
587
|
# form parameters
|
567
588
|
form_params = opts[:form_params] || {}
|
@@ -597,6 +618,7 @@ module PulpNpmClient
|
|
597
618
|
# @param npm_npm_repository_href [String]
|
598
619
|
# @param repository_sync_url [RepositorySyncURL]
|
599
620
|
# @param [Hash] opts the optional parameters
|
621
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
600
622
|
# @return [AsyncOperationResponse]
|
601
623
|
def sync(npm_npm_repository_href, repository_sync_url, opts = {})
|
602
624
|
data, _status_code, _headers = sync_with_http_info(npm_npm_repository_href, repository_sync_url, opts)
|
@@ -608,6 +630,7 @@ module PulpNpmClient
|
|
608
630
|
# @param npm_npm_repository_href [String]
|
609
631
|
# @param repository_sync_url [RepositorySyncURL]
|
610
632
|
# @param [Hash] opts the optional parameters
|
633
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
611
634
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
612
635
|
def sync_with_http_info(npm_npm_repository_href, repository_sync_url, opts = {})
|
613
636
|
if @api_client.config.debugging
|
@@ -636,6 +659,7 @@ module PulpNpmClient
|
|
636
659
|
if !content_type.nil?
|
637
660
|
header_params['Content-Type'] = content_type
|
638
661
|
end
|
662
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
639
663
|
|
640
664
|
# form parameters
|
641
665
|
form_params = opts[:form_params] || {}
|
@@ -671,6 +695,7 @@ module PulpNpmClient
|
|
671
695
|
# @param npm_npm_repository_href [String]
|
672
696
|
# @param unset_label [UnsetLabel]
|
673
697
|
# @param [Hash] opts the optional parameters
|
698
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
674
699
|
# @return [UnsetLabelResponse]
|
675
700
|
def unset_label(npm_npm_repository_href, unset_label, opts = {})
|
676
701
|
data, _status_code, _headers = unset_label_with_http_info(npm_npm_repository_href, unset_label, opts)
|
@@ -682,6 +707,7 @@ module PulpNpmClient
|
|
682
707
|
# @param npm_npm_repository_href [String]
|
683
708
|
# @param unset_label [UnsetLabel]
|
684
709
|
# @param [Hash] opts the optional parameters
|
710
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
685
711
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
686
712
|
def unset_label_with_http_info(npm_npm_repository_href, unset_label, opts = {})
|
687
713
|
if @api_client.config.debugging
|
@@ -710,6 +736,7 @@ module PulpNpmClient
|
|
710
736
|
if !content_type.nil?
|
711
737
|
header_params['Content-Type'] = content_type
|
712
738
|
end
|
739
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
713
740
|
|
714
741
|
# form parameters
|
715
742
|
form_params = opts[:form_params] || {}
|
@@ -745,6 +772,7 @@ module PulpNpmClient
|
|
745
772
|
# @param npm_npm_repository_href [String]
|
746
773
|
# @param npm_npm_repository [NpmNpmRepository]
|
747
774
|
# @param [Hash] opts the optional parameters
|
775
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
748
776
|
# @return [AsyncOperationResponse]
|
749
777
|
def update(npm_npm_repository_href, npm_npm_repository, opts = {})
|
750
778
|
data, _status_code, _headers = update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts)
|
@@ -756,6 +784,7 @@ module PulpNpmClient
|
|
756
784
|
# @param npm_npm_repository_href [String]
|
757
785
|
# @param npm_npm_repository [NpmNpmRepository]
|
758
786
|
# @param [Hash] opts the optional parameters
|
787
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
759
788
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
760
789
|
def update_with_http_info(npm_npm_repository_href, npm_npm_repository, opts = {})
|
761
790
|
if @api_client.config.debugging
|
@@ -784,6 +813,7 @@ module PulpNpmClient
|
|
784
813
|
if !content_type.nil?
|
785
814
|
header_params['Content-Type'] = content_type
|
786
815
|
end
|
816
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
787
817
|
|
788
818
|
# form parameters
|
789
819
|
form_params = opts[:form_params] || {}
|