pulp_ansible_client 0.24.5 → 0.24.7
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.
- checksums.yaml +4 -4
- data/README.md +8 -5
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +30 -16
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +12 -4
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +12 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +2 -0
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +30 -14
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +3 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +18 -3
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +32 -32
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -220
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -139
- data/lib/pulp_ansible_client/models/ansible_role.rb +17 -17
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +34 -34
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +0 -1
- data/spec/api/ansible_collections_api_spec.rb +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +9 -4
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +1 -0
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -1
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +124 -144
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @option opts [String] :company Optional namespace company owner.
|
27
28
|
# @option opts [String] :email Optional namespace contact email.
|
28
29
|
# @option opts [String] :description Optional short description.
|
@@ -39,6 +40,7 @@ module PulpAnsibleClient
|
|
39
40
|
# @param distro_base_path [String]
|
40
41
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
41
42
|
# @param [Hash] opts the optional parameters
|
43
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
42
44
|
# @option opts [String] :company Optional namespace company owner.
|
43
45
|
# @option opts [String] :email Optional namespace contact email.
|
44
46
|
# @option opts [String] :description Optional short description.
|
@@ -98,6 +100,7 @@ module PulpAnsibleClient
|
|
98
100
|
if !content_type.nil?
|
99
101
|
header_params['Content-Type'] = content_type
|
100
102
|
end
|
103
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
101
104
|
|
102
105
|
# form parameters
|
103
106
|
form_params = opts[:form_params] || {}
|
@@ -139,6 +142,7 @@ module PulpAnsibleClient
|
|
139
142
|
# @param distro_base_path [String]
|
140
143
|
# @param name [String]
|
141
144
|
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
142
146
|
# @return [AsyncOperationResponse]
|
143
147
|
def delete(distro_base_path, name, opts = {})
|
144
148
|
data, _status_code, _headers = delete_with_http_info(distro_base_path, name, opts)
|
@@ -149,6 +153,7 @@ module PulpAnsibleClient
|
|
149
153
|
# @param distro_base_path [String]
|
150
154
|
# @param name [String]
|
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<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
153
158
|
def delete_with_http_info(distro_base_path, name, opts = {})
|
154
159
|
if @api_client.config.debugging
|
@@ -172,6 +177,7 @@ module PulpAnsibleClient
|
|
172
177
|
header_params = opts[:header_params] || {}
|
173
178
|
# HTTP header 'Accept' (if needed)
|
174
179
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
180
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
175
181
|
|
176
182
|
# form parameters
|
177
183
|
form_params = opts[:form_params] || {}
|
@@ -205,6 +211,7 @@ module PulpAnsibleClient
|
|
205
211
|
# Provides the authentication and permission classes from settings.
|
206
212
|
# @param distro_base_path [String]
|
207
213
|
# @param [Hash] opts the optional parameters
|
214
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
208
215
|
# @option opts [String] :company Filter results where company matches value
|
209
216
|
# @option opts [String] :company__contains Filter results where company contains value
|
210
217
|
# @option opts [String] :company__icontains Filter results where company contains value
|
@@ -243,6 +250,7 @@ module PulpAnsibleClient
|
|
243
250
|
# Provides the authentication and permission classes from settings.
|
244
251
|
# @param distro_base_path [String]
|
245
252
|
# @param [Hash] opts the optional parameters
|
253
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
246
254
|
# @option opts [String] :company Filter results where company matches value
|
247
255
|
# @option opts [String] :company__contains Filter results where company contains value
|
248
256
|
# @option opts [String] :company__icontains Filter results where company contains value
|
@@ -324,6 +332,7 @@ module PulpAnsibleClient
|
|
324
332
|
header_params = opts[:header_params] || {}
|
325
333
|
# HTTP header 'Accept' (if needed)
|
326
334
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
335
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
327
336
|
|
328
337
|
# form parameters
|
329
338
|
form_params = opts[:form_params] || {}
|
@@ -358,6 +367,7 @@ module PulpAnsibleClient
|
|
358
367
|
# @param distro_base_path [String]
|
359
368
|
# @param name [String]
|
360
369
|
# @param [Hash] opts the optional parameters
|
370
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
361
371
|
# @option opts [String] :name2 Required named, only accepts lowercase, numbers and underscores.
|
362
372
|
# @option opts [String] :company Optional namespace company owner.
|
363
373
|
# @option opts [String] :email Optional namespace contact email.
|
@@ -375,6 +385,7 @@ module PulpAnsibleClient
|
|
375
385
|
# @param distro_base_path [String]
|
376
386
|
# @param name [String]
|
377
387
|
# @param [Hash] opts the optional parameters
|
388
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
378
389
|
# @option opts [String] :name2 Required named, only accepts lowercase, numbers and underscores.
|
379
390
|
# @option opts [String] :company Optional namespace company owner.
|
380
391
|
# @option opts [String] :email Optional namespace contact email.
|
@@ -435,6 +446,7 @@ module PulpAnsibleClient
|
|
435
446
|
if !content_type.nil?
|
436
447
|
header_params['Content-Type'] = content_type
|
437
448
|
end
|
449
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
438
450
|
|
439
451
|
# form parameters
|
440
452
|
form_params = opts[:form_params] || {}
|
@@ -476,6 +488,7 @@ module PulpAnsibleClient
|
|
476
488
|
# @param distro_base_path [String]
|
477
489
|
# @param name [String]
|
478
490
|
# @param [Hash] opts the optional parameters
|
491
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
479
492
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
480
493
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
481
494
|
# @return [AnsibleAnsibleNamespaceMetadataResponse]
|
@@ -488,6 +501,7 @@ module PulpAnsibleClient
|
|
488
501
|
# @param distro_base_path [String]
|
489
502
|
# @param name [String]
|
490
503
|
# @param [Hash] opts the optional parameters
|
504
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
491
505
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
492
506
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
493
507
|
# @return [Array<(AnsibleAnsibleNamespaceMetadataResponse, Integer, Hash)>] AnsibleAnsibleNamespaceMetadataResponse data, response status code and response headers
|
@@ -515,6 +529,7 @@ module PulpAnsibleClient
|
|
515
529
|
header_params = opts[:header_params] || {}
|
516
530
|
# HTTP header 'Accept' (if needed)
|
517
531
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
532
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
518
533
|
|
519
534
|
# form parameters
|
520
535
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# List cross repository collection version indexs
|
23
23
|
# A viewset for cross-repo searches.
|
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 [String] :dependency
|
26
27
|
# @option opts [Boolean] :deprecated
|
27
28
|
# @option opts [Array<String>] :distribution Filter collectionversions that are in these distrubtion ids.
|
@@ -56,6 +57,7 @@ module PulpAnsibleClient
|
|
56
57
|
# List cross repository collection version indexs
|
57
58
|
# A viewset for cross-repo searches.
|
58
59
|
# @param [Hash] opts the optional parameters
|
60
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
59
61
|
# @option opts [String] :dependency
|
60
62
|
# @option opts [Boolean] :deprecated
|
61
63
|
# @option opts [Array<String>] :distribution Filter collectionversions that are in these distrubtion ids.
|
@@ -125,6 +127,7 @@ module PulpAnsibleClient
|
|
125
127
|
header_params = opts[:header_params] || {}
|
126
128
|
# HTTP header 'Accept' (if needed)
|
127
129
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
130
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
128
131
|
|
129
132
|
# form parameters
|
130
133
|
form_params = opts[:form_params] || {}
|
@@ -158,6 +161,7 @@ module PulpAnsibleClient
|
|
158
161
|
# A viewset for cross-repo searches.
|
159
162
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
160
163
|
# @param [Hash] opts the optional parameters
|
164
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
161
165
|
# @return [CollectionVersionSearchListResponse]
|
162
166
|
def rebuild(collection_version_search_list, opts = {})
|
163
167
|
data, _status_code, _headers = rebuild_with_http_info(collection_version_search_list, opts)
|
@@ -167,6 +171,7 @@ module PulpAnsibleClient
|
|
167
171
|
# A viewset for cross-repo searches.
|
168
172
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
169
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
170
175
|
# @return [Array<(CollectionVersionSearchListResponse, Integer, Hash)>] CollectionVersionSearchListResponse data, response status code and response headers
|
171
176
|
def rebuild_with_http_info(collection_version_search_list, opts = {})
|
172
177
|
if @api_client.config.debugging
|
@@ -191,6 +196,7 @@ module PulpAnsibleClient
|
|
191
196
|
if !content_type.nil?
|
192
197
|
header_params['Content-Type'] = content_type
|
193
198
|
end
|
199
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
194
200
|
|
195
201
|
# form parameters
|
196
202
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# List tags
|
23
23
|
# ViewSet for Tag models.
|
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>] :fields A list of fields to include in the response.
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# List tags
|
36
37
|
# ViewSet for Tag models.
|
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
|
# @option opts [Integer] :limit Number of results to return per page.
|
39
41
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -58,6 +60,7 @@ module PulpAnsibleClient
|
|
58
60
|
header_params = opts[:header_params] || {}
|
59
61
|
# HTTP header 'Accept' (if needed)
|
60
62
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
63
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
61
64
|
|
62
65
|
# form parameters
|
63
66
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param ansible_collection_remote_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(ansible_collection_remote_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param ansible_collection_remote_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(ansible_collection_remote_href, nested_role, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpAnsibleClient
|
|
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 PulpAnsibleClient
|
|
97
100
|
# ViewSet for Collection Remotes.
|
98
101
|
# @param ansible_collection_remote [AnsibleCollectionRemote]
|
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 [AnsibleCollectionRemoteResponse]
|
101
105
|
def create(ansible_collection_remote, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(ansible_collection_remote, opts)
|
@@ -107,6 +111,7 @@ module PulpAnsibleClient
|
|
107
111
|
# ViewSet for Collection Remotes.
|
108
112
|
# @param ansible_collection_remote [AnsibleCollectionRemote]
|
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<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(ansible_collection_remote, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -131,6 +136,7 @@ module PulpAnsibleClient
|
|
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 PulpAnsibleClient
|
|
165
171
|
# Trigger an asynchronous delete task
|
166
172
|
# @param ansible_collection_remote_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(ansible_collection_remote_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(ansible_collection_remote_href, opts)
|
@@ -175,6 +182,7 @@ module PulpAnsibleClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param ansible_collection_remote_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(ansible_collection_remote_href, opts = {})
|
180
188
|
if @api_client.config.debugging
|
@@ -194,6 +202,7 @@ module PulpAnsibleClient
|
|
194
202
|
header_params = opts[:header_params] || {}
|
195
203
|
# HTTP header 'Accept' (if needed)
|
196
204
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
205
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
197
206
|
|
198
207
|
# form parameters
|
199
208
|
form_params = opts[:form_params] || {}
|
@@ -227,6 +236,7 @@ module PulpAnsibleClient
|
|
227
236
|
# List collection remotes
|
228
237
|
# ViewSet for Collection Remotes.
|
229
238
|
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
240
|
# @option opts [Integer] :limit Number of results to return per page.
|
231
241
|
# @option opts [String] :name Filter results where name matches value
|
232
242
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -266,6 +276,7 @@ module PulpAnsibleClient
|
|
266
276
|
# List collection remotes
|
267
277
|
# ViewSet for Collection Remotes.
|
268
278
|
# @param [Hash] opts the optional parameters
|
279
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
269
280
|
# @option opts [Integer] :limit Number of results to return per page.
|
270
281
|
# @option opts [String] :name Filter results where name matches value
|
271
282
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -345,6 +356,7 @@ module PulpAnsibleClient
|
|
345
356
|
header_params = opts[:header_params] || {}
|
346
357
|
# HTTP header 'Accept' (if needed)
|
347
358
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
359
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
348
360
|
|
349
361
|
# form parameters
|
350
362
|
form_params = opts[:form_params] || {}
|
@@ -379,6 +391,7 @@ module PulpAnsibleClient
|
|
379
391
|
# List roles assigned to this object.
|
380
392
|
# @param ansible_collection_remote_href [String]
|
381
393
|
# @param [Hash] opts the optional parameters
|
394
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
382
395
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
383
396
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
384
397
|
# @return [ObjectRolesResponse]
|
@@ -391,6 +404,7 @@ module PulpAnsibleClient
|
|
391
404
|
# List roles assigned to this object.
|
392
405
|
# @param ansible_collection_remote_href [String]
|
393
406
|
# @param [Hash] opts the optional parameters
|
407
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
394
408
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
395
409
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
396
410
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -414,6 +428,7 @@ module PulpAnsibleClient
|
|
414
428
|
header_params = opts[:header_params] || {}
|
415
429
|
# HTTP header 'Accept' (if needed)
|
416
430
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
431
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
417
432
|
|
418
433
|
# form parameters
|
419
434
|
form_params = opts[:form_params] || {}
|
@@ -448,6 +463,7 @@ module PulpAnsibleClient
|
|
448
463
|
# List permissions available to the current user on this object.
|
449
464
|
# @param ansible_collection_remote_href [String]
|
450
465
|
# @param [Hash] opts the optional parameters
|
466
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
451
467
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
452
468
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
453
469
|
# @return [MyPermissionsResponse]
|
@@ -460,6 +476,7 @@ module PulpAnsibleClient
|
|
460
476
|
# List permissions available to the current user on this object.
|
461
477
|
# @param ansible_collection_remote_href [String]
|
462
478
|
# @param [Hash] opts the optional parameters
|
479
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
463
480
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
464
481
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
465
482
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -483,6 +500,7 @@ module PulpAnsibleClient
|
|
483
500
|
header_params = opts[:header_params] || {}
|
484
501
|
# HTTP header 'Accept' (if needed)
|
485
502
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
503
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
486
504
|
|
487
505
|
# form parameters
|
488
506
|
form_params = opts[:form_params] || {}
|
@@ -518,6 +536,7 @@ module PulpAnsibleClient
|
|
518
536
|
# @param ansible_collection_remote_href [String]
|
519
537
|
# @param patchedansible_collection_remote [PatchedansibleCollectionRemote]
|
520
538
|
# @param [Hash] opts the optional parameters
|
539
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
521
540
|
# @return [AsyncOperationResponse]
|
522
541
|
def partial_update(ansible_collection_remote_href, patchedansible_collection_remote, opts = {})
|
523
542
|
data, _status_code, _headers = partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
@@ -529,6 +548,7 @@ module PulpAnsibleClient
|
|
529
548
|
# @param ansible_collection_remote_href [String]
|
530
549
|
# @param patchedansible_collection_remote [PatchedansibleCollectionRemote]
|
531
550
|
# @param [Hash] opts the optional parameters
|
551
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
532
552
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
533
553
|
def partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts = {})
|
534
554
|
if @api_client.config.debugging
|
@@ -557,6 +577,7 @@ module PulpAnsibleClient
|
|
557
577
|
if !content_type.nil?
|
558
578
|
header_params['Content-Type'] = content_type
|
559
579
|
end
|
580
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
560
581
|
|
561
582
|
# form parameters
|
562
583
|
form_params = opts[:form_params] || {}
|
@@ -591,6 +612,7 @@ module PulpAnsibleClient
|
|
591
612
|
# ViewSet for Collection Remotes.
|
592
613
|
# @param ansible_collection_remote_href [String]
|
593
614
|
# @param [Hash] opts the optional parameters
|
615
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
594
616
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
595
617
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
596
618
|
# @return [AnsibleCollectionRemoteResponse]
|
@@ -603,6 +625,7 @@ module PulpAnsibleClient
|
|
603
625
|
# ViewSet for Collection Remotes.
|
604
626
|
# @param ansible_collection_remote_href [String]
|
605
627
|
# @param [Hash] opts the optional parameters
|
628
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
606
629
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
607
630
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
608
631
|
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
@@ -626,6 +649,7 @@ module PulpAnsibleClient
|
|
626
649
|
header_params = opts[:header_params] || {}
|
627
650
|
# HTTP header 'Accept' (if needed)
|
628
651
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
652
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
629
653
|
|
630
654
|
# form parameters
|
631
655
|
form_params = opts[:form_params] || {}
|
@@ -661,6 +685,7 @@ module PulpAnsibleClient
|
|
661
685
|
# @param ansible_collection_remote_href [String]
|
662
686
|
# @param nested_role [NestedRole]
|
663
687
|
# @param [Hash] opts the optional parameters
|
688
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
664
689
|
# @return [NestedRoleResponse]
|
665
690
|
def remove_role(ansible_collection_remote_href, nested_role, opts = {})
|
666
691
|
data, _status_code, _headers = remove_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
|
@@ -672,6 +697,7 @@ module PulpAnsibleClient
|
|
672
697
|
# @param ansible_collection_remote_href [String]
|
673
698
|
# @param nested_role [NestedRole]
|
674
699
|
# @param [Hash] opts the optional parameters
|
700
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
675
701
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
676
702
|
def remove_role_with_http_info(ansible_collection_remote_href, nested_role, opts = {})
|
677
703
|
if @api_client.config.debugging
|
@@ -700,6 +726,7 @@ module PulpAnsibleClient
|
|
700
726
|
if !content_type.nil?
|
701
727
|
header_params['Content-Type'] = content_type
|
702
728
|
end
|
729
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
703
730
|
|
704
731
|
# form parameters
|
705
732
|
form_params = opts[:form_params] || {}
|
@@ -735,6 +762,7 @@ module PulpAnsibleClient
|
|
735
762
|
# @param ansible_collection_remote_href [String]
|
736
763
|
# @param set_label [SetLabel]
|
737
764
|
# @param [Hash] opts the optional parameters
|
765
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
738
766
|
# @return [SetLabelResponse]
|
739
767
|
def set_label(ansible_collection_remote_href, set_label, opts = {})
|
740
768
|
data, _status_code, _headers = set_label_with_http_info(ansible_collection_remote_href, set_label, opts)
|
@@ -746,6 +774,7 @@ module PulpAnsibleClient
|
|
746
774
|
# @param ansible_collection_remote_href [String]
|
747
775
|
# @param set_label [SetLabel]
|
748
776
|
# @param [Hash] opts the optional parameters
|
777
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
749
778
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
750
779
|
def set_label_with_http_info(ansible_collection_remote_href, set_label, opts = {})
|
751
780
|
if @api_client.config.debugging
|
@@ -774,6 +803,7 @@ module PulpAnsibleClient
|
|
774
803
|
if !content_type.nil?
|
775
804
|
header_params['Content-Type'] = content_type
|
776
805
|
end
|
806
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
777
807
|
|
778
808
|
# form parameters
|
779
809
|
form_params = opts[:form_params] || {}
|
@@ -809,6 +839,7 @@ module PulpAnsibleClient
|
|
809
839
|
# @param ansible_collection_remote_href [String]
|
810
840
|
# @param unset_label [UnsetLabel]
|
811
841
|
# @param [Hash] opts the optional parameters
|
842
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
812
843
|
# @return [UnsetLabelResponse]
|
813
844
|
def unset_label(ansible_collection_remote_href, unset_label, opts = {})
|
814
845
|
data, _status_code, _headers = unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts)
|
@@ -820,6 +851,7 @@ module PulpAnsibleClient
|
|
820
851
|
# @param ansible_collection_remote_href [String]
|
821
852
|
# @param unset_label [UnsetLabel]
|
822
853
|
# @param [Hash] opts the optional parameters
|
854
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
823
855
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
824
856
|
def unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts = {})
|
825
857
|
if @api_client.config.debugging
|
@@ -848,6 +880,7 @@ module PulpAnsibleClient
|
|
848
880
|
if !content_type.nil?
|
849
881
|
header_params['Content-Type'] = content_type
|
850
882
|
end
|
883
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
851
884
|
|
852
885
|
# form parameters
|
853
886
|
form_params = opts[:form_params] || {}
|
@@ -883,6 +916,7 @@ module PulpAnsibleClient
|
|
883
916
|
# @param ansible_collection_remote_href [String]
|
884
917
|
# @param ansible_collection_remote [AnsibleCollectionRemote]
|
885
918
|
# @param [Hash] opts the optional parameters
|
919
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
886
920
|
# @return [AsyncOperationResponse]
|
887
921
|
def update(ansible_collection_remote_href, ansible_collection_remote, opts = {})
|
888
922
|
data, _status_code, _headers = update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
|
@@ -894,6 +928,7 @@ module PulpAnsibleClient
|
|
894
928
|
# @param ansible_collection_remote_href [String]
|
895
929
|
# @param ansible_collection_remote [AnsibleCollectionRemote]
|
896
930
|
# @param [Hash] opts the optional parameters
|
931
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
897
932
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
898
933
|
def update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts = {})
|
899
934
|
if @api_client.config.debugging
|
@@ -922,6 +957,7 @@ module PulpAnsibleClient
|
|
922
957
|
if !content_type.nil?
|
923
958
|
header_params['Content-Type'] = content_type
|
924
959
|
end
|
960
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
925
961
|
|
926
962
|
# form parameters
|
927
963
|
form_params = opts[:form_params] || {}
|