pulp_file_client 3.49.52 → 3.49.54

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_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(file_file_remote_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(file_file_remote_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpFileClient
35
36
  # @param file_file_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(file_file_remote_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -60,6 +62,7 @@ module PulpFileClient
60
62
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
63
  # HTTP header 'Content-Type'
62
64
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
65
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
63
66
 
64
67
  # form parameters
65
68
  form_params = opts[:form_params] || {}
@@ -93,6 +96,7 @@ module PulpFileClient
93
96
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
94
97
  # @param file_file_remote [FileFileRemote]
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
96
100
  # @return [FileFileRemoteResponse]
97
101
  def create(file_file_remote, opts = {})
98
102
  data, _status_code, _headers = create_with_http_info(file_file_remote, opts)
@@ -103,6 +107,7 @@ module PulpFileClient
103
107
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
104
108
  # @param file_file_remote [FileFileRemote]
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
  # @return [Array<(FileFileRemoteResponse, Integer, Hash)>] FileFileRemoteResponse data, response status code and response headers
107
112
  def create_with_http_info(file_file_remote, opts = {})
108
113
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpFileClient
124
129
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
125
130
  # HTTP header 'Content-Type'
126
131
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
132
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
127
133
 
128
134
  # form parameters
129
135
  form_params = opts[:form_params] || {}
@@ -157,6 +163,7 @@ module PulpFileClient
157
163
  # Trigger an asynchronous delete task
158
164
  # @param file_file_remote_href [String]
159
165
  # @param [Hash] opts the optional parameters
166
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
167
  # @return [AsyncOperationResponse]
161
168
  def delete(file_file_remote_href, opts = {})
162
169
  data, _status_code, _headers = delete_with_http_info(file_file_remote_href, opts)
@@ -167,6 +174,7 @@ module PulpFileClient
167
174
  # Trigger an asynchronous delete task
168
175
  # @param file_file_remote_href [String]
169
176
  # @param [Hash] opts the optional parameters
177
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
170
178
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
171
179
  def delete_with_http_info(file_file_remote_href, opts = {})
172
180
  if @api_client.config.debugging
@@ -186,6 +194,7 @@ module PulpFileClient
186
194
  header_params = opts[:header_params] || {}
187
195
  # HTTP header 'Accept' (if needed)
188
196
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
197
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
189
198
 
190
199
  # form parameters
191
200
  form_params = opts[:form_params] || {}
@@ -218,6 +227,7 @@ module PulpFileClient
218
227
  # List file remotes
219
228
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
220
229
  # @param [Hash] opts the optional parameters
230
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
221
231
  # @option opts [Integer] :limit Number of results to return per page.
222
232
  # @option opts [String] :name Filter results where name matches value
223
233
  # @option opts [String] :name__contains Filter results where name contains value
@@ -251,6 +261,7 @@ module PulpFileClient
251
261
  # List file remotes
252
262
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
253
263
  # @param [Hash] opts the optional parameters
264
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
254
265
  # @option opts [Integer] :limit Number of results to return per page.
255
266
  # @option opts [String] :name Filter results where name matches value
256
267
  # @option opts [String] :name__contains Filter results where name contains value
@@ -318,6 +329,7 @@ module PulpFileClient
318
329
  header_params = opts[:header_params] || {}
319
330
  # HTTP header 'Accept' (if needed)
320
331
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
332
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
321
333
 
322
334
  # form parameters
323
335
  form_params = opts[:form_params] || {}
@@ -351,6 +363,7 @@ module PulpFileClient
351
363
  # List roles assigned to this object.
352
364
  # @param file_file_remote_href [String]
353
365
  # @param [Hash] opts the optional parameters
366
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
354
367
  # @option opts [Array<String>] :fields A list of fields to include in the response.
355
368
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
356
369
  # @return [ObjectRolesResponse]
@@ -363,6 +376,7 @@ module PulpFileClient
363
376
  # List roles assigned to this object.
364
377
  # @param file_file_remote_href [String]
365
378
  # @param [Hash] opts the optional parameters
379
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
366
380
  # @option opts [Array<String>] :fields A list of fields to include in the response.
367
381
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
368
382
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -386,6 +400,7 @@ module PulpFileClient
386
400
  header_params = opts[:header_params] || {}
387
401
  # HTTP header 'Accept' (if needed)
388
402
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
403
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
389
404
 
390
405
  # form parameters
391
406
  form_params = opts[:form_params] || {}
@@ -419,6 +434,7 @@ module PulpFileClient
419
434
  # List permissions available to the current user on this object.
420
435
  # @param file_file_remote_href [String]
421
436
  # @param [Hash] opts the optional parameters
437
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
422
438
  # @option opts [Array<String>] :fields A list of fields to include in the response.
423
439
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
424
440
  # @return [MyPermissionsResponse]
@@ -431,6 +447,7 @@ module PulpFileClient
431
447
  # List permissions available to the current user on this object.
432
448
  # @param file_file_remote_href [String]
433
449
  # @param [Hash] opts the optional parameters
450
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
434
451
  # @option opts [Array<String>] :fields A list of fields to include in the response.
435
452
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
436
453
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -454,6 +471,7 @@ module PulpFileClient
454
471
  header_params = opts[:header_params] || {}
455
472
  # HTTP header 'Accept' (if needed)
456
473
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
474
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
457
475
 
458
476
  # form parameters
459
477
  form_params = opts[:form_params] || {}
@@ -488,6 +506,7 @@ module PulpFileClient
488
506
  # @param file_file_remote_href [String]
489
507
  # @param patchedfile_file_remote [PatchedfileFileRemote]
490
508
  # @param [Hash] opts the optional parameters
509
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
491
510
  # @return [AsyncOperationResponse]
492
511
  def partial_update(file_file_remote_href, patchedfile_file_remote, opts = {})
493
512
  data, _status_code, _headers = partial_update_with_http_info(file_file_remote_href, patchedfile_file_remote, opts)
@@ -499,6 +518,7 @@ module PulpFileClient
499
518
  # @param file_file_remote_href [String]
500
519
  # @param patchedfile_file_remote [PatchedfileFileRemote]
501
520
  # @param [Hash] opts the optional parameters
521
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
502
522
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
503
523
  def partial_update_with_http_info(file_file_remote_href, patchedfile_file_remote, opts = {})
504
524
  if @api_client.config.debugging
@@ -524,6 +544,7 @@ module PulpFileClient
524
544
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
525
545
  # HTTP header 'Content-Type'
526
546
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
547
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
527
548
 
528
549
  # form parameters
529
550
  form_params = opts[:form_params] || {}
@@ -557,6 +578,7 @@ module PulpFileClient
557
578
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
558
579
  # @param file_file_remote_href [String]
559
580
  # @param [Hash] opts the optional parameters
581
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
560
582
  # @option opts [Array<String>] :fields A list of fields to include in the response.
561
583
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
562
584
  # @return [FileFileRemoteResponse]
@@ -569,6 +591,7 @@ module PulpFileClient
569
591
  # FileRemote represents an external source of File Content. The target url of a FileRemote must contain a file manifest, which contains the metadata for all files at the source.
570
592
  # @param file_file_remote_href [String]
571
593
  # @param [Hash] opts the optional parameters
594
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
572
595
  # @option opts [Array<String>] :fields A list of fields to include in the response.
573
596
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
574
597
  # @return [Array<(FileFileRemoteResponse, Integer, Hash)>] FileFileRemoteResponse data, response status code and response headers
@@ -592,6 +615,7 @@ module PulpFileClient
592
615
  header_params = opts[:header_params] || {}
593
616
  # HTTP header 'Accept' (if needed)
594
617
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
618
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
595
619
 
596
620
  # form parameters
597
621
  form_params = opts[:form_params] || {}
@@ -626,6 +650,7 @@ module PulpFileClient
626
650
  # @param file_file_remote_href [String]
627
651
  # @param nested_role [NestedRole]
628
652
  # @param [Hash] opts the optional parameters
653
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
629
654
  # @return [NestedRoleResponse]
630
655
  def remove_role(file_file_remote_href, nested_role, opts = {})
631
656
  data, _status_code, _headers = remove_role_with_http_info(file_file_remote_href, nested_role, opts)
@@ -637,6 +662,7 @@ module PulpFileClient
637
662
  # @param file_file_remote_href [String]
638
663
  # @param nested_role [NestedRole]
639
664
  # @param [Hash] opts the optional parameters
665
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
640
666
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
641
667
  def remove_role_with_http_info(file_file_remote_href, nested_role, opts = {})
642
668
  if @api_client.config.debugging
@@ -662,6 +688,7 @@ module PulpFileClient
662
688
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
663
689
  # HTTP header 'Content-Type'
664
690
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
691
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
665
692
 
666
693
  # form parameters
667
694
  form_params = opts[:form_params] || {}
@@ -696,6 +723,7 @@ module PulpFileClient
696
723
  # @param file_file_remote_href [String]
697
724
  # @param set_label [SetLabel]
698
725
  # @param [Hash] opts the optional parameters
726
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
699
727
  # @return [SetLabelResponse]
700
728
  def set_label(file_file_remote_href, set_label, opts = {})
701
729
  data, _status_code, _headers = set_label_with_http_info(file_file_remote_href, set_label, opts)
@@ -707,6 +735,7 @@ module PulpFileClient
707
735
  # @param file_file_remote_href [String]
708
736
  # @param set_label [SetLabel]
709
737
  # @param [Hash] opts the optional parameters
738
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
710
739
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
711
740
  def set_label_with_http_info(file_file_remote_href, set_label, opts = {})
712
741
  if @api_client.config.debugging
@@ -732,6 +761,7 @@ module PulpFileClient
732
761
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
733
762
  # HTTP header 'Content-Type'
734
763
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
764
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
735
765
 
736
766
  # form parameters
737
767
  form_params = opts[:form_params] || {}
@@ -766,6 +796,7 @@ module PulpFileClient
766
796
  # @param file_file_remote_href [String]
767
797
  # @param unset_label [UnsetLabel]
768
798
  # @param [Hash] opts the optional parameters
799
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
769
800
  # @return [UnsetLabelResponse]
770
801
  def unset_label(file_file_remote_href, unset_label, opts = {})
771
802
  data, _status_code, _headers = unset_label_with_http_info(file_file_remote_href, unset_label, opts)
@@ -777,6 +808,7 @@ module PulpFileClient
777
808
  # @param file_file_remote_href [String]
778
809
  # @param unset_label [UnsetLabel]
779
810
  # @param [Hash] opts the optional parameters
811
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
780
812
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
781
813
  def unset_label_with_http_info(file_file_remote_href, unset_label, opts = {})
782
814
  if @api_client.config.debugging
@@ -802,6 +834,7 @@ module PulpFileClient
802
834
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
803
835
  # HTTP header 'Content-Type'
804
836
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
837
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
805
838
 
806
839
  # form parameters
807
840
  form_params = opts[:form_params] || {}
@@ -836,6 +869,7 @@ module PulpFileClient
836
869
  # @param file_file_remote_href [String]
837
870
  # @param file_file_remote [FileFileRemote]
838
871
  # @param [Hash] opts the optional parameters
872
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
839
873
  # @return [AsyncOperationResponse]
840
874
  def update(file_file_remote_href, file_file_remote, opts = {})
841
875
  data, _status_code, _headers = update_with_http_info(file_file_remote_href, file_file_remote, opts)
@@ -847,6 +881,7 @@ module PulpFileClient
847
881
  # @param file_file_remote_href [String]
848
882
  # @param file_file_remote [FileFileRemote]
849
883
  # @param [Hash] opts the optional parameters
884
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
850
885
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
851
886
  def update_with_http_info(file_file_remote_href, file_file_remote, opts = {})
852
887
  if @api_client.config.debugging
@@ -872,6 +907,7 @@ module PulpFileClient
872
907
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
873
908
  # HTTP header 'Content-Type'
874
909
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
910
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
875
911
 
876
912
  # form parameters
877
913
  form_params = opts[:form_params] || {}
@@ -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
@@ -60,6 +62,7 @@ module PulpFileClient
60
62
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
63
  # HTTP header 'Content-Type'
62
64
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
65
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
63
66
 
64
67
  # form parameters
65
68
  form_params = opts[:form_params] || {}
@@ -93,6 +96,7 @@ module PulpFileClient
93
96
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
94
97
  # @param file_file_repository [FileFileRepository]
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
96
100
  # @return [FileFileRepositoryResponse]
97
101
  def create(file_file_repository, opts = {})
98
102
  data, _status_code, _headers = create_with_http_info(file_file_repository, opts)
@@ -103,6 +107,7 @@ module PulpFileClient
103
107
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
104
108
  # @param file_file_repository [FileFileRepository]
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
  # @return [Array<(FileFileRepositoryResponse, Integer, Hash)>] FileFileRepositoryResponse data, response status code and response headers
107
112
  def create_with_http_info(file_file_repository, opts = {})
108
113
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpFileClient
124
129
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
125
130
  # HTTP header 'Content-Type'
126
131
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
132
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
127
133
 
128
134
  # form parameters
129
135
  form_params = opts[:form_params] || {}
@@ -157,6 +163,7 @@ module PulpFileClient
157
163
  # Trigger an asynchronous delete task
158
164
  # @param file_file_repository_href [String]
159
165
  # @param [Hash] opts the optional parameters
166
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
167
  # @return [AsyncOperationResponse]
161
168
  def delete(file_file_repository_href, opts = {})
162
169
  data, _status_code, _headers = delete_with_http_info(file_file_repository_href, opts)
@@ -167,6 +174,7 @@ module PulpFileClient
167
174
  # Trigger an asynchronous delete task
168
175
  # @param file_file_repository_href [String]
169
176
  # @param [Hash] opts the optional parameters
177
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
170
178
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
171
179
  def delete_with_http_info(file_file_repository_href, opts = {})
172
180
  if @api_client.config.debugging
@@ -186,6 +194,7 @@ module PulpFileClient
186
194
  header_params = opts[:header_params] || {}
187
195
  # HTTP header 'Accept' (if needed)
188
196
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
197
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
189
198
 
190
199
  # form parameters
191
200
  form_params = opts[:form_params] || {}
@@ -218,6 +227,7 @@ module PulpFileClient
218
227
  # List file repositorys
219
228
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
220
229
  # @param [Hash] opts the optional parameters
230
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
221
231
  # @option opts [String] :latest_with_content Content Unit referenced by HREF
222
232
  # @option opts [Integer] :limit Number of results to return per page.
223
233
  # @option opts [String] :name Filter results where name matches value
@@ -256,6 +266,7 @@ module PulpFileClient
256
266
  # List file repositorys
257
267
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
258
268
  # @param [Hash] opts the optional parameters
269
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
259
270
  # @option opts [String] :latest_with_content Content Unit referenced by HREF
260
271
  # @option opts [Integer] :limit Number of results to return per page.
261
272
  # @option opts [String] :name Filter results where name matches value
@@ -333,6 +344,7 @@ module PulpFileClient
333
344
  header_params = opts[:header_params] || {}
334
345
  # HTTP header 'Accept' (if needed)
335
346
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
347
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
336
348
 
337
349
  # form parameters
338
350
  form_params = opts[:form_params] || {}
@@ -366,6 +378,7 @@ module PulpFileClient
366
378
  # List roles assigned to this object.
367
379
  # @param file_file_repository_href [String]
368
380
  # @param [Hash] opts the optional parameters
381
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
369
382
  # @option opts [Array<String>] :fields A list of fields to include in the response.
370
383
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
371
384
  # @return [ObjectRolesResponse]
@@ -378,6 +391,7 @@ module PulpFileClient
378
391
  # List roles assigned to this object.
379
392
  # @param file_file_repository_href [String]
380
393
  # @param [Hash] opts the optional parameters
394
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
381
395
  # @option opts [Array<String>] :fields A list of fields to include in the response.
382
396
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
383
397
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -401,6 +415,7 @@ module PulpFileClient
401
415
  header_params = opts[:header_params] || {}
402
416
  # HTTP header 'Accept' (if needed)
403
417
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
418
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
404
419
 
405
420
  # form parameters
406
421
  form_params = opts[:form_params] || {}
@@ -435,6 +450,7 @@ module PulpFileClient
435
450
  # @param file_file_repository_href [String]
436
451
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
437
452
  # @param [Hash] opts the optional parameters
453
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
438
454
  # @return [AsyncOperationResponse]
439
455
  def modify(file_file_repository_href, repository_add_remove_content, opts = {})
440
456
  data, _status_code, _headers = modify_with_http_info(file_file_repository_href, repository_add_remove_content, opts)
@@ -446,6 +462,7 @@ module PulpFileClient
446
462
  # @param file_file_repository_href [String]
447
463
  # @param repository_add_remove_content [RepositoryAddRemoveContent]
448
464
  # @param [Hash] opts the optional parameters
465
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
449
466
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
450
467
  def modify_with_http_info(file_file_repository_href, repository_add_remove_content, opts = {})
451
468
  if @api_client.config.debugging
@@ -471,6 +488,7 @@ module PulpFileClient
471
488
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
472
489
  # HTTP header 'Content-Type'
473
490
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
491
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
474
492
 
475
493
  # form parameters
476
494
  form_params = opts[:form_params] || {}
@@ -504,6 +522,7 @@ module PulpFileClient
504
522
  # List permissions available to the current user on this object.
505
523
  # @param file_file_repository_href [String]
506
524
  # @param [Hash] opts the optional parameters
525
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
507
526
  # @option opts [Array<String>] :fields A list of fields to include in the response.
508
527
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
509
528
  # @return [MyPermissionsResponse]
@@ -516,6 +535,7 @@ module PulpFileClient
516
535
  # List permissions available to the current user on this object.
517
536
  # @param file_file_repository_href [String]
518
537
  # @param [Hash] opts the optional parameters
538
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
519
539
  # @option opts [Array<String>] :fields A list of fields to include in the response.
520
540
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
521
541
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -539,6 +559,7 @@ module PulpFileClient
539
559
  header_params = opts[:header_params] || {}
540
560
  # HTTP header 'Accept' (if needed)
541
561
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
562
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
542
563
 
543
564
  # form parameters
544
565
  form_params = opts[:form_params] || {}
@@ -573,6 +594,7 @@ module PulpFileClient
573
594
  # @param file_file_repository_href [String]
574
595
  # @param patchedfile_file_repository [PatchedfileFileRepository]
575
596
  # @param [Hash] opts the optional parameters
597
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
576
598
  # @return [AsyncOperationResponse]
577
599
  def partial_update(file_file_repository_href, patchedfile_file_repository, opts = {})
578
600
  data, _status_code, _headers = partial_update_with_http_info(file_file_repository_href, patchedfile_file_repository, opts)
@@ -584,6 +606,7 @@ module PulpFileClient
584
606
  # @param file_file_repository_href [String]
585
607
  # @param patchedfile_file_repository [PatchedfileFileRepository]
586
608
  # @param [Hash] opts the optional parameters
609
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
587
610
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
588
611
  def partial_update_with_http_info(file_file_repository_href, patchedfile_file_repository, opts = {})
589
612
  if @api_client.config.debugging
@@ -609,6 +632,7 @@ module PulpFileClient
609
632
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
610
633
  # HTTP header 'Content-Type'
611
634
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
635
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
612
636
 
613
637
  # form parameters
614
638
  form_params = opts[:form_params] || {}
@@ -642,6 +666,7 @@ module PulpFileClient
642
666
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
643
667
  # @param file_file_repository_href [String]
644
668
  # @param [Hash] opts the optional parameters
669
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
645
670
  # @option opts [Array<String>] :fields A list of fields to include in the response.
646
671
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
647
672
  # @return [FileFileRepositoryResponse]
@@ -654,6 +679,7 @@ module PulpFileClient
654
679
  # FileRepository represents a single file repository, to which content can be synced, added, or removed.
655
680
  # @param file_file_repository_href [String]
656
681
  # @param [Hash] opts the optional parameters
682
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
657
683
  # @option opts [Array<String>] :fields A list of fields to include in the response.
658
684
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
659
685
  # @return [Array<(FileFileRepositoryResponse, Integer, Hash)>] FileFileRepositoryResponse data, response status code and response headers
@@ -677,6 +703,7 @@ module PulpFileClient
677
703
  header_params = opts[:header_params] || {}
678
704
  # HTTP header 'Accept' (if needed)
679
705
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
706
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
680
707
 
681
708
  # form parameters
682
709
  form_params = opts[:form_params] || {}
@@ -711,6 +738,7 @@ module PulpFileClient
711
738
  # @param file_file_repository_href [String]
712
739
  # @param nested_role [NestedRole]
713
740
  # @param [Hash] opts the optional parameters
741
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
714
742
  # @return [NestedRoleResponse]
715
743
  def remove_role(file_file_repository_href, nested_role, opts = {})
716
744
  data, _status_code, _headers = remove_role_with_http_info(file_file_repository_href, nested_role, opts)
@@ -722,6 +750,7 @@ module PulpFileClient
722
750
  # @param file_file_repository_href [String]
723
751
  # @param nested_role [NestedRole]
724
752
  # @param [Hash] opts the optional parameters
753
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
725
754
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
726
755
  def remove_role_with_http_info(file_file_repository_href, nested_role, opts = {})
727
756
  if @api_client.config.debugging
@@ -747,6 +776,7 @@ module PulpFileClient
747
776
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
748
777
  # HTTP header 'Content-Type'
749
778
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
779
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
750
780
 
751
781
  # form parameters
752
782
  form_params = opts[:form_params] || {}
@@ -781,6 +811,7 @@ module PulpFileClient
781
811
  # @param file_file_repository_href [String]
782
812
  # @param set_label [SetLabel]
783
813
  # @param [Hash] opts the optional parameters
814
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
784
815
  # @return [SetLabelResponse]
785
816
  def set_label(file_file_repository_href, set_label, opts = {})
786
817
  data, _status_code, _headers = set_label_with_http_info(file_file_repository_href, set_label, opts)
@@ -792,6 +823,7 @@ module PulpFileClient
792
823
  # @param file_file_repository_href [String]
793
824
  # @param set_label [SetLabel]
794
825
  # @param [Hash] opts the optional parameters
826
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
795
827
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
796
828
  def set_label_with_http_info(file_file_repository_href, set_label, opts = {})
797
829
  if @api_client.config.debugging
@@ -817,6 +849,7 @@ module PulpFileClient
817
849
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
818
850
  # HTTP header 'Content-Type'
819
851
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
852
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
820
853
 
821
854
  # form parameters
822
855
  form_params = opts[:form_params] || {}
@@ -851,6 +884,7 @@ module PulpFileClient
851
884
  # @param file_file_repository_href [String]
852
885
  # @param repository_sync_url [RepositorySyncURL]
853
886
  # @param [Hash] opts the optional parameters
887
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
854
888
  # @return [AsyncOperationResponse]
855
889
  def sync(file_file_repository_href, repository_sync_url, opts = {})
856
890
  data, _status_code, _headers = sync_with_http_info(file_file_repository_href, repository_sync_url, opts)
@@ -862,6 +896,7 @@ module PulpFileClient
862
896
  # @param file_file_repository_href [String]
863
897
  # @param repository_sync_url [RepositorySyncURL]
864
898
  # @param [Hash] opts the optional parameters
899
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
865
900
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
866
901
  def sync_with_http_info(file_file_repository_href, repository_sync_url, opts = {})
867
902
  if @api_client.config.debugging
@@ -887,6 +922,7 @@ module PulpFileClient
887
922
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
888
923
  # HTTP header 'Content-Type'
889
924
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
925
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
890
926
 
891
927
  # form parameters
892
928
  form_params = opts[:form_params] || {}
@@ -921,6 +957,7 @@ module PulpFileClient
921
957
  # @param file_file_repository_href [String]
922
958
  # @param unset_label [UnsetLabel]
923
959
  # @param [Hash] opts the optional parameters
960
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
924
961
  # @return [UnsetLabelResponse]
925
962
  def unset_label(file_file_repository_href, unset_label, opts = {})
926
963
  data, _status_code, _headers = unset_label_with_http_info(file_file_repository_href, unset_label, opts)
@@ -932,6 +969,7 @@ module PulpFileClient
932
969
  # @param file_file_repository_href [String]
933
970
  # @param unset_label [UnsetLabel]
934
971
  # @param [Hash] opts the optional parameters
972
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
935
973
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
936
974
  def unset_label_with_http_info(file_file_repository_href, unset_label, opts = {})
937
975
  if @api_client.config.debugging
@@ -957,6 +995,7 @@ module PulpFileClient
957
995
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
958
996
  # HTTP header 'Content-Type'
959
997
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
998
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
960
999
 
961
1000
  # form parameters
962
1001
  form_params = opts[:form_params] || {}
@@ -991,6 +1030,7 @@ module PulpFileClient
991
1030
  # @param file_file_repository_href [String]
992
1031
  # @param file_file_repository [FileFileRepository]
993
1032
  # @param [Hash] opts the optional parameters
1033
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
994
1034
  # @return [AsyncOperationResponse]
995
1035
  def update(file_file_repository_href, file_file_repository, opts = {})
996
1036
  data, _status_code, _headers = update_with_http_info(file_file_repository_href, file_file_repository, opts)
@@ -1002,6 +1042,7 @@ module PulpFileClient
1002
1042
  # @param file_file_repository_href [String]
1003
1043
  # @param file_file_repository [FileFileRepository]
1004
1044
  # @param [Hash] opts the optional parameters
1045
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
1005
1046
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
1006
1047
  def update_with_http_info(file_file_repository_href, file_file_repository, opts = {})
1007
1048
  if @api_client.config.debugging
@@ -1027,6 +1068,7 @@ module PulpFileClient
1027
1068
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1028
1069
  # HTTP header 'Content-Type'
1029
1070
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
1071
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
1030
1072
 
1031
1073
  # form parameters
1032
1074
  form_params = opts[:form_params] || {}