pulpcore_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.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccessPoliciesApi.md +28 -12
  4. data/docs/ArtifactDistributionResponse.md +13 -13
  5. data/docs/ArtifactsApi.md +14 -4
  6. data/docs/ContentApi.md +2 -0
  7. data/docs/ContentOpenpgpPublickeyApi.md +22 -8
  8. data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
  9. data/docs/ContentOpenpgpSignatureApi.md +20 -8
  10. data/docs/ContentOpenpgpUserattributeApi.md +20 -8
  11. data/docs/ContentOpenpgpUseridApi.md +20 -8
  12. data/docs/ContentguardsApi.md +2 -0
  13. data/docs/ContentguardsCompositeApi.md +56 -24
  14. data/docs/ContentguardsContentRedirectApi.md +56 -24
  15. data/docs/ContentguardsHeaderApi.md +56 -24
  16. data/docs/ContentguardsRbacApi.md +56 -24
  17. data/docs/DistributionsApi.md +2 -0
  18. data/docs/DistributionsArtifactsApi.md +4 -0
  19. data/docs/DistributionsOpenpgpApi.md +52 -24
  20. data/docs/DomainsApi.md +60 -28
  21. data/docs/ExportersFilesystemApi.md +36 -16
  22. data/docs/ExportersFilesystemExportsApi.md +20 -8
  23. data/docs/ExportersPulpApi.md +36 -16
  24. data/docs/ExportersPulpExportsApi.md +20 -8
  25. data/docs/GroupsApi.md +56 -24
  26. data/docs/GroupsRolesApi.md +20 -8
  27. data/docs/GroupsUsersApi.md +18 -8
  28. data/docs/ImportersPulpApi.md +36 -16
  29. data/docs/ImportersPulpImportCheckApi.md +8 -4
  30. data/docs/ImportersPulpImportsApi.md +20 -8
  31. data/docs/LivezApi.md +14 -5
  32. data/docs/LoginApi.md +34 -15
  33. data/docs/OrphansApi.md +10 -5
  34. data/docs/OrphansCleanupApi.md +8 -4
  35. data/docs/PublicationsApi.md +2 -0
  36. data/docs/RemotesApi.md +2 -0
  37. data/docs/RepairApi.md +8 -4
  38. data/docs/RepositoriesApi.md +2 -0
  39. data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
  40. data/docs/RepositoriesReclaimSpaceApi.md +8 -4
  41. data/docs/RepositoryVersionsApi.md +2 -0
  42. data/docs/RolesApi.md +36 -16
  43. data/docs/SigningServicesApi.md +4 -0
  44. data/docs/StatusApi.md +14 -5
  45. data/docs/TaskGroupsApi.md +12 -4
  46. data/docs/TaskSchedulesApi.md +24 -8
  47. data/docs/TasksApi.md +52 -22
  48. data/docs/UploadsApi.md +50 -20
  49. data/docs/UpstreamPulpsApi.md +64 -28
  50. data/docs/UsersApi.md +36 -16
  51. data/docs/UsersRolesApi.md +20 -8
  52. data/docs/WorkersApi.md +4 -0
  53. data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
  54. data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
  55. data/lib/pulpcore_client/api/content_api.rb +3 -0
  56. data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
  57. data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
  58. data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
  59. data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
  60. data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
  61. data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
  62. data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
  63. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
  64. data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
  65. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
  66. data/lib/pulpcore_client/api/distributions_api.rb +3 -0
  67. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  68. data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
  69. data/lib/pulpcore_client/api/domains_api.rb +27 -0
  70. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
  71. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
  72. data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
  73. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
  74. data/lib/pulpcore_client/api/groups_api.rb +30 -0
  75. data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
  76. data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
  77. data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
  78. data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
  79. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
  80. data/lib/pulpcore_client/api/livez_api.rb +9 -0
  81. data/lib/pulpcore_client/api/login_api.rb +15 -0
  82. data/lib/pulpcore_client/api/orphans_api.rb +3 -0
  83. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
  84. data/lib/pulpcore_client/api/publications_api.rb +3 -0
  85. data/lib/pulpcore_client/api/remotes_api.rb +3 -0
  86. data/lib/pulpcore_client/api/repair_api.rb +3 -0
  87. data/lib/pulpcore_client/api/repositories_api.rb +3 -0
  88. data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
  89. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
  90. data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
  91. data/lib/pulpcore_client/api/roles_api.rb +18 -0
  92. data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
  93. data/lib/pulpcore_client/api/status_api.rb +9 -0
  94. data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
  95. data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
  96. data/lib/pulpcore_client/api/tasks_api.rb +33 -3
  97. data/lib/pulpcore_client/api/uploads_api.rb +30 -0
  98. data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
  99. data/lib/pulpcore_client/api/users_api.rb +18 -0
  100. data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
  101. data/lib/pulpcore_client/api/workers_api.rb +6 -0
  102. data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
  103. data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
  104. data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
  105. data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
  106. data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
  107. data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
  108. data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
  109. data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
  110. data/lib/pulpcore_client/version.rb +1 -1
  111. data/spec/api/access_policies_api_spec.rb +5 -0
  112. data/spec/api/artifacts_api_spec.rb +4 -0
  113. data/spec/api/content_api_spec.rb +1 -0
  114. data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
  115. data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
  116. data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
  117. data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
  118. data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
  119. data/spec/api/contentguards_api_spec.rb +1 -0
  120. data/spec/api/contentguards_composite_api_spec.rb +10 -0
  121. data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
  122. data/spec/api/contentguards_header_api_spec.rb +10 -0
  123. data/spec/api/contentguards_rbac_api_spec.rb +10 -0
  124. data/spec/api/distributions_api_spec.rb +1 -0
  125. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  126. data/spec/api/distributions_openpgp_api_spec.rb +8 -0
  127. data/spec/api/domains_api_spec.rb +9 -0
  128. data/spec/api/exporters_filesystem_api_spec.rb +6 -0
  129. data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
  130. data/spec/api/exporters_pulp_api_spec.rb +6 -0
  131. data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
  132. data/spec/api/groups_api_spec.rb +10 -0
  133. data/spec/api/groups_roles_api_spec.rb +4 -0
  134. data/spec/api/groups_users_api_spec.rb +3 -0
  135. data/spec/api/importers_pulp_api_spec.rb +6 -0
  136. data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
  137. data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
  138. data/spec/api/livez_api_spec.rb +3 -0
  139. data/spec/api/login_api_spec.rb +5 -0
  140. data/spec/api/orphans_api_spec.rb +1 -0
  141. data/spec/api/orphans_cleanup_api_spec.rb +1 -0
  142. data/spec/api/publications_api_spec.rb +1 -0
  143. data/spec/api/remotes_api_spec.rb +1 -0
  144. data/spec/api/repair_api_spec.rb +1 -0
  145. data/spec/api/repositories_api_spec.rb +1 -0
  146. data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
  147. data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
  148. data/spec/api/repository_versions_api_spec.rb +1 -0
  149. data/spec/api/roles_api_spec.rb +6 -0
  150. data/spec/api/signing_services_api_spec.rb +2 -0
  151. data/spec/api/status_api_spec.rb +3 -0
  152. data/spec/api/task_groups_api_spec.rb +3 -0
  153. data/spec/api/task_schedules_api_spec.rb +6 -0
  154. data/spec/api/tasks_api_spec.rb +11 -1
  155. data/spec/api/uploads_api_spec.rb +10 -0
  156. data/spec/api/upstream_pulps_api_spec.rb +11 -0
  157. data/spec/api/users_api_spec.rb +6 -0
  158. data/spec/api/users_roles_api_spec.rb +4 -0
  159. data/spec/api/workers_api_spec.rb +2 -0
  160. data/spec/models/artifact_distribution_response_spec.rb +11 -11
  161. metadata +190 -190
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param pulp_exporter_href [String]
25
25
  # @param pulp_export [PulpExport]
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 [AsyncOperationResponse]
28
29
  def create(pulp_exporter_href, pulp_export, opts = {})
29
30
  data, _status_code, _headers = create_with_http_info(pulp_exporter_href, pulp_export, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param pulp_exporter_href [String]
36
37
  # @param pulp_export [PulpExport]
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
39
41
  def create_with_http_info(pulp_exporter_href, pulp_export, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpcoreClient
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 PulpcoreClient
97
100
  # ViewSet for viewing exports from a PulpExporter.
98
101
  # @param pulp_pulp_export_href [String]
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 [nil]
101
105
  def delete(pulp_pulp_export_href, opts = {})
102
106
  delete_with_http_info(pulp_pulp_export_href, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # ViewSet for viewing exports from a PulpExporter.
108
112
  # @param pulp_pulp_export_href [String]
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<(nil, Integer, Hash)>] nil, response status code and response headers
111
116
  def delete_with_http_info(pulp_pulp_export_href, opts = {})
112
117
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpcoreClient
124
129
 
125
130
  # header parameters
126
131
  header_params = opts[:header_params] || {}
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] || {}
@@ -158,6 +164,7 @@ module PulpcoreClient
158
164
  # ViewSet for viewing exports from a PulpExporter.
159
165
  # @param pulp_exporter_href [String]
160
166
  # @param [Hash] opts the optional parameters
167
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
161
168
  # @option opts [Integer] :limit Number of results to return per page.
162
169
  # @option opts [Integer] :offset The initial index from which to return the results.
163
170
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -172,6 +179,7 @@ module PulpcoreClient
172
179
  # ViewSet for viewing exports from a PulpExporter.
173
180
  # @param pulp_exporter_href [String]
174
181
  # @param [Hash] opts the optional parameters
182
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
175
183
  # @option opts [Integer] :limit Number of results to return per page.
176
184
  # @option opts [Integer] :offset The initial index from which to return the results.
177
185
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -199,6 +207,7 @@ module PulpcoreClient
199
207
  header_params = opts[:header_params] || {}
200
208
  # HTTP header 'Accept' (if needed)
201
209
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
210
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
202
211
 
203
212
  # form parameters
204
213
  form_params = opts[:form_params] || {}
@@ -233,6 +242,7 @@ module PulpcoreClient
233
242
  # ViewSet for viewing exports from a PulpExporter.
234
243
  # @param pulp_pulp_export_href [String]
235
244
  # @param [Hash] opts the optional parameters
245
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
236
246
  # @option opts [Array<String>] :fields A list of fields to include in the response.
237
247
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
238
248
  # @return [PulpExportResponse]
@@ -245,6 +255,7 @@ module PulpcoreClient
245
255
  # ViewSet for viewing exports from a PulpExporter.
246
256
  # @param pulp_pulp_export_href [String]
247
257
  # @param [Hash] opts the optional parameters
258
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
248
259
  # @option opts [Array<String>] :fields A list of fields to include in the response.
249
260
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
250
261
  # @return [Array<(PulpExportResponse, Integer, Hash)>] PulpExportResponse data, response status code and response headers
@@ -268,6 +279,7 @@ module PulpcoreClient
268
279
  header_params = opts[:header_params] || {}
269
280
  # HTTP header 'Accept' (if needed)
270
281
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
282
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
271
283
 
272
284
  # form parameters
273
285
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param group_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(group_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(group_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param group_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(group_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpcoreClient
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 PulpcoreClient
97
100
  # ViewSet for Group.
98
101
  # @param group [Group]
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 [GroupResponse]
101
105
  def create(group, opts = {})
102
106
  data, _status_code, _headers = create_with_http_info(group, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # ViewSet for Group.
108
112
  # @param group [Group]
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<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
111
116
  def create_with_http_info(group, opts = {})
112
117
  if @api_client.config.debugging
@@ -131,6 +136,7 @@ module PulpcoreClient
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 PulpcoreClient
165
171
  # ViewSet for Group.
166
172
  # @param group_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 [nil]
169
176
  def delete(group_href, opts = {})
170
177
  delete_with_http_info(group_href, opts)
@@ -175,6 +182,7 @@ module PulpcoreClient
175
182
  # ViewSet for Group.
176
183
  # @param group_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<(nil, Integer, Hash)>] nil, response status code and response headers
179
187
  def delete_with_http_info(group_href, opts = {})
180
188
  if @api_client.config.debugging
@@ -192,6 +200,7 @@ module PulpcoreClient
192
200
 
193
201
  # header parameters
194
202
  header_params = opts[:header_params] || {}
203
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
195
204
 
196
205
  # form parameters
197
206
  form_params = opts[:form_params] || {}
@@ -225,6 +234,7 @@ module PulpcoreClient
225
234
  # List groups
226
235
  # ViewSet for Group.
227
236
  # @param [Hash] opts the optional parameters
237
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
228
238
  # @option opts [Integer] :id Filter results where id matches value
229
239
  # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
230
240
  # @option opts [Integer] :limit Number of results to return per page.
@@ -250,6 +260,7 @@ module PulpcoreClient
250
260
  # List groups
251
261
  # ViewSet for Group.
252
262
  # @param [Hash] opts the optional parameters
263
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
253
264
  # @option opts [Integer] :id Filter results where id matches value
254
265
  # @option opts [Array<Integer>] :id__in Filter results where id is in a comma-separated list of values
255
266
  # @option opts [Integer] :limit Number of results to return per page.
@@ -301,6 +312,7 @@ module PulpcoreClient
301
312
  header_params = opts[:header_params] || {}
302
313
  # HTTP header 'Accept' (if needed)
303
314
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
315
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
304
316
 
305
317
  # form parameters
306
318
  form_params = opts[:form_params] || {}
@@ -335,6 +347,7 @@ module PulpcoreClient
335
347
  # List roles assigned to this object.
336
348
  # @param group_href [String]
337
349
  # @param [Hash] opts the optional parameters
350
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
338
351
  # @option opts [Array<String>] :fields A list of fields to include in the response.
339
352
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
340
353
  # @return [ObjectRolesResponse]
@@ -347,6 +360,7 @@ module PulpcoreClient
347
360
  # List roles assigned to this object.
348
361
  # @param group_href [String]
349
362
  # @param [Hash] opts the optional parameters
363
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
350
364
  # @option opts [Array<String>] :fields A list of fields to include in the response.
351
365
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
352
366
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -370,6 +384,7 @@ module PulpcoreClient
370
384
  header_params = opts[:header_params] || {}
371
385
  # HTTP header 'Accept' (if needed)
372
386
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
387
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
373
388
 
374
389
  # form parameters
375
390
  form_params = opts[:form_params] || {}
@@ -404,6 +419,7 @@ module PulpcoreClient
404
419
  # List permissions available to the current user on this object.
405
420
  # @param group_href [String]
406
421
  # @param [Hash] opts the optional parameters
422
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
407
423
  # @option opts [Array<String>] :fields A list of fields to include in the response.
408
424
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
409
425
  # @return [MyPermissionsResponse]
@@ -416,6 +432,7 @@ module PulpcoreClient
416
432
  # List permissions available to the current user on this object.
417
433
  # @param group_href [String]
418
434
  # @param [Hash] opts the optional parameters
435
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
419
436
  # @option opts [Array<String>] :fields A list of fields to include in the response.
420
437
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
421
438
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -439,6 +456,7 @@ module PulpcoreClient
439
456
  header_params = opts[:header_params] || {}
440
457
  # HTTP header 'Accept' (if needed)
441
458
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
459
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
442
460
 
443
461
  # form parameters
444
462
  form_params = opts[:form_params] || {}
@@ -474,6 +492,7 @@ module PulpcoreClient
474
492
  # @param group_href [String]
475
493
  # @param patched_group [PatchedGroup]
476
494
  # @param [Hash] opts the optional parameters
495
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
477
496
  # @return [GroupResponse]
478
497
  def partial_update(group_href, patched_group, opts = {})
479
498
  data, _status_code, _headers = partial_update_with_http_info(group_href, patched_group, opts)
@@ -485,6 +504,7 @@ module PulpcoreClient
485
504
  # @param group_href [String]
486
505
  # @param patched_group [PatchedGroup]
487
506
  # @param [Hash] opts the optional parameters
507
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
488
508
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
489
509
  def partial_update_with_http_info(group_href, patched_group, opts = {})
490
510
  if @api_client.config.debugging
@@ -513,6 +533,7 @@ module PulpcoreClient
513
533
  if !content_type.nil?
514
534
  header_params['Content-Type'] = content_type
515
535
  end
536
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
516
537
 
517
538
  # form parameters
518
539
  form_params = opts[:form_params] || {}
@@ -547,6 +568,7 @@ module PulpcoreClient
547
568
  # ViewSet for Group.
548
569
  # @param group_href [String]
549
570
  # @param [Hash] opts the optional parameters
571
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
550
572
  # @option opts [Array<String>] :fields A list of fields to include in the response.
551
573
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
552
574
  # @return [GroupResponse]
@@ -559,6 +581,7 @@ module PulpcoreClient
559
581
  # ViewSet for Group.
560
582
  # @param group_href [String]
561
583
  # @param [Hash] opts the optional parameters
584
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
562
585
  # @option opts [Array<String>] :fields A list of fields to include in the response.
563
586
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
564
587
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
@@ -582,6 +605,7 @@ module PulpcoreClient
582
605
  header_params = opts[:header_params] || {}
583
606
  # HTTP header 'Accept' (if needed)
584
607
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
608
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
585
609
 
586
610
  # form parameters
587
611
  form_params = opts[:form_params] || {}
@@ -617,6 +641,7 @@ module PulpcoreClient
617
641
  # @param group_href [String]
618
642
  # @param nested_role [NestedRole]
619
643
  # @param [Hash] opts the optional parameters
644
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
620
645
  # @return [NestedRoleResponse]
621
646
  def remove_role(group_href, nested_role, opts = {})
622
647
  data, _status_code, _headers = remove_role_with_http_info(group_href, nested_role, opts)
@@ -628,6 +653,7 @@ module PulpcoreClient
628
653
  # @param group_href [String]
629
654
  # @param nested_role [NestedRole]
630
655
  # @param [Hash] opts the optional parameters
656
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
631
657
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
632
658
  def remove_role_with_http_info(group_href, nested_role, opts = {})
633
659
  if @api_client.config.debugging
@@ -656,6 +682,7 @@ module PulpcoreClient
656
682
  if !content_type.nil?
657
683
  header_params['Content-Type'] = content_type
658
684
  end
685
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
659
686
 
660
687
  # form parameters
661
688
  form_params = opts[:form_params] || {}
@@ -691,6 +718,7 @@ module PulpcoreClient
691
718
  # @param group_href [String]
692
719
  # @param group [Group]
693
720
  # @param [Hash] opts the optional parameters
721
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
694
722
  # @return [GroupResponse]
695
723
  def update(group_href, group, opts = {})
696
724
  data, _status_code, _headers = update_with_http_info(group_href, group, opts)
@@ -702,6 +730,7 @@ module PulpcoreClient
702
730
  # @param group_href [String]
703
731
  # @param group [Group]
704
732
  # @param [Hash] opts the optional parameters
733
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
705
734
  # @return [Array<(GroupResponse, Integer, Hash)>] GroupResponse data, response status code and response headers
706
735
  def update_with_http_info(group_href, group, opts = {})
707
736
  if @api_client.config.debugging
@@ -730,6 +759,7 @@ module PulpcoreClient
730
759
  if !content_type.nil?
731
760
  header_params['Content-Type'] = content_type
732
761
  end
762
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
733
763
 
734
764
  # form parameters
735
765
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param group_href [String]
25
25
  # @param group_role [GroupRole]
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 [GroupRoleResponse]
28
29
  def create(group_href, group_role, opts = {})
29
30
  data, _status_code, _headers = create_with_http_info(group_href, group_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param group_href [String]
36
37
  # @param group_role [GroupRole]
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<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
39
41
  def create_with_http_info(group_href, group_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpcoreClient
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 PulpcoreClient
97
100
  # ViewSet for GroupRole.
98
101
  # @param groups_group_role_href [String]
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 [nil]
101
105
  def delete(groups_group_role_href, opts = {})
102
106
  delete_with_http_info(groups_group_role_href, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # ViewSet for GroupRole.
108
112
  # @param groups_group_role_href [String]
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<(nil, Integer, Hash)>] nil, response status code and response headers
111
116
  def delete_with_http_info(groups_group_role_href, opts = {})
112
117
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpcoreClient
124
129
 
125
130
  # header parameters
126
131
  header_params = opts[:header_params] || {}
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] || {}
@@ -158,6 +164,7 @@ module PulpcoreClient
158
164
  # ViewSet for GroupRole.
159
165
  # @param group_href [String]
160
166
  # @param [Hash] opts the optional parameters
167
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
161
168
  # @option opts [String] :content_object content_object
162
169
  # @option opts [String] :domain Foreign Key referenced by HREF
163
170
  # @option opts [Integer] :limit Number of results to return per page.
@@ -184,6 +191,7 @@ module PulpcoreClient
184
191
  # ViewSet for GroupRole.
185
192
  # @param group_href [String]
186
193
  # @param [Hash] opts the optional parameters
194
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
187
195
  # @option opts [String] :content_object content_object
188
196
  # @option opts [String] :domain Foreign Key referenced by HREF
189
197
  # @option opts [Integer] :limit Number of results to return per page.
@@ -239,6 +247,7 @@ module PulpcoreClient
239
247
  header_params = opts[:header_params] || {}
240
248
  # HTTP header 'Accept' (if needed)
241
249
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
250
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
242
251
 
243
252
  # form parameters
244
253
  form_params = opts[:form_params] || {}
@@ -273,6 +282,7 @@ module PulpcoreClient
273
282
  # ViewSet for GroupRole.
274
283
  # @param groups_group_role_href [String]
275
284
  # @param [Hash] opts the optional parameters
285
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
276
286
  # @option opts [Array<String>] :fields A list of fields to include in the response.
277
287
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
278
288
  # @return [GroupRoleResponse]
@@ -285,6 +295,7 @@ module PulpcoreClient
285
295
  # ViewSet for GroupRole.
286
296
  # @param groups_group_role_href [String]
287
297
  # @param [Hash] opts the optional parameters
298
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
288
299
  # @option opts [Array<String>] :fields A list of fields to include in the response.
289
300
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
290
301
  # @return [Array<(GroupRoleResponse, Integer, Hash)>] GroupRoleResponse data, response status code and response headers
@@ -308,6 +319,7 @@ module PulpcoreClient
308
319
  header_params = opts[:header_params] || {}
309
320
  # HTTP header 'Accept' (if needed)
310
321
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
322
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
311
323
 
312
324
  # form parameters
313
325
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param group_href [String]
25
25
  # @param group_user [GroupUser]
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 [GroupUserResponse]
28
29
  def create(group_href, group_user, opts = {})
29
30
  data, _status_code, _headers = create_with_http_info(group_href, group_user, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param group_href [String]
36
37
  # @param group_user [GroupUser]
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<(GroupUserResponse, Integer, Hash)>] GroupUserResponse data, response status code and response headers
39
41
  def create_with_http_info(group_href, group_user, opts = {})
40
42
  if @api_client.config.debugging
@@ -63,6 +65,7 @@ module PulpcoreClient
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 PulpcoreClient
97
100
  # Remove a user from a group.
98
101
  # @param groups_user_href [String]
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 [nil]
101
105
  def delete(groups_user_href, opts = {})
102
106
  delete_with_http_info(groups_user_href, opts)
@@ -107,6 +111,7 @@ module PulpcoreClient
107
111
  # Remove a user from a group.
108
112
  # @param groups_user_href [String]
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<(nil, Integer, Hash)>] nil, response status code and response headers
111
116
  def delete_with_http_info(groups_user_href, opts = {})
112
117
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpcoreClient
124
129
 
125
130
  # header parameters
126
131
  header_params = opts[:header_params] || {}
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] || {}
@@ -158,6 +164,7 @@ module PulpcoreClient
158
164
  # List group users.
159
165
  # @param group_href [String]
160
166
  # @param [Hash] opts the optional parameters
167
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
161
168
  # @option opts [Integer] :limit Number of results to return per page.
162
169
  # @option opts [Integer] :offset The initial index from which to return the results.
163
170
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -172,6 +179,7 @@ module PulpcoreClient
172
179
  # List group users.
173
180
  # @param group_href [String]
174
181
  # @param [Hash] opts the optional parameters
182
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
175
183
  # @option opts [Integer] :limit Number of results to return per page.
176
184
  # @option opts [Integer] :offset The initial index from which to return the results.
177
185
  # @option opts [Array<String>] :fields A list of fields to include in the response.
@@ -199,6 +207,7 @@ module PulpcoreClient
199
207
  header_params = opts[:header_params] || {}
200
208
  # HTTP header 'Accept' (if needed)
201
209
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
210
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
202
211
 
203
212
  # form parameters
204
213
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpcoreClient
23
23
  # ViewSet for PulpImporters.
24
24
  # @param pulp_importer [PulpImporter]
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 [PulpImporterResponse]
27
28
  def create(pulp_importer, opts = {})
28
29
  data, _status_code, _headers = create_with_http_info(pulp_importer, opts)
@@ -33,6 +34,7 @@ module PulpcoreClient
33
34
  # ViewSet for PulpImporters.
34
35
  # @param pulp_importer [PulpImporter]
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<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
37
39
  def create_with_http_info(pulp_importer, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpcoreClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}
@@ -91,6 +94,7 @@ module PulpcoreClient
91
94
  # ViewSet for PulpImporters.
92
95
  # @param pulp_importer_href [String]
93
96
  # @param [Hash] opts the optional parameters
97
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
94
98
  # @return [nil]
95
99
  def delete(pulp_importer_href, opts = {})
96
100
  delete_with_http_info(pulp_importer_href, opts)
@@ -101,6 +105,7 @@ module PulpcoreClient
101
105
  # ViewSet for PulpImporters.
102
106
  # @param pulp_importer_href [String]
103
107
  # @param [Hash] opts the optional parameters
108
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
104
109
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
105
110
  def delete_with_http_info(pulp_importer_href, opts = {})
106
111
  if @api_client.config.debugging
@@ -118,6 +123,7 @@ module PulpcoreClient
118
123
 
119
124
  # header parameters
120
125
  header_params = opts[:header_params] || {}
126
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
121
127
 
122
128
  # form parameters
123
129
  form_params = opts[:form_params] || {}
@@ -151,6 +157,7 @@ module PulpcoreClient
151
157
  # List pulp importers
152
158
  # ViewSet for PulpImporters.
153
159
  # @param [Hash] opts the optional parameters
160
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
154
161
  # @option opts [Integer] :limit Number of results to return per page.
155
162
  # @option opts [String] :name Filter results where name matches value
156
163
  # @option opts [String] :name__contains Filter results where name contains value
@@ -178,6 +185,7 @@ module PulpcoreClient
178
185
  # List pulp importers
179
186
  # ViewSet for PulpImporters.
180
187
  # @param [Hash] opts the optional parameters
188
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
181
189
  # @option opts [Integer] :limit Number of results to return per page.
182
190
  # @option opts [String] :name Filter results where name matches value
183
191
  # @option opts [String] :name__contains Filter results where name contains value
@@ -233,6 +241,7 @@ module PulpcoreClient
233
241
  header_params = opts[:header_params] || {}
234
242
  # HTTP header 'Accept' (if needed)
235
243
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
244
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
236
245
 
237
246
  # form parameters
238
247
  form_params = opts[:form_params] || {}
@@ -268,6 +277,7 @@ module PulpcoreClient
268
277
  # @param pulp_importer_href [String]
269
278
  # @param patched_pulp_importer [PatchedPulpImporter]
270
279
  # @param [Hash] opts the optional parameters
280
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
271
281
  # @return [PulpImporterResponse]
272
282
  def partial_update(pulp_importer_href, patched_pulp_importer, opts = {})
273
283
  data, _status_code, _headers = partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts)
@@ -279,6 +289,7 @@ module PulpcoreClient
279
289
  # @param pulp_importer_href [String]
280
290
  # @param patched_pulp_importer [PatchedPulpImporter]
281
291
  # @param [Hash] opts the optional parameters
292
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
282
293
  # @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
283
294
  def partial_update_with_http_info(pulp_importer_href, patched_pulp_importer, opts = {})
284
295
  if @api_client.config.debugging
@@ -307,6 +318,7 @@ module PulpcoreClient
307
318
  if !content_type.nil?
308
319
  header_params['Content-Type'] = content_type
309
320
  end
321
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
310
322
 
311
323
  # form parameters
312
324
  form_params = opts[:form_params] || {}
@@ -341,6 +353,7 @@ module PulpcoreClient
341
353
  # ViewSet for PulpImporters.
342
354
  # @param pulp_importer_href [String]
343
355
  # @param [Hash] opts the optional parameters
356
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
344
357
  # @option opts [Array<String>] :fields A list of fields to include in the response.
345
358
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
346
359
  # @return [PulpImporterResponse]
@@ -353,6 +366,7 @@ module PulpcoreClient
353
366
  # ViewSet for PulpImporters.
354
367
  # @param pulp_importer_href [String]
355
368
  # @param [Hash] opts the optional parameters
369
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
356
370
  # @option opts [Array<String>] :fields A list of fields to include in the response.
357
371
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
358
372
  # @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
@@ -376,6 +390,7 @@ module PulpcoreClient
376
390
  header_params = opts[:header_params] || {}
377
391
  # HTTP header 'Accept' (if needed)
378
392
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
393
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
379
394
 
380
395
  # form parameters
381
396
  form_params = opts[:form_params] || {}
@@ -411,6 +426,7 @@ module PulpcoreClient
411
426
  # @param pulp_importer_href [String]
412
427
  # @param pulp_importer [PulpImporter]
413
428
  # @param [Hash] opts the optional parameters
429
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
414
430
  # @return [PulpImporterResponse]
415
431
  def update(pulp_importer_href, pulp_importer, opts = {})
416
432
  data, _status_code, _headers = update_with_http_info(pulp_importer_href, pulp_importer, opts)
@@ -422,6 +438,7 @@ module PulpcoreClient
422
438
  # @param pulp_importer_href [String]
423
439
  # @param pulp_importer [PulpImporter]
424
440
  # @param [Hash] opts the optional parameters
441
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
425
442
  # @return [Array<(PulpImporterResponse, Integer, Hash)>] PulpImporterResponse data, response status code and response headers
426
443
  def update_with_http_info(pulp_importer_href, pulp_importer, opts = {})
427
444
  if @api_client.config.debugging
@@ -450,6 +467,7 @@ module PulpcoreClient
450
467
  if !content_type.nil?
451
468
  header_params['Content-Type'] = content_type
452
469
  end
470
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
453
471
 
454
472
  # form parameters
455
473
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpcoreClient
23
23
  # Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'. * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED: * Checks that toc, path exist and are readable * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
24
24
  # @param pulp_import_check [PulpImportCheck]
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 [PulpImportCheckResponse]
27
28
  def pulp_import_check_post(pulp_import_check, opts = {})
28
29
  data, _status_code, _headers = pulp_import_check_post_with_http_info(pulp_import_check, opts)
@@ -33,6 +34,7 @@ module PulpcoreClient
33
34
  # Evaluates validity of proposed PulpImport parameters &#39;toc&#39;, &#39;path&#39;, and &#39;repo_mapping&#39;. * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED: * Checks that toc, path exist and are readable * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
34
35
  # @param pulp_import_check [PulpImportCheck]
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<(PulpImportCheckResponse, Integer, Hash)>] PulpImportCheckResponse data, response status code and response headers
37
39
  def pulp_import_check_post_with_http_info(pulp_import_check, opts = {})
38
40
  if @api_client.config.debugging
@@ -57,6 +59,7 @@ module PulpcoreClient
57
59
  if !content_type.nil?
58
60
  header_params['Content-Type'] = content_type
59
61
  end
62
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
60
63
 
61
64
  # form parameters
62
65
  form_params = opts[:form_params] || {}