pulpcore_client 3.49.53 → 3.49.55

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 (127) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/AccessPoliciesApi.md +22 -6
  4. data/docs/ArtifactDistributionResponse.md +5 -5
  5. data/docs/ArtifactsApi.md +12 -2
  6. data/docs/ContentApi.md +2 -0
  7. data/docs/ContentguardsApi.md +2 -0
  8. data/docs/ContentguardsCompositeApi.md +44 -12
  9. data/docs/ContentguardsContentRedirectApi.md +44 -12
  10. data/docs/ContentguardsHeaderApi.md +44 -12
  11. data/docs/ContentguardsRbacApi.md +44 -12
  12. data/docs/DistributionsApi.md +2 -0
  13. data/docs/DistributionsArtifactsApi.md +4 -0
  14. data/docs/DomainsApi.md +28 -8
  15. data/docs/ExportersFilesystemApi.md +28 -8
  16. data/docs/ExportersFilesystemExportsApi.md +16 -4
  17. data/docs/ExportersPulpApi.md +28 -8
  18. data/docs/ExportersPulpExportsApi.md +16 -4
  19. data/docs/GroupsApi.md +44 -12
  20. data/docs/GroupsRolesApi.md +16 -4
  21. data/docs/GroupsUsersApi.md +14 -4
  22. data/docs/ImportersPulpApi.md +28 -8
  23. data/docs/ImportersPulpImportCheckApi.md +6 -2
  24. data/docs/ImportersPulpImportsApi.md +16 -4
  25. data/docs/OrphansApi.md +9 -3
  26. data/docs/OrphansCleanupApi.md +6 -2
  27. data/docs/PublicationsApi.md +2 -0
  28. data/docs/RemotesApi.md +2 -0
  29. data/docs/RepairApi.md +6 -2
  30. data/docs/RepositoriesApi.md +2 -0
  31. data/docs/RepositoriesReclaimSpaceApi.md +6 -2
  32. data/docs/RepositoryVersionsApi.md +2 -0
  33. data/docs/RolesApi.md +28 -8
  34. data/docs/SigningServicesApi.md +4 -0
  35. data/docs/StatusApi.md +13 -3
  36. data/docs/TaskGroupsApi.md +4 -0
  37. data/docs/TaskSchedulesApi.md +20 -4
  38. data/docs/TasksApi.md +38 -10
  39. data/docs/UploadsApi.md +40 -10
  40. data/docs/UpstreamPulpsApi.md +50 -14
  41. data/docs/UsersApi.md +28 -8
  42. data/docs/UsersRolesApi.md +16 -4
  43. data/docs/WorkersApi.md +4 -0
  44. data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
  45. data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
  46. data/lib/pulpcore_client/api/content_api.rb +3 -0
  47. data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
  48. data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
  49. data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
  50. data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
  51. data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
  52. data/lib/pulpcore_client/api/distributions_api.rb +3 -0
  53. data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
  54. data/lib/pulpcore_client/api/domains_api.rb +18 -0
  55. data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
  56. data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
  57. data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
  58. data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
  59. data/lib/pulpcore_client/api/groups_api.rb +30 -0
  60. data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
  61. data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
  62. data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
  63. data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
  64. data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
  65. data/lib/pulpcore_client/api/orphans_api.rb +3 -0
  66. data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
  67. data/lib/pulpcore_client/api/publications_api.rb +3 -0
  68. data/lib/pulpcore_client/api/remotes_api.rb +3 -0
  69. data/lib/pulpcore_client/api/repair_api.rb +3 -0
  70. data/lib/pulpcore_client/api/repositories_api.rb +3 -0
  71. data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
  72. data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
  73. data/lib/pulpcore_client/api/roles_api.rb +18 -0
  74. data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
  75. data/lib/pulpcore_client/api/status_api.rb +9 -0
  76. data/lib/pulpcore_client/api/task_groups_api.rb +6 -0
  77. data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
  78. data/lib/pulpcore_client/api/tasks_api.rb +27 -0
  79. data/lib/pulpcore_client/api/uploads_api.rb +30 -0
  80. data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
  81. data/lib/pulpcore_client/api/users_api.rb +18 -0
  82. data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
  83. data/lib/pulpcore_client/api/workers_api.rb +6 -0
  84. data/lib/pulpcore_client/models/artifact_distribution_response.rb +21 -21
  85. data/lib/pulpcore_client/version.rb +1 -1
  86. data/spec/api/access_policies_api_spec.rb +5 -0
  87. data/spec/api/artifacts_api_spec.rb +4 -0
  88. data/spec/api/content_api_spec.rb +1 -0
  89. data/spec/api/contentguards_api_spec.rb +1 -0
  90. data/spec/api/contentguards_composite_api_spec.rb +10 -0
  91. data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
  92. data/spec/api/contentguards_header_api_spec.rb +10 -0
  93. data/spec/api/contentguards_rbac_api_spec.rb +10 -0
  94. data/spec/api/distributions_api_spec.rb +1 -0
  95. data/spec/api/distributions_artifacts_api_spec.rb +2 -0
  96. data/spec/api/domains_api_spec.rb +6 -0
  97. data/spec/api/exporters_filesystem_api_spec.rb +6 -0
  98. data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
  99. data/spec/api/exporters_pulp_api_spec.rb +6 -0
  100. data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
  101. data/spec/api/groups_api_spec.rb +10 -0
  102. data/spec/api/groups_roles_api_spec.rb +4 -0
  103. data/spec/api/groups_users_api_spec.rb +3 -0
  104. data/spec/api/importers_pulp_api_spec.rb +6 -0
  105. data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
  106. data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
  107. data/spec/api/orphans_api_spec.rb +1 -0
  108. data/spec/api/orphans_cleanup_api_spec.rb +1 -0
  109. data/spec/api/publications_api_spec.rb +1 -0
  110. data/spec/api/remotes_api_spec.rb +1 -0
  111. data/spec/api/repair_api_spec.rb +1 -0
  112. data/spec/api/repositories_api_spec.rb +1 -0
  113. data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
  114. data/spec/api/repository_versions_api_spec.rb +1 -0
  115. data/spec/api/roles_api_spec.rb +6 -0
  116. data/spec/api/signing_services_api_spec.rb +2 -0
  117. data/spec/api/status_api_spec.rb +3 -0
  118. data/spec/api/task_groups_api_spec.rb +2 -0
  119. data/spec/api/task_schedules_api_spec.rb +6 -0
  120. data/spec/api/tasks_api_spec.rb +9 -0
  121. data/spec/api/uploads_api_spec.rb +10 -0
  122. data/spec/api/upstream_pulps_api_spec.rb +11 -0
  123. data/spec/api/users_api_spec.rb +6 -0
  124. data/spec/api/users_roles_api_spec.rb +4 -0
  125. data/spec/api/workers_api_spec.rb +2 -0
  126. data/spec/models/artifact_distribution_response_spec.rb +3 -3
  127. metadata +2 -2
@@ -13,7 +13,7 @@ Method | HTTP request | Description
13
13
 
14
14
  ## create
15
15
 
16
- > UserRoleResponse create(auth_user_href, user_role)
16
+ > UserRoleResponse create(auth_user_href, user_role, opts)
17
17
 
18
18
  Create an user role
19
19
 
@@ -34,10 +34,13 @@ end
34
34
  api_instance = PulpcoreClient::UsersRolesApi.new
35
35
  auth_user_href = 'auth_user_href_example' # String |
36
36
  user_role = PulpcoreClient::UserRole.new # UserRole |
37
+ opts = {
38
+ x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
39
+ }
37
40
 
38
41
  begin
39
42
  #Create an user role
40
- result = api_instance.create(auth_user_href, user_role)
43
+ result = api_instance.create(auth_user_href, user_role, opts)
41
44
  p result
42
45
  rescue PulpcoreClient::ApiError => e
43
46
  puts "Exception when calling UsersRolesApi->create: #{e}"
@@ -51,6 +54,7 @@ Name | Type | Description | Notes
51
54
  ------------- | ------------- | ------------- | -------------
52
55
  **auth_user_href** | **String**| |
53
56
  **user_role** | [**UserRole**](UserRole.md)| |
57
+ **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
54
58
 
55
59
  ### Return type
56
60
 
@@ -68,7 +72,7 @@ Name | Type | Description | Notes
68
72
 
69
73
  ## delete
70
74
 
71
- > delete(auth_users_user_role_href)
75
+ > delete(auth_users_user_role_href, opts)
72
76
 
73
77
  Delete an user role
74
78
 
@@ -88,10 +92,13 @@ end
88
92
 
89
93
  api_instance = PulpcoreClient::UsersRolesApi.new
90
94
  auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
95
+ opts = {
96
+ x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
97
+ }
91
98
 
92
99
  begin
93
100
  #Delete an user role
94
- api_instance.delete(auth_users_user_role_href)
101
+ api_instance.delete(auth_users_user_role_href, opts)
95
102
  rescue PulpcoreClient::ApiError => e
96
103
  puts "Exception when calling UsersRolesApi->delete: #{e}"
97
104
  end
@@ -103,6 +110,7 @@ end
103
110
  Name | Type | Description | Notes
104
111
  ------------- | ------------- | ------------- | -------------
105
112
  **auth_users_user_role_href** | **String**| |
113
+ **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
106
114
 
107
115
  ### Return type
108
116
 
@@ -141,6 +149,7 @@ end
141
149
  api_instance = PulpcoreClient::UsersRolesApi.new
142
150
  auth_user_href = 'auth_user_href_example' # String |
143
151
  opts = {
152
+ x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
144
153
  content_object: 'content_object_example', # String | content_object
145
154
  domain: 'domain_example', # String | Foreign Key referenced by HREF
146
155
  limit: 56, # Integer | Number of results to return per page.
@@ -173,6 +182,7 @@ end
173
182
  Name | Type | Description | Notes
174
183
  ------------- | ------------- | ------------- | -------------
175
184
  **auth_user_href** | **String**| |
185
+ **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
176
186
  **content_object** | **String**| content_object | [optional]
177
187
  **domain** | [**String**](.md)| Foreign Key referenced by HREF | [optional]
178
188
  **limit** | **Integer**| Number of results to return per page. | [optional]
@@ -226,6 +236,7 @@ end
226
236
  api_instance = PulpcoreClient::UsersRolesApi.new
227
237
  auth_users_user_role_href = 'auth_users_user_role_href_example' # String |
228
238
  opts = {
239
+ x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
229
240
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
230
241
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
231
242
  }
@@ -245,6 +256,7 @@ end
245
256
  Name | Type | Description | Notes
246
257
  ------------- | ------------- | ------------- | -------------
247
258
  **auth_users_user_role_href** | **String**| |
259
+ **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
248
260
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
249
261
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
250
262
 
data/docs/WorkersApi.md CHANGED
@@ -31,6 +31,7 @@ end
31
31
 
32
32
  api_instance = PulpcoreClient::WorkersApi.new
33
33
  opts = {
34
+ x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
34
35
  last_heartbeat: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat matches value
35
36
  last_heartbeat__gt: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than value
36
37
  last_heartbeat__gte: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Filter results where last_heartbeat is greater than or equal to value
@@ -72,6 +73,7 @@ end
72
73
 
73
74
  Name | Type | Description | Notes
74
75
  ------------- | ------------- | ------------- | -------------
76
+ **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
75
77
  **last_heartbeat** | **DateTime**| Filter results where last_heartbeat matches value | [optional]
76
78
  **last_heartbeat__gt** | **DateTime**| Filter results where last_heartbeat is greater than value | [optional]
77
79
  **last_heartbeat__gte** | **DateTime**| Filter results where last_heartbeat is greater than or equal to value | [optional]
@@ -135,6 +137,7 @@ end
135
137
  api_instance = PulpcoreClient::WorkersApi.new
136
138
  worker_href = 'worker_href_example' # String |
137
139
  opts = {
140
+ x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
138
141
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
139
142
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
140
143
  }
@@ -154,6 +157,7 @@ end
154
157
  Name | Type | Description | Notes
155
158
  ------------- | ------------- | ------------- | -------------
156
159
  **worker_href** | **String**| |
160
+ **x_task_diagnostics** | [**Array&lt;String&gt;**](String.md)| List of profilers to use on tasks. | [optional]
157
161
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
158
162
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
159
163
 
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List access policys
23
23
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Boolean] :customized Filter results where customized matches value
26
27
  # @option opts [Integer] :limit Number of results to return per page.
27
28
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -49,6 +50,7 @@ module PulpcoreClient
49
50
  # List access policys
50
51
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
51
52
  # @param [Hash] opts the optional parameters
53
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
52
54
  # @option opts [Boolean] :customized Filter results where customized matches value
53
55
  # @option opts [Integer] :limit Number of results to return per page.
54
56
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -104,6 +106,7 @@ module PulpcoreClient
104
106
  header_params = opts[:header_params] || {}
105
107
  # HTTP header 'Accept' (if needed)
106
108
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
109
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
107
110
 
108
111
  # form parameters
109
112
  form_params = opts[:form_params] || {}
@@ -138,6 +141,7 @@ module PulpcoreClient
138
141
  # @param access_policy_href [String]
139
142
  # @param patched_access_policy [PatchedAccessPolicy]
140
143
  # @param [Hash] opts the optional parameters
144
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
141
145
  # @return [AccessPolicyResponse]
142
146
  def partial_update(access_policy_href, patched_access_policy, opts = {})
143
147
  data, _status_code, _headers = partial_update_with_http_info(access_policy_href, patched_access_policy, opts)
@@ -149,6 +153,7 @@ module PulpcoreClient
149
153
  # @param access_policy_href [String]
150
154
  # @param patched_access_policy [PatchedAccessPolicy]
151
155
  # @param [Hash] opts the optional parameters
156
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
152
157
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
153
158
  def partial_update_with_http_info(access_policy_href, patched_access_policy, opts = {})
154
159
  if @api_client.config.debugging
@@ -174,6 +179,7 @@ module PulpcoreClient
174
179
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
175
180
  # HTTP header 'Content-Type'
176
181
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
182
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
177
183
 
178
184
  # form parameters
179
185
  form_params = opts[:form_params] || {}
@@ -207,6 +213,7 @@ module PulpcoreClient
207
213
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \"tech preview\" and subject to change
208
214
  # @param access_policy_href [String]
209
215
  # @param [Hash] opts the optional parameters
216
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
210
217
  # @option opts [Array<String>] :fields A list of fields to include in the response.
211
218
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
212
219
  # @return [AccessPolicyResponse]
@@ -219,6 +226,7 @@ module PulpcoreClient
219
226
  # ViewSet for AccessPolicy. NOTE: This API endpoint is in \&quot;tech preview\&quot; and subject to change
220
227
  # @param access_policy_href [String]
221
228
  # @param [Hash] opts the optional parameters
229
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
222
230
  # @option opts [Array<String>] :fields A list of fields to include in the response.
223
231
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
224
232
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
@@ -242,6 +250,7 @@ module PulpcoreClient
242
250
  header_params = opts[:header_params] || {}
243
251
  # HTTP header 'Accept' (if needed)
244
252
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
253
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
245
254
 
246
255
  # form parameters
247
256
  form_params = opts[:form_params] || {}
@@ -274,6 +283,7 @@ module PulpcoreClient
274
283
  # Reset the access policy to its uncustomized default value.
275
284
  # @param access_policy_href [String]
276
285
  # @param [Hash] opts the optional parameters
286
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
277
287
  # @return [AccessPolicyResponse]
278
288
  def reset(access_policy_href, opts = {})
279
289
  data, _status_code, _headers = reset_with_http_info(access_policy_href, opts)
@@ -283,6 +293,7 @@ module PulpcoreClient
283
293
  # Reset the access policy to its uncustomized default value.
284
294
  # @param access_policy_href [String]
285
295
  # @param [Hash] opts the optional parameters
296
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
286
297
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
287
298
  def reset_with_http_info(access_policy_href, opts = {})
288
299
  if @api_client.config.debugging
@@ -302,6 +313,7 @@ module PulpcoreClient
302
313
  header_params = opts[:header_params] || {}
303
314
  # HTTP header 'Accept' (if needed)
304
315
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
316
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
305
317
 
306
318
  # form parameters
307
319
  form_params = opts[:form_params] || {}
@@ -336,6 +348,7 @@ module PulpcoreClient
336
348
  # @param access_policy_href [String]
337
349
  # @param access_policy [AccessPolicy]
338
350
  # @param [Hash] opts the optional parameters
351
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
339
352
  # @return [AccessPolicyResponse]
340
353
  def update(access_policy_href, access_policy, opts = {})
341
354
  data, _status_code, _headers = update_with_http_info(access_policy_href, access_policy, opts)
@@ -347,6 +360,7 @@ module PulpcoreClient
347
360
  # @param access_policy_href [String]
348
361
  # @param access_policy [AccessPolicy]
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
  # @return [Array<(AccessPolicyResponse, Integer, Hash)>] AccessPolicyResponse data, response status code and response headers
351
365
  def update_with_http_info(access_policy_href, access_policy, opts = {})
352
366
  if @api_client.config.debugging
@@ -372,6 +386,7 @@ module PulpcoreClient
372
386
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
373
387
  # HTTP header 'Content-Type'
374
388
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
389
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
375
390
 
376
391
  # form parameters
377
392
  form_params = opts[:form_params] || {}
@@ -23,6 +23,7 @@ module PulpcoreClient
23
23
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
24
24
  # @param file [File] The stored file.
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 [Integer] :size The size of the file in bytes.
27
28
  # @option opts [String] :md5 The MD5 checksum of the file if available.
28
29
  # @option opts [String] :sha1 The SHA-1 checksum of the file if available.
@@ -40,6 +41,7 @@ module PulpcoreClient
40
41
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
41
42
  # @param file [File] The stored file.
42
43
  # @param [Hash] opts the optional parameters
44
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
43
45
  # @option opts [Integer] :size The size of the file in bytes.
44
46
  # @option opts [String] :md5 The MD5 checksum of the file if available.
45
47
  # @option opts [String] :sha1 The SHA-1 checksum of the file if available.
@@ -92,6 +94,7 @@ module PulpcoreClient
92
94
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
93
95
  # HTTP header 'Content-Type'
94
96
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
97
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
95
98
 
96
99
  # form parameters
97
100
  form_params = opts[:form_params] || {}
@@ -133,6 +136,7 @@ module PulpcoreClient
133
136
  # Remove Artifact only if it is not associated with any Content.
134
137
  # @param artifact_href [String]
135
138
  # @param [Hash] opts the optional parameters
139
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
136
140
  # @return [nil]
137
141
  def delete(artifact_href, opts = {})
138
142
  delete_with_http_info(artifact_href, opts)
@@ -143,6 +147,7 @@ module PulpcoreClient
143
147
  # Remove Artifact only if it is not associated with any Content.
144
148
  # @param artifact_href [String]
145
149
  # @param [Hash] opts the optional parameters
150
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
146
151
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
147
152
  def delete_with_http_info(artifact_href, opts = {})
148
153
  if @api_client.config.debugging
@@ -160,6 +165,7 @@ module PulpcoreClient
160
165
 
161
166
  # header parameters
162
167
  header_params = opts[:header_params] || {}
168
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
163
169
 
164
170
  # form parameters
165
171
  form_params = opts[:form_params] || {}
@@ -192,6 +198,7 @@ module PulpcoreClient
192
198
  # List artifacts
193
199
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
194
200
  # @param [Hash] opts the optional parameters
201
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
195
202
  # @option opts [Integer] :limit Number of results to return per page.
196
203
  # @option opts [String] :md5 Filter results where md5 matches value
197
204
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -217,6 +224,7 @@ module PulpcoreClient
217
224
  # List artifacts
218
225
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
219
226
  # @param [Hash] opts the optional parameters
227
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
220
228
  # @option opts [Integer] :limit Number of results to return per page.
221
229
  # @option opts [String] :md5 Filter results where md5 matches value
222
230
  # @option opts [Integer] :offset The initial index from which to return the results.
@@ -268,6 +276,7 @@ module PulpcoreClient
268
276
  header_params = opts[:header_params] || {}
269
277
  # HTTP header 'Accept' (if needed)
270
278
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
279
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
271
280
 
272
281
  # form parameters
273
282
  form_params = opts[:form_params] || {}
@@ -301,6 +310,7 @@ module PulpcoreClient
301
310
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
302
311
  # @param artifact_href [String]
303
312
  # @param [Hash] opts the optional parameters
313
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
304
314
  # @option opts [Array<String>] :fields A list of fields to include in the response.
305
315
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
306
316
  # @return [ArtifactResponse]
@@ -313,6 +323,7 @@ module PulpcoreClient
313
323
  # A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \&quot;Normal\&quot; Django Models and Master/Detail models are supported by the &#x60;&#x60;register_with&#x60;&#x60; method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to &#39;pk&#39; endpoint_name (str): The name of the final path segment that should identify the ViewSet&#39;s collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \&quot;parent_prefix\&quot; of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object&#39;s identity. schema (DefaultSchema): The schema class to use by default in a viewset.
314
324
  # @param artifact_href [String]
315
325
  # @param [Hash] opts the optional parameters
326
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
316
327
  # @option opts [Array<String>] :fields A list of fields to include in the response.
317
328
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
318
329
  # @return [Array<(ArtifactResponse, Integer, Hash)>] ArtifactResponse data, response status code and response headers
@@ -336,6 +347,7 @@ module PulpcoreClient
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'])
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] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List content
23
23
  # Endpoint to list all content.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Integer] :limit Number of results to return per page.
26
27
  # @option opts [Integer] :offset The initial index from which to return the results.
27
28
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -45,6 +46,7 @@ module PulpcoreClient
45
46
  # List content
46
47
  # Endpoint to list all content.
47
48
  # @param [Hash] opts the optional parameters
49
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
48
50
  # @option opts [Integer] :limit Number of results to return per page.
49
51
  # @option opts [Integer] :offset The initial index from which to return the results.
50
52
  # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
@@ -100,6 +102,7 @@ module PulpcoreClient
100
102
  header_params = opts[:header_params] || {}
101
103
  # HTTP header 'Accept' (if needed)
102
104
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
105
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
103
106
 
104
107
  # form parameters
105
108
  form_params = opts[:form_params] || {}
@@ -22,6 +22,7 @@ module PulpcoreClient
22
22
  # List content guards
23
23
  # Endpoint to list all contentguards.
24
24
  # @param [Hash] opts the optional parameters
25
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
25
26
  # @option opts [Integer] :limit Number of results to return per page.
26
27
  # @option opts [String] :name Filter results where name matches value
27
28
  # @option opts [String] :name__contains Filter results where name contains value
@@ -50,6 +51,7 @@ module PulpcoreClient
50
51
  # List content guards
51
52
  # Endpoint to list all contentguards.
52
53
  # @param [Hash] opts the optional parameters
54
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
53
55
  # @option opts [Integer] :limit Number of results to return per page.
54
56
  # @option opts [String] :name Filter results where name matches value
55
57
  # @option opts [String] :name__contains Filter results where name contains value
@@ -115,6 +117,7 @@ module PulpcoreClient
115
117
  header_params = opts[:header_params] || {}
116
118
  # HTTP header 'Accept' (if needed)
117
119
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
120
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
118
121
 
119
122
  # form parameters
120
123
  form_params = opts[:form_params] || {}
@@ -24,6 +24,7 @@ module PulpcoreClient
24
24
  # @param composite_content_guard_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(composite_content_guard_href, nested_role, opts = {})
29
30
  data, _status_code, _headers = add_role_with_http_info(composite_content_guard_href, nested_role, opts)
@@ -35,6 +36,7 @@ module PulpcoreClient
35
36
  # @param composite_content_guard_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(composite_content_guard_href, nested_role, opts = {})
40
42
  if @api_client.config.debugging
@@ -60,6 +62,7 @@ module PulpcoreClient
60
62
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
61
63
  # HTTP header 'Content-Type'
62
64
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
65
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
63
66
 
64
67
  # form parameters
65
68
  form_params = opts[:form_params] || {}
@@ -93,6 +96,7 @@ module PulpcoreClient
93
96
  # Content guard that queries a list-of content-guards for access permissions.
94
97
  # @param composite_content_guard [CompositeContentGuard]
95
98
  # @param [Hash] opts the optional parameters
99
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
96
100
  # @return [CompositeContentGuardResponse]
97
101
  def create(composite_content_guard, opts = {})
98
102
  data, _status_code, _headers = create_with_http_info(composite_content_guard, opts)
@@ -103,6 +107,7 @@ module PulpcoreClient
103
107
  # Content guard that queries a list-of content-guards for access permissions.
104
108
  # @param composite_content_guard [CompositeContentGuard]
105
109
  # @param [Hash] opts the optional parameters
110
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
106
111
  # @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
107
112
  def create_with_http_info(composite_content_guard, opts = {})
108
113
  if @api_client.config.debugging
@@ -124,6 +129,7 @@ module PulpcoreClient
124
129
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
125
130
  # HTTP header 'Content-Type'
126
131
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
132
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
127
133
 
128
134
  # form parameters
129
135
  form_params = opts[:form_params] || {}
@@ -157,6 +163,7 @@ module PulpcoreClient
157
163
  # Content guard that queries a list-of content-guards for access permissions.
158
164
  # @param composite_content_guard_href [String]
159
165
  # @param [Hash] opts the optional parameters
166
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
160
167
  # @return [nil]
161
168
  def delete(composite_content_guard_href, opts = {})
162
169
  delete_with_http_info(composite_content_guard_href, opts)
@@ -167,6 +174,7 @@ module PulpcoreClient
167
174
  # Content guard that queries a list-of content-guards for access permissions.
168
175
  # @param composite_content_guard_href [String]
169
176
  # @param [Hash] opts the optional parameters
177
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
170
178
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
171
179
  def delete_with_http_info(composite_content_guard_href, opts = {})
172
180
  if @api_client.config.debugging
@@ -184,6 +192,7 @@ module PulpcoreClient
184
192
 
185
193
  # header parameters
186
194
  header_params = opts[:header_params] || {}
195
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
187
196
 
188
197
  # form parameters
189
198
  form_params = opts[:form_params] || {}
@@ -216,6 +225,7 @@ module PulpcoreClient
216
225
  # List composite content guards
217
226
  # Content guard that queries a list-of content-guards for access permissions.
218
227
  # @param [Hash] opts the optional parameters
228
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
219
229
  # @option opts [Integer] :limit Number of results to return per page.
220
230
  # @option opts [String] :name Filter results where name matches value
221
231
  # @option opts [String] :name__contains Filter results where name contains value
@@ -242,6 +252,7 @@ module PulpcoreClient
242
252
  # List composite content guards
243
253
  # Content guard that queries a list-of content-guards for access permissions.
244
254
  # @param [Hash] opts the optional parameters
255
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
245
256
  # @option opts [Integer] :limit Number of results to return per page.
246
257
  # @option opts [String] :name Filter results where name matches value
247
258
  # @option opts [String] :name__contains Filter results where name contains value
@@ -295,6 +306,7 @@ module PulpcoreClient
295
306
  header_params = opts[:header_params] || {}
296
307
  # HTTP header 'Accept' (if needed)
297
308
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
309
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
298
310
 
299
311
  # form parameters
300
312
  form_params = opts[:form_params] || {}
@@ -328,6 +340,7 @@ module PulpcoreClient
328
340
  # List roles assigned to this object.
329
341
  # @param composite_content_guard_href [String]
330
342
  # @param [Hash] opts the optional parameters
343
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
331
344
  # @option opts [Array<String>] :fields A list of fields to include in the response.
332
345
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
333
346
  # @return [ObjectRolesResponse]
@@ -340,6 +353,7 @@ module PulpcoreClient
340
353
  # List roles assigned to this object.
341
354
  # @param composite_content_guard_href [String]
342
355
  # @param [Hash] opts the optional parameters
356
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
343
357
  # @option opts [Array<String>] :fields A list of fields to include in the response.
344
358
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
345
359
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -363,6 +377,7 @@ module PulpcoreClient
363
377
  header_params = opts[:header_params] || {}
364
378
  # HTTP header 'Accept' (if needed)
365
379
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
380
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
366
381
 
367
382
  # form parameters
368
383
  form_params = opts[:form_params] || {}
@@ -396,6 +411,7 @@ module PulpcoreClient
396
411
  # List permissions available to the current user on this object.
397
412
  # @param composite_content_guard_href [String]
398
413
  # @param [Hash] opts the optional parameters
414
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
399
415
  # @option opts [Array<String>] :fields A list of fields to include in the response.
400
416
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
401
417
  # @return [MyPermissionsResponse]
@@ -408,6 +424,7 @@ module PulpcoreClient
408
424
  # List permissions available to the current user on this object.
409
425
  # @param composite_content_guard_href [String]
410
426
  # @param [Hash] opts the optional parameters
427
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
411
428
  # @option opts [Array<String>] :fields A list of fields to include in the response.
412
429
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
413
430
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -431,6 +448,7 @@ module PulpcoreClient
431
448
  header_params = opts[:header_params] || {}
432
449
  # HTTP header 'Accept' (if needed)
433
450
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
451
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
434
452
 
435
453
  # form parameters
436
454
  form_params = opts[:form_params] || {}
@@ -465,6 +483,7 @@ module PulpcoreClient
465
483
  # @param composite_content_guard_href [String]
466
484
  # @param patched_composite_content_guard [PatchedCompositeContentGuard]
467
485
  # @param [Hash] opts the optional parameters
486
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
468
487
  # @return [CompositeContentGuardResponse]
469
488
  def partial_update(composite_content_guard_href, patched_composite_content_guard, opts = {})
470
489
  data, _status_code, _headers = partial_update_with_http_info(composite_content_guard_href, patched_composite_content_guard, opts)
@@ -476,6 +495,7 @@ module PulpcoreClient
476
495
  # @param composite_content_guard_href [String]
477
496
  # @param patched_composite_content_guard [PatchedCompositeContentGuard]
478
497
  # @param [Hash] opts the optional parameters
498
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
479
499
  # @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
480
500
  def partial_update_with_http_info(composite_content_guard_href, patched_composite_content_guard, opts = {})
481
501
  if @api_client.config.debugging
@@ -501,6 +521,7 @@ module PulpcoreClient
501
521
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
502
522
  # HTTP header 'Content-Type'
503
523
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
524
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
504
525
 
505
526
  # form parameters
506
527
  form_params = opts[:form_params] || {}
@@ -534,6 +555,7 @@ module PulpcoreClient
534
555
  # Content guard that queries a list-of content-guards for access permissions.
535
556
  # @param composite_content_guard_href [String]
536
557
  # @param [Hash] opts the optional parameters
558
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
537
559
  # @option opts [Array<String>] :fields A list of fields to include in the response.
538
560
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
539
561
  # @return [CompositeContentGuardResponse]
@@ -546,6 +568,7 @@ module PulpcoreClient
546
568
  # Content guard that queries a list-of content-guards for access permissions.
547
569
  # @param composite_content_guard_href [String]
548
570
  # @param [Hash] opts the optional parameters
571
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
549
572
  # @option opts [Array<String>] :fields A list of fields to include in the response.
550
573
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
551
574
  # @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
@@ -569,6 +592,7 @@ module PulpcoreClient
569
592
  header_params = opts[:header_params] || {}
570
593
  # HTTP header 'Accept' (if needed)
571
594
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
595
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
572
596
 
573
597
  # form parameters
574
598
  form_params = opts[:form_params] || {}
@@ -603,6 +627,7 @@ module PulpcoreClient
603
627
  # @param composite_content_guard_href [String]
604
628
  # @param nested_role [NestedRole]
605
629
  # @param [Hash] opts the optional parameters
630
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
606
631
  # @return [NestedRoleResponse]
607
632
  def remove_role(composite_content_guard_href, nested_role, opts = {})
608
633
  data, _status_code, _headers = remove_role_with_http_info(composite_content_guard_href, nested_role, opts)
@@ -614,6 +639,7 @@ module PulpcoreClient
614
639
  # @param composite_content_guard_href [String]
615
640
  # @param nested_role [NestedRole]
616
641
  # @param [Hash] opts the optional parameters
642
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
617
643
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
618
644
  def remove_role_with_http_info(composite_content_guard_href, nested_role, opts = {})
619
645
  if @api_client.config.debugging
@@ -639,6 +665,7 @@ module PulpcoreClient
639
665
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
640
666
  # HTTP header 'Content-Type'
641
667
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
668
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
642
669
 
643
670
  # form parameters
644
671
  form_params = opts[:form_params] || {}
@@ -673,6 +700,7 @@ module PulpcoreClient
673
700
  # @param composite_content_guard_href [String]
674
701
  # @param composite_content_guard [CompositeContentGuard]
675
702
  # @param [Hash] opts the optional parameters
703
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
676
704
  # @return [CompositeContentGuardResponse]
677
705
  def update(composite_content_guard_href, composite_content_guard, opts = {})
678
706
  data, _status_code, _headers = update_with_http_info(composite_content_guard_href, composite_content_guard, opts)
@@ -684,6 +712,7 @@ module PulpcoreClient
684
712
  # @param composite_content_guard_href [String]
685
713
  # @param composite_content_guard [CompositeContentGuard]
686
714
  # @param [Hash] opts the optional parameters
715
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
687
716
  # @return [Array<(CompositeContentGuardResponse, Integer, Hash)>] CompositeContentGuardResponse data, response status code and response headers
688
717
  def update_with_http_info(composite_content_guard_href, composite_content_guard, opts = {})
689
718
  if @api_client.config.debugging
@@ -709,6 +738,7 @@ module PulpcoreClient
709
738
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
710
739
  # HTTP header 'Content-Type'
711
740
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
741
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
712
742
 
713
743
  # form parameters
714
744
  form_params = opts[:form_params] || {}