pulp_python_client 3.15.1 → 3.17.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 +22 -17
- data/docs/ContentPackagesApi.md +58 -36
- data/docs/DistributionsPypiApi.md +72 -32
- data/docs/PublicationsPypiApi.md +40 -16
- data/docs/PypiApi.md +2 -0
- data/docs/PypiLegacyApi.md +2 -0
- data/docs/PypiMetadataApi.md +2 -0
- data/docs/PypiSimpleApi.md +6 -0
- data/docs/PythonPythonPackageContentResponse.md +46 -36
- data/docs/RemotesPythonApi.md +74 -32
- data/docs/RepositoriesPythonApi.md +96 -44
- data/docs/RepositoriesPythonVersionsApi.md +22 -10
- data/lib/pulp_python_client/api/content_packages_api.rb +69 -42
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +45 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +199 -146
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +23 -14
- data/spec/api/distributions_pypi_api_spec.rb +12 -0
- data/spec/api/publications_pypi_api_spec.rb +8 -0
- data/spec/api/pypi_api_spec.rb +1 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -0
- data/spec/api/pypi_metadata_api_spec.rb +1 -0
- data/spec/api/pypi_simple_api_spec.rb +3 -0
- data/spec/api/remotes_python_api_spec.rb +13 -0
- data/spec/api/repositories_python_api_spec.rb +15 -0
- data/spec/api/repositories_python_versions_api_spec.rb +5 -1
- data/spec/models/python_python_package_content_response_spec.rb +54 -24
- metadata +39 -39
@@ -24,6 +24,7 @@ module PulpPythonClient
|
|
24
24
|
# @param python_python_remote_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(python_python_remote_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(python_python_remote_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpPythonClient
|
|
35
36
|
# @param python_python_remote_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(python_python_remote_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpPythonClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpPythonClient
|
|
97
100
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
98
101
|
# @param python_python_remote [PythonPythonRemote]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [PythonPythonRemoteResponse]
|
101
105
|
def create(python_python_remote, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(python_python_remote, opts)
|
@@ -107,6 +111,7 @@ module PulpPythonClient
|
|
107
111
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
108
112
|
# @param python_python_remote [PythonPythonRemote]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(python_python_remote, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpPythonClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpPythonClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param python_python_remote_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(python_python_remote_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(python_python_remote_href, opts)
|
@@ -175,6 +182,7 @@ module PulpPythonClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param python_python_remote_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(python_python_remote_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpPythonClient
|
|
194
202
|
header_params = opts[:header_params] || {}
|
195
203
|
# HTTP header 'Accept' (if needed)
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
206
|
|
198
207
|
# form parameters
|
199
208
|
form_params = opts[:form_params] || {}
|
@@ -229,6 +238,7 @@ module PulpPythonClient
|
|
229
238
|
# @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
|
230
239
|
# @param name [String] A unique name for this remote
|
231
240
|
# @param [Hash] opts the optional parameters
|
241
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
232
242
|
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
233
243
|
# @return [PythonPythonRemoteResponse]
|
234
244
|
def from_bandersnatch(config, name, opts = {})
|
@@ -241,6 +251,7 @@ module PulpPythonClient
|
|
241
251
|
# @param config [File] A Bandersnatch config that may be used to construct a Python Remote.
|
242
252
|
# @param name [String] A unique name for this remote
|
243
253
|
# @param [Hash] opts the optional parameters
|
254
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
244
255
|
# @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
245
256
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
246
257
|
def from_bandersnatch_with_http_info(config, name, opts = {})
|
@@ -274,6 +285,7 @@ module PulpPythonClient
|
|
274
285
|
if !content_type.nil?
|
275
286
|
header_params['Content-Type'] = content_type
|
276
287
|
end
|
288
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
277
289
|
|
278
290
|
# form parameters
|
279
291
|
form_params = opts[:form_params] || {}
|
@@ -310,6 +322,7 @@ module PulpPythonClient
|
|
310
322
|
# List python remotes
|
311
323
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
312
324
|
# @param [Hash] opts the optional parameters
|
325
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
313
326
|
# @option opts [Integer] :limit Number of results to return per page.
|
314
327
|
# @option opts [String] :name Filter results where name matches value
|
315
328
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -345,6 +358,7 @@ module PulpPythonClient
|
|
345
358
|
# List python remotes
|
346
359
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
347
360
|
# @param [Hash] opts the optional parameters
|
361
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
348
362
|
# @option opts [Integer] :limit Number of results to return per page.
|
349
363
|
# @option opts [String] :name Filter results where name matches value
|
350
364
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -416,6 +430,7 @@ module PulpPythonClient
|
|
416
430
|
header_params = opts[:header_params] || {}
|
417
431
|
# HTTP header 'Accept' (if needed)
|
418
432
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
433
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
419
434
|
|
420
435
|
# form parameters
|
421
436
|
form_params = opts[:form_params] || {}
|
@@ -450,6 +465,7 @@ module PulpPythonClient
|
|
450
465
|
# List roles assigned to this object.
|
451
466
|
# @param python_python_remote_href [String]
|
452
467
|
# @param [Hash] opts the optional parameters
|
468
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
453
469
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
454
470
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
455
471
|
# @return [ObjectRolesResponse]
|
@@ -462,6 +478,7 @@ module PulpPythonClient
|
|
462
478
|
# List roles assigned to this object.
|
463
479
|
# @param python_python_remote_href [String]
|
464
480
|
# @param [Hash] opts the optional parameters
|
481
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
465
482
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
466
483
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
467
484
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -485,6 +502,7 @@ module PulpPythonClient
|
|
485
502
|
header_params = opts[:header_params] || {}
|
486
503
|
# HTTP header 'Accept' (if needed)
|
487
504
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
505
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
488
506
|
|
489
507
|
# form parameters
|
490
508
|
form_params = opts[:form_params] || {}
|
@@ -519,6 +537,7 @@ module PulpPythonClient
|
|
519
537
|
# List permissions available to the current user on this object.
|
520
538
|
# @param python_python_remote_href [String]
|
521
539
|
# @param [Hash] opts the optional parameters
|
540
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
522
541
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
523
542
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
524
543
|
# @return [MyPermissionsResponse]
|
@@ -531,6 +550,7 @@ module PulpPythonClient
|
|
531
550
|
# List permissions available to the current user on this object.
|
532
551
|
# @param python_python_remote_href [String]
|
533
552
|
# @param [Hash] opts the optional parameters
|
553
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
534
554
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
535
555
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
536
556
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -554,6 +574,7 @@ module PulpPythonClient
|
|
554
574
|
header_params = opts[:header_params] || {}
|
555
575
|
# HTTP header 'Accept' (if needed)
|
556
576
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
577
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
557
578
|
|
558
579
|
# form parameters
|
559
580
|
form_params = opts[:form_params] || {}
|
@@ -589,6 +610,7 @@ module PulpPythonClient
|
|
589
610
|
# @param python_python_remote_href [String]
|
590
611
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
591
612
|
# @param [Hash] opts the optional parameters
|
613
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
592
614
|
# @return [AsyncOperationResponse]
|
593
615
|
def partial_update(python_python_remote_href, patchedpython_python_remote, opts = {})
|
594
616
|
data, _status_code, _headers = partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts)
|
@@ -600,6 +622,7 @@ module PulpPythonClient
|
|
600
622
|
# @param python_python_remote_href [String]
|
601
623
|
# @param patchedpython_python_remote [PatchedpythonPythonRemote]
|
602
624
|
# @param [Hash] opts the optional parameters
|
625
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
603
626
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
604
627
|
def partial_update_with_http_info(python_python_remote_href, patchedpython_python_remote, opts = {})
|
605
628
|
if @api_client.config.debugging
|
@@ -628,6 +651,7 @@ module PulpPythonClient
|
|
628
651
|
if !content_type.nil?
|
629
652
|
header_params['Content-Type'] = content_type
|
630
653
|
end
|
654
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
631
655
|
|
632
656
|
# form parameters
|
633
657
|
form_params = opts[:form_params] || {}
|
@@ -662,6 +686,7 @@ module PulpPythonClient
|
|
662
686
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
663
687
|
# @param python_python_remote_href [String]
|
664
688
|
# @param [Hash] opts the optional parameters
|
689
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
665
690
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
666
691
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
667
692
|
# @return [PythonPythonRemoteResponse]
|
@@ -674,6 +699,7 @@ module PulpPythonClient
|
|
674
699
|
# Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings.
|
675
700
|
# @param python_python_remote_href [String]
|
676
701
|
# @param [Hash] opts the optional parameters
|
702
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
677
703
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
678
704
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
679
705
|
# @return [Array<(PythonPythonRemoteResponse, Integer, Hash)>] PythonPythonRemoteResponse data, response status code and response headers
|
@@ -697,6 +723,7 @@ module PulpPythonClient
|
|
697
723
|
header_params = opts[:header_params] || {}
|
698
724
|
# HTTP header 'Accept' (if needed)
|
699
725
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
726
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
700
727
|
|
701
728
|
# form parameters
|
702
729
|
form_params = opts[:form_params] || {}
|
@@ -732,6 +759,7 @@ module PulpPythonClient
|
|
732
759
|
# @param python_python_remote_href [String]
|
733
760
|
# @param nested_role [NestedRole]
|
734
761
|
# @param [Hash] opts the optional parameters
|
762
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
735
763
|
# @return [NestedRoleResponse]
|
736
764
|
def remove_role(python_python_remote_href, nested_role, opts = {})
|
737
765
|
data, _status_code, _headers = remove_role_with_http_info(python_python_remote_href, nested_role, opts)
|
@@ -743,6 +771,7 @@ module PulpPythonClient
|
|
743
771
|
# @param python_python_remote_href [String]
|
744
772
|
# @param nested_role [NestedRole]
|
745
773
|
# @param [Hash] opts the optional parameters
|
774
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
746
775
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
747
776
|
def remove_role_with_http_info(python_python_remote_href, nested_role, opts = {})
|
748
777
|
if @api_client.config.debugging
|
@@ -771,6 +800,7 @@ module PulpPythonClient
|
|
771
800
|
if !content_type.nil?
|
772
801
|
header_params['Content-Type'] = content_type
|
773
802
|
end
|
803
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
774
804
|
|
775
805
|
# form parameters
|
776
806
|
form_params = opts[:form_params] || {}
|
@@ -806,6 +836,7 @@ module PulpPythonClient
|
|
806
836
|
# @param python_python_remote_href [String]
|
807
837
|
# @param set_label [SetLabel]
|
808
838
|
# @param [Hash] opts the optional parameters
|
839
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
809
840
|
# @return [SetLabelResponse]
|
810
841
|
def set_label(python_python_remote_href, set_label, opts = {})
|
811
842
|
data, _status_code, _headers = set_label_with_http_info(python_python_remote_href, set_label, opts)
|
@@ -817,6 +848,7 @@ module PulpPythonClient
|
|
817
848
|
# @param python_python_remote_href [String]
|
818
849
|
# @param set_label [SetLabel]
|
819
850
|
# @param [Hash] opts the optional parameters
|
851
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
820
852
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
821
853
|
def set_label_with_http_info(python_python_remote_href, set_label, opts = {})
|
822
854
|
if @api_client.config.debugging
|
@@ -845,6 +877,7 @@ module PulpPythonClient
|
|
845
877
|
if !content_type.nil?
|
846
878
|
header_params['Content-Type'] = content_type
|
847
879
|
end
|
880
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
848
881
|
|
849
882
|
# form parameters
|
850
883
|
form_params = opts[:form_params] || {}
|
@@ -880,6 +913,7 @@ module PulpPythonClient
|
|
880
913
|
# @param python_python_remote_href [String]
|
881
914
|
# @param unset_label [UnsetLabel]
|
882
915
|
# @param [Hash] opts the optional parameters
|
916
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
883
917
|
# @return [UnsetLabelResponse]
|
884
918
|
def unset_label(python_python_remote_href, unset_label, opts = {})
|
885
919
|
data, _status_code, _headers = unset_label_with_http_info(python_python_remote_href, unset_label, opts)
|
@@ -891,6 +925,7 @@ module PulpPythonClient
|
|
891
925
|
# @param python_python_remote_href [String]
|
892
926
|
# @param unset_label [UnsetLabel]
|
893
927
|
# @param [Hash] opts the optional parameters
|
928
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
894
929
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
895
930
|
def unset_label_with_http_info(python_python_remote_href, unset_label, opts = {})
|
896
931
|
if @api_client.config.debugging
|
@@ -919,6 +954,7 @@ module PulpPythonClient
|
|
919
954
|
if !content_type.nil?
|
920
955
|
header_params['Content-Type'] = content_type
|
921
956
|
end
|
957
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
922
958
|
|
923
959
|
# form parameters
|
924
960
|
form_params = opts[:form_params] || {}
|
@@ -954,6 +990,7 @@ module PulpPythonClient
|
|
954
990
|
# @param python_python_remote_href [String]
|
955
991
|
# @param python_python_remote [PythonPythonRemote]
|
956
992
|
# @param [Hash] opts the optional parameters
|
993
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
957
994
|
# @return [AsyncOperationResponse]
|
958
995
|
def update(python_python_remote_href, python_python_remote, opts = {})
|
959
996
|
data, _status_code, _headers = update_with_http_info(python_python_remote_href, python_python_remote, opts)
|
@@ -965,6 +1002,7 @@ module PulpPythonClient
|
|
965
1002
|
# @param python_python_remote_href [String]
|
966
1003
|
# @param python_python_remote [PythonPythonRemote]
|
967
1004
|
# @param [Hash] opts the optional parameters
|
1005
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
968
1006
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
969
1007
|
def update_with_http_info(python_python_remote_href, python_python_remote, opts = {})
|
970
1008
|
if @api_client.config.debugging
|
@@ -993,6 +1031,7 @@ module PulpPythonClient
|
|
993
1031
|
if !content_type.nil?
|
994
1032
|
header_params['Content-Type'] = content_type
|
995
1033
|
end
|
1034
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
996
1035
|
|
997
1036
|
# form parameters
|
998
1037
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpPythonClient
|
|
24
24
|
# @param python_python_repository_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(python_python_repository_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(python_python_repository_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpPythonClient
|
|
35
36
|
# @param python_python_repository_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(python_python_repository_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpPythonClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpPythonClient
|
|
97
100
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
98
101
|
# @param python_python_repository [PythonPythonRepository]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [PythonPythonRepositoryResponse]
|
101
105
|
def create(python_python_repository, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(python_python_repository, opts)
|
@@ -107,6 +111,7 @@ module PulpPythonClient
|
|
107
111
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
108
112
|
# @param python_python_repository [PythonPythonRepository]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(python_python_repository, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpPythonClient
|
|
131
136
|
if !content_type.nil?
|
132
137
|
header_params['Content-Type'] = content_type
|
133
138
|
end
|
139
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
134
140
|
|
135
141
|
# form parameters
|
136
142
|
form_params = opts[:form_params] || {}
|
@@ -165,6 +171,7 @@ module PulpPythonClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param python_python_repository_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(python_python_repository_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(python_python_repository_href, opts)
|
@@ -175,6 +182,7 @@ module PulpPythonClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param python_python_repository_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(python_python_repository_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpPythonClient
|
|
194
202
|
header_params = opts[:header_params] || {}
|
195
203
|
# HTTP header 'Accept' (if needed)
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
206
|
|
198
207
|
# form parameters
|
199
208
|
form_params = opts[:form_params] || {}
|
@@ -227,6 +236,7 @@ module PulpPythonClient
|
|
227
236
|
# List python repositorys
|
228
237
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
229
238
|
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
240
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
231
241
|
# @option opts [Integer] :limit Number of results to return per page.
|
232
242
|
# @option opts [String] :name Filter results where name matches value
|
@@ -266,6 +276,7 @@ module PulpPythonClient
|
|
266
276
|
# List python repositorys
|
267
277
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
268
278
|
# @param [Hash] opts the optional parameters
|
279
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
269
280
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
270
281
|
# @option opts [Integer] :limit Number of results to return per page.
|
271
282
|
# @option opts [String] :name Filter results where name matches value
|
@@ -345,6 +356,7 @@ module PulpPythonClient
|
|
345
356
|
header_params = opts[:header_params] || {}
|
346
357
|
# HTTP header 'Accept' (if needed)
|
347
358
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
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] || {}
|
@@ -379,6 +391,7 @@ module PulpPythonClient
|
|
379
391
|
# List roles assigned to this object.
|
380
392
|
# @param python_python_repository_href [String]
|
381
393
|
# @param [Hash] opts the optional parameters
|
394
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
395
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
396
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
397
|
# @return [ObjectRolesResponse]
|
@@ -391,6 +404,7 @@ module PulpPythonClient
|
|
391
404
|
# List roles assigned to this object.
|
392
405
|
# @param python_python_repository_href [String]
|
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
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
395
409
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
396
410
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -414,6 +428,7 @@ module PulpPythonClient
|
|
414
428
|
header_params = opts[:header_params] || {}
|
415
429
|
# HTTP header 'Accept' (if needed)
|
416
430
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
431
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
417
432
|
|
418
433
|
# form parameters
|
419
434
|
form_params = opts[:form_params] || {}
|
@@ -449,6 +464,7 @@ module PulpPythonClient
|
|
449
464
|
# @param python_python_repository_href [String]
|
450
465
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
451
466
|
# @param [Hash] opts the optional parameters
|
467
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
452
468
|
# @return [AsyncOperationResponse]
|
453
469
|
def modify(python_python_repository_href, repository_add_remove_content, opts = {})
|
454
470
|
data, _status_code, _headers = modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts)
|
@@ -460,6 +476,7 @@ module PulpPythonClient
|
|
460
476
|
# @param python_python_repository_href [String]
|
461
477
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
462
478
|
# @param [Hash] opts the optional parameters
|
479
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
463
480
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
464
481
|
def modify_with_http_info(python_python_repository_href, repository_add_remove_content, opts = {})
|
465
482
|
if @api_client.config.debugging
|
@@ -488,6 +505,7 @@ module PulpPythonClient
|
|
488
505
|
if !content_type.nil?
|
489
506
|
header_params['Content-Type'] = content_type
|
490
507
|
end
|
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] || {}
|
@@ -522,6 +540,7 @@ module PulpPythonClient
|
|
522
540
|
# List permissions available to the current user on this object.
|
523
541
|
# @param python_python_repository_href [String]
|
524
542
|
# @param [Hash] opts the optional parameters
|
543
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
525
544
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
526
545
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
527
546
|
# @return [MyPermissionsResponse]
|
@@ -534,6 +553,7 @@ module PulpPythonClient
|
|
534
553
|
# List permissions available to the current user on this object.
|
535
554
|
# @param python_python_repository_href [String]
|
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
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
538
558
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
539
559
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -557,6 +577,7 @@ module PulpPythonClient
|
|
557
577
|
header_params = opts[:header_params] || {}
|
558
578
|
# HTTP header 'Accept' (if needed)
|
559
579
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
580
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
560
581
|
|
561
582
|
# form parameters
|
562
583
|
form_params = opts[:form_params] || {}
|
@@ -592,6 +613,7 @@ module PulpPythonClient
|
|
592
613
|
# @param python_python_repository_href [String]
|
593
614
|
# @param patchedpython_python_repository [PatchedpythonPythonRepository]
|
594
615
|
# @param [Hash] opts the optional parameters
|
616
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
595
617
|
# @return [AsyncOperationResponse]
|
596
618
|
def partial_update(python_python_repository_href, patchedpython_python_repository, opts = {})
|
597
619
|
data, _status_code, _headers = partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
|
@@ -603,6 +625,7 @@ module PulpPythonClient
|
|
603
625
|
# @param python_python_repository_href [String]
|
604
626
|
# @param patchedpython_python_repository [PatchedpythonPythonRepository]
|
605
627
|
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
606
629
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
607
630
|
def partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts = {})
|
608
631
|
if @api_client.config.debugging
|
@@ -631,6 +654,7 @@ module PulpPythonClient
|
|
631
654
|
if !content_type.nil?
|
632
655
|
header_params['Content-Type'] = content_type
|
633
656
|
end
|
657
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
634
658
|
|
635
659
|
# form parameters
|
636
660
|
form_params = opts[:form_params] || {}
|
@@ -665,6 +689,7 @@ module PulpPythonClient
|
|
665
689
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
666
690
|
# @param python_python_repository_href [String]
|
667
691
|
# @param [Hash] opts the optional parameters
|
692
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
668
693
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
669
694
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
670
695
|
# @return [PythonPythonRepositoryResponse]
|
@@ -677,6 +702,7 @@ module PulpPythonClient
|
|
677
702
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
678
703
|
# @param python_python_repository_href [String]
|
679
704
|
# @param [Hash] opts the optional parameters
|
705
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
680
706
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
681
707
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
682
708
|
# @return [Array<(PythonPythonRepositoryResponse, Integer, Hash)>] PythonPythonRepositoryResponse data, response status code and response headers
|
@@ -700,6 +726,7 @@ module PulpPythonClient
|
|
700
726
|
header_params = opts[:header_params] || {}
|
701
727
|
# HTTP header 'Accept' (if needed)
|
702
728
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
729
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
703
730
|
|
704
731
|
# form parameters
|
705
732
|
form_params = opts[:form_params] || {}
|
@@ -735,6 +762,7 @@ module PulpPythonClient
|
|
735
762
|
# @param python_python_repository_href [String]
|
736
763
|
# @param nested_role [NestedRole]
|
737
764
|
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
738
766
|
# @return [NestedRoleResponse]
|
739
767
|
def remove_role(python_python_repository_href, nested_role, opts = {})
|
740
768
|
data, _status_code, _headers = remove_role_with_http_info(python_python_repository_href, nested_role, opts)
|
@@ -746,6 +774,7 @@ module PulpPythonClient
|
|
746
774
|
# @param python_python_repository_href [String]
|
747
775
|
# @param nested_role [NestedRole]
|
748
776
|
# @param [Hash] opts the optional parameters
|
777
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
749
778
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
750
779
|
def remove_role_with_http_info(python_python_repository_href, nested_role, opts = {})
|
751
780
|
if @api_client.config.debugging
|
@@ -774,6 +803,7 @@ module PulpPythonClient
|
|
774
803
|
if !content_type.nil?
|
775
804
|
header_params['Content-Type'] = content_type
|
776
805
|
end
|
806
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
777
807
|
|
778
808
|
# form parameters
|
779
809
|
form_params = opts[:form_params] || {}
|
@@ -808,6 +838,7 @@ module PulpPythonClient
|
|
808
838
|
# Trigger an asynchronous task to repair Python metadata. This task will repair metadata of all packages for the specified `Repository`, without creating a new `RepositoryVersion`.
|
809
839
|
# @param python_python_repository_href [String]
|
810
840
|
# @param [Hash] opts the optional parameters
|
841
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
811
842
|
# @return [AsyncOperationResponse]
|
812
843
|
def repair_metadata(python_python_repository_href, opts = {})
|
813
844
|
data, _status_code, _headers = repair_metadata_with_http_info(python_python_repository_href, opts)
|
@@ -818,6 +849,7 @@ module PulpPythonClient
|
|
818
849
|
# Trigger an asynchronous task to repair Python metadata. This task will repair metadata of all packages for the specified `Repository`, without creating a new `RepositoryVersion`.
|
819
850
|
# @param python_python_repository_href [String]
|
820
851
|
# @param [Hash] opts the optional parameters
|
852
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
821
853
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
822
854
|
def repair_metadata_with_http_info(python_python_repository_href, opts = {})
|
823
855
|
if @api_client.config.debugging
|
@@ -837,6 +869,7 @@ module PulpPythonClient
|
|
837
869
|
header_params = opts[:header_params] || {}
|
838
870
|
# HTTP header 'Accept' (if needed)
|
839
871
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
872
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
840
873
|
|
841
874
|
# form parameters
|
842
875
|
form_params = opts[:form_params] || {}
|
@@ -872,6 +905,7 @@ module PulpPythonClient
|
|
872
905
|
# @param python_python_repository_href [String]
|
873
906
|
# @param set_label [SetLabel]
|
874
907
|
# @param [Hash] opts the optional parameters
|
908
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
875
909
|
# @return [SetLabelResponse]
|
876
910
|
def set_label(python_python_repository_href, set_label, opts = {})
|
877
911
|
data, _status_code, _headers = set_label_with_http_info(python_python_repository_href, set_label, opts)
|
@@ -883,6 +917,7 @@ module PulpPythonClient
|
|
883
917
|
# @param python_python_repository_href [String]
|
884
918
|
# @param set_label [SetLabel]
|
885
919
|
# @param [Hash] opts the optional parameters
|
920
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
886
921
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
887
922
|
def set_label_with_http_info(python_python_repository_href, set_label, opts = {})
|
888
923
|
if @api_client.config.debugging
|
@@ -911,6 +946,7 @@ module PulpPythonClient
|
|
911
946
|
if !content_type.nil?
|
912
947
|
header_params['Content-Type'] = content_type
|
913
948
|
end
|
949
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
914
950
|
|
915
951
|
# form parameters
|
916
952
|
form_params = opts[:form_params] || {}
|
@@ -946,6 +982,7 @@ module PulpPythonClient
|
|
946
982
|
# @param python_python_repository_href [String]
|
947
983
|
# @param repository_sync_url [RepositorySyncURL]
|
948
984
|
# @param [Hash] opts the optional parameters
|
985
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
949
986
|
# @return [AsyncOperationResponse]
|
950
987
|
def sync(python_python_repository_href, repository_sync_url, opts = {})
|
951
988
|
data, _status_code, _headers = sync_with_http_info(python_python_repository_href, repository_sync_url, opts)
|
@@ -957,6 +994,7 @@ module PulpPythonClient
|
|
957
994
|
# @param python_python_repository_href [String]
|
958
995
|
# @param repository_sync_url [RepositorySyncURL]
|
959
996
|
# @param [Hash] opts the optional parameters
|
997
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
960
998
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
961
999
|
def sync_with_http_info(python_python_repository_href, repository_sync_url, opts = {})
|
962
1000
|
if @api_client.config.debugging
|
@@ -985,6 +1023,7 @@ module PulpPythonClient
|
|
985
1023
|
if !content_type.nil?
|
986
1024
|
header_params['Content-Type'] = content_type
|
987
1025
|
end
|
1026
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
988
1027
|
|
989
1028
|
# form parameters
|
990
1029
|
form_params = opts[:form_params] || {}
|
@@ -1020,6 +1059,7 @@ module PulpPythonClient
|
|
1020
1059
|
# @param python_python_repository_href [String]
|
1021
1060
|
# @param unset_label [UnsetLabel]
|
1022
1061
|
# @param [Hash] opts the optional parameters
|
1062
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1023
1063
|
# @return [UnsetLabelResponse]
|
1024
1064
|
def unset_label(python_python_repository_href, unset_label, opts = {})
|
1025
1065
|
data, _status_code, _headers = unset_label_with_http_info(python_python_repository_href, unset_label, opts)
|
@@ -1031,6 +1071,7 @@ module PulpPythonClient
|
|
1031
1071
|
# @param python_python_repository_href [String]
|
1032
1072
|
# @param unset_label [UnsetLabel]
|
1033
1073
|
# @param [Hash] opts the optional parameters
|
1074
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1034
1075
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
1035
1076
|
def unset_label_with_http_info(python_python_repository_href, unset_label, opts = {})
|
1036
1077
|
if @api_client.config.debugging
|
@@ -1059,6 +1100,7 @@ module PulpPythonClient
|
|
1059
1100
|
if !content_type.nil?
|
1060
1101
|
header_params['Content-Type'] = content_type
|
1061
1102
|
end
|
1103
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1062
1104
|
|
1063
1105
|
# form parameters
|
1064
1106
|
form_params = opts[:form_params] || {}
|
@@ -1094,6 +1136,7 @@ module PulpPythonClient
|
|
1094
1136
|
# @param python_python_repository_href [String]
|
1095
1137
|
# @param python_python_repository [PythonPythonRepository]
|
1096
1138
|
# @param [Hash] opts the optional parameters
|
1139
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1097
1140
|
# @return [AsyncOperationResponse]
|
1098
1141
|
def update(python_python_repository_href, python_python_repository, opts = {})
|
1099
1142
|
data, _status_code, _headers = update_with_http_info(python_python_repository_href, python_python_repository, opts)
|
@@ -1105,6 +1148,7 @@ module PulpPythonClient
|
|
1105
1148
|
# @param python_python_repository_href [String]
|
1106
1149
|
# @param python_python_repository [PythonPythonRepository]
|
1107
1150
|
# @param [Hash] opts the optional parameters
|
1151
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1108
1152
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1109
1153
|
def update_with_http_info(python_python_repository_href, python_python_repository, opts = {})
|
1110
1154
|
if @api_client.config.debugging
|
@@ -1133,6 +1177,7 @@ module PulpPythonClient
|
|
1133
1177
|
if !content_type.nil?
|
1134
1178
|
header_params['Content-Type'] = content_type
|
1135
1179
|
end
|
1180
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1136
1181
|
|
1137
1182
|
# form parameters
|
1138
1183
|
form_params = opts[:form_params] || {}
|