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
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb
CHANGED
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param path [String]
|
25
25
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
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
|
# @option opts [String] :company Optional namespace company owner.
|
28
29
|
# @option opts [String] :email Optional namespace contact email.
|
29
30
|
# @option opts [String] :description Optional short description.
|
@@ -41,6 +42,7 @@ module PulpAnsibleClient
|
|
41
42
|
# @param path [String]
|
42
43
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
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 [String] :company Optional namespace company owner.
|
45
47
|
# @option opts [String] :email Optional namespace contact email.
|
46
48
|
# @option opts [String] :description Optional short description.
|
@@ -104,6 +106,7 @@ module PulpAnsibleClient
|
|
104
106
|
if !content_type.nil?
|
105
107
|
header_params['Content-Type'] = content_type
|
106
108
|
end
|
109
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
107
110
|
|
108
111
|
# form parameters
|
109
112
|
form_params = opts[:form_params] || {}
|
@@ -146,6 +149,7 @@ module PulpAnsibleClient
|
|
146
149
|
# @param name [String]
|
147
150
|
# @param path [String]
|
148
151
|
# @param [Hash] opts the optional parameters
|
152
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
149
153
|
# @return [AsyncOperationResponse]
|
150
154
|
def delete(distro_base_path, name, path, opts = {})
|
151
155
|
data, _status_code, _headers = delete_with_http_info(distro_base_path, name, path, opts)
|
@@ -157,6 +161,7 @@ module PulpAnsibleClient
|
|
157
161
|
# @param name [String]
|
158
162
|
# @param path [String]
|
159
163
|
# @param [Hash] opts the optional parameters
|
164
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
160
165
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
161
166
|
def delete_with_http_info(distro_base_path, name, path, opts = {})
|
162
167
|
if @api_client.config.debugging
|
@@ -184,6 +189,7 @@ module PulpAnsibleClient
|
|
184
189
|
header_params = opts[:header_params] || {}
|
185
190
|
# HTTP header 'Accept' (if needed)
|
186
191
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
192
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
187
193
|
|
188
194
|
# form parameters
|
189
195
|
form_params = opts[:form_params] || {}
|
@@ -218,6 +224,7 @@ module PulpAnsibleClient
|
|
218
224
|
# @param distro_base_path [String]
|
219
225
|
# @param path [String]
|
220
226
|
# @param [Hash] opts the optional parameters
|
227
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
221
228
|
# @option opts [String] :company Filter results where company matches value
|
222
229
|
# @option opts [String] :company__contains Filter results where company contains value
|
223
230
|
# @option opts [String] :company__icontains Filter results where company contains value
|
@@ -257,6 +264,7 @@ module PulpAnsibleClient
|
|
257
264
|
# @param distro_base_path [String]
|
258
265
|
# @param path [String]
|
259
266
|
# @param [Hash] opts the optional parameters
|
267
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
260
268
|
# @option opts [String] :company Filter results where company matches value
|
261
269
|
# @option opts [String] :company__contains Filter results where company contains value
|
262
270
|
# @option opts [String] :company__icontains Filter results where company contains value
|
@@ -342,6 +350,7 @@ module PulpAnsibleClient
|
|
342
350
|
header_params = opts[:header_params] || {}
|
343
351
|
# HTTP header 'Accept' (if needed)
|
344
352
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
353
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
345
354
|
|
346
355
|
# form parameters
|
347
356
|
form_params = opts[:form_params] || {}
|
@@ -377,6 +386,7 @@ module PulpAnsibleClient
|
|
377
386
|
# @param name [String]
|
378
387
|
# @param path [String]
|
379
388
|
# @param [Hash] opts the optional parameters
|
389
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
380
390
|
# @option opts [String] :name2 Required named, only accepts lowercase, numbers and underscores.
|
381
391
|
# @option opts [String] :company Optional namespace company owner.
|
382
392
|
# @option opts [String] :email Optional namespace contact email.
|
@@ -395,6 +405,7 @@ module PulpAnsibleClient
|
|
395
405
|
# @param name [String]
|
396
406
|
# @param path [String]
|
397
407
|
# @param [Hash] opts the optional parameters
|
408
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
398
409
|
# @option opts [String] :name2 Required named, only accepts lowercase, numbers and underscores.
|
399
410
|
# @option opts [String] :company Optional namespace company owner.
|
400
411
|
# @option opts [String] :email Optional namespace contact email.
|
@@ -459,6 +470,7 @@ module PulpAnsibleClient
|
|
459
470
|
if !content_type.nil?
|
460
471
|
header_params['Content-Type'] = content_type
|
461
472
|
end
|
473
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
462
474
|
|
463
475
|
# form parameters
|
464
476
|
form_params = opts[:form_params] || {}
|
@@ -501,6 +513,7 @@ module PulpAnsibleClient
|
|
501
513
|
# @param name [String]
|
502
514
|
# @param path [String]
|
503
515
|
# @param [Hash] opts the optional parameters
|
516
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
504
517
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
505
518
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
506
519
|
# @return [AnsibleAnsibleNamespaceMetadataResponse]
|
@@ -514,6 +527,7 @@ module PulpAnsibleClient
|
|
514
527
|
# @param name [String]
|
515
528
|
# @param path [String]
|
516
529
|
# @param [Hash] opts the optional parameters
|
530
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
517
531
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
518
532
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
519
533
|
# @return [Array<(AnsibleAnsibleNamespaceMetadataResponse, Integer, Hash)>] AnsibleAnsibleNamespaceMetadataResponse data, response status code and response headers
|
@@ -545,6 +559,7 @@ module PulpAnsibleClient
|
|
545
559
|
header_params = opts[:header_params] || {}
|
546
560
|
# HTTP header 'Accept' (if needed)
|
547
561
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
562
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
548
563
|
|
549
564
|
# form parameters
|
550
565
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param path [String]
|
25
25
|
# @param file [File] The Collection tarball.
|
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
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
28
29
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
29
30
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -39,6 +40,7 @@ module PulpAnsibleClient
|
|
39
40
|
# @param path [String]
|
40
41
|
# @param file [File] The Collection tarball.
|
41
42
|
# @param [Hash] opts the optional parameters
|
43
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
42
44
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
43
45
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
44
46
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -87,6 +89,7 @@ module PulpAnsibleClient
|
|
87
89
|
if !content_type.nil?
|
88
90
|
header_params['Content-Type'] = content_type
|
89
91
|
end
|
92
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
90
93
|
|
91
94
|
# form parameters
|
92
95
|
form_params = opts[:form_params] || {}
|
@@ -128,6 +131,7 @@ module PulpAnsibleClient
|
|
128
131
|
# @param path [String]
|
129
132
|
# @param file [File] The Collection tarball.
|
130
133
|
# @param [Hash] opts the optional parameters
|
134
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
131
135
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
132
136
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
133
137
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -144,6 +148,7 @@ module PulpAnsibleClient
|
|
144
148
|
# @param path [String]
|
145
149
|
# @param file [File] The Collection tarball.
|
146
150
|
# @param [Hash] opts the optional parameters
|
151
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
147
152
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
148
153
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
149
154
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -196,6 +201,7 @@ module PulpAnsibleClient
|
|
196
201
|
if !content_type.nil?
|
197
202
|
header_params['Content-Type'] = content_type
|
198
203
|
end
|
204
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
199
205
|
|
200
206
|
# form parameters
|
201
207
|
form_params = opts[:form_params] || {}
|
@@ -235,6 +241,7 @@ module PulpAnsibleClient
|
|
235
241
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
236
242
|
# @param file [File] The Collection tarball.
|
237
243
|
# @param [Hash] opts the optional parameters
|
244
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
238
245
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
239
246
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
240
247
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -249,6 +256,7 @@ module PulpAnsibleClient
|
|
249
256
|
# Create an artifact and trigger an asynchronous task to create Collection content from it.
|
250
257
|
# @param file [File] The Collection tarball.
|
251
258
|
# @param [Hash] opts the optional parameters
|
259
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
252
260
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
253
261
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
254
262
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -293,6 +301,7 @@ module PulpAnsibleClient
|
|
293
301
|
if !content_type.nil?
|
294
302
|
header_params['Content-Type'] = content_type
|
295
303
|
end
|
304
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
296
305
|
|
297
306
|
# form parameters
|
298
307
|
form_params = opts[:form_params] || {}
|
@@ -333,6 +342,7 @@ module PulpAnsibleClient
|
|
333
342
|
# @param distro_base_path [String]
|
334
343
|
# @param file [File] The Collection tarball.
|
335
344
|
# @param [Hash] opts the optional parameters
|
345
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
336
346
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
337
347
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
338
348
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -348,6 +358,7 @@ module PulpAnsibleClient
|
|
348
358
|
# @param distro_base_path [String]
|
349
359
|
# @param file [File] The Collection tarball.
|
350
360
|
# @param [Hash] opts the optional parameters
|
361
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
351
362
|
# @option opts [String] :sha256 An optional sha256 checksum of the uploaded file.
|
352
363
|
# @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import.
|
353
364
|
# @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import.
|
@@ -396,6 +407,7 @@ module PulpAnsibleClient
|
|
396
407
|
if !content_type.nil?
|
397
408
|
header_params['Content-Type'] = content_type
|
398
409
|
end
|
410
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
399
411
|
|
400
412
|
# form parameters
|
401
413
|
form_params = opts[:form_params] || {}
|
@@ -21,6 +21,9 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Return a response to the \"GET\" action.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
24
27
|
# @return [nil]
|
25
28
|
def get(opts = {})
|
26
29
|
get_with_http_info(opts)
|
@@ -29,6 +32,9 @@ module PulpAnsibleClient
|
|
29
32
|
|
30
33
|
# Return a response to the \"GET\" action.
|
31
34
|
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
32
38
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
33
39
|
def get_with_http_info(opts = {})
|
34
40
|
if @api_client.config.debugging
|
@@ -39,9 +45,12 @@ module PulpAnsibleClient
|
|
39
45
|
|
40
46
|
# query parameters
|
41
47
|
query_params = opts[:query_params] || {}
|
48
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
49
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
42
50
|
|
43
51
|
# header parameters
|
44
52
|
header_params = opts[:header_params] || {}
|
53
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
45
54
|
|
46
55
|
# form parameters
|
47
56
|
form_params = opts[:form_params] || {}
|
@@ -21,6 +21,9 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
24
27
|
# @return [RepoMetadataResponse]
|
25
28
|
def read(opts = {})
|
26
29
|
data, _status_code, _headers = read_with_http_info(opts)
|
@@ -29,6 +32,9 @@ module PulpAnsibleClient
|
|
29
32
|
|
30
33
|
# Legacy v3 endpoint.
|
31
34
|
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
32
38
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
33
39
|
def read_with_http_info(opts = {})
|
34
40
|
if @api_client.config.debugging
|
@@ -39,11 +45,14 @@ module PulpAnsibleClient
|
|
39
45
|
|
40
46
|
# query parameters
|
41
47
|
query_params = opts[:query_params] || {}
|
48
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
49
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
42
50
|
|
43
51
|
# header parameters
|
44
52
|
header_params = opts[:header_params] || {}
|
45
53
|
# HTTP header 'Accept' (if needed)
|
46
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
47
56
|
|
48
57
|
# form parameters
|
49
58
|
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] || {}
|
@@ -21,6 +21,9 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
24
27
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
25
28
|
def list(opts = {})
|
26
29
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -29,6 +32,9 @@ module PulpAnsibleClient
|
|
29
32
|
|
30
33
|
# Legacy v3 endpoint.
|
31
34
|
# @param [Hash] opts the optional parameters
|
35
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
32
38
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
33
39
|
def list_with_http_info(opts = {})
|
34
40
|
if @api_client.config.debugging
|
@@ -39,11 +45,14 @@ module PulpAnsibleClient
|
|
39
45
|
|
40
46
|
# query parameters
|
41
47
|
query_params = opts[:query_params] || {}
|
48
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
49
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
42
50
|
|
43
51
|
# header parameters
|
44
52
|
header_params = opts[:header_params] || {}
|
45
53
|
# HTTP header 'Accept' (if needed)
|
46
54
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
55
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
47
56
|
|
48
57
|
# form parameters
|
49
58
|
form_params = opts[:form_params] || {}
|
@@ -21,6 +21,7 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
24
25
|
# @option opts [Boolean] :deprecated
|
25
26
|
# @option opts [String] :name
|
26
27
|
# @option opts [String] :namespace
|
@@ -39,6 +40,7 @@ module PulpAnsibleClient
|
|
39
40
|
|
40
41
|
# Legacy v3 endpoint.
|
41
42
|
# @param [Hash] opts the optional parameters
|
43
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
42
44
|
# @option opts [Boolean] :deprecated
|
43
45
|
# @option opts [String] :name
|
44
46
|
# @option opts [String] :namespace
|
@@ -78,6 +80,7 @@ module PulpAnsibleClient
|
|
78
80
|
header_params = opts[:header_params] || {}
|
79
81
|
# HTTP header 'Accept' (if needed)
|
80
82
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
83
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
81
84
|
|
82
85
|
# form parameters
|
83
86
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# @param name [String]
|
24
24
|
# @param namespace [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(name, namespace, opts = {})
|
28
29
|
data, _status_code, _headers = delete_with_http_info(name, namespace, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# @param name [String]
|
34
35
|
# @param namespace [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(name, namespace, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -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] || {}
|
@@ -88,6 +91,7 @@ module PulpAnsibleClient
|
|
88
91
|
|
89
92
|
# Legacy v3 endpoint.
|
90
93
|
# @param [Hash] opts the optional parameters
|
94
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
91
95
|
# @option opts [Boolean] :deprecated
|
92
96
|
# @option opts [Integer] :limit Number of results to return per page.
|
93
97
|
# @option opts [String] :name
|
@@ -108,6 +112,7 @@ module PulpAnsibleClient
|
|
108
112
|
|
109
113
|
# Legacy v3 endpoint.
|
110
114
|
# @param [Hash] opts the optional parameters
|
115
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
111
116
|
# @option opts [Boolean] :deprecated
|
112
117
|
# @option opts [Integer] :limit Number of results to return per page.
|
113
118
|
# @option opts [String] :name
|
@@ -151,6 +156,7 @@ module PulpAnsibleClient
|
|
151
156
|
header_params = opts[:header_params] || {}
|
152
157
|
# HTTP header 'Accept' (if needed)
|
153
158
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
159
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
154
160
|
|
155
161
|
# form parameters
|
156
162
|
form_params = opts[:form_params] || {}
|
@@ -185,6 +191,7 @@ module PulpAnsibleClient
|
|
185
191
|
# @param name [String]
|
186
192
|
# @param namespace [String]
|
187
193
|
# @param [Hash] opts the optional parameters
|
194
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
188
195
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
189
196
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
190
197
|
# @return [CollectionResponse]
|
@@ -197,6 +204,7 @@ module PulpAnsibleClient
|
|
197
204
|
# @param name [String]
|
198
205
|
# @param namespace [String]
|
199
206
|
# @param [Hash] opts the optional parameters
|
207
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
200
208
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
201
209
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
202
210
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
@@ -224,6 +232,7 @@ module PulpAnsibleClient
|
|
224
232
|
header_params = opts[:header_params] || {}
|
225
233
|
# HTTP header 'Accept' (if needed)
|
226
234
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
235
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
227
236
|
|
228
237
|
# form parameters
|
229
238
|
form_params = opts[:form_params] || {}
|
@@ -259,6 +268,7 @@ module PulpAnsibleClient
|
|
259
268
|
# @param namespace [String]
|
260
269
|
# @param patched_collection [PatchedCollection]
|
261
270
|
# @param [Hash] opts the optional parameters
|
271
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
262
272
|
# @return [AsyncOperationResponse]
|
263
273
|
def update(name, namespace, patched_collection, opts = {})
|
264
274
|
data, _status_code, _headers = update_with_http_info(name, namespace, patched_collection, opts)
|
@@ -270,6 +280,7 @@ module PulpAnsibleClient
|
|
270
280
|
# @param namespace [String]
|
271
281
|
# @param patched_collection [PatchedCollection]
|
272
282
|
# @param [Hash] opts the optional parameters
|
283
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
273
284
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
274
285
|
def update_with_http_info(name, namespace, patched_collection, opts = {})
|
275
286
|
if @api_client.config.debugging
|
@@ -302,6 +313,7 @@ module PulpAnsibleClient
|
|
302
313
|
if !content_type.nil?
|
303
314
|
header_params['Content-Type'] = content_type
|
304
315
|
end
|
316
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
305
317
|
|
306
318
|
# form parameters
|
307
319
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param namespace [String]
|
25
25
|
# @param version [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, version, opts = {})
|
29
30
|
data, _status_code, _headers = delete_with_http_info(name, namespace, version, opts)
|
@@ -35,6 +36,7 @@ module PulpAnsibleClient
|
|
35
36
|
# @param namespace [String]
|
36
37
|
# @param version [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, version, 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] || {}
|
@@ -96,11 +99,12 @@ module PulpAnsibleClient
|
|
96
99
|
# @param name [String]
|
97
100
|
# @param namespace [String]
|
98
101
|
# @param [Hash] opts the optional parameters
|
102
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
99
103
|
# @option opts [Integer] :limit Number of results to return per page.
|
100
104
|
# @option opts [String] :name2
|
101
105
|
# @option opts [String] :namespace2
|
102
106
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
103
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `
|
107
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `tags` - Tags * `-tags` - Tags (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
104
108
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
105
109
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
106
110
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -124,11 +128,12 @@ module PulpAnsibleClient
|
|
124
128
|
# @param name [String]
|
125
129
|
# @param namespace [String]
|
126
130
|
# @param [Hash] opts the optional parameters
|
131
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
127
132
|
# @option opts [Integer] :limit Number of results to return per page.
|
128
133
|
# @option opts [String] :name2
|
129
134
|
# @option opts [String] :namespace2
|
130
135
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
131
|
-
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `
|
136
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `tags` - Tags * `-tags` - Tags (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
132
137
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
133
138
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
134
139
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -155,7 +160,7 @@ module PulpAnsibleClient
|
|
155
160
|
if @api_client.config.client_side_validation && namespace.nil?
|
156
161
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi.list"
|
157
162
|
end
|
158
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-issues", "-license", "-manifest", "-name", "-namespace", "-
|
163
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-sha256", "-tags", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "sha256", "tags", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
159
164
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
160
165
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
161
166
|
end
|
@@ -187,6 +192,7 @@ module PulpAnsibleClient
|
|
187
192
|
header_params = opts[:header_params] || {}
|
188
193
|
# HTTP header 'Accept' (if needed)
|
189
194
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
195
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
190
196
|
|
191
197
|
# form parameters
|
192
198
|
form_params = opts[:form_params] || {}
|
@@ -222,6 +228,7 @@ module PulpAnsibleClient
|
|
222
228
|
# @param namespace [String]
|
223
229
|
# @param version [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 [CollectionVersionResponse]
|
@@ -235,6 +242,7 @@ module PulpAnsibleClient
|
|
235
242
|
# @param namespace [String]
|
236
243
|
# @param version [String]
|
237
244
|
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
238
246
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
239
247
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
240
248
|
# @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
|
@@ -266,6 +274,7 @@ module PulpAnsibleClient
|
|
266
274
|
header_params = opts[:header_params] || {}
|
267
275
|
# HTTP header 'Accept' (if needed)
|
268
276
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
277
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
269
278
|
|
270
279
|
# form parameters
|
271
280
|
form_params = opts[:form_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb
CHANGED
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @param namespace [String]
|
25
25
|
# @param version [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
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
28
29
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
29
30
|
# @return [CollectionVersionDocsResponse]
|
@@ -37,6 +38,7 @@ module PulpAnsibleClient
|
|
37
38
|
# @param namespace [String]
|
38
39
|
# @param version [String]
|
39
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
40
42
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
43
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
44
|
# @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
@@ -68,6 +70,7 @@ module PulpAnsibleClient
|
|
68
70
|
header_params = opts[:header_params] || {}
|
69
71
|
# HTTP header 'Accept' (if needed)
|
70
72
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
73
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
71
74
|
|
72
75
|
# form parameters
|
73
76
|
form_params = opts[:form_params] || {}
|