pulp_file_client 3.80.2 → 3.82.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.
@@ -24,6 +24,7 @@ module PulpFileClient
24
24
  # @param file_file_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(file_file_repository_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(file_file_repository_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpFileClient
35
36
  # @param file_file_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(file_file_repository_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpFileClient
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 PulpFileClient
97
100
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
98
101
  # @param file_file_repository [FileFileRepository]
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 [FileFileRepositoryResponse]
101
105
  def create(file_file_repository, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(file_file_repository, opts)
@@ -107,6 +111,7 @@ module PulpFileClient
107
111
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
108
112
  # @param file_file_repository [FileFileRepository]
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<(FileFileRepositoryResponse, Integer, Hash)>] FileFileRepositoryResponse data, response status code and response headers
111
116
  def create_with_http_info(file_file_repository, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpFileClient
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 PulpFileClient
165
171
  # Trigger an asynchronous delete task
166
172
  # @param file_file_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(file_file_repository_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(file_file_repository_href, opts)
@@ -175,6 +182,7 @@ module PulpFileClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param file_file_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(file_file_repository_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -194,6 +202,7 @@ module PulpFileClient
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 PulpFileClient
227
236
  # List file repositorys
228
237
  # FileRepository represents a single file 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 PulpFileClient
266
276
  # List file repositorys
267
277
  # FileRepository represents a single file 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 PulpFileClient
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 PulpFileClient
379
391
  # List roles assigned to this object.
380
392
  # @param file_file_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 PulpFileClient
391
404
  # List roles assigned to this object.
392
405
  # @param file_file_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 PulpFileClient
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 PulpFileClient
449
464
  # @param file_file_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(file_file_repository_href, repository_add_remove_content, opts = {})
454
470
  data, _status_code, _headers = modify_with_http_info(file_file_repository_href, repository_add_remove_content, opts)
@@ -460,6 +476,7 @@ module PulpFileClient
460
476
  # @param file_file_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(file_file_repository_href, repository_add_remove_content, opts = {})
465
482
  if @api_client.config.debugging
@@ -488,6 +505,7 @@ module PulpFileClient
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 PulpFileClient
522
540
  # List permissions available to the current user on this object.
523
541
  # @param file_file_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 PulpFileClient
534
553
  # List permissions available to the current user on this object.
535
554
  # @param file_file_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 PulpFileClient
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 PulpFileClient
592
613
  # @param file_file_repository_href [String]
593
614
  # @param patchedfile_file_repository [PatchedfileFileRepository]
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(file_file_repository_href, patchedfile_file_repository, opts = {})
597
619
  data, _status_code, _headers = partial_update_with_http_info(file_file_repository_href, patchedfile_file_repository, opts)
@@ -603,6 +625,7 @@ module PulpFileClient
603
625
  # @param file_file_repository_href [String]
604
626
  # @param patchedfile_file_repository [PatchedfileFileRepository]
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(file_file_repository_href, patchedfile_file_repository, opts = {})
608
631
  if @api_client.config.debugging
@@ -631,6 +654,7 @@ module PulpFileClient
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 PulpFileClient
665
689
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
666
690
  # @param file_file_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 [FileFileRepositoryResponse]
@@ -677,6 +702,7 @@ module PulpFileClient
677
702
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
678
703
  # @param file_file_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<(FileFileRepositoryResponse, Integer, Hash)>] FileFileRepositoryResponse data, response status code and response headers
@@ -700,6 +726,7 @@ module PulpFileClient
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 PulpFileClient
735
762
  # @param file_file_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(file_file_repository_href, nested_role, opts = {})
740
768
  data, _status_code, _headers = remove_role_with_http_info(file_file_repository_href, nested_role, opts)
@@ -746,6 +774,7 @@ module PulpFileClient
746
774
  # @param file_file_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(file_file_repository_href, nested_role, opts = {})
751
780
  if @api_client.config.debugging
@@ -774,6 +803,7 @@ module PulpFileClient
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] || {}
@@ -809,6 +839,7 @@ module PulpFileClient
809
839
  # @param file_file_repository_href [String]
810
840
  # @param set_label [SetLabel]
811
841
  # @param [Hash] opts the optional parameters
842
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
812
843
  # @return [SetLabelResponse]
813
844
  def set_label(file_file_repository_href, set_label, opts = {})
814
845
  data, _status_code, _headers = set_label_with_http_info(file_file_repository_href, set_label, opts)
@@ -820,6 +851,7 @@ module PulpFileClient
820
851
  # @param file_file_repository_href [String]
821
852
  # @param set_label [SetLabel]
822
853
  # @param [Hash] opts the optional parameters
854
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
823
855
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
824
856
  def set_label_with_http_info(file_file_repository_href, set_label, opts = {})
825
857
  if @api_client.config.debugging
@@ -848,6 +880,7 @@ module PulpFileClient
848
880
  if !content_type.nil?
849
881
  header_params['Content-Type'] = content_type
850
882
  end
883
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
851
884
 
852
885
  # form parameters
853
886
  form_params = opts[:form_params] || {}
@@ -883,6 +916,7 @@ module PulpFileClient
883
916
  # @param file_file_repository_href [String]
884
917
  # @param repository_sync_url [RepositorySyncURL]
885
918
  # @param [Hash] opts the optional parameters
919
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
886
920
  # @return [AsyncOperationResponse]
887
921
  def sync(file_file_repository_href, repository_sync_url, opts = {})
888
922
  data, _status_code, _headers = sync_with_http_info(file_file_repository_href, repository_sync_url, opts)
@@ -894,6 +928,7 @@ module PulpFileClient
894
928
  # @param file_file_repository_href [String]
895
929
  # @param repository_sync_url [RepositorySyncURL]
896
930
  # @param [Hash] opts the optional parameters
931
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
897
932
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
898
933
  def sync_with_http_info(file_file_repository_href, repository_sync_url, opts = {})
899
934
  if @api_client.config.debugging
@@ -922,6 +957,7 @@ module PulpFileClient
922
957
  if !content_type.nil?
923
958
  header_params['Content-Type'] = content_type
924
959
  end
960
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
925
961
 
926
962
  # form parameters
927
963
  form_params = opts[:form_params] || {}
@@ -957,6 +993,7 @@ module PulpFileClient
957
993
  # @param file_file_repository_href [String]
958
994
  # @param unset_label [UnsetLabel]
959
995
  # @param [Hash] opts the optional parameters
996
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
960
997
  # @return [UnsetLabelResponse]
961
998
  def unset_label(file_file_repository_href, unset_label, opts = {})
962
999
  data, _status_code, _headers = unset_label_with_http_info(file_file_repository_href, unset_label, opts)
@@ -968,6 +1005,7 @@ module PulpFileClient
968
1005
  # @param file_file_repository_href [String]
969
1006
  # @param unset_label [UnsetLabel]
970
1007
  # @param [Hash] opts the optional parameters
1008
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
971
1009
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
972
1010
  def unset_label_with_http_info(file_file_repository_href, unset_label, opts = {})
973
1011
  if @api_client.config.debugging
@@ -996,6 +1034,7 @@ module PulpFileClient
996
1034
  if !content_type.nil?
997
1035
  header_params['Content-Type'] = content_type
998
1036
  end
1037
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
999
1038
 
1000
1039
  # form parameters
1001
1040
  form_params = opts[:form_params] || {}
@@ -1031,6 +1070,7 @@ module PulpFileClient
1031
1070
  # @param file_file_repository_href [String]
1032
1071
  # @param file_file_repository [FileFileRepository]
1033
1072
  # @param [Hash] opts the optional parameters
1073
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1034
1074
  # @return [AsyncOperationResponse]
1035
1075
  def update(file_file_repository_href, file_file_repository, opts = {})
1036
1076
  data, _status_code, _headers = update_with_http_info(file_file_repository_href, file_file_repository, opts)
@@ -1042,6 +1082,7 @@ module PulpFileClient
1042
1082
  # @param file_file_repository_href [String]
1043
1083
  # @param file_file_repository [FileFileRepository]
1044
1084
  # @param [Hash] opts the optional parameters
1085
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1045
1086
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
1046
1087
  def update_with_http_info(file_file_repository_href, file_file_repository, opts = {})
1047
1088
  if @api_client.config.debugging
@@ -1070,6 +1111,7 @@ module PulpFileClient
1070
1111
  if !content_type.nil?
1071
1112
  header_params['Content-Type'] = content_type
1072
1113
  end
1114
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
1073
1115
 
1074
1116
  # form parameters
1075
1117
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpFileClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param file_file_repository_version_href [String]
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 delete(file_file_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(file_file_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpFileClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param file_file_repository_version_href [String]
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 delete_with_http_info(file_file_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpFileClient
52
54
  header_params = opts[:header_params] || {}
53
55
  # HTTP header 'Accept' (if needed)
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
@@ -86,6 +89,7 @@ module PulpFileClient
86
89
  # FileRepositoryVersion represents a single file repository version.
87
90
  # @param file_file_repository_href [String]
88
91
  # @param [Hash] opts the optional parameters
92
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
89
93
  # @option opts [String] :content Content Unit referenced by HREF/PRN
90
94
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
91
95
  # @option opts [Integer] :limit Number of results to return per page.
@@ -119,6 +123,7 @@ module PulpFileClient
119
123
  # FileRepositoryVersion represents a single file repository version.
120
124
  # @param file_file_repository_href [String]
121
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
127
  # @option opts [String] :content Content Unit referenced by HREF/PRN
123
128
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
124
129
  # @option opts [Integer] :limit Number of results to return per page.
@@ -188,6 +193,7 @@ module PulpFileClient
188
193
  header_params = opts[:header_params] || {}
189
194
  # HTTP header 'Accept' (if needed)
190
195
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
196
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
191
197
 
192
198
  # form parameters
193
199
  form_params = opts[:form_params] || {}
@@ -222,6 +228,7 @@ module PulpFileClient
222
228
  # FileRepositoryVersion represents a single file repository version.
223
229
  # @param file_file_repository_version_href [String]
224
230
  # @param [Hash] opts the optional parameters
231
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
232
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
233
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
234
  # @return [RepositoryVersionResponse]
@@ -234,6 +241,7 @@ module PulpFileClient
234
241
  # FileRepositoryVersion represents a single file repository version.
235
242
  # @param file_file_repository_version_href [String]
236
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
237
245
  # @option opts [Array<String>] :fields A list of fields to include in the response.
238
246
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
239
247
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
@@ -257,6 +265,7 @@ module PulpFileClient
257
265
  header_params = opts[:header_params] || {}
258
266
  # HTTP header 'Accept' (if needed)
259
267
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
260
269
 
261
270
  # form parameters
262
271
  form_params = opts[:form_params] || {}
@@ -291,6 +300,7 @@ module PulpFileClient
291
300
  # @param file_file_repository_version_href [String]
292
301
  # @param repair [Repair]
293
302
  # @param [Hash] opts the optional parameters
303
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
294
304
  # @return [AsyncOperationResponse]
295
305
  def repair(file_file_repository_version_href, repair, opts = {})
296
306
  data, _status_code, _headers = repair_with_http_info(file_file_repository_version_href, repair, opts)
@@ -301,6 +311,7 @@ module PulpFileClient
301
311
  # @param file_file_repository_version_href [String]
302
312
  # @param repair [Repair]
303
313
  # @param [Hash] opts the optional parameters
314
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
304
315
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
316
  def repair_with_http_info(file_file_repository_version_href, repair, opts = {})
306
317
  if @api_client.config.debugging
@@ -329,6 +340,7 @@ module PulpFileClient
329
340
  if !content_type.nil?
330
341
  header_params['Content-Type'] = content_type
331
342
  end
343
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
332
344
 
333
345
  # form parameters
334
346
  form_params = opts[:form_params] || {}
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpFileClient
14
- VERSION = '3.80.2'
14
+ VERSION = '3.82.0'
15
15
  end
@@ -38,6 +38,7 @@ describe 'AcsFileApi' do
38
38
  # @param file_file_alternate_content_source_href
39
39
  # @param nested_role
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
42
  # @return [NestedRoleResponse]
42
43
  describe 'add_role test' do
43
44
  it 'should work' do
@@ -50,6 +51,7 @@ describe 'AcsFileApi' do
50
51
  # Alternate Content Source ViewSet for File
51
52
  # @param file_file_alternate_content_source
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
55
  # @return [FileFileAlternateContentSourceResponse]
54
56
  describe 'create test' do
55
57
  it 'should work' do
@@ -62,6 +64,7 @@ describe 'AcsFileApi' do
62
64
  # Trigger an asynchronous delete ACS task
63
65
  # @param file_file_alternate_content_source_href
64
66
  # @param [Hash] opts the optional parameters
67
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
65
68
  # @return [AsyncOperationResponse]
66
69
  describe 'delete test' do
67
70
  it 'should work' do
@@ -73,6 +76,7 @@ describe 'AcsFileApi' do
73
76
  # List file alternate content sources
74
77
  # Alternate Content Source ViewSet for File
75
78
  # @param [Hash] opts the optional parameters
79
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
76
80
  # @option opts [Integer] :limit Number of results to return per page.
77
81
  # @option opts [String] :name Filter results where name matches value
78
82
  # @option opts [String] :name__contains Filter results where name contains value
@@ -103,6 +107,7 @@ describe 'AcsFileApi' do
103
107
  # List roles assigned to this object.
104
108
  # @param file_file_alternate_content_source_href
105
109
  # @param [Hash] opts the optional parameters
110
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
106
111
  # @option opts [Array<String>] :fields A list of fields to include in the response.
107
112
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
108
113
  # @return [ObjectRolesResponse]
@@ -117,6 +122,7 @@ describe 'AcsFileApi' do
117
122
  # List permissions available to the current user on this object.
118
123
  # @param file_file_alternate_content_source_href
119
124
  # @param [Hash] opts the optional parameters
125
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
120
126
  # @option opts [Array<String>] :fields A list of fields to include in the response.
121
127
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
122
128
  # @return [MyPermissionsResponse]
@@ -132,6 +138,7 @@ describe 'AcsFileApi' do
132
138
  # @param file_file_alternate_content_source_href
133
139
  # @param patchedfile_file_alternate_content_source
134
140
  # @param [Hash] opts the optional parameters
141
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
135
142
  # @return [AsyncOperationResponse]
136
143
  describe 'partial_update test' do
137
144
  it 'should work' do
@@ -144,6 +151,7 @@ describe 'AcsFileApi' do
144
151
  # Alternate Content Source ViewSet for File
145
152
  # @param file_file_alternate_content_source_href
146
153
  # @param [Hash] opts the optional parameters
154
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
147
155
  # @option opts [Array<String>] :fields A list of fields to include in the response.
148
156
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
149
157
  # @return [FileFileAlternateContentSourceResponse]
@@ -158,6 +166,7 @@ describe 'AcsFileApi' do
158
166
  # Trigger an asynchronous task to create Alternate Content Source content.
159
167
  # @param file_file_alternate_content_source_href
160
168
  # @param [Hash] opts the optional parameters
169
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
161
170
  # @return [TaskGroupOperationResponse]
162
171
  describe 'refresh test' do
163
172
  it 'should work' do
@@ -171,6 +180,7 @@ describe 'AcsFileApi' do
171
180
  # @param file_file_alternate_content_source_href
172
181
  # @param nested_role
173
182
  # @param [Hash] opts the optional parameters
183
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
174
184
  # @return [NestedRoleResponse]
175
185
  describe 'remove_role test' do
176
186
  it 'should work' do
@@ -184,6 +194,7 @@ describe 'AcsFileApi' do
184
194
  # @param file_file_alternate_content_source_href
185
195
  # @param file_file_alternate_content_source
186
196
  # @param [Hash] opts the optional parameters
197
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
187
198
  # @return [AsyncOperationResponse]
188
199
  describe 'update test' do
189
200
  it 'should work' do
@@ -37,6 +37,7 @@ describe 'ContentFilesApi' do
37
37
  # Trigger an asynchronous task to create content,optionally create new repository version.
38
38
  # @param relative_path Path where the artifact is located relative to distributions base_path
39
39
  # @param [Hash] opts the optional parameters
40
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
42
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
42
43
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -54,6 +55,7 @@ describe 'ContentFilesApi' do
54
55
  # List file contents
55
56
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
56
57
  # @param [Hash] opts the optional parameters
58
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
57
59
  # @option opts [Integer] :limit Number of results to return per page.
58
60
  # @option opts [Integer] :offset The initial index from which to return the results.
59
61
  # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;relative_path&#x60; - Relative path * &#x60;-relative_path&#x60; - Relative path (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -82,6 +84,7 @@ describe 'ContentFilesApi' do
82
84
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
83
85
  # @param file_file_content_href
84
86
  # @param [Hash] opts the optional parameters
87
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
85
88
  # @option opts [Array<String>] :fields A list of fields to include in the response.
86
89
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
87
90
  # @return [FileFileContentResponse]
@@ -97,6 +100,7 @@ describe 'ContentFilesApi' do
97
100
  # @param file_file_content_href
98
101
  # @param set_label
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 [SetLabelResponse]
101
105
  describe 'set_label test' do
102
106
  it 'should work' do
@@ -110,6 +114,7 @@ describe 'ContentFilesApi' do
110
114
  # @param file_file_content_href
111
115
  # @param unset_label
112
116
  # @param [Hash] opts the optional parameters
117
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
113
118
  # @return [UnsetLabelResponse]
114
119
  describe 'unset_label test' do
115
120
  it 'should work' do
@@ -38,6 +38,7 @@ describe 'DistributionsFileApi' do
38
38
  # @param file_file_distribution_href
39
39
  # @param nested_role
40
40
  # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
41
42
  # @return [NestedRoleResponse]
42
43
  describe 'add_role test' do
43
44
  it 'should work' do
@@ -50,6 +51,7 @@ describe 'DistributionsFileApi' do
50
51
  # Trigger an asynchronous create task
51
52
  # @param file_file_distribution
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
55
  # @return [AsyncOperationResponse]
54
56
  describe 'create test' do
55
57
  it 'should work' do
@@ -62,6 +64,7 @@ describe 'DistributionsFileApi' do
62
64
  # Trigger an asynchronous delete task
63
65
  # @param file_file_distribution_href
64
66
  # @param [Hash] opts the optional parameters
67
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
65
68
  # @return [AsyncOperationResponse]
66
69
  describe 'delete test' do
67
70
  it 'should work' do
@@ -73,6 +76,7 @@ describe 'DistributionsFileApi' do
73
76
  # List file distributions
74
77
  # FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
75
78
  # @param [Hash] opts the optional parameters
79
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
76
80
  # @option opts [String] :base_path Filter results where base_path matches value
77
81
  # @option opts [String] :base_path__contains Filter results where base_path contains value
78
82
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -112,6 +116,7 @@ describe 'DistributionsFileApi' do
112
116
  # List roles assigned to this object.
113
117
  # @param file_file_distribution_href
114
118
  # @param [Hash] opts the optional parameters
119
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
115
120
  # @option opts [Array<String>] :fields A list of fields to include in the response.
116
121
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
117
122
  # @return [ObjectRolesResponse]
@@ -126,6 +131,7 @@ describe 'DistributionsFileApi' do
126
131
  # List permissions available to the current user on this object.
127
132
  # @param file_file_distribution_href
128
133
  # @param [Hash] opts the optional parameters
134
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
129
135
  # @option opts [Array<String>] :fields A list of fields to include in the response.
130
136
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
131
137
  # @return [MyPermissionsResponse]
@@ -141,6 +147,7 @@ describe 'DistributionsFileApi' do
141
147
  # @param file_file_distribution_href
142
148
  # @param patchedfile_file_distribution
143
149
  # @param [Hash] opts the optional parameters
150
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
144
151
  # @return [AsyncOperationResponse]
145
152
  describe 'partial_update test' do
146
153
  it 'should work' do
@@ -153,6 +160,7 @@ describe 'DistributionsFileApi' do
153
160
  # FileDistributions host File Publications which makes the metadata and the referenced File Content available to HTTP clients. Additionally, a FileDistribution with an associated FilePublication can be the target url of a File Remote , allowing another instance of Pulp to sync the content.
154
161
  # @param file_file_distribution_href
155
162
  # @param [Hash] opts the optional parameters
163
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
156
164
  # @option opts [Array<String>] :fields A list of fields to include in the response.
157
165
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
158
166
  # @return [FileFileDistributionResponse]
@@ -168,6 +176,7 @@ describe 'DistributionsFileApi' do
168
176
  # @param file_file_distribution_href
169
177
  # @param nested_role
170
178
  # @param [Hash] opts the optional parameters
179
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
171
180
  # @return [NestedRoleResponse]
172
181
  describe 'remove_role test' do
173
182
  it 'should work' do
@@ -181,6 +190,7 @@ describe 'DistributionsFileApi' do
181
190
  # @param file_file_distribution_href
182
191
  # @param set_label
183
192
  # @param [Hash] opts the optional parameters
193
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
184
194
  # @return [SetLabelResponse]
185
195
  describe 'set_label test' do
186
196
  it 'should work' do
@@ -194,6 +204,7 @@ describe 'DistributionsFileApi' do
194
204
  # @param file_file_distribution_href
195
205
  # @param unset_label
196
206
  # @param [Hash] opts the optional parameters
207
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
197
208
  # @return [UnsetLabelResponse]
198
209
  describe 'unset_label test' do
199
210
  it 'should work' do
@@ -207,6 +218,7 @@ describe 'DistributionsFileApi' do
207
218
  # @param file_file_distribution_href
208
219
  # @param file_file_distribution
209
220
  # @param [Hash] opts the optional parameters
221
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
210
222
  # @return [AsyncOperationResponse]
211
223
  describe 'update test' do
212
224
  it 'should work' do