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(distro_base_path, name, namespace, opts = {})
|
123
121
|
data, _status_code, _headers = list_with_http_info(distro_base_path, name, namespace, 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(distro_base_path, name, namespace, opts = {})
|
150
146
|
if @api_client.config.debugging
|
@@ -162,7 +158,7 @@ module PulpAnsibleClient
|
|
162
158
|
if @api_client.config.client_side_validation && namespace.nil?
|
163
159
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.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 namespace [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(distro_base_path, name, namespace, version, opts = {})
|
234
228
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, version, opts)
|
@@ -241,8 +235,8 @@ module PulpAnsibleClient
|
|
241
235
|
# @param namespace [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(distro_base_path, name, namespace, 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 namespace [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(distro_base_path, name, namespace, version, opts = {})
|
32
32
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param namespace [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(distro_base_path, name, namespace, 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] || {}
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
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 [PaginatedTagResponseList]
|
30
30
|
def list(opts = {})
|
31
31
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
39
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
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<(PaginatedTagResponseList, Integer, Hash)>] PaginatedTagResponseList data, response status code and response headers
|
43
43
|
def list_with_http_info(opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -51,8 +51,8 @@ module PulpAnsibleClient
|
|
51
51
|
query_params = opts[:query_params] || {}
|
52
52
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
53
53
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
54
|
-
query_params[:'fields'] =
|
55
|
-
query_params[:'exclude_fields'] =
|
54
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
55
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
56
56
|
|
57
57
|
# header parameters
|
58
58
|
header_params = opts[:header_params] || {}
|
@@ -149,24 +149,22 @@ module PulpAnsibleClient
|
|
149
149
|
# ViewSet for Collection Remotes.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
161
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
162
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
163
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
164
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
165
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
166
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
167
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
168
|
-
# @option opts [
|
169
|
-
# @option opts [
|
166
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
170
168
|
# @return [PaginatedansibleCollectionRemoteResponseList]
|
171
169
|
def list(opts = {})
|
172
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -177,30 +175,28 @@ module PulpAnsibleClient
|
|
177
175
|
# ViewSet for Collection Remotes.
|
178
176
|
# @param [Hash] opts the optional parameters
|
179
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
180
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name
|
181
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
182
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
183
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :ordering Ordering
|
187
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
189
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
190
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
191
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
192
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
193
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
194
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
195
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
196
|
-
# @option opts [
|
197
|
-
# @option opts [
|
192
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
194
|
# @return [Array<(PaginatedansibleCollectionRemoteResponseList, Integer, Hash)>] PaginatedansibleCollectionRemoteResponseList data, response status code and response headers
|
199
195
|
def list_with_http_info(opts = {})
|
200
196
|
if @api_client.config.debugging
|
201
197
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
202
198
|
end
|
203
|
-
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
199
|
+
allowable_values = ["-alternatecontentsource", "-ansible_collectionremote", "-ansible_gitremote", "-ansible_roleremote", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "ansible_collectionremote", "ansible_gitremote", "ansible_roleremote", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
204
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
205
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
206
202
|
end
|
@@ -217,8 +213,6 @@ module PulpAnsibleClient
|
|
217
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
215
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
222
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
224
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -226,8 +220,8 @@ module PulpAnsibleClient
|
|
226
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
227
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
228
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
229
|
-
query_params[:'fields'] =
|
230
|
-
query_params[:'exclude_fields'] =
|
223
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
225
|
|
232
226
|
# header parameters
|
233
227
|
header_params = opts[:header_params] || {}
|
@@ -336,8 +330,8 @@ module PulpAnsibleClient
|
|
336
330
|
# ViewSet for Collection Remotes.
|
337
331
|
# @param ansible_collection_remote_href [String]
|
338
332
|
# @param [Hash] opts the optional parameters
|
339
|
-
# @option opts [
|
340
|
-
# @option opts [
|
333
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
341
335
|
# @return [AnsibleCollectionRemoteResponse]
|
342
336
|
def read(ansible_collection_remote_href, opts = {})
|
343
337
|
data, _status_code, _headers = read_with_http_info(ansible_collection_remote_href, opts)
|
@@ -348,8 +342,8 @@ module PulpAnsibleClient
|
|
348
342
|
# ViewSet for Collection Remotes.
|
349
343
|
# @param ansible_collection_remote_href [String]
|
350
344
|
# @param [Hash] opts the optional parameters
|
351
|
-
# @option opts [
|
352
|
-
# @option opts [
|
345
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
346
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
353
347
|
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
354
348
|
def read_with_http_info(ansible_collection_remote_href, opts = {})
|
355
349
|
if @api_client.config.debugging
|
@@ -364,8 +358,8 @@ module PulpAnsibleClient
|
|
364
358
|
|
365
359
|
# query parameters
|
366
360
|
query_params = opts[:query_params] || {}
|
367
|
-
query_params[:'fields'] =
|
368
|
-
query_params[:'exclude_fields'] =
|
361
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
369
363
|
|
370
364
|
# header parameters
|
371
365
|
header_params = opts[:header_params] || {}
|
@@ -149,24 +149,22 @@ module PulpAnsibleClient
|
|
149
149
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
161
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
162
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
163
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
164
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
165
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
166
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
167
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
168
|
-
# @option opts [
|
169
|
-
# @option opts [
|
166
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
170
168
|
# @return [PaginatedansibleGitRemoteResponseList]
|
171
169
|
def list(opts = {})
|
172
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -177,30 +175,28 @@ module PulpAnsibleClient
|
|
177
175
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
178
176
|
# @param [Hash] opts the optional parameters
|
179
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
180
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name
|
181
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
182
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
183
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :ordering Ordering
|
187
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
189
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
190
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
191
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
192
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
193
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
194
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
195
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
196
|
-
# @option opts [
|
197
|
-
# @option opts [
|
192
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
194
|
# @return [Array<(PaginatedansibleGitRemoteResponseList, Integer, Hash)>] PaginatedansibleGitRemoteResponseList data, response status code and response headers
|
199
195
|
def list_with_http_info(opts = {})
|
200
196
|
if @api_client.config.debugging
|
201
197
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.list ...'
|
202
198
|
end
|
203
|
-
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
199
|
+
allowable_values = ["-alternatecontentsource", "-ansible_collectionremote", "-ansible_gitremote", "-ansible_roleremote", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "ansible_collectionremote", "ansible_gitremote", "ansible_roleremote", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
204
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
205
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
206
202
|
end
|
@@ -217,8 +213,6 @@ module PulpAnsibleClient
|
|
217
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
215
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
222
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
224
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -226,8 +220,8 @@ module PulpAnsibleClient
|
|
226
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
227
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
228
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
229
|
-
query_params[:'fields'] =
|
230
|
-
query_params[:'exclude_fields'] =
|
223
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
225
|
|
232
226
|
# header parameters
|
233
227
|
header_params = opts[:header_params] || {}
|
@@ -336,8 +330,8 @@ module PulpAnsibleClient
|
|
336
330
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
337
331
|
# @param ansible_git_remote_href [String]
|
338
332
|
# @param [Hash] opts the optional parameters
|
339
|
-
# @option opts [
|
340
|
-
# @option opts [
|
333
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
341
335
|
# @return [AnsibleGitRemoteResponse]
|
342
336
|
def read(ansible_git_remote_href, opts = {})
|
343
337
|
data, _status_code, _headers = read_with_http_info(ansible_git_remote_href, opts)
|
@@ -348,8 +342,8 @@ module PulpAnsibleClient
|
|
348
342
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
349
343
|
# @param ansible_git_remote_href [String]
|
350
344
|
# @param [Hash] opts the optional parameters
|
351
|
-
# @option opts [
|
352
|
-
# @option opts [
|
345
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
346
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
353
347
|
# @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
|
354
348
|
def read_with_http_info(ansible_git_remote_href, opts = {})
|
355
349
|
if @api_client.config.debugging
|
@@ -364,8 +358,8 @@ module PulpAnsibleClient
|
|
364
358
|
|
365
359
|
# query parameters
|
366
360
|
query_params = opts[:query_params] || {}
|
367
|
-
query_params[:'fields'] =
|
368
|
-
query_params[:'exclude_fields'] =
|
361
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
369
363
|
|
370
364
|
# header parameters
|
371
365
|
header_params = opts[:header_params] || {}
|
@@ -149,24 +149,22 @@ module PulpAnsibleClient
|
|
149
149
|
# ViewSet for Role Remotes.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
151
|
# @option opts [Integer] :limit Number of results to return per page.
|
152
|
-
# @option opts [String] :name
|
152
|
+
# @option opts [String] :name
|
153
153
|
# @option opts [String] :name__contains Filter results where name contains value
|
154
154
|
# @option opts [String] :name__icontains Filter results where name contains value
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [Array<String>] :ordering Ordering
|
159
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
161
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
162
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
163
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
164
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
165
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
166
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
167
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
168
|
-
# @option opts [
|
169
|
-
# @option opts [
|
166
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
167
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
170
168
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
171
169
|
def list(opts = {})
|
172
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -177,30 +175,28 @@ module PulpAnsibleClient
|
|
177
175
|
# ViewSet for Role Remotes.
|
178
176
|
# @param [Hash] opts the optional parameters
|
179
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
180
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name
|
181
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
182
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
183
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
184
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
185
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
186
|
-
# @option opts [Array<String>] :ordering Ordering
|
187
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
188
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
189
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
190
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
191
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
192
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
193
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
194
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
195
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
196
|
-
# @option opts [
|
197
|
-
# @option opts [
|
192
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
198
194
|
# @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
|
199
195
|
def list_with_http_info(opts = {})
|
200
196
|
if @api_client.config.debugging
|
201
197
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.list ...'
|
202
198
|
end
|
203
|
-
allowable_values = ["-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-download_concurrency", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-username", "ca_cert", "client_cert", "client_key", "connect_timeout", "download_concurrency", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "username"]
|
199
|
+
allowable_values = ["-alternatecontentsource", "-ansible_collectionremote", "-ansible_gitremote", "-ansible_roleremote", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "ansible_collectionremote", "ansible_gitremote", "ansible_roleremote", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
204
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
205
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
206
202
|
end
|
@@ -217,8 +213,6 @@ module PulpAnsibleClient
|
|
217
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
218
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
219
215
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
220
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
221
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
222
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
223
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
224
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -226,8 +220,8 @@ module PulpAnsibleClient
|
|
226
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
227
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
228
222
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
229
|
-
query_params[:'fields'] =
|
230
|
-
query_params[:'exclude_fields'] =
|
223
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
225
|
|
232
226
|
# header parameters
|
233
227
|
header_params = opts[:header_params] || {}
|
@@ -336,8 +330,8 @@ module PulpAnsibleClient
|
|
336
330
|
# ViewSet for Role Remotes.
|
337
331
|
# @param ansible_role_remote_href [String]
|
338
332
|
# @param [Hash] opts the optional parameters
|
339
|
-
# @option opts [
|
340
|
-
# @option opts [
|
333
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
334
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
341
335
|
# @return [AnsibleRoleRemoteResponse]
|
342
336
|
def read(ansible_role_remote_href, opts = {})
|
343
337
|
data, _status_code, _headers = read_with_http_info(ansible_role_remote_href, opts)
|
@@ -348,8 +342,8 @@ module PulpAnsibleClient
|
|
348
342
|
# ViewSet for Role Remotes.
|
349
343
|
# @param ansible_role_remote_href [String]
|
350
344
|
# @param [Hash] opts the optional parameters
|
351
|
-
# @option opts [
|
352
|
-
# @option opts [
|
345
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
346
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
353
347
|
# @return [Array<(AnsibleRoleRemoteResponse, Integer, Hash)>] AnsibleRoleRemoteResponse data, response status code and response headers
|
354
348
|
def read_with_http_info(ansible_role_remote_href, opts = {})
|
355
349
|
if @api_client.config.debugging
|
@@ -364,8 +358,8 @@ module PulpAnsibleClient
|
|
364
358
|
|
365
359
|
# query parameters
|
366
360
|
query_params = opts[:query_params] || {}
|
367
|
-
query_params[:'fields'] =
|
368
|
-
query_params[:'exclude_fields'] =
|
361
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
369
363
|
|
370
364
|
# header parameters
|
371
365
|
header_params = opts[:header_params] || {}
|