pulp_ansible_client 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/CollectionMetadataResponse.md +1 -1
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/CollectionSummaryResponseTagsInner.md +18 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +32 -18
- 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 +14 -6
- 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 +14 -6
- 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 +14 -6
- 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 +14 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +6 -4
- 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 +28 -12
- 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 +30 -15
- 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 +12 -3
- 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 +12 -3
- 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 +12 -3
- 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 +12 -3
- 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 +5 -2
- 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 +15 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -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 +10 -5
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +2 -1
- 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 +5 -0
- 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 +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
- data/docs/AnsibleTagResponse.md +0 -18
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# ViewSet for Role.
|
24
24
|
# @param ansible_role [AnsibleRole]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [AnsibleRoleResponse]
|
27
28
|
def create(ansible_role, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(ansible_role, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# ViewSet for Role.
|
34
35
|
# @param ansible_role [AnsibleRole]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(AnsibleRoleResponse, Integer, Hash)>] AnsibleRoleResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(ansible_role, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpAnsibleClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -90,6 +93,7 @@ module PulpAnsibleClient
|
|
90
93
|
# List roles
|
91
94
|
# ViewSet for Role.
|
92
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
98
|
# @option opts [String] :name Filter results where name matches value
|
95
99
|
# @option opts [String] :namespace Filter results where namespace matches value
|
@@ -116,6 +120,7 @@ module PulpAnsibleClient
|
|
116
120
|
# List roles
|
117
121
|
# ViewSet for Role.
|
118
122
|
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
124
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
125
|
# @option opts [String] :name Filter results where name matches value
|
121
126
|
# @option opts [String] :namespace Filter results where namespace matches value
|
@@ -169,6 +174,7 @@ module PulpAnsibleClient
|
|
169
174
|
header_params = opts[:header_params] || {}
|
170
175
|
# HTTP header 'Accept' (if needed)
|
171
176
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
177
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
172
178
|
|
173
179
|
# form parameters
|
174
180
|
form_params = opts[:form_params] || {}
|
@@ -203,6 +209,7 @@ module PulpAnsibleClient
|
|
203
209
|
# ViewSet for Role.
|
204
210
|
# @param ansible_role_href [String]
|
205
211
|
# @param [Hash] opts the optional parameters
|
212
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
206
213
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
214
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
215
|
# @return [AnsibleRoleResponse]
|
@@ -215,6 +222,7 @@ module PulpAnsibleClient
|
|
215
222
|
# ViewSet for Role.
|
216
223
|
# @param ansible_role_href [String]
|
217
224
|
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
218
226
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
219
227
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
220
228
|
# @return [Array<(AnsibleRoleResponse, Integer, Hash)>] AnsibleRoleResponse data, response status code and response headers
|
@@ -238,6 +246,7 @@ module PulpAnsibleClient
|
|
238
246
|
header_params = opts[:header_params] || {}
|
239
247
|
# HTTP header 'Accept' (if needed)
|
240
248
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
249
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
241
250
|
|
242
251
|
# form parameters
|
243
252
|
form_params = opts[:form_params] || {}
|
@@ -273,6 +282,7 @@ module PulpAnsibleClient
|
|
273
282
|
# @param ansible_role_href [String]
|
274
283
|
# @param set_label [SetLabel]
|
275
284
|
# @param [Hash] opts the optional parameters
|
285
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
276
286
|
# @return [SetLabelResponse]
|
277
287
|
def set_label(ansible_role_href, set_label, opts = {})
|
278
288
|
data, _status_code, _headers = set_label_with_http_info(ansible_role_href, set_label, opts)
|
@@ -284,6 +294,7 @@ module PulpAnsibleClient
|
|
284
294
|
# @param ansible_role_href [String]
|
285
295
|
# @param set_label [SetLabel]
|
286
296
|
# @param [Hash] opts the optional parameters
|
297
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
287
298
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
288
299
|
def set_label_with_http_info(ansible_role_href, set_label, opts = {})
|
289
300
|
if @api_client.config.debugging
|
@@ -312,6 +323,7 @@ module PulpAnsibleClient
|
|
312
323
|
if !content_type.nil?
|
313
324
|
header_params['Content-Type'] = content_type
|
314
325
|
end
|
326
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
315
327
|
|
316
328
|
# form parameters
|
317
329
|
form_params = opts[:form_params] || {}
|
@@ -347,6 +359,7 @@ module PulpAnsibleClient
|
|
347
359
|
# @param ansible_role_href [String]
|
348
360
|
# @param unset_label [UnsetLabel]
|
349
361
|
# @param [Hash] opts the optional parameters
|
362
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
350
363
|
# @return [UnsetLabelResponse]
|
351
364
|
def unset_label(ansible_role_href, unset_label, opts = {})
|
352
365
|
data, _status_code, _headers = unset_label_with_http_info(ansible_role_href, unset_label, opts)
|
@@ -358,6 +371,7 @@ module PulpAnsibleClient
|
|
358
371
|
# @param ansible_role_href [String]
|
359
372
|
# @param unset_label [UnsetLabel]
|
360
373
|
# @param [Hash] opts the optional parameters
|
374
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
361
375
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
362
376
|
def unset_label_with_http_info(ansible_role_href, unset_label, opts = {})
|
363
377
|
if @api_client.config.debugging
|
@@ -386,6 +400,7 @@ module PulpAnsibleClient
|
|
386
400
|
if !content_type.nil?
|
387
401
|
header_params['Content-Type'] = content_type
|
388
402
|
end
|
403
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
389
404
|
|
390
405
|
# form parameters
|
391
406
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param ansible_ansible_distribution_href [String]
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [NestedRoleResponse]
|
28
29
|
def add_role(ansible_ansible_distribution_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param ansible_ansible_distribution_href [String]
|
36
37
|
# @param nested_role [NestedRole]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
41
|
def add_role_with_http_info(ansible_ansible_distribution_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
|
# Trigger an asynchronous create task
|
98
101
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [AsyncOperationResponse]
|
101
105
|
def create(ansible_ansible_distribution, opts = {})
|
102
106
|
data, _status_code, _headers = create_with_http_info(ansible_ansible_distribution, opts)
|
@@ -107,6 +111,7 @@ module PulpAnsibleClient
|
|
107
111
|
# Trigger an asynchronous create task
|
108
112
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
111
116
|
def create_with_http_info(ansible_ansible_distribution, 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_ansible_distribution_href [String]
|
167
173
|
# @param [Hash] opts the optional parameters
|
174
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
168
175
|
# @return [AsyncOperationResponse]
|
169
176
|
def delete(ansible_ansible_distribution_href, opts = {})
|
170
177
|
data, _status_code, _headers = delete_with_http_info(ansible_ansible_distribution_href, opts)
|
@@ -175,6 +182,7 @@ module PulpAnsibleClient
|
|
175
182
|
# Trigger an asynchronous delete task
|
176
183
|
# @param ansible_ansible_distribution_href [String]
|
177
184
|
# @param [Hash] opts the optional parameters
|
185
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
178
186
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
179
187
|
def delete_with_http_info(ansible_ansible_distribution_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 ansible distributions
|
228
237
|
# ViewSet for Ansible Distributions.
|
229
238
|
# @param [Hash] opts the optional parameters
|
239
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
230
240
|
# @option opts [String] :base_path Filter results where base_path matches value
|
231
241
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
232
242
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -263,6 +273,7 @@ module PulpAnsibleClient
|
|
263
273
|
# List ansible distributions
|
264
274
|
# ViewSet for Ansible Distributions.
|
265
275
|
# @param [Hash] opts the optional parameters
|
276
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
266
277
|
# @option opts [String] :base_path Filter results where base_path matches value
|
267
278
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
268
279
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
@@ -336,6 +347,7 @@ module PulpAnsibleClient
|
|
336
347
|
header_params = opts[:header_params] || {}
|
337
348
|
# HTTP header 'Accept' (if needed)
|
338
349
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
350
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
339
351
|
|
340
352
|
# form parameters
|
341
353
|
form_params = opts[:form_params] || {}
|
@@ -370,6 +382,7 @@ module PulpAnsibleClient
|
|
370
382
|
# List roles assigned to this object.
|
371
383
|
# @param ansible_ansible_distribution_href [String]
|
372
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
386
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
374
387
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
375
388
|
# @return [ObjectRolesResponse]
|
@@ -382,6 +395,7 @@ module PulpAnsibleClient
|
|
382
395
|
# List roles assigned to this object.
|
383
396
|
# @param ansible_ansible_distribution_href [String]
|
384
397
|
# @param [Hash] opts the optional parameters
|
398
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
385
399
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
386
400
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
387
401
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -405,6 +419,7 @@ module PulpAnsibleClient
|
|
405
419
|
header_params = opts[:header_params] || {}
|
406
420
|
# HTTP header 'Accept' (if needed)
|
407
421
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
422
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
408
423
|
|
409
424
|
# form parameters
|
410
425
|
form_params = opts[:form_params] || {}
|
@@ -439,6 +454,7 @@ module PulpAnsibleClient
|
|
439
454
|
# List permissions available to the current user on this object.
|
440
455
|
# @param ansible_ansible_distribution_href [String]
|
441
456
|
# @param [Hash] opts the optional parameters
|
457
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
442
458
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
443
459
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
444
460
|
# @return [MyPermissionsResponse]
|
@@ -451,6 +467,7 @@ module PulpAnsibleClient
|
|
451
467
|
# List permissions available to the current user on this object.
|
452
468
|
# @param ansible_ansible_distribution_href [String]
|
453
469
|
# @param [Hash] opts the optional parameters
|
470
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
454
471
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
455
472
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
456
473
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -474,6 +491,7 @@ module PulpAnsibleClient
|
|
474
491
|
header_params = opts[:header_params] || {}
|
475
492
|
# HTTP header 'Accept' (if needed)
|
476
493
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
494
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
477
495
|
|
478
496
|
# form parameters
|
479
497
|
form_params = opts[:form_params] || {}
|
@@ -509,6 +527,7 @@ module PulpAnsibleClient
|
|
509
527
|
# @param ansible_ansible_distribution_href [String]
|
510
528
|
# @param patchedansible_ansible_distribution [PatchedansibleAnsibleDistribution]
|
511
529
|
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
512
531
|
# @return [AsyncOperationResponse]
|
513
532
|
def partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts = {})
|
514
533
|
data, _status_code, _headers = partial_update_with_http_info(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts)
|
@@ -520,6 +539,7 @@ module PulpAnsibleClient
|
|
520
539
|
# @param ansible_ansible_distribution_href [String]
|
521
540
|
# @param patchedansible_ansible_distribution [PatchedansibleAnsibleDistribution]
|
522
541
|
# @param [Hash] opts the optional parameters
|
542
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
523
543
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
524
544
|
def partial_update_with_http_info(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts = {})
|
525
545
|
if @api_client.config.debugging
|
@@ -548,6 +568,7 @@ module PulpAnsibleClient
|
|
548
568
|
if !content_type.nil?
|
549
569
|
header_params['Content-Type'] = content_type
|
550
570
|
end
|
571
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
551
572
|
|
552
573
|
# form parameters
|
553
574
|
form_params = opts[:form_params] || {}
|
@@ -582,6 +603,7 @@ module PulpAnsibleClient
|
|
582
603
|
# ViewSet for Ansible Distributions.
|
583
604
|
# @param ansible_ansible_distribution_href [String]
|
584
605
|
# @param [Hash] opts the optional parameters
|
606
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
585
607
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
586
608
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
587
609
|
# @return [AnsibleAnsibleDistributionResponse]
|
@@ -594,6 +616,7 @@ module PulpAnsibleClient
|
|
594
616
|
# ViewSet for Ansible Distributions.
|
595
617
|
# @param ansible_ansible_distribution_href [String]
|
596
618
|
# @param [Hash] opts the optional parameters
|
619
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
597
620
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
598
621
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
599
622
|
# @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
|
@@ -617,6 +640,7 @@ module PulpAnsibleClient
|
|
617
640
|
header_params = opts[:header_params] || {}
|
618
641
|
# HTTP header 'Accept' (if needed)
|
619
642
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
643
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
620
644
|
|
621
645
|
# form parameters
|
622
646
|
form_params = opts[:form_params] || {}
|
@@ -652,6 +676,7 @@ module PulpAnsibleClient
|
|
652
676
|
# @param ansible_ansible_distribution_href [String]
|
653
677
|
# @param nested_role [NestedRole]
|
654
678
|
# @param [Hash] opts the optional parameters
|
679
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
655
680
|
# @return [NestedRoleResponse]
|
656
681
|
def remove_role(ansible_ansible_distribution_href, nested_role, opts = {})
|
657
682
|
data, _status_code, _headers = remove_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts)
|
@@ -663,6 +688,7 @@ module PulpAnsibleClient
|
|
663
688
|
# @param ansible_ansible_distribution_href [String]
|
664
689
|
# @param nested_role [NestedRole]
|
665
690
|
# @param [Hash] opts the optional parameters
|
691
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
666
692
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
667
693
|
def remove_role_with_http_info(ansible_ansible_distribution_href, nested_role, opts = {})
|
668
694
|
if @api_client.config.debugging
|
@@ -691,6 +717,7 @@ module PulpAnsibleClient
|
|
691
717
|
if !content_type.nil?
|
692
718
|
header_params['Content-Type'] = content_type
|
693
719
|
end
|
720
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
694
721
|
|
695
722
|
# form parameters
|
696
723
|
form_params = opts[:form_params] || {}
|
@@ -726,6 +753,7 @@ module PulpAnsibleClient
|
|
726
753
|
# @param ansible_ansible_distribution_href [String]
|
727
754
|
# @param set_label [SetLabel]
|
728
755
|
# @param [Hash] opts the optional parameters
|
756
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
729
757
|
# @return [SetLabelResponse]
|
730
758
|
def set_label(ansible_ansible_distribution_href, set_label, opts = {})
|
731
759
|
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_distribution_href, set_label, opts)
|
@@ -737,6 +765,7 @@ module PulpAnsibleClient
|
|
737
765
|
# @param ansible_ansible_distribution_href [String]
|
738
766
|
# @param set_label [SetLabel]
|
739
767
|
# @param [Hash] opts the optional parameters
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
740
769
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
741
770
|
def set_label_with_http_info(ansible_ansible_distribution_href, set_label, opts = {})
|
742
771
|
if @api_client.config.debugging
|
@@ -765,6 +794,7 @@ module PulpAnsibleClient
|
|
765
794
|
if !content_type.nil?
|
766
795
|
header_params['Content-Type'] = content_type
|
767
796
|
end
|
797
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
768
798
|
|
769
799
|
# form parameters
|
770
800
|
form_params = opts[:form_params] || {}
|
@@ -800,6 +830,7 @@ module PulpAnsibleClient
|
|
800
830
|
# @param ansible_ansible_distribution_href [String]
|
801
831
|
# @param unset_label [UnsetLabel]
|
802
832
|
# @param [Hash] opts the optional parameters
|
833
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
803
834
|
# @return [UnsetLabelResponse]
|
804
835
|
def unset_label(ansible_ansible_distribution_href, unset_label, opts = {})
|
805
836
|
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_distribution_href, unset_label, opts)
|
@@ -811,6 +842,7 @@ module PulpAnsibleClient
|
|
811
842
|
# @param ansible_ansible_distribution_href [String]
|
812
843
|
# @param unset_label [UnsetLabel]
|
813
844
|
# @param [Hash] opts the optional parameters
|
845
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
814
846
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
815
847
|
def unset_label_with_http_info(ansible_ansible_distribution_href, unset_label, opts = {})
|
816
848
|
if @api_client.config.debugging
|
@@ -839,6 +871,7 @@ module PulpAnsibleClient
|
|
839
871
|
if !content_type.nil?
|
840
872
|
header_params['Content-Type'] = content_type
|
841
873
|
end
|
874
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
842
875
|
|
843
876
|
# form parameters
|
844
877
|
form_params = opts[:form_params] || {}
|
@@ -874,6 +907,7 @@ module PulpAnsibleClient
|
|
874
907
|
# @param ansible_ansible_distribution_href [String]
|
875
908
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
876
909
|
# @param [Hash] opts the optional parameters
|
910
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
877
911
|
# @return [AsyncOperationResponse]
|
878
912
|
def update(ansible_ansible_distribution_href, ansible_ansible_distribution, opts = {})
|
879
913
|
data, _status_code, _headers = update_with_http_info(ansible_ansible_distribution_href, ansible_ansible_distribution, opts)
|
@@ -885,6 +919,7 @@ module PulpAnsibleClient
|
|
885
919
|
# @param ansible_ansible_distribution_href [String]
|
886
920
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
887
921
|
# @param [Hash] opts the optional parameters
|
922
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
888
923
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
889
924
|
def update_with_http_info(ansible_ansible_distribution_href, ansible_ansible_distribution, opts = {})
|
890
925
|
if @api_client.config.debugging
|
@@ -913,6 +948,7 @@ module PulpAnsibleClient
|
|
913
948
|
if !content_type.nil?
|
914
949
|
header_params['Content-Type'] = content_type
|
915
950
|
end
|
951
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
916
952
|
|
917
953
|
# form parameters
|
918
954
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# Return a response to the \"GET\" action.
|
23
23
|
# @param path [String]
|
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 [Array<String>] :fields A list of fields to include in the response.
|
26
27
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
28
|
# @return [nil]
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Return a response to the \"GET\" action.
|
34
35
|
# @param path [String]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
40
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -54,6 +56,7 @@ module PulpAnsibleClient
|
|
54
56
|
|
55
57
|
# header parameters
|
56
58
|
header_params = opts[:header_params] || {}
|
59
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
57
60
|
|
58
61
|
# form parameters
|
59
62
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
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 [Array<String>] :fields A list of fields to include in the response.
|
26
27
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
28
|
# @return [RepoMetadataResponse]
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Legacy v3 endpoint.
|
34
35
|
# @param path [String]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
40
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
@@ -56,6 +58,7 @@ module PulpAnsibleClient
|
|
56
58
|
header_params = opts[:header_params] || {}
|
57
59
|
# HTTP header 'Accept' (if needed)
|
58
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
61
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
59
62
|
|
60
63
|
# form parameters
|
61
64
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# @param filename [String]
|
24
24
|
# @param path [String]
|
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 [Array<String>] :fields A list of fields to include in the response.
|
27
28
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
28
29
|
# @return [nil]
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param filename [String]
|
36
37
|
# @param path [String]
|
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 [Array<String>] :fields A list of fields to include in the response.
|
39
41
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
42
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -60,6 +62,7 @@ module PulpAnsibleClient
|
|
60
62
|
|
61
63
|
# header parameters
|
62
64
|
header_params = opts[:header_params] || {}
|
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] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
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 [Array<String>] :fields A list of fields to include in the response.
|
26
27
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
28
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Legacy v3 endpoint.
|
34
35
|
# @param path [String]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
40
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
@@ -56,6 +58,7 @@ module PulpAnsibleClient
|
|
56
58
|
header_params = opts[:header_params] || {}
|
57
59
|
# HTTP header 'Accept' (if needed)
|
58
60
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
61
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
59
62
|
|
60
63
|
# form parameters
|
61
64
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
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] :deprecated
|
26
27
|
# @option opts [String] :name
|
27
28
|
# @option opts [String] :namespace
|
@@ -41,6 +42,7 @@ module PulpAnsibleClient
|
|
41
42
|
# Legacy v3 endpoint.
|
42
43
|
# @param path [String]
|
43
44
|
# @param [Hash] opts the optional parameters
|
45
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
44
46
|
# @option opts [Boolean] :deprecated
|
45
47
|
# @option opts [String] :name
|
46
48
|
# @option opts [String] :namespace
|
@@ -84,6 +86,7 @@ module PulpAnsibleClient
|
|
84
86
|
header_params = opts[:header_params] || {}
|
85
87
|
# HTTP header 'Accept' (if needed)
|
86
88
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
89
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
87
90
|
|
88
91
|
# form parameters
|
89
92
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param namespace [String]
|
25
25
|
# @param path [String]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [AsyncOperationResponse]
|
28
29
|
def delete(name, namespace, path, opts = {})
|
29
30
|
data, _status_code, _headers = delete_with_http_info(name, namespace, path, opts)
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param namespace [String]
|
36
37
|
# @param path [String]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
41
|
def delete_with_http_info(name, namespace, path, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -62,6 +64,7 @@ module PulpAnsibleClient
|
|
62
64
|
header_params = opts[:header_params] || {}
|
63
65
|
# HTTP header 'Accept' (if needed)
|
64
66
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
67
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
65
68
|
|
66
69
|
# form parameters
|
67
70
|
form_params = opts[:form_params] || {}
|
@@ -95,6 +98,7 @@ module PulpAnsibleClient
|
|
95
98
|
# Legacy v3 endpoint.
|
96
99
|
# @param path [String]
|
97
100
|
# @param [Hash] opts the optional parameters
|
101
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
98
102
|
# @option opts [Boolean] :deprecated
|
99
103
|
# @option opts [Integer] :limit Number of results to return per page.
|
100
104
|
# @option opts [String] :name
|
@@ -116,6 +120,7 @@ module PulpAnsibleClient
|
|
116
120
|
# Legacy v3 endpoint.
|
117
121
|
# @param path [String]
|
118
122
|
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
124
|
# @option opts [Boolean] :deprecated
|
120
125
|
# @option opts [Integer] :limit Number of results to return per page.
|
121
126
|
# @option opts [String] :name
|
@@ -163,6 +168,7 @@ module PulpAnsibleClient
|
|
163
168
|
header_params = opts[:header_params] || {}
|
164
169
|
# HTTP header 'Accept' (if needed)
|
165
170
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
171
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
166
172
|
|
167
173
|
# form parameters
|
168
174
|
form_params = opts[:form_params] || {}
|
@@ -198,6 +204,7 @@ module PulpAnsibleClient
|
|
198
204
|
# @param namespace [String]
|
199
205
|
# @param path [String]
|
200
206
|
# @param [Hash] opts the optional parameters
|
207
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
201
208
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
202
209
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
203
210
|
# @return [CollectionResponse]
|
@@ -211,6 +218,7 @@ module PulpAnsibleClient
|
|
211
218
|
# @param namespace [String]
|
212
219
|
# @param path [String]
|
213
220
|
# @param [Hash] opts the optional parameters
|
221
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
214
222
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
215
223
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
216
224
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
@@ -242,6 +250,7 @@ module PulpAnsibleClient
|
|
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']) unless header_params['Accept']
|
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] || {}
|
@@ -278,6 +287,7 @@ module PulpAnsibleClient
|
|
278
287
|
# @param path [String]
|
279
288
|
# @param patched_collection [PatchedCollection]
|
280
289
|
# @param [Hash] opts the optional parameters
|
290
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
281
291
|
# @return [AsyncOperationResponse]
|
282
292
|
def update(name, namespace, path, patched_collection, opts = {})
|
283
293
|
data, _status_code, _headers = update_with_http_info(name, namespace, path, patched_collection, opts)
|
@@ -290,6 +300,7 @@ module PulpAnsibleClient
|
|
290
300
|
# @param path [String]
|
291
301
|
# @param patched_collection [PatchedCollection]
|
292
302
|
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
293
304
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
294
305
|
def update_with_http_info(name, namespace, path, patched_collection, opts = {})
|
295
306
|
if @api_client.config.debugging
|
@@ -326,6 +337,7 @@ module PulpAnsibleClient
|
|
326
337
|
if !content_type.nil?
|
327
338
|
header_params['Content-Type'] = content_type
|
328
339
|
end
|
340
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
329
341
|
|
330
342
|
# form parameters
|
331
343
|
form_params = opts[:form_params] || {}
|