pulp_ansible_client 0.15.5 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -4
- data/docs/AnsibleCollectionVersion.md +11 -9
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +6 -10
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +26 -28
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +3 -5
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +10 -14
- data/docs/ContentCollectionSignaturesApi.md +12 -16
- data/docs/ContentCollectionVersionsApi.md +22 -24
- data/docs/ContentRolesApi.md +10 -14
- data/docs/DistributionsAnsibleApi.md +14 -22
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +14 -18
- data/docs/RemotesGitApi.md +14 -18
- data/docs/RemotesRoleApi.md +14 -18
- data/docs/RepositoriesAnsibleApi.md +13 -33
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +0 -1
- data/spec/api/ansible_collections_api_spec.rb +3 -5
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
- data/spec/api/content_collection_signatures_api_spec.rb +5 -7
- data/spec/api/content_collection_versions_api_spec.rb +10 -11
- data/spec/api/content_roles_api_spec.rb +5 -7
- data/spec/api/distributions_ansible_api_spec.rb +7 -11
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +7 -9
- data/spec/api/remotes_git_api_spec.rb +7 -9
- data/spec/api/remotes_role_api_spec.rb +7 -9
- data/spec/api/repositories_ansible_api_spec.rb +6 -16
- data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_collection_version_spec.rb +12 -6
- data/spec/models/ansible_git_remote_response_spec.rb +16 -22
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +102 -106
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -107,17 +107,15 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
111
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
110
|
+
# @option opts [Array<String>] :ordering Ordering
|
113
111
|
# @option opts [String] :q
|
114
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
116
114
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
117
115
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
118
116
|
# @option opts [String] :version Filter results where version matches value
|
119
|
-
# @option opts [
|
120
|
-
# @option opts [
|
117
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
118
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
121
119
|
# @return [PaginatedCollectionVersionListResponseList]
|
122
120
|
def list(name, namespace, path, opts = {})
|
123
121
|
data, _status_code, _headers = list_with_http_info(name, namespace, path, opts)
|
@@ -134,17 +132,15 @@ module PulpAnsibleClient
|
|
134
132
|
# @option opts [String] :name2
|
135
133
|
# @option opts [String] :namespace2
|
136
134
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @option opts [Array<String>] :ordering Ordering
|
138
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
135
|
+
# @option opts [Array<String>] :ordering Ordering
|
140
136
|
# @option opts [String] :q
|
141
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
142
138
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
143
139
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
144
140
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
145
141
|
# @option opts [String] :version Filter results where version matches value
|
146
|
-
# @option opts [
|
147
|
-
# @option opts [
|
142
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
143
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
148
144
|
# @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
|
149
145
|
def list_with_http_info(name, namespace, path, opts = {})
|
150
146
|
if @api_client.config.debugging
|
@@ -162,7 +158,7 @@ module PulpAnsibleClient
|
|
162
158
|
if @api_client.config.client_side_validation && path.nil?
|
163
159
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsVersionsApi.list"
|
164
160
|
end
|
165
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
161
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-download_logs", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "download_logs", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
166
162
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
167
163
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
168
164
|
end
|
@@ -177,16 +173,14 @@ module PulpAnsibleClient
|
|
177
173
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
178
174
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
179
175
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
180
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
181
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
182
176
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
183
177
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
184
178
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
185
179
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
186
180
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
187
181
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
188
|
-
query_params[:'fields'] =
|
189
|
-
query_params[:'exclude_fields'] =
|
182
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
183
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
190
184
|
|
191
185
|
# header parameters
|
192
186
|
header_params = opts[:header_params] || {}
|
@@ -227,8 +221,8 @@ module PulpAnsibleClient
|
|
227
221
|
# @param path [String]
|
228
222
|
# @param version [String]
|
229
223
|
# @param [Hash] opts the optional parameters
|
230
|
-
# @option opts [
|
231
|
-
# @option opts [
|
224
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
225
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
232
226
|
# @return [CollectionVersionResponse]
|
233
227
|
def read(name, namespace, path, version, opts = {})
|
234
228
|
data, _status_code, _headers = read_with_http_info(name, namespace, path, version, opts)
|
@@ -241,8 +235,8 @@ module PulpAnsibleClient
|
|
241
235
|
# @param path [String]
|
242
236
|
# @param version [String]
|
243
237
|
# @param [Hash] opts the optional parameters
|
244
|
-
# @option opts [
|
245
|
-
# @option opts [
|
238
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
239
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
246
240
|
# @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
|
247
241
|
def read_with_http_info(name, namespace, path, version, opts = {})
|
248
242
|
if @api_client.config.debugging
|
@@ -269,8 +263,8 @@ module PulpAnsibleClient
|
|
269
263
|
|
270
264
|
# query parameters
|
271
265
|
query_params = opts[:query_params] || {}
|
272
|
-
query_params[:'fields'] =
|
273
|
-
query_params[:'exclude_fields'] =
|
266
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
267
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
274
268
|
|
275
269
|
# header parameters
|
276
270
|
header_params = opts[:header_params] || {}
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @param path [String]
|
26
26
|
# @param version [String]
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [
|
29
|
-
# @option opts [
|
28
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
30
30
|
# @return [CollectionVersionDocsResponse]
|
31
31
|
def read(name, namespace, path, version, opts = {})
|
32
32
|
data, _status_code, _headers = read_with_http_info(name, namespace, path, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param path [String]
|
40
40
|
# @param version [String]
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [
|
43
|
-
# @option opts [
|
42
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
43
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
45
45
|
def read_with_http_info(name, namespace, path, version, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpAnsibleClient
|
|
67
67
|
|
68
68
|
# query parameters
|
69
69
|
query_params = opts[:query_params] || {}
|
70
|
-
query_params[:'fields'] =
|
71
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb
CHANGED
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Get the client configs.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
26
|
-
# @option opts [
|
25
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [ClientConfigurationResponse]
|
28
28
|
def get(path, opts = {})
|
29
29
|
data, _status_code, _headers = get_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Get the client configs.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
37
|
-
# @option opts [
|
36
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(ClientConfigurationResponse, Integer, Hash)>] ClientConfigurationResponse data, response status code and response headers
|
39
39
|
def get_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] =
|
53
|
-
query_params[:'exclude_fields'] =
|
52
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -26,11 +26,9 @@ module PulpAnsibleClient
|
|
26
26
|
# @option opts [Boolean] :deprecated
|
27
27
|
# @option opts [String] :name
|
28
28
|
# @option opts [String] :namespace
|
29
|
-
# @option opts [Array<String>] :ordering Ordering
|
30
|
-
# @option opts [
|
31
|
-
# @option opts [
|
32
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
33
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
29
|
+
# @option opts [Array<String>] :ordering Ordering
|
30
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
31
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
34
32
|
# @return [Array<CollectionResponse>]
|
35
33
|
def list(distro_base_path, path, opts = {})
|
36
34
|
data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
|
@@ -44,11 +42,9 @@ module PulpAnsibleClient
|
|
44
42
|
# @option opts [Boolean] :deprecated
|
45
43
|
# @option opts [String] :name
|
46
44
|
# @option opts [String] :namespace
|
47
|
-
# @option opts [Array<String>] :ordering Ordering
|
48
|
-
# @option opts [
|
49
|
-
# @option opts [
|
50
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
45
|
+
# @option opts [Array<String>] :ordering Ordering
|
46
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
47
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
52
48
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
53
49
|
def list_with_http_info(distro_base_path, path, opts = {})
|
54
50
|
if @api_client.config.debugging
|
@@ -62,7 +58,7 @@ module PulpAnsibleClient
|
|
62
58
|
if @api_client.config.client_side_validation && path.nil?
|
63
59
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
|
64
60
|
end
|
65
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
61
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
66
62
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
67
63
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
68
64
|
end
|
@@ -75,10 +71,8 @@ module PulpAnsibleClient
|
|
75
71
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
76
72
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
77
73
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
78
|
-
query_params[:'
|
79
|
-
query_params[:'
|
80
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
81
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
74
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
75
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
82
76
|
|
83
77
|
# header parameters
|
84
78
|
header_params = opts[:header_params] || {}
|
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [
|
27
|
-
# @option opts [
|
26
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
28
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
29
29
|
def list(distro_base_path, path, opts = {})
|
30
30
|
data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param distro_base_path [String]
|
36
36
|
# @param path [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [
|
39
|
-
# @option opts [
|
38
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
41
41
|
def list_with_http_info(distro_base_path, path, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
|
56
56
|
# query parameters
|
57
57
|
query_params = opts[:query_params] || {}
|
58
|
-
query_params[:'fields'] =
|
59
|
-
query_params[:'exclude_fields'] =
|
58
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb
CHANGED
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [
|
27
|
-
# @option opts [
|
26
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
28
|
# @return [RepoMetadataResponse]
|
29
29
|
def read(distro_base_path, path, opts = {})
|
30
30
|
data, _status_code, _headers = read_with_http_info(distro_base_path, path, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param distro_base_path [String]
|
36
36
|
# @param path [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [
|
39
|
-
# @option opts [
|
38
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
41
41
|
def read_with_http_info(distro_base_path, path, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
|
56
56
|
# query parameters
|
57
57
|
query_params = opts[:query_params] || {}
|
58
|
-
query_params[:'fields'] =
|
59
|
-
query_params[:'exclude_fields'] =
|
58
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param filename [String]
|
25
25
|
# @param path [String]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [
|
28
|
-
# @option opts [
|
27
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [nil]
|
30
30
|
def download(distro_base_path, filename, path, opts = {})
|
31
31
|
download_with_http_info(distro_base_path, filename, path, opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param filename [String]
|
38
38
|
# @param path [String]
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [
|
41
|
-
# @option opts [
|
40
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
43
43
|
def download_with_http_info(distro_base_path, filename, path, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -61,8 +61,8 @@ module PulpAnsibleClient
|
|
61
61
|
|
62
62
|
# query parameters
|
63
63
|
query_params = opts[:query_params] || {}
|
64
|
-
query_params[:'fields'] =
|
65
|
-
query_params[:'exclude_fields'] =
|
64
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
65
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
66
66
|
|
67
67
|
# header parameters
|
68
68
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb
CHANGED
@@ -106,11 +106,9 @@ module PulpAnsibleClient
|
|
106
106
|
# @option opts [String] :name
|
107
107
|
# @option opts [String] :namespace
|
108
108
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
109
|
-
# @option opts [Array<String>] :ordering Ordering
|
110
|
-
# @option opts [
|
111
|
-
# @option opts [
|
112
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
113
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
|
+
# @option opts [Array<String>] :ordering Ordering
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
112
|
# @return [PaginatedCollectionResponseList]
|
115
113
|
def list(distro_base_path, path, opts = {})
|
116
114
|
data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
|
@@ -126,11 +124,9 @@ module PulpAnsibleClient
|
|
126
124
|
# @option opts [String] :name
|
127
125
|
# @option opts [String] :namespace
|
128
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
|
-
# @option opts [Array<String>] :ordering Ordering
|
130
|
-
# @option opts [
|
131
|
-
# @option opts [
|
132
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
133
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
128
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
129
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
134
130
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
135
131
|
def list_with_http_info(distro_base_path, path, opts = {})
|
136
132
|
if @api_client.config.debugging
|
@@ -144,7 +140,7 @@ module PulpAnsibleClient
|
|
144
140
|
if @api_client.config.client_side_validation && path.nil?
|
145
141
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.list"
|
146
142
|
end
|
147
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
143
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
148
144
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
149
145
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
150
146
|
end
|
@@ -159,10 +155,8 @@ module PulpAnsibleClient
|
|
159
155
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
160
156
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
161
157
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
162
|
-
query_params[:'
|
163
|
-
query_params[:'
|
164
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
165
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
158
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
159
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
166
160
|
|
167
161
|
# header parameters
|
168
162
|
header_params = opts[:header_params] || {}
|
@@ -203,8 +197,8 @@ module PulpAnsibleClient
|
|
203
197
|
# @param namespace [String]
|
204
198
|
# @param path [String]
|
205
199
|
# @param [Hash] opts the optional parameters
|
206
|
-
# @option opts [
|
207
|
-
# @option opts [
|
200
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
201
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
208
202
|
# @return [CollectionResponse]
|
209
203
|
def read(distro_base_path, name, namespace, path, opts = {})
|
210
204
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, opts)
|
@@ -217,8 +211,8 @@ module PulpAnsibleClient
|
|
217
211
|
# @param namespace [String]
|
218
212
|
# @param path [String]
|
219
213
|
# @param [Hash] opts the optional parameters
|
220
|
-
# @option opts [
|
221
|
-
# @option opts [
|
214
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
215
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
222
216
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
223
217
|
def read_with_http_info(distro_base_path, name, namespace, path, opts = {})
|
224
218
|
if @api_client.config.debugging
|
@@ -245,8 +239,8 @@ module PulpAnsibleClient
|
|
245
239
|
|
246
240
|
# query parameters
|
247
241
|
query_params = opts[:query_params] || {}
|
248
|
-
query_params[:'fields'] =
|
249
|
-
query_params[:'exclude_fields'] =
|
242
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
243
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
250
244
|
|
251
245
|
# header parameters
|
252
246
|
header_params = opts[:header_params] || {}
|
@@ -114,17 +114,15 @@ module PulpAnsibleClient
|
|
114
114
|
# @option opts [String] :name2
|
115
115
|
# @option opts [String] :namespace2
|
116
116
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
-
# @option opts [Array<String>] :ordering Ordering
|
118
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
117
|
+
# @option opts [Array<String>] :ordering Ordering
|
120
118
|
# @option opts [String] :q
|
121
119
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
122
120
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
123
121
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
124
122
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
125
123
|
# @option opts [String] :version Filter results where version matches value
|
126
|
-
# @option opts [
|
127
|
-
# @option opts [
|
124
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
128
126
|
# @return [PaginatedCollectionVersionListResponseList]
|
129
127
|
def list(distro_base_path, name, namespace, path, opts = {})
|
130
128
|
data, _status_code, _headers = list_with_http_info(distro_base_path, name, namespace, path, opts)
|
@@ -142,17 +140,15 @@ module PulpAnsibleClient
|
|
142
140
|
# @option opts [String] :name2
|
143
141
|
# @option opts [String] :namespace2
|
144
142
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
145
|
-
# @option opts [Array<String>] :ordering Ordering
|
146
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
147
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
143
|
+
# @option opts [Array<String>] :ordering Ordering
|
148
144
|
# @option opts [String] :q
|
149
145
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
150
146
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
151
147
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
152
148
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
153
149
|
# @option opts [String] :version Filter results where version matches value
|
154
|
-
# @option opts [
|
155
|
-
# @option opts [
|
150
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
151
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
156
152
|
# @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
|
157
153
|
def list_with_http_info(distro_base_path, name, namespace, path, opts = {})
|
158
154
|
if @api_client.config.debugging
|
@@ -174,7 +170,7 @@ module PulpAnsibleClient
|
|
174
170
|
if @api_client.config.client_side_validation && path.nil?
|
175
171
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
|
176
172
|
end
|
177
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
173
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-download_logs", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "download_logs", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
178
174
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
179
175
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
180
176
|
end
|
@@ -189,16 +185,14 @@ module PulpAnsibleClient
|
|
189
185
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
190
186
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
191
187
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
192
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
193
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
194
188
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
195
189
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
196
190
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
197
191
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
198
192
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
199
193
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
200
|
-
query_params[:'fields'] =
|
201
|
-
query_params[:'exclude_fields'] =
|
194
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
195
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
202
196
|
|
203
197
|
# header parameters
|
204
198
|
header_params = opts[:header_params] || {}
|
@@ -240,8 +234,8 @@ module PulpAnsibleClient
|
|
240
234
|
# @param path [String]
|
241
235
|
# @param version [String]
|
242
236
|
# @param [Hash] opts the optional parameters
|
243
|
-
# @option opts [
|
244
|
-
# @option opts [
|
237
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
238
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
245
239
|
# @return [CollectionVersionResponse]
|
246
240
|
def read(distro_base_path, name, namespace, path, version, opts = {})
|
247
241
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, version, opts)
|
@@ -255,8 +249,8 @@ module PulpAnsibleClient
|
|
255
249
|
# @param path [String]
|
256
250
|
# @param version [String]
|
257
251
|
# @param [Hash] opts the optional parameters
|
258
|
-
# @option opts [
|
259
|
-
# @option opts [
|
252
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
253
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
260
254
|
# @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
|
261
255
|
def read_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
|
262
256
|
if @api_client.config.debugging
|
@@ -287,8 +281,8 @@ module PulpAnsibleClient
|
|
287
281
|
|
288
282
|
# query parameters
|
289
283
|
query_params = opts[:query_params] || {}
|
290
|
-
query_params[:'fields'] =
|
291
|
-
query_params[:'exclude_fields'] =
|
284
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
285
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
292
286
|
|
293
287
|
# header parameters
|
294
288
|
header_params = opts[:header_params] || {}
|
@@ -26,8 +26,8 @@ module PulpAnsibleClient
|
|
26
26
|
# @param path [String]
|
27
27
|
# @param version [String]
|
28
28
|
# @param [Hash] opts the optional parameters
|
29
|
-
# @option opts [
|
30
|
-
# @option opts [
|
29
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
30
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
31
31
|
# @return [CollectionVersionDocsResponse]
|
32
32
|
def read(distro_base_path, name, namespace, path, version, opts = {})
|
33
33
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, version, opts)
|
@@ -41,8 +41,8 @@ module PulpAnsibleClient
|
|
41
41
|
# @param path [String]
|
42
42
|
# @param version [String]
|
43
43
|
# @param [Hash] opts the optional parameters
|
44
|
-
# @option opts [
|
45
|
-
# @option opts [
|
44
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
45
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
46
46
|
# @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
47
47
|
def read_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
|
48
48
|
if @api_client.config.debugging
|
@@ -73,8 +73,8 @@ module PulpAnsibleClient
|
|
73
73
|
|
74
74
|
# query parameters
|
75
75
|
query_params = opts[:query_params] || {}
|
76
|
-
query_params[:'fields'] =
|
77
|
-
query_params[:'exclude_fields'] =
|
76
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
77
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
78
78
|
|
79
79
|
# header parameters
|
80
80
|
header_params = opts[:header_params] || {}
|