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
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param ansible_ansible_repository_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_repository_href, nested_role, opts = {})
|
29
30
|
data, _status_code, _headers = add_role_with_http_info(ansible_ansible_repository_href, nested_role, opts)
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param ansible_ansible_repository_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_repository_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
|
# @param ansible_ansible_repository_href [String]
|
98
101
|
# @param collection_version_copy_move [CollectionVersionCopyMove]
|
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 copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move, opts = {})
|
102
106
|
data, _status_code, _headers = copy_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move, opts)
|
@@ -107,6 +111,7 @@ module PulpAnsibleClient
|
|
107
111
|
# @param ansible_ansible_repository_href [String]
|
108
112
|
# @param collection_version_copy_move [CollectionVersionCopyMove]
|
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 copy_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -135,6 +140,7 @@ module PulpAnsibleClient
|
|
135
140
|
if !content_type.nil?
|
136
141
|
header_params['Content-Type'] = content_type
|
137
142
|
end
|
143
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
138
144
|
|
139
145
|
# form parameters
|
140
146
|
form_params = opts[:form_params] || {}
|
@@ -169,6 +175,7 @@ module PulpAnsibleClient
|
|
169
175
|
# ViewSet for Ansible Repositories.
|
170
176
|
# @param ansible_ansible_repository [AnsibleAnsibleRepository]
|
171
177
|
# @param [Hash] opts the optional parameters
|
178
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
172
179
|
# @return [AnsibleAnsibleRepositoryResponse]
|
173
180
|
def create(ansible_ansible_repository, opts = {})
|
174
181
|
data, _status_code, _headers = create_with_http_info(ansible_ansible_repository, opts)
|
@@ -179,6 +186,7 @@ module PulpAnsibleClient
|
|
179
186
|
# ViewSet for Ansible Repositories.
|
180
187
|
# @param ansible_ansible_repository [AnsibleAnsibleRepository]
|
181
188
|
# @param [Hash] opts the optional parameters
|
189
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
182
190
|
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
183
191
|
def create_with_http_info(ansible_ansible_repository, opts = {})
|
184
192
|
if @api_client.config.debugging
|
@@ -203,6 +211,7 @@ module PulpAnsibleClient
|
|
203
211
|
if !content_type.nil?
|
204
212
|
header_params['Content-Type'] = content_type
|
205
213
|
end
|
214
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
206
215
|
|
207
216
|
# form parameters
|
208
217
|
form_params = opts[:form_params] || {}
|
@@ -237,6 +246,7 @@ module PulpAnsibleClient
|
|
237
246
|
# Trigger an asynchronous delete task
|
238
247
|
# @param ansible_ansible_repository_href [String]
|
239
248
|
# @param [Hash] opts the optional parameters
|
249
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
240
250
|
# @return [AsyncOperationResponse]
|
241
251
|
def delete(ansible_ansible_repository_href, opts = {})
|
242
252
|
data, _status_code, _headers = delete_with_http_info(ansible_ansible_repository_href, opts)
|
@@ -247,6 +257,7 @@ module PulpAnsibleClient
|
|
247
257
|
# Trigger an asynchronous delete task
|
248
258
|
# @param ansible_ansible_repository_href [String]
|
249
259
|
# @param [Hash] opts the optional parameters
|
260
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
250
261
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
251
262
|
def delete_with_http_info(ansible_ansible_repository_href, opts = {})
|
252
263
|
if @api_client.config.debugging
|
@@ -266,6 +277,7 @@ module PulpAnsibleClient
|
|
266
277
|
header_params = opts[:header_params] || {}
|
267
278
|
# HTTP header 'Accept' (if needed)
|
268
279
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
280
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
269
281
|
|
270
282
|
# form parameters
|
271
283
|
form_params = opts[:form_params] || {}
|
@@ -299,6 +311,7 @@ module PulpAnsibleClient
|
|
299
311
|
# List ansible repositorys
|
300
312
|
# ViewSet for Ansible Repositories.
|
301
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
302
315
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
303
316
|
# @option opts [Integer] :limit Number of results to return per page.
|
304
317
|
# @option opts [String] :name Filter results where name matches value
|
@@ -338,6 +351,7 @@ module PulpAnsibleClient
|
|
338
351
|
# List ansible repositorys
|
339
352
|
# ViewSet for Ansible Repositories.
|
340
353
|
# @param [Hash] opts the optional parameters
|
354
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
341
355
|
# @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
|
342
356
|
# @option opts [Integer] :limit Number of results to return per page.
|
343
357
|
# @option opts [String] :name Filter results where name matches value
|
@@ -417,6 +431,7 @@ module PulpAnsibleClient
|
|
417
431
|
header_params = opts[:header_params] || {}
|
418
432
|
# HTTP header 'Accept' (if needed)
|
419
433
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
434
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
420
435
|
|
421
436
|
# form parameters
|
422
437
|
form_params = opts[:form_params] || {}
|
@@ -451,6 +466,7 @@ module PulpAnsibleClient
|
|
451
466
|
# List roles assigned to this object.
|
452
467
|
# @param ansible_ansible_repository_href [String]
|
453
468
|
# @param [Hash] opts the optional parameters
|
469
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
454
470
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
455
471
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
456
472
|
# @return [ObjectRolesResponse]
|
@@ -463,6 +479,7 @@ module PulpAnsibleClient
|
|
463
479
|
# List roles assigned to this object.
|
464
480
|
# @param ansible_ansible_repository_href [String]
|
465
481
|
# @param [Hash] opts the optional parameters
|
482
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
466
483
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
467
484
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
468
485
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
@@ -486,6 +503,7 @@ module PulpAnsibleClient
|
|
486
503
|
header_params = opts[:header_params] || {}
|
487
504
|
# HTTP header 'Accept' (if needed)
|
488
505
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
506
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
489
507
|
|
490
508
|
# form parameters
|
491
509
|
form_params = opts[:form_params] || {}
|
@@ -520,6 +538,7 @@ module PulpAnsibleClient
|
|
520
538
|
# @param ansible_ansible_repository_href [String]
|
521
539
|
# @param ansible_repository_mark [AnsibleRepositoryMark]
|
522
540
|
# @param [Hash] opts the optional parameters
|
541
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
523
542
|
# @return [AsyncOperationResponse]
|
524
543
|
def mark(ansible_ansible_repository_href, ansible_repository_mark, opts = {})
|
525
544
|
data, _status_code, _headers = mark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark, opts)
|
@@ -530,6 +549,7 @@ module PulpAnsibleClient
|
|
530
549
|
# @param ansible_ansible_repository_href [String]
|
531
550
|
# @param ansible_repository_mark [AnsibleRepositoryMark]
|
532
551
|
# @param [Hash] opts the optional parameters
|
552
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
533
553
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
534
554
|
def mark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark, opts = {})
|
535
555
|
if @api_client.config.debugging
|
@@ -558,6 +578,7 @@ module PulpAnsibleClient
|
|
558
578
|
if !content_type.nil?
|
559
579
|
header_params['Content-Type'] = content_type
|
560
580
|
end
|
581
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
561
582
|
|
562
583
|
# form parameters
|
563
584
|
form_params = opts[:form_params] || {}
|
@@ -593,6 +614,7 @@ module PulpAnsibleClient
|
|
593
614
|
# @param ansible_ansible_repository_href [String]
|
594
615
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
595
616
|
# @param [Hash] opts the optional parameters
|
617
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
596
618
|
# @return [AsyncOperationResponse]
|
597
619
|
def modify(ansible_ansible_repository_href, repository_add_remove_content, opts = {})
|
598
620
|
data, _status_code, _headers = modify_with_http_info(ansible_ansible_repository_href, repository_add_remove_content, opts)
|
@@ -604,6 +626,7 @@ module PulpAnsibleClient
|
|
604
626
|
# @param ansible_ansible_repository_href [String]
|
605
627
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
606
628
|
# @param [Hash] opts the optional parameters
|
629
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
607
630
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
608
631
|
def modify_with_http_info(ansible_ansible_repository_href, repository_add_remove_content, opts = {})
|
609
632
|
if @api_client.config.debugging
|
@@ -632,6 +655,7 @@ module PulpAnsibleClient
|
|
632
655
|
if !content_type.nil?
|
633
656
|
header_params['Content-Type'] = content_type
|
634
657
|
end
|
658
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
635
659
|
|
636
660
|
# form parameters
|
637
661
|
form_params = opts[:form_params] || {}
|
@@ -666,6 +690,7 @@ module PulpAnsibleClient
|
|
666
690
|
# @param ansible_ansible_repository_href [String]
|
667
691
|
# @param collection_version_copy_move [CollectionVersionCopyMove]
|
668
692
|
# @param [Hash] opts the optional parameters
|
693
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
669
694
|
# @return [AsyncOperationResponse]
|
670
695
|
def move_collection_version(ansible_ansible_repository_href, collection_version_copy_move, opts = {})
|
671
696
|
data, _status_code, _headers = move_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move, opts)
|
@@ -676,6 +701,7 @@ module PulpAnsibleClient
|
|
676
701
|
# @param ansible_ansible_repository_href [String]
|
677
702
|
# @param collection_version_copy_move [CollectionVersionCopyMove]
|
678
703
|
# @param [Hash] opts the optional parameters
|
704
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
679
705
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
680
706
|
def move_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move, opts = {})
|
681
707
|
if @api_client.config.debugging
|
@@ -704,6 +730,7 @@ module PulpAnsibleClient
|
|
704
730
|
if !content_type.nil?
|
705
731
|
header_params['Content-Type'] = content_type
|
706
732
|
end
|
733
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
707
734
|
|
708
735
|
# form parameters
|
709
736
|
form_params = opts[:form_params] || {}
|
@@ -738,6 +765,7 @@ module PulpAnsibleClient
|
|
738
765
|
# List permissions available to the current user on this object.
|
739
766
|
# @param ansible_ansible_repository_href [String]
|
740
767
|
# @param [Hash] opts the optional parameters
|
768
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
741
769
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
742
770
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
743
771
|
# @return [MyPermissionsResponse]
|
@@ -750,6 +778,7 @@ module PulpAnsibleClient
|
|
750
778
|
# List permissions available to the current user on this object.
|
751
779
|
# @param ansible_ansible_repository_href [String]
|
752
780
|
# @param [Hash] opts the optional parameters
|
781
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
753
782
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
754
783
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
755
784
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
@@ -773,6 +802,7 @@ module PulpAnsibleClient
|
|
773
802
|
header_params = opts[:header_params] || {}
|
774
803
|
# HTTP header 'Accept' (if needed)
|
775
804
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
805
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
776
806
|
|
777
807
|
# form parameters
|
778
808
|
form_params = opts[:form_params] || {}
|
@@ -808,6 +838,7 @@ module PulpAnsibleClient
|
|
808
838
|
# @param ansible_ansible_repository_href [String]
|
809
839
|
# @param patchedansible_ansible_repository [PatchedansibleAnsibleRepository]
|
810
840
|
# @param [Hash] opts the optional parameters
|
841
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
811
842
|
# @return [AsyncOperationResponse]
|
812
843
|
def partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository, opts = {})
|
813
844
|
data, _status_code, _headers = partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository, opts)
|
@@ -819,6 +850,7 @@ module PulpAnsibleClient
|
|
819
850
|
# @param ansible_ansible_repository_href [String]
|
820
851
|
# @param patchedansible_ansible_repository [PatchedansibleAnsibleRepository]
|
821
852
|
# @param [Hash] opts the optional parameters
|
853
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
822
854
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
823
855
|
def partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository, opts = {})
|
824
856
|
if @api_client.config.debugging
|
@@ -847,6 +879,7 @@ module PulpAnsibleClient
|
|
847
879
|
if !content_type.nil?
|
848
880
|
header_params['Content-Type'] = content_type
|
849
881
|
end
|
882
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
850
883
|
|
851
884
|
# form parameters
|
852
885
|
form_params = opts[:form_params] || {}
|
@@ -881,6 +914,7 @@ module PulpAnsibleClient
|
|
881
914
|
# ViewSet for Ansible Repositories.
|
882
915
|
# @param ansible_ansible_repository_href [String]
|
883
916
|
# @param [Hash] opts the optional parameters
|
917
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
884
918
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
885
919
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
886
920
|
# @return [AnsibleAnsibleRepositoryResponse]
|
@@ -893,6 +927,7 @@ module PulpAnsibleClient
|
|
893
927
|
# ViewSet for Ansible Repositories.
|
894
928
|
# @param ansible_ansible_repository_href [String]
|
895
929
|
# @param [Hash] opts the optional parameters
|
930
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
896
931
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
897
932
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
898
933
|
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
@@ -916,6 +951,7 @@ module PulpAnsibleClient
|
|
916
951
|
header_params = opts[:header_params] || {}
|
917
952
|
# HTTP header 'Accept' (if needed)
|
918
953
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
954
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
919
955
|
|
920
956
|
# form parameters
|
921
957
|
form_params = opts[:form_params] || {}
|
@@ -950,6 +986,7 @@ module PulpAnsibleClient
|
|
950
986
|
# @param ansible_ansible_repository_href [String]
|
951
987
|
# @param ansible_repository_rebuild [AnsibleRepositoryRebuild]
|
952
988
|
# @param [Hash] opts the optional parameters
|
989
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
953
990
|
# @return [AsyncOperationResponse]
|
954
991
|
def rebuild_metadata(ansible_ansible_repository_href, ansible_repository_rebuild, opts = {})
|
955
992
|
data, _status_code, _headers = rebuild_metadata_with_http_info(ansible_ansible_repository_href, ansible_repository_rebuild, opts)
|
@@ -960,6 +997,7 @@ module PulpAnsibleClient
|
|
960
997
|
# @param ansible_ansible_repository_href [String]
|
961
998
|
# @param ansible_repository_rebuild [AnsibleRepositoryRebuild]
|
962
999
|
# @param [Hash] opts the optional parameters
|
1000
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
963
1001
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
964
1002
|
def rebuild_metadata_with_http_info(ansible_ansible_repository_href, ansible_repository_rebuild, opts = {})
|
965
1003
|
if @api_client.config.debugging
|
@@ -988,6 +1026,7 @@ module PulpAnsibleClient
|
|
988
1026
|
if !content_type.nil?
|
989
1027
|
header_params['Content-Type'] = content_type
|
990
1028
|
end
|
1029
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
991
1030
|
|
992
1031
|
# form parameters
|
993
1032
|
form_params = opts[:form_params] || {}
|
@@ -1023,6 +1062,7 @@ module PulpAnsibleClient
|
|
1023
1062
|
# @param ansible_ansible_repository_href [String]
|
1024
1063
|
# @param nested_role [NestedRole]
|
1025
1064
|
# @param [Hash] opts the optional parameters
|
1065
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1026
1066
|
# @return [NestedRoleResponse]
|
1027
1067
|
def remove_role(ansible_ansible_repository_href, nested_role, opts = {})
|
1028
1068
|
data, _status_code, _headers = remove_role_with_http_info(ansible_ansible_repository_href, nested_role, opts)
|
@@ -1034,6 +1074,7 @@ module PulpAnsibleClient
|
|
1034
1074
|
# @param ansible_ansible_repository_href [String]
|
1035
1075
|
# @param nested_role [NestedRole]
|
1036
1076
|
# @param [Hash] opts the optional parameters
|
1077
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1037
1078
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
1038
1079
|
def remove_role_with_http_info(ansible_ansible_repository_href, nested_role, opts = {})
|
1039
1080
|
if @api_client.config.debugging
|
@@ -1062,6 +1103,7 @@ module PulpAnsibleClient
|
|
1062
1103
|
if !content_type.nil?
|
1063
1104
|
header_params['Content-Type'] = content_type
|
1064
1105
|
end
|
1106
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1065
1107
|
|
1066
1108
|
# form parameters
|
1067
1109
|
form_params = opts[:form_params] || {}
|
@@ -1097,6 +1139,7 @@ module PulpAnsibleClient
|
|
1097
1139
|
# @param ansible_ansible_repository_href [String]
|
1098
1140
|
# @param set_label [SetLabel]
|
1099
1141
|
# @param [Hash] opts the optional parameters
|
1142
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1100
1143
|
# @return [SetLabelResponse]
|
1101
1144
|
def set_label(ansible_ansible_repository_href, set_label, opts = {})
|
1102
1145
|
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_repository_href, set_label, opts)
|
@@ -1108,6 +1151,7 @@ module PulpAnsibleClient
|
|
1108
1151
|
# @param ansible_ansible_repository_href [String]
|
1109
1152
|
# @param set_label [SetLabel]
|
1110
1153
|
# @param [Hash] opts the optional parameters
|
1154
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1111
1155
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
1112
1156
|
def set_label_with_http_info(ansible_ansible_repository_href, set_label, opts = {})
|
1113
1157
|
if @api_client.config.debugging
|
@@ -1136,6 +1180,7 @@ module PulpAnsibleClient
|
|
1136
1180
|
if !content_type.nil?
|
1137
1181
|
header_params['Content-Type'] = content_type
|
1138
1182
|
end
|
1183
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1139
1184
|
|
1140
1185
|
# form parameters
|
1141
1186
|
form_params = opts[:form_params] || {}
|
@@ -1170,6 +1215,7 @@ module PulpAnsibleClient
|
|
1170
1215
|
# @param ansible_ansible_repository_href [String]
|
1171
1216
|
# @param ansible_repository_signature [AnsibleRepositorySignature]
|
1172
1217
|
# @param [Hash] opts the optional parameters
|
1218
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1173
1219
|
# @return [AsyncOperationResponse]
|
1174
1220
|
def sign(ansible_ansible_repository_href, ansible_repository_signature, opts = {})
|
1175
1221
|
data, _status_code, _headers = sign_with_http_info(ansible_ansible_repository_href, ansible_repository_signature, opts)
|
@@ -1180,6 +1226,7 @@ module PulpAnsibleClient
|
|
1180
1226
|
# @param ansible_ansible_repository_href [String]
|
1181
1227
|
# @param ansible_repository_signature [AnsibleRepositorySignature]
|
1182
1228
|
# @param [Hash] opts the optional parameters
|
1229
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1183
1230
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1184
1231
|
def sign_with_http_info(ansible_ansible_repository_href, ansible_repository_signature, opts = {})
|
1185
1232
|
if @api_client.config.debugging
|
@@ -1208,6 +1255,7 @@ module PulpAnsibleClient
|
|
1208
1255
|
if !content_type.nil?
|
1209
1256
|
header_params['Content-Type'] = content_type
|
1210
1257
|
end
|
1258
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1211
1259
|
|
1212
1260
|
# form parameters
|
1213
1261
|
form_params = opts[:form_params] || {}
|
@@ -1242,6 +1290,7 @@ module PulpAnsibleClient
|
|
1242
1290
|
# @param ansible_ansible_repository_href [String]
|
1243
1291
|
# @param ansible_repository_sync_url [AnsibleRepositorySyncURL]
|
1244
1292
|
# @param [Hash] opts the optional parameters
|
1293
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1245
1294
|
# @return [AsyncOperationResponse]
|
1246
1295
|
def sync(ansible_ansible_repository_href, ansible_repository_sync_url, opts = {})
|
1247
1296
|
data, _status_code, _headers = sync_with_http_info(ansible_ansible_repository_href, ansible_repository_sync_url, opts)
|
@@ -1252,6 +1301,7 @@ module PulpAnsibleClient
|
|
1252
1301
|
# @param ansible_ansible_repository_href [String]
|
1253
1302
|
# @param ansible_repository_sync_url [AnsibleRepositorySyncURL]
|
1254
1303
|
# @param [Hash] opts the optional parameters
|
1304
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1255
1305
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1256
1306
|
def sync_with_http_info(ansible_ansible_repository_href, ansible_repository_sync_url, opts = {})
|
1257
1307
|
if @api_client.config.debugging
|
@@ -1280,6 +1330,7 @@ module PulpAnsibleClient
|
|
1280
1330
|
if !content_type.nil?
|
1281
1331
|
header_params['Content-Type'] = content_type
|
1282
1332
|
end
|
1333
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1283
1334
|
|
1284
1335
|
# form parameters
|
1285
1336
|
form_params = opts[:form_params] || {}
|
@@ -1314,6 +1365,7 @@ module PulpAnsibleClient
|
|
1314
1365
|
# @param ansible_ansible_repository_href [String]
|
1315
1366
|
# @param ansible_repository_mark [AnsibleRepositoryMark]
|
1316
1367
|
# @param [Hash] opts the optional parameters
|
1368
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1317
1369
|
# @return [AsyncOperationResponse]
|
1318
1370
|
def unmark(ansible_ansible_repository_href, ansible_repository_mark, opts = {})
|
1319
1371
|
data, _status_code, _headers = unmark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark, opts)
|
@@ -1324,6 +1376,7 @@ module PulpAnsibleClient
|
|
1324
1376
|
# @param ansible_ansible_repository_href [String]
|
1325
1377
|
# @param ansible_repository_mark [AnsibleRepositoryMark]
|
1326
1378
|
# @param [Hash] opts the optional parameters
|
1379
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1327
1380
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1328
1381
|
def unmark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark, opts = {})
|
1329
1382
|
if @api_client.config.debugging
|
@@ -1352,6 +1405,7 @@ module PulpAnsibleClient
|
|
1352
1405
|
if !content_type.nil?
|
1353
1406
|
header_params['Content-Type'] = content_type
|
1354
1407
|
end
|
1408
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1355
1409
|
|
1356
1410
|
# form parameters
|
1357
1411
|
form_params = opts[:form_params] || {}
|
@@ -1387,6 +1441,7 @@ module PulpAnsibleClient
|
|
1387
1441
|
# @param ansible_ansible_repository_href [String]
|
1388
1442
|
# @param unset_label [UnsetLabel]
|
1389
1443
|
# @param [Hash] opts the optional parameters
|
1444
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1390
1445
|
# @return [UnsetLabelResponse]
|
1391
1446
|
def unset_label(ansible_ansible_repository_href, unset_label, opts = {})
|
1392
1447
|
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_repository_href, unset_label, opts)
|
@@ -1398,6 +1453,7 @@ module PulpAnsibleClient
|
|
1398
1453
|
# @param ansible_ansible_repository_href [String]
|
1399
1454
|
# @param unset_label [UnsetLabel]
|
1400
1455
|
# @param [Hash] opts the optional parameters
|
1456
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1401
1457
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
1402
1458
|
def unset_label_with_http_info(ansible_ansible_repository_href, unset_label, opts = {})
|
1403
1459
|
if @api_client.config.debugging
|
@@ -1426,6 +1482,7 @@ module PulpAnsibleClient
|
|
1426
1482
|
if !content_type.nil?
|
1427
1483
|
header_params['Content-Type'] = content_type
|
1428
1484
|
end
|
1485
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1429
1486
|
|
1430
1487
|
# form parameters
|
1431
1488
|
form_params = opts[:form_params] || {}
|
@@ -1461,6 +1518,7 @@ module PulpAnsibleClient
|
|
1461
1518
|
# @param ansible_ansible_repository_href [String]
|
1462
1519
|
# @param ansible_ansible_repository [AnsibleAnsibleRepository]
|
1463
1520
|
# @param [Hash] opts the optional parameters
|
1521
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1464
1522
|
# @return [AsyncOperationResponse]
|
1465
1523
|
def update(ansible_ansible_repository_href, ansible_ansible_repository, opts = {})
|
1466
1524
|
data, _status_code, _headers = update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository, opts)
|
@@ -1472,6 +1530,7 @@ module PulpAnsibleClient
|
|
1472
1530
|
# @param ansible_ansible_repository_href [String]
|
1473
1531
|
# @param ansible_ansible_repository [AnsibleAnsibleRepository]
|
1474
1532
|
# @param [Hash] opts the optional parameters
|
1533
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
1475
1534
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1476
1535
|
def update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository, opts = {})
|
1477
1536
|
if @api_client.config.debugging
|
@@ -1500,6 +1559,7 @@ module PulpAnsibleClient
|
|
1500
1559
|
if !content_type.nil?
|
1501
1560
|
header_params['Content-Type'] = content_type
|
1502
1561
|
end
|
1562
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
1503
1563
|
|
1504
1564
|
# form parameters
|
1505
1565
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# Trigger an asynchronous task to delete a repository version.
|
24
24
|
# @param ansible_ansible_repository_version_href [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
|
# @return [AsyncOperationResponse]
|
27
28
|
def delete(ansible_ansible_repository_version_href, opts = {})
|
28
29
|
data, _status_code, _headers = delete_with_http_info(ansible_ansible_repository_version_href, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Trigger an asynchronous task to delete a repository version.
|
34
35
|
# @param ansible_ansible_repository_version_href [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
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
37
39
|
def delete_with_http_info(ansible_ansible_repository_version_href, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -52,6 +54,7 @@ module PulpAnsibleClient
|
|
52
54
|
header_params = opts[:header_params] || {}
|
53
55
|
# HTTP header 'Accept' (if needed)
|
54
56
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
57
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
55
58
|
|
56
59
|
# form parameters
|
57
60
|
form_params = opts[:form_params] || {}
|
@@ -86,6 +89,7 @@ module PulpAnsibleClient
|
|
86
89
|
# AnsibleRepositoryVersion represents a single file repository version.
|
87
90
|
# @param ansible_ansible_repository_href [String]
|
88
91
|
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
89
93
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
90
94
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
91
95
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -119,6 +123,7 @@ module PulpAnsibleClient
|
|
119
123
|
# AnsibleRepositoryVersion represents a single file repository version.
|
120
124
|
# @param ansible_ansible_repository_href [String]
|
121
125
|
# @param [Hash] opts the optional parameters
|
126
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
122
127
|
# @option opts [String] :content Content Unit referenced by HREF/PRN
|
123
128
|
# @option opts [Array<String>] :content__in Multiple values may be separated by commas.
|
124
129
|
# @option opts [Integer] :limit Number of results to return per page.
|
@@ -188,6 +193,7 @@ module PulpAnsibleClient
|
|
188
193
|
header_params = opts[:header_params] || {}
|
189
194
|
# HTTP header 'Accept' (if needed)
|
190
195
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
196
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
191
197
|
|
192
198
|
# form parameters
|
193
199
|
form_params = opts[:form_params] || {}
|
@@ -222,6 +228,7 @@ module PulpAnsibleClient
|
|
222
228
|
# AnsibleRepositoryVersion represents a single file repository version.
|
223
229
|
# @param ansible_ansible_repository_version_href [String]
|
224
230
|
# @param [Hash] opts the optional parameters
|
231
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
225
232
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
226
233
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
227
234
|
# @return [RepositoryVersionResponse]
|
@@ -234,6 +241,7 @@ module PulpAnsibleClient
|
|
234
241
|
# AnsibleRepositoryVersion represents a single file repository version.
|
235
242
|
# @param ansible_ansible_repository_version_href [String]
|
236
243
|
# @param [Hash] opts the optional parameters
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
237
245
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
238
246
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
239
247
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
@@ -257,6 +265,7 @@ module PulpAnsibleClient
|
|
257
265
|
header_params = opts[:header_params] || {}
|
258
266
|
# HTTP header 'Accept' (if needed)
|
259
267
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
268
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
260
269
|
|
261
270
|
# form parameters
|
262
271
|
form_params = opts[:form_params] || {}
|
@@ -291,6 +300,7 @@ module PulpAnsibleClient
|
|
291
300
|
# @param ansible_ansible_repository_version_href [String]
|
292
301
|
# @param ansible_repository_rebuild [AnsibleRepositoryRebuild]
|
293
302
|
# @param [Hash] opts the optional parameters
|
303
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
294
304
|
# @return [AsyncOperationResponse]
|
295
305
|
def rebuild_metadata(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts = {})
|
296
306
|
data, _status_code, _headers = rebuild_metadata_with_http_info(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts)
|
@@ -301,6 +311,7 @@ module PulpAnsibleClient
|
|
301
311
|
# @param ansible_ansible_repository_version_href [String]
|
302
312
|
# @param ansible_repository_rebuild [AnsibleRepositoryRebuild]
|
303
313
|
# @param [Hash] opts the optional parameters
|
314
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
304
315
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
305
316
|
def rebuild_metadata_with_http_info(ansible_ansible_repository_version_href, ansible_repository_rebuild, opts = {})
|
306
317
|
if @api_client.config.debugging
|
@@ -329,6 +340,7 @@ module PulpAnsibleClient
|
|
329
340
|
if !content_type.nil?
|
330
341
|
header_params['Content-Type'] = content_type
|
331
342
|
end
|
343
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
332
344
|
|
333
345
|
# form parameters
|
334
346
|
form_params = opts[:form_params] || {}
|
@@ -363,6 +375,7 @@ module PulpAnsibleClient
|
|
363
375
|
# @param ansible_ansible_repository_version_href [String]
|
364
376
|
# @param repair [Repair]
|
365
377
|
# @param [Hash] opts the optional parameters
|
378
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
366
379
|
# @return [AsyncOperationResponse]
|
367
380
|
def repair(ansible_ansible_repository_version_href, repair, opts = {})
|
368
381
|
data, _status_code, _headers = repair_with_http_info(ansible_ansible_repository_version_href, repair, opts)
|
@@ -373,6 +386,7 @@ module PulpAnsibleClient
|
|
373
386
|
# @param ansible_ansible_repository_version_href [String]
|
374
387
|
# @param repair [Repair]
|
375
388
|
# @param [Hash] opts the optional parameters
|
389
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
376
390
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
377
391
|
def repair_with_http_info(ansible_ansible_repository_version_href, repair, opts = {})
|
378
392
|
if @api_client.config.debugging
|
@@ -401,6 +415,7 @@ module PulpAnsibleClient
|
|
401
415
|
if !content_type.nil?
|
402
416
|
header_params['Content-Type'] = content_type
|
403
417
|
end
|
418
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
404
419
|
|
405
420
|
# form parameters
|
406
421
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# APIView for Role Versions.
|
23
23
|
# @param ansible_role_href [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 [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
|
# APIView for Role Versions.
|
36
37
|
# @param ansible_role_href [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 [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.
|
@@ -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] || {}
|