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_alternate_content_source_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_alternate_content_source_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpFileClient
35
36
  # @param file_file_alternate_content_source_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_alternate_content_source_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
  # Alternate Content Source ViewSet for File
98
101
  # @param file_file_alternate_content_source [FileFileAlternateContentSource]
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 [FileFileAlternateContentSourceResponse]
101
105
  def create(file_file_alternate_content_source, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(file_file_alternate_content_source, opts)
@@ -107,6 +111,7 @@ module PulpFileClient
107
111
  # Alternate Content Source ViewSet for File
108
112
  # @param file_file_alternate_content_source [FileFileAlternateContentSource]
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<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
111
116
  def create_with_http_info(file_file_alternate_content_source, 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 ACS task
166
172
  # @param file_file_alternate_content_source_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_alternate_content_source_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(file_file_alternate_content_source_href, opts)
@@ -175,6 +182,7 @@ module PulpFileClient
175
182
  # Trigger an asynchronous delete ACS task
176
183
  # @param file_file_alternate_content_source_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_alternate_content_source_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 alternate content sources
228
237
  # Alternate Content Source ViewSet for File
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 [Integer] :limit Number of results to return per page.
231
241
  # @option opts [String] :name Filter results where name matches value
232
242
  # @option opts [String] :name__contains Filter results where name contains value
@@ -254,6 +264,7 @@ module PulpFileClient
254
264
  # List file alternate content sources
255
265
  # Alternate Content Source ViewSet for File
256
266
  # @param [Hash] opts the optional parameters
267
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
257
268
  # @option opts [Integer] :limit Number of results to return per page.
258
269
  # @option opts [String] :name Filter results where name matches value
259
270
  # @option opts [String] :name__contains Filter results where name contains value
@@ -309,6 +320,7 @@ module PulpFileClient
309
320
  header_params = opts[:header_params] || {}
310
321
  # HTTP header 'Accept' (if needed)
311
322
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
323
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
312
324
 
313
325
  # form parameters
314
326
  form_params = opts[:form_params] || {}
@@ -343,6 +355,7 @@ module PulpFileClient
343
355
  # List roles assigned to this object.
344
356
  # @param file_file_alternate_content_source_href [String]
345
357
  # @param [Hash] opts the optional parameters
358
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
346
359
  # @option opts [Array<String>] :fields A list of fields to include in the response.
347
360
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
348
361
  # @return [ObjectRolesResponse]
@@ -355,6 +368,7 @@ module PulpFileClient
355
368
  # List roles assigned to this object.
356
369
  # @param file_file_alternate_content_source_href [String]
357
370
  # @param [Hash] opts the optional parameters
371
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
358
372
  # @option opts [Array<String>] :fields A list of fields to include in the response.
359
373
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
360
374
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -378,6 +392,7 @@ module PulpFileClient
378
392
  header_params = opts[:header_params] || {}
379
393
  # HTTP header 'Accept' (if needed)
380
394
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
395
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
381
396
 
382
397
  # form parameters
383
398
  form_params = opts[:form_params] || {}
@@ -412,6 +427,7 @@ module PulpFileClient
412
427
  # List permissions available to the current user on this object.
413
428
  # @param file_file_alternate_content_source_href [String]
414
429
  # @param [Hash] opts the optional parameters
430
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
415
431
  # @option opts [Array<String>] :fields A list of fields to include in the response.
416
432
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
417
433
  # @return [MyPermissionsResponse]
@@ -424,6 +440,7 @@ module PulpFileClient
424
440
  # List permissions available to the current user on this object.
425
441
  # @param file_file_alternate_content_source_href [String]
426
442
  # @param [Hash] opts the optional parameters
443
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
427
444
  # @option opts [Array<String>] :fields A list of fields to include in the response.
428
445
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
429
446
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -447,6 +464,7 @@ module PulpFileClient
447
464
  header_params = opts[:header_params] || {}
448
465
  # HTTP header 'Accept' (if needed)
449
466
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
467
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
450
468
 
451
469
  # form parameters
452
470
  form_params = opts[:form_params] || {}
@@ -482,6 +500,7 @@ module PulpFileClient
482
500
  # @param file_file_alternate_content_source_href [String]
483
501
  # @param patchedfile_file_alternate_content_source [PatchedfileFileAlternateContentSource]
484
502
  # @param [Hash] opts the optional parameters
503
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
485
504
  # @return [AsyncOperationResponse]
486
505
  def partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts = {})
487
506
  data, _status_code, _headers = partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
@@ -493,6 +512,7 @@ module PulpFileClient
493
512
  # @param file_file_alternate_content_source_href [String]
494
513
  # @param patchedfile_file_alternate_content_source [PatchedfileFileAlternateContentSource]
495
514
  # @param [Hash] opts the optional parameters
515
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
496
516
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
497
517
  def partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts = {})
498
518
  if @api_client.config.debugging
@@ -521,6 +541,7 @@ module PulpFileClient
521
541
  if !content_type.nil?
522
542
  header_params['Content-Type'] = content_type
523
543
  end
544
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
524
545
 
525
546
  # form parameters
526
547
  form_params = opts[:form_params] || {}
@@ -555,6 +576,7 @@ module PulpFileClient
555
576
  # Alternate Content Source ViewSet for File
556
577
  # @param file_file_alternate_content_source_href [String]
557
578
  # @param [Hash] opts the optional parameters
579
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
558
580
  # @option opts [Array<String>] :fields A list of fields to include in the response.
559
581
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
560
582
  # @return [FileFileAlternateContentSourceResponse]
@@ -567,6 +589,7 @@ module PulpFileClient
567
589
  # Alternate Content Source ViewSet for File
568
590
  # @param file_file_alternate_content_source_href [String]
569
591
  # @param [Hash] opts the optional parameters
592
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
570
593
  # @option opts [Array<String>] :fields A list of fields to include in the response.
571
594
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
572
595
  # @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
@@ -590,6 +613,7 @@ module PulpFileClient
590
613
  header_params = opts[:header_params] || {}
591
614
  # HTTP header 'Accept' (if needed)
592
615
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
616
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
593
617
 
594
618
  # form parameters
595
619
  form_params = opts[:form_params] || {}
@@ -624,6 +648,7 @@ module PulpFileClient
624
648
  # Trigger an asynchronous task to create Alternate Content Source content.
625
649
  # @param file_file_alternate_content_source_href [String]
626
650
  # @param [Hash] opts the optional parameters
651
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
627
652
  # @return [TaskGroupOperationResponse]
628
653
  def refresh(file_file_alternate_content_source_href, opts = {})
629
654
  data, _status_code, _headers = refresh_with_http_info(file_file_alternate_content_source_href, opts)
@@ -634,6 +659,7 @@ module PulpFileClient
634
659
  # Trigger an asynchronous task to create Alternate Content Source content.
635
660
  # @param file_file_alternate_content_source_href [String]
636
661
  # @param [Hash] opts the optional parameters
662
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
637
663
  # @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
638
664
  def refresh_with_http_info(file_file_alternate_content_source_href, opts = {})
639
665
  if @api_client.config.debugging
@@ -653,6 +679,7 @@ module PulpFileClient
653
679
  header_params = opts[:header_params] || {}
654
680
  # HTTP header 'Accept' (if needed)
655
681
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
682
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
656
683
 
657
684
  # form parameters
658
685
  form_params = opts[:form_params] || {}
@@ -688,6 +715,7 @@ module PulpFileClient
688
715
  # @param file_file_alternate_content_source_href [String]
689
716
  # @param nested_role [NestedRole]
690
717
  # @param [Hash] opts the optional parameters
718
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
691
719
  # @return [NestedRoleResponse]
692
720
  def remove_role(file_file_alternate_content_source_href, nested_role, opts = {})
693
721
  data, _status_code, _headers = remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
@@ -699,6 +727,7 @@ module PulpFileClient
699
727
  # @param file_file_alternate_content_source_href [String]
700
728
  # @param nested_role [NestedRole]
701
729
  # @param [Hash] opts the optional parameters
730
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
702
731
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
703
732
  def remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts = {})
704
733
  if @api_client.config.debugging
@@ -727,6 +756,7 @@ module PulpFileClient
727
756
  if !content_type.nil?
728
757
  header_params['Content-Type'] = content_type
729
758
  end
759
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
730
760
 
731
761
  # form parameters
732
762
  form_params = opts[:form_params] || {}
@@ -762,6 +792,7 @@ module PulpFileClient
762
792
  # @param file_file_alternate_content_source_href [String]
763
793
  # @param file_file_alternate_content_source [FileFileAlternateContentSource]
764
794
  # @param [Hash] opts the optional parameters
795
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
765
796
  # @return [AsyncOperationResponse]
766
797
  def update(file_file_alternate_content_source_href, file_file_alternate_content_source, opts = {})
767
798
  data, _status_code, _headers = update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
@@ -773,6 +804,7 @@ module PulpFileClient
773
804
  # @param file_file_alternate_content_source_href [String]
774
805
  # @param file_file_alternate_content_source [FileFileAlternateContentSource]
775
806
  # @param [Hash] opts the optional parameters
807
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
776
808
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
777
809
  def update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts = {})
778
810
  if @api_client.config.debugging
@@ -801,6 +833,7 @@ module PulpFileClient
801
833
  if !content_type.nil?
802
834
  header_params['Content-Type'] = content_type
803
835
  end
836
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
804
837
 
805
838
  # form parameters
806
839
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpFileClient
23
23
  # Trigger an asynchronous task to create content,optionally create new repository version.
24
24
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
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
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
28
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
29
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -39,6 +40,7 @@ module PulpFileClient
39
40
  # Trigger an asynchronous task to create content,optionally create new repository version.
40
41
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
41
42
  # @param [Hash] opts the optional parameters
43
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
44
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
43
45
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
44
46
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -77,6 +79,7 @@ module PulpFileClient
77
79
  if !content_type.nil?
78
80
  header_params['Content-Type'] = content_type
79
81
  end
82
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
80
83
 
81
84
  # form parameters
82
85
  form_params = opts[:form_params] || {}
@@ -117,6 +120,7 @@ module PulpFileClient
117
120
  # List file contents
118
121
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
119
122
  # @param [Hash] opts the optional parameters
123
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
120
124
  # @option opts [Integer] :limit Number of results to return per page.
121
125
  # @option opts [Integer] :offset The initial index from which to return the results.
122
126
  # @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)
@@ -142,6 +146,7 @@ module PulpFileClient
142
146
  # List file contents
143
147
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
144
148
  # @param [Hash] opts the optional parameters
149
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
145
150
  # @option opts [Integer] :limit Number of results to return per page.
146
151
  # @option opts [Integer] :offset The initial index from which to return the results.
147
152
  # @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)
@@ -193,6 +198,7 @@ module PulpFileClient
193
198
  header_params = opts[:header_params] || {}
194
199
  # HTTP header 'Accept' (if needed)
195
200
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
201
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
196
202
 
197
203
  # form parameters
198
204
  form_params = opts[:form_params] || {}
@@ -227,6 +233,7 @@ module PulpFileClient
227
233
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
228
234
  # @param file_file_content_href [String]
229
235
  # @param [Hash] opts the optional parameters
236
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
230
237
  # @option opts [Array<String>] :fields A list of fields to include in the response.
231
238
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
232
239
  # @return [FileFileContentResponse]
@@ -239,6 +246,7 @@ module PulpFileClient
239
246
  # FileContent represents a single file and its metadata, which can be added and removed from repositories.
240
247
  # @param file_file_content_href [String]
241
248
  # @param [Hash] opts the optional parameters
249
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
242
250
  # @option opts [Array<String>] :fields A list of fields to include in the response.
243
251
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
244
252
  # @return [Array<(FileFileContentResponse, Integer, Hash)>] FileFileContentResponse data, response status code and response headers
@@ -262,6 +270,7 @@ module PulpFileClient
262
270
  header_params = opts[:header_params] || {}
263
271
  # HTTP header 'Accept' (if needed)
264
272
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
273
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
265
274
 
266
275
  # form parameters
267
276
  form_params = opts[:form_params] || {}
@@ -297,6 +306,7 @@ module PulpFileClient
297
306
  # @param file_file_content_href [String]
298
307
  # @param set_label [SetLabel]
299
308
  # @param [Hash] opts the optional parameters
309
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
300
310
  # @return [SetLabelResponse]
301
311
  def set_label(file_file_content_href, set_label, opts = {})
302
312
  data, _status_code, _headers = set_label_with_http_info(file_file_content_href, set_label, opts)
@@ -308,6 +318,7 @@ module PulpFileClient
308
318
  # @param file_file_content_href [String]
309
319
  # @param set_label [SetLabel]
310
320
  # @param [Hash] opts the optional parameters
321
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
311
322
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
312
323
  def set_label_with_http_info(file_file_content_href, set_label, opts = {})
313
324
  if @api_client.config.debugging
@@ -336,6 +347,7 @@ module PulpFileClient
336
347
  if !content_type.nil?
337
348
  header_params['Content-Type'] = content_type
338
349
  end
350
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
339
351
 
340
352
  # form parameters
341
353
  form_params = opts[:form_params] || {}
@@ -371,6 +383,7 @@ module PulpFileClient
371
383
  # @param file_file_content_href [String]
372
384
  # @param unset_label [UnsetLabel]
373
385
  # @param [Hash] opts the optional parameters
386
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
374
387
  # @return [UnsetLabelResponse]
375
388
  def unset_label(file_file_content_href, unset_label, opts = {})
376
389
  data, _status_code, _headers = unset_label_with_http_info(file_file_content_href, unset_label, opts)
@@ -382,6 +395,7 @@ module PulpFileClient
382
395
  # @param file_file_content_href [String]
383
396
  # @param unset_label [UnsetLabel]
384
397
  # @param [Hash] opts the optional parameters
398
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
385
399
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
386
400
  def unset_label_with_http_info(file_file_content_href, unset_label, opts = {})
387
401
  if @api_client.config.debugging
@@ -410,6 +424,7 @@ module PulpFileClient
410
424
  if !content_type.nil?
411
425
  header_params['Content-Type'] = content_type
412
426
  end
427
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
413
428
 
414
429
  # form parameters
415
430
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpFileClient
24
24
  # @param file_file_distribution_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_distribution_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(file_file_distribution_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpFileClient
35
36
  # @param file_file_distribution_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_distribution_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
  # Trigger an asynchronous create task
98
101
  # @param file_file_distribution [FileFileDistribution]
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 [AsyncOperationResponse]
101
105
  def create(file_file_distribution, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(file_file_distribution, opts)
@@ -107,6 +111,7 @@ module PulpFileClient
107
111
  # Trigger an asynchronous create task
108
112
  # @param file_file_distribution [FileFileDistribution]
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
111
116
  def create_with_http_info(file_file_distribution, 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_distribution_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_distribution_href, opts = {})
170
177
  data, _status_code, _headers = delete_with_http_info(file_file_distribution_href, opts)
@@ -175,6 +182,7 @@ module PulpFileClient
175
182
  # Trigger an asynchronous delete task
176
183
  # @param file_file_distribution_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_distribution_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 distributions
228
237
  # 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.
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] :base_path Filter results where base_path matches value
231
241
  # @option opts [String] :base_path__contains Filter results where base_path contains value
232
242
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -263,6 +273,7 @@ module PulpFileClient
263
273
  # List file distributions
264
274
  # 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.
265
275
  # @param [Hash] opts the optional parameters
276
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
266
277
  # @option opts [String] :base_path Filter results where base_path matches value
267
278
  # @option opts [String] :base_path__contains Filter results where base_path contains value
268
279
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -336,6 +347,7 @@ module PulpFileClient
336
347
  header_params = opts[:header_params] || {}
337
348
  # HTTP header 'Accept' (if needed)
338
349
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
350
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
339
351
 
340
352
  # form parameters
341
353
  form_params = opts[:form_params] || {}
@@ -370,6 +382,7 @@ module PulpFileClient
370
382
  # List roles assigned to this object.
371
383
  # @param file_file_distribution_href [String]
372
384
  # @param [Hash] opts the optional parameters
385
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
373
386
  # @option opts [Array<String>] :fields A list of fields to include in the response.
374
387
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
375
388
  # @return [ObjectRolesResponse]
@@ -382,6 +395,7 @@ module PulpFileClient
382
395
  # List roles assigned to this object.
383
396
  # @param file_file_distribution_href [String]
384
397
  # @param [Hash] opts the optional parameters
398
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
385
399
  # @option opts [Array<String>] :fields A list of fields to include in the response.
386
400
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
387
401
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -405,6 +419,7 @@ module PulpFileClient
405
419
  header_params = opts[:header_params] || {}
406
420
  # HTTP header 'Accept' (if needed)
407
421
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
422
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
408
423
 
409
424
  # form parameters
410
425
  form_params = opts[:form_params] || {}
@@ -439,6 +454,7 @@ module PulpFileClient
439
454
  # List permissions available to the current user on this object.
440
455
  # @param file_file_distribution_href [String]
441
456
  # @param [Hash] opts the optional parameters
457
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
442
458
  # @option opts [Array<String>] :fields A list of fields to include in the response.
443
459
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
444
460
  # @return [MyPermissionsResponse]
@@ -451,6 +467,7 @@ module PulpFileClient
451
467
  # List permissions available to the current user on this object.
452
468
  # @param file_file_distribution_href [String]
453
469
  # @param [Hash] opts the optional parameters
470
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
454
471
  # @option opts [Array<String>] :fields A list of fields to include in the response.
455
472
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
456
473
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -474,6 +491,7 @@ module PulpFileClient
474
491
  header_params = opts[:header_params] || {}
475
492
  # HTTP header 'Accept' (if needed)
476
493
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
494
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
477
495
 
478
496
  # form parameters
479
497
  form_params = opts[:form_params] || {}
@@ -509,6 +527,7 @@ module PulpFileClient
509
527
  # @param file_file_distribution_href [String]
510
528
  # @param patchedfile_file_distribution [PatchedfileFileDistribution]
511
529
  # @param [Hash] opts the optional parameters
530
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
512
531
  # @return [AsyncOperationResponse]
513
532
  def partial_update(file_file_distribution_href, patchedfile_file_distribution, opts = {})
514
533
  data, _status_code, _headers = partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts)
@@ -520,6 +539,7 @@ module PulpFileClient
520
539
  # @param file_file_distribution_href [String]
521
540
  # @param patchedfile_file_distribution [PatchedfileFileDistribution]
522
541
  # @param [Hash] opts the optional parameters
542
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
523
543
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
524
544
  def partial_update_with_http_info(file_file_distribution_href, patchedfile_file_distribution, opts = {})
525
545
  if @api_client.config.debugging
@@ -548,6 +568,7 @@ module PulpFileClient
548
568
  if !content_type.nil?
549
569
  header_params['Content-Type'] = content_type
550
570
  end
571
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
551
572
 
552
573
  # form parameters
553
574
  form_params = opts[:form_params] || {}
@@ -582,6 +603,7 @@ module PulpFileClient
582
603
  # 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.
583
604
  # @param file_file_distribution_href [String]
584
605
  # @param [Hash] opts the optional parameters
606
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
585
607
  # @option opts [Array<String>] :fields A list of fields to include in the response.
586
608
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
587
609
  # @return [FileFileDistributionResponse]
@@ -594,6 +616,7 @@ module PulpFileClient
594
616
  # 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.
595
617
  # @param file_file_distribution_href [String]
596
618
  # @param [Hash] opts the optional parameters
619
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
597
620
  # @option opts [Array<String>] :fields A list of fields to include in the response.
598
621
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
599
622
  # @return [Array<(FileFileDistributionResponse, Integer, Hash)>] FileFileDistributionResponse data, response status code and response headers
@@ -617,6 +640,7 @@ module PulpFileClient
617
640
  header_params = opts[:header_params] || {}
618
641
  # HTTP header 'Accept' (if needed)
619
642
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
643
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
620
644
 
621
645
  # form parameters
622
646
  form_params = opts[:form_params] || {}
@@ -652,6 +676,7 @@ module PulpFileClient
652
676
  # @param file_file_distribution_href [String]
653
677
  # @param nested_role [NestedRole]
654
678
  # @param [Hash] opts the optional parameters
679
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
655
680
  # @return [NestedRoleResponse]
656
681
  def remove_role(file_file_distribution_href, nested_role, opts = {})
657
682
  data, _status_code, _headers = remove_role_with_http_info(file_file_distribution_href, nested_role, opts)
@@ -663,6 +688,7 @@ module PulpFileClient
663
688
  # @param file_file_distribution_href [String]
664
689
  # @param nested_role [NestedRole]
665
690
  # @param [Hash] opts the optional parameters
691
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
666
692
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
667
693
  def remove_role_with_http_info(file_file_distribution_href, nested_role, opts = {})
668
694
  if @api_client.config.debugging
@@ -691,6 +717,7 @@ module PulpFileClient
691
717
  if !content_type.nil?
692
718
  header_params['Content-Type'] = content_type
693
719
  end
720
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
694
721
 
695
722
  # form parameters
696
723
  form_params = opts[:form_params] || {}
@@ -726,6 +753,7 @@ module PulpFileClient
726
753
  # @param file_file_distribution_href [String]
727
754
  # @param set_label [SetLabel]
728
755
  # @param [Hash] opts the optional parameters
756
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
729
757
  # @return [SetLabelResponse]
730
758
  def set_label(file_file_distribution_href, set_label, opts = {})
731
759
  data, _status_code, _headers = set_label_with_http_info(file_file_distribution_href, set_label, opts)
@@ -737,6 +765,7 @@ module PulpFileClient
737
765
  # @param file_file_distribution_href [String]
738
766
  # @param set_label [SetLabel]
739
767
  # @param [Hash] opts the optional parameters
768
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
740
769
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
741
770
  def set_label_with_http_info(file_file_distribution_href, set_label, opts = {})
742
771
  if @api_client.config.debugging
@@ -765,6 +794,7 @@ module PulpFileClient
765
794
  if !content_type.nil?
766
795
  header_params['Content-Type'] = content_type
767
796
  end
797
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
768
798
 
769
799
  # form parameters
770
800
  form_params = opts[:form_params] || {}
@@ -800,6 +830,7 @@ module PulpFileClient
800
830
  # @param file_file_distribution_href [String]
801
831
  # @param unset_label [UnsetLabel]
802
832
  # @param [Hash] opts the optional parameters
833
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
803
834
  # @return [UnsetLabelResponse]
804
835
  def unset_label(file_file_distribution_href, unset_label, opts = {})
805
836
  data, _status_code, _headers = unset_label_with_http_info(file_file_distribution_href, unset_label, opts)
@@ -811,6 +842,7 @@ module PulpFileClient
811
842
  # @param file_file_distribution_href [String]
812
843
  # @param unset_label [UnsetLabel]
813
844
  # @param [Hash] opts the optional parameters
845
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
814
846
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
815
847
  def unset_label_with_http_info(file_file_distribution_href, unset_label, opts = {})
816
848
  if @api_client.config.debugging
@@ -839,6 +871,7 @@ module PulpFileClient
839
871
  if !content_type.nil?
840
872
  header_params['Content-Type'] = content_type
841
873
  end
874
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
842
875
 
843
876
  # form parameters
844
877
  form_params = opts[:form_params] || {}
@@ -874,6 +907,7 @@ module PulpFileClient
874
907
  # @param file_file_distribution_href [String]
875
908
  # @param file_file_distribution [FileFileDistribution]
876
909
  # @param [Hash] opts the optional parameters
910
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
877
911
  # @return [AsyncOperationResponse]
878
912
  def update(file_file_distribution_href, file_file_distribution, opts = {})
879
913
  data, _status_code, _headers = update_with_http_info(file_file_distribution_href, file_file_distribution, opts)
@@ -885,6 +919,7 @@ module PulpFileClient
885
919
  # @param file_file_distribution_href [String]
886
920
  # @param file_file_distribution [FileFileDistribution]
887
921
  # @param [Hash] opts the optional parameters
922
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
888
923
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
889
924
  def update_with_http_info(file_file_distribution_href, file_file_distribution, opts = {})
890
925
  if @api_client.config.debugging
@@ -913,6 +948,7 @@ module PulpFileClient
913
948
  if !content_type.nil?
914
949
  header_params['Content-Type'] = content_type
915
950
  end
951
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
916
952
 
917
953
  # form parameters
918
954
  form_params = opts[:form_params] || {}