pulp_ansible_client 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/CollectionMetadataResponse.md +1 -1
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/CollectionSummaryResponseTagsInner.md +18 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +32 -18
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +6 -4
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +28 -12
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +30 -15
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +12 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +15 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +10 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +5 -0
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
- data/docs/AnsibleTagResponse.md +0 -18
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
24
24
|
# @param ansible_collection_version_mark [AnsibleCollectionVersionMark]
|
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 [AnsibleCollectionVersionMarkResponse]
|
27
28
|
def create(ansible_collection_version_mark, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(ansible_collection_version_mark, opts)
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
34
35
|
# @param ansible_collection_version_mark [AnsibleCollectionVersionMark]
|
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<(AnsibleCollectionVersionMarkResponse, Integer, Hash)>] AnsibleCollectionVersionMarkResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(ansible_collection_version_mark, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpAnsibleClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -90,6 +93,7 @@ module PulpAnsibleClient
|
|
90
93
|
# List collection version marks
|
91
94
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
92
95
|
# @param [Hash] opts the optional parameters
|
96
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
93
97
|
# @option opts [Integer] :limit Number of results to return per page.
|
94
98
|
# @option opts [String] :marked_collection Filter marks for collection version
|
95
99
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -116,6 +120,7 @@ module PulpAnsibleClient
|
|
116
120
|
# List collection version marks
|
117
121
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
118
122
|
# @param [Hash] opts the optional parameters
|
123
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
119
124
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
125
|
# @option opts [String] :marked_collection Filter marks for collection version
|
121
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
@@ -169,6 +174,7 @@ module PulpAnsibleClient
|
|
169
174
|
header_params = opts[:header_params] || {}
|
170
175
|
# HTTP header 'Accept' (if needed)
|
171
176
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
177
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
172
178
|
|
173
179
|
# form parameters
|
174
180
|
form_params = opts[:form_params] || {}
|
@@ -203,6 +209,7 @@ module PulpAnsibleClient
|
|
203
209
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
204
210
|
# @param ansible_collection_version_mark_href [String]
|
205
211
|
# @param [Hash] opts the optional parameters
|
212
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
206
213
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
214
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
208
215
|
# @return [AnsibleCollectionVersionMarkResponse]
|
@@ -215,6 +222,7 @@ module PulpAnsibleClient
|
|
215
222
|
# ViewSet for looking at mark objects for CollectionVersion content.
|
216
223
|
# @param ansible_collection_version_mark_href [String]
|
217
224
|
# @param [Hash] opts the optional parameters
|
225
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
218
226
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
219
227
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
220
228
|
# @return [Array<(AnsibleCollectionVersionMarkResponse, Integer, Hash)>] AnsibleCollectionVersionMarkResponse data, response status code and response headers
|
@@ -238,6 +246,7 @@ module PulpAnsibleClient
|
|
238
246
|
header_params = opts[:header_params] || {}
|
239
247
|
# HTTP header 'Accept' (if needed)
|
240
248
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
249
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
241
250
|
|
242
251
|
# form parameters
|
243
252
|
form_params = opts[:form_params] || {}
|
@@ -273,6 +282,7 @@ module PulpAnsibleClient
|
|
273
282
|
# @param ansible_collection_version_mark_href [String]
|
274
283
|
# @param set_label [SetLabel]
|
275
284
|
# @param [Hash] opts the optional parameters
|
285
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
276
286
|
# @return [SetLabelResponse]
|
277
287
|
def set_label(ansible_collection_version_mark_href, set_label, opts = {})
|
278
288
|
data, _status_code, _headers = set_label_with_http_info(ansible_collection_version_mark_href, set_label, opts)
|
@@ -284,6 +294,7 @@ module PulpAnsibleClient
|
|
284
294
|
# @param ansible_collection_version_mark_href [String]
|
285
295
|
# @param set_label [SetLabel]
|
286
296
|
# @param [Hash] opts the optional parameters
|
297
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
287
298
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
288
299
|
def set_label_with_http_info(ansible_collection_version_mark_href, set_label, opts = {})
|
289
300
|
if @api_client.config.debugging
|
@@ -312,6 +323,7 @@ module PulpAnsibleClient
|
|
312
323
|
if !content_type.nil?
|
313
324
|
header_params['Content-Type'] = content_type
|
314
325
|
end
|
326
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
315
327
|
|
316
328
|
# form parameters
|
317
329
|
form_params = opts[:form_params] || {}
|
@@ -347,6 +359,7 @@ module PulpAnsibleClient
|
|
347
359
|
# @param ansible_collection_version_mark_href [String]
|
348
360
|
# @param unset_label [UnsetLabel]
|
349
361
|
# @param [Hash] opts the optional parameters
|
362
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
350
363
|
# @return [UnsetLabelResponse]
|
351
364
|
def unset_label(ansible_collection_version_mark_href, unset_label, opts = {})
|
352
365
|
data, _status_code, _headers = unset_label_with_http_info(ansible_collection_version_mark_href, unset_label, opts)
|
@@ -358,6 +371,7 @@ module PulpAnsibleClient
|
|
358
371
|
# @param ansible_collection_version_mark_href [String]
|
359
372
|
# @param unset_label [UnsetLabel]
|
360
373
|
# @param [Hash] opts the optional parameters
|
374
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
361
375
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
362
376
|
def unset_label_with_http_info(ansible_collection_version_mark_href, unset_label, opts = {})
|
363
377
|
if @api_client.config.debugging
|
@@ -386,6 +400,7 @@ module PulpAnsibleClient
|
|
386
400
|
if !content_type.nil?
|
387
401
|
header_params['Content-Type'] = content_type
|
388
402
|
end
|
403
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
389
404
|
|
390
405
|
# form parameters
|
391
406
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpAnsibleClient
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param signed_collection [String] The content this signature is pointing to.
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
28
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -38,6 +39,7 @@ module PulpAnsibleClient
|
|
38
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
39
40
|
# @param signed_collection [String] The content this signature is pointing to.
|
40
41
|
# @param [Hash] opts the optional parameters
|
42
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
44
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
43
45
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
@@ -71,6 +73,7 @@ module PulpAnsibleClient
|
|
71
73
|
if !content_type.nil?
|
72
74
|
header_params['Content-Type'] = content_type
|
73
75
|
end
|
76
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
74
77
|
|
75
78
|
# form parameters
|
76
79
|
form_params = opts[:form_params] || {}
|
@@ -110,6 +113,7 @@ module PulpAnsibleClient
|
|
110
113
|
# List collection version signatures
|
111
114
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
112
115
|
# @param [Hash] opts the optional parameters
|
116
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
113
117
|
# @option opts [Integer] :limit Number of results to return per page.
|
114
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
115
119
|
# @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) * `data` - Data * `-data` - Data (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -137,6 +141,7 @@ module PulpAnsibleClient
|
|
137
141
|
# List collection version signatures
|
138
142
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
139
143
|
# @param [Hash] opts the optional parameters
|
144
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
140
145
|
# @option opts [Integer] :limit Number of results to return per page.
|
141
146
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
142
147
|
# @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) * `data` - Data * `-data` - Data (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -192,6 +197,7 @@ module PulpAnsibleClient
|
|
192
197
|
header_params = opts[:header_params] || {}
|
193
198
|
# HTTP header 'Accept' (if needed)
|
194
199
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
200
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
195
201
|
|
196
202
|
# form parameters
|
197
203
|
form_params = opts[:form_params] || {}
|
@@ -226,6 +232,7 @@ module PulpAnsibleClient
|
|
226
232
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
227
233
|
# @param ansible_collection_version_signature_href [String]
|
228
234
|
# @param [Hash] opts the optional parameters
|
235
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
229
236
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
230
237
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
231
238
|
# @return [AnsibleCollectionVersionSignatureResponse]
|
@@ -238,6 +245,7 @@ module PulpAnsibleClient
|
|
238
245
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
239
246
|
# @param ansible_collection_version_signature_href [String]
|
240
247
|
# @param [Hash] opts the optional parameters
|
248
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
241
249
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
242
250
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
243
251
|
# @return [Array<(AnsibleCollectionVersionSignatureResponse, Integer, Hash)>] AnsibleCollectionVersionSignatureResponse data, response status code and response headers
|
@@ -261,6 +269,7 @@ module PulpAnsibleClient
|
|
261
269
|
header_params = opts[:header_params] || {}
|
262
270
|
# HTTP header 'Accept' (if needed)
|
263
271
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
272
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
264
273
|
|
265
274
|
# form parameters
|
266
275
|
form_params = opts[:form_params] || {}
|
@@ -296,6 +305,7 @@ module PulpAnsibleClient
|
|
296
305
|
# @param ansible_collection_version_signature_href [String]
|
297
306
|
# @param set_label [SetLabel]
|
298
307
|
# @param [Hash] opts the optional parameters
|
308
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
299
309
|
# @return [SetLabelResponse]
|
300
310
|
def set_label(ansible_collection_version_signature_href, set_label, opts = {})
|
301
311
|
data, _status_code, _headers = set_label_with_http_info(ansible_collection_version_signature_href, set_label, opts)
|
@@ -307,6 +317,7 @@ module PulpAnsibleClient
|
|
307
317
|
# @param ansible_collection_version_signature_href [String]
|
308
318
|
# @param set_label [SetLabel]
|
309
319
|
# @param [Hash] opts the optional parameters
|
320
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
310
321
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
311
322
|
def set_label_with_http_info(ansible_collection_version_signature_href, set_label, opts = {})
|
312
323
|
if @api_client.config.debugging
|
@@ -335,6 +346,7 @@ module PulpAnsibleClient
|
|
335
346
|
if !content_type.nil?
|
336
347
|
header_params['Content-Type'] = content_type
|
337
348
|
end
|
349
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
338
350
|
|
339
351
|
# form parameters
|
340
352
|
form_params = opts[:form_params] || {}
|
@@ -370,6 +382,7 @@ module PulpAnsibleClient
|
|
370
382
|
# @param ansible_collection_version_signature_href [String]
|
371
383
|
# @param unset_label [UnsetLabel]
|
372
384
|
# @param [Hash] opts the optional parameters
|
385
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
373
386
|
# @return [UnsetLabelResponse]
|
374
387
|
def unset_label(ansible_collection_version_signature_href, unset_label, opts = {})
|
375
388
|
data, _status_code, _headers = unset_label_with_http_info(ansible_collection_version_signature_href, unset_label, opts)
|
@@ -381,6 +394,7 @@ module PulpAnsibleClient
|
|
381
394
|
# @param ansible_collection_version_signature_href [String]
|
382
395
|
# @param unset_label [UnsetLabel]
|
383
396
|
# @param [Hash] opts the optional parameters
|
397
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
384
398
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
385
399
|
def unset_label_with_http_info(ansible_collection_version_signature_href, unset_label, opts = {})
|
386
400
|
if @api_client.config.debugging
|
@@ -409,6 +423,7 @@ module PulpAnsibleClient
|
|
409
423
|
if !content_type.nil?
|
410
424
|
header_params['Content-Type'] = content_type
|
411
425
|
end
|
426
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
412
427
|
|
413
428
|
# form parameters
|
414
429
|
form_params = opts[:form_params] || {}
|
@@ -22,12 +22,13 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
27
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
28
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
25
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
29
26
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
27
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
28
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
30
29
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
30
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
31
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
31
32
|
# @option opts [String] :expected_name The name of the collection.
|
32
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
33
34
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -40,12 +41,13 @@ module PulpAnsibleClient
|
|
40
41
|
# Create a collection version
|
41
42
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
42
43
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @option opts [String] :
|
44
|
-
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
45
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
46
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
44
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
47
45
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
46
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
47
|
+
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
48
48
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
49
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
50
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
49
51
|
# @option opts [String] :expected_name The name of the collection.
|
50
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
51
53
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -97,15 +99,16 @@ module PulpAnsibleClient
|
|
97
99
|
if !content_type.nil?
|
98
100
|
header_params['Content-Type'] = content_type
|
99
101
|
end
|
102
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
100
103
|
|
101
104
|
# form parameters
|
102
105
|
form_params = opts[:form_params] || {}
|
103
|
-
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
104
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
105
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
106
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
107
106
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
107
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
108
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
108
109
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
110
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
111
|
+
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
109
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
110
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
111
114
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -139,11 +142,12 @@ module PulpAnsibleClient
|
|
139
142
|
# List collection versions
|
140
143
|
# ViewSet for Ansible Collection.
|
141
144
|
# @param [Hash] opts the optional parameters
|
145
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
142
146
|
# @option opts [Integer] :limit Number of results to return per page.
|
143
147
|
# @option opts [String] :name
|
144
148
|
# @option opts [String] :namespace
|
145
149
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
146
|
-
# @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) * `
|
150
|
+
# @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)
|
147
151
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
148
152
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
149
153
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -166,11 +170,12 @@ module PulpAnsibleClient
|
|
166
170
|
# List collection versions
|
167
171
|
# ViewSet for Ansible Collection.
|
168
172
|
# @param [Hash] opts the optional parameters
|
173
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
169
174
|
# @option opts [Integer] :limit Number of results to return per page.
|
170
175
|
# @option opts [String] :name
|
171
176
|
# @option opts [String] :namespace
|
172
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
173
|
-
# @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) * `
|
178
|
+
# @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)
|
174
179
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
175
180
|
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
176
181
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
@@ -189,7 +194,7 @@ module PulpAnsibleClient
|
|
189
194
|
if @api_client.config.debugging
|
190
195
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
191
196
|
end
|
192
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-issues", "-license", "-manifest", "-name", "-namespace", "-
|
197
|
+
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"]
|
193
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
194
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
195
200
|
end
|
@@ -221,6 +226,7 @@ module PulpAnsibleClient
|
|
221
226
|
header_params = opts[:header_params] || {}
|
222
227
|
# HTTP header 'Accept' (if needed)
|
223
228
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
229
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
224
230
|
|
225
231
|
# form parameters
|
226
232
|
form_params = opts[:form_params] || {}
|
@@ -255,6 +261,7 @@ module PulpAnsibleClient
|
|
255
261
|
# ViewSet for Ansible Collection.
|
256
262
|
# @param ansible_collection_version_href [String]
|
257
263
|
# @param [Hash] opts the optional parameters
|
264
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
258
265
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
259
266
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
260
267
|
# @return [AnsibleCollectionVersionResponse]
|
@@ -267,6 +274,7 @@ module PulpAnsibleClient
|
|
267
274
|
# ViewSet for Ansible Collection.
|
268
275
|
# @param ansible_collection_version_href [String]
|
269
276
|
# @param [Hash] opts the optional parameters
|
277
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
270
278
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
271
279
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
272
280
|
# @return [Array<(AnsibleCollectionVersionResponse, Integer, Hash)>] AnsibleCollectionVersionResponse data, response status code and response headers
|
@@ -290,6 +298,7 @@ module PulpAnsibleClient
|
|
290
298
|
header_params = opts[:header_params] || {}
|
291
299
|
# HTTP header 'Accept' (if needed)
|
292
300
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
301
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
293
302
|
|
294
303
|
# form parameters
|
295
304
|
form_params = opts[:form_params] || {}
|
@@ -325,6 +334,7 @@ module PulpAnsibleClient
|
|
325
334
|
# @param ansible_collection_version_href [String]
|
326
335
|
# @param set_label [SetLabel]
|
327
336
|
# @param [Hash] opts the optional parameters
|
337
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
328
338
|
# @return [SetLabelResponse]
|
329
339
|
def set_label(ansible_collection_version_href, set_label, opts = {})
|
330
340
|
data, _status_code, _headers = set_label_with_http_info(ansible_collection_version_href, set_label, opts)
|
@@ -336,6 +346,7 @@ module PulpAnsibleClient
|
|
336
346
|
# @param ansible_collection_version_href [String]
|
337
347
|
# @param set_label [SetLabel]
|
338
348
|
# @param [Hash] opts the optional parameters
|
349
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
339
350
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
340
351
|
def set_label_with_http_info(ansible_collection_version_href, set_label, opts = {})
|
341
352
|
if @api_client.config.debugging
|
@@ -364,6 +375,7 @@ module PulpAnsibleClient
|
|
364
375
|
if !content_type.nil?
|
365
376
|
header_params['Content-Type'] = content_type
|
366
377
|
end
|
378
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
367
379
|
|
368
380
|
# form parameters
|
369
381
|
form_params = opts[:form_params] || {}
|
@@ -399,6 +411,7 @@ module PulpAnsibleClient
|
|
399
411
|
# @param ansible_collection_version_href [String]
|
400
412
|
# @param unset_label [UnsetLabel]
|
401
413
|
# @param [Hash] opts the optional parameters
|
414
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
402
415
|
# @return [UnsetLabelResponse]
|
403
416
|
def unset_label(ansible_collection_version_href, unset_label, opts = {})
|
404
417
|
data, _status_code, _headers = unset_label_with_http_info(ansible_collection_version_href, unset_label, opts)
|
@@ -410,6 +423,7 @@ module PulpAnsibleClient
|
|
410
423
|
# @param ansible_collection_version_href [String]
|
411
424
|
# @param unset_label [UnsetLabel]
|
412
425
|
# @param [Hash] opts the optional parameters
|
426
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
413
427
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
414
428
|
def unset_label_with_http_info(ansible_collection_version_href, unset_label, opts = {})
|
415
429
|
if @api_client.config.debugging
|
@@ -438,6 +452,7 @@ module PulpAnsibleClient
|
|
438
452
|
if !content_type.nil?
|
439
453
|
header_params['Content-Type'] = content_type
|
440
454
|
end
|
455
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
441
456
|
|
442
457
|
# form parameters
|
443
458
|
form_params = opts[:form_params] || {}
|
@@ -22,6 +22,7 @@ module PulpAnsibleClient
|
|
22
22
|
# Get the logo for the this namespace.
|
23
23
|
# @param ansible_ansible_namespace_metadata_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 [Array<String>] :fields A list of fields to include in the response.
|
26
27
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
28
|
# @return [nil]
|
@@ -33,6 +34,7 @@ module PulpAnsibleClient
|
|
33
34
|
# Get the logo for the this namespace.
|
34
35
|
# @param ansible_ansible_namespace_metadata_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
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
39
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
40
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
@@ -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] || {}
|
@@ -89,6 +92,7 @@ module PulpAnsibleClient
|
|
89
92
|
# List ansible namespace metadatas
|
90
93
|
# ViewSet for AnsibleNamespace.
|
91
94
|
# @param [Hash] opts the optional parameters
|
95
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
92
96
|
# @option opts [String] :company Filter results where company matches value
|
93
97
|
# @option opts [String] :company__contains Filter results where company contains value
|
94
98
|
# @option opts [String] :company__icontains Filter results where company contains value
|
@@ -132,6 +136,7 @@ module PulpAnsibleClient
|
|
132
136
|
# List ansible namespace metadatas
|
133
137
|
# ViewSet for AnsibleNamespace.
|
134
138
|
# @param [Hash] opts the optional parameters
|
139
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
135
140
|
# @option opts [String] :company Filter results where company matches value
|
136
141
|
# @option opts [String] :company__contains Filter results where company contains value
|
137
142
|
# @option opts [String] :company__icontains Filter results where company contains value
|
@@ -219,6 +224,7 @@ module PulpAnsibleClient
|
|
219
224
|
header_params = opts[:header_params] || {}
|
220
225
|
# HTTP header 'Accept' (if needed)
|
221
226
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
227
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
222
228
|
|
223
229
|
# form parameters
|
224
230
|
form_params = opts[:form_params] || {}
|
@@ -253,6 +259,7 @@ module PulpAnsibleClient
|
|
253
259
|
# ViewSet for AnsibleNamespace.
|
254
260
|
# @param ansible_ansible_namespace_metadata_href [String]
|
255
261
|
# @param [Hash] opts the optional parameters
|
262
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
256
263
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
257
264
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
258
265
|
# @return [AnsibleAnsibleNamespaceMetadataResponse]
|
@@ -265,6 +272,7 @@ module PulpAnsibleClient
|
|
265
272
|
# ViewSet for AnsibleNamespace.
|
266
273
|
# @param ansible_ansible_namespace_metadata_href [String]
|
267
274
|
# @param [Hash] opts the optional parameters
|
275
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
268
276
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
269
277
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
270
278
|
# @return [Array<(AnsibleAnsibleNamespaceMetadataResponse, Integer, Hash)>] AnsibleAnsibleNamespaceMetadataResponse data, response status code and response headers
|
@@ -288,6 +296,7 @@ module PulpAnsibleClient
|
|
288
296
|
header_params = opts[:header_params] || {}
|
289
297
|
# HTTP header 'Accept' (if needed)
|
290
298
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
299
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
291
300
|
|
292
301
|
# form parameters
|
293
302
|
form_params = opts[:form_params] || {}
|
@@ -323,6 +332,7 @@ module PulpAnsibleClient
|
|
323
332
|
# @param ansible_ansible_namespace_metadata_href [String]
|
324
333
|
# @param set_label [SetLabel]
|
325
334
|
# @param [Hash] opts the optional parameters
|
335
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
326
336
|
# @return [SetLabelResponse]
|
327
337
|
def set_label(ansible_ansible_namespace_metadata_href, set_label, opts = {})
|
328
338
|
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label, opts)
|
@@ -334,6 +344,7 @@ module PulpAnsibleClient
|
|
334
344
|
# @param ansible_ansible_namespace_metadata_href [String]
|
335
345
|
# @param set_label [SetLabel]
|
336
346
|
# @param [Hash] opts the optional parameters
|
347
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
337
348
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
338
349
|
def set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label, opts = {})
|
339
350
|
if @api_client.config.debugging
|
@@ -362,6 +373,7 @@ module PulpAnsibleClient
|
|
362
373
|
if !content_type.nil?
|
363
374
|
header_params['Content-Type'] = content_type
|
364
375
|
end
|
376
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
365
377
|
|
366
378
|
# form parameters
|
367
379
|
form_params = opts[:form_params] || {}
|
@@ -397,6 +409,7 @@ module PulpAnsibleClient
|
|
397
409
|
# @param ansible_ansible_namespace_metadata_href [String]
|
398
410
|
# @param unset_label [UnsetLabel]
|
399
411
|
# @param [Hash] opts the optional parameters
|
412
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
400
413
|
# @return [UnsetLabelResponse]
|
401
414
|
def unset_label(ansible_ansible_namespace_metadata_href, unset_label, opts = {})
|
402
415
|
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label, opts)
|
@@ -408,6 +421,7 @@ module PulpAnsibleClient
|
|
408
421
|
# @param ansible_ansible_namespace_metadata_href [String]
|
409
422
|
# @param unset_label [UnsetLabel]
|
410
423
|
# @param [Hash] opts the optional parameters
|
424
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
411
425
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
412
426
|
def unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label, opts = {})
|
413
427
|
if @api_client.config.debugging
|
@@ -436,6 +450,7 @@ module PulpAnsibleClient
|
|
436
450
|
if !content_type.nil?
|
437
451
|
header_params['Content-Type'] = content_type
|
438
452
|
end
|
453
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
439
454
|
|
440
455
|
# form parameters
|
441
456
|
form_params = opts[:form_params] || {}
|