pulp_ansible_client 0.15.6 → 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 -8
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -3
- data/docs/AnsibleCollectionVersion.md +10 -8
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +5 -5
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +24 -26
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +2 -4
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +5 -5
- data/docs/ApiRolesApi.md +5 -5
- data/docs/CollectionImportApi.md +5 -5
- data/docs/ContentCollectionDeprecationsApi.md +9 -9
- data/docs/ContentCollectionSignaturesApi.md +11 -11
- data/docs/ContentCollectionVersionsApi.md +22 -20
- data/docs/ContentRolesApi.md +9 -9
- data/docs/DistributionsAnsibleApi.md +13 -13
- data/docs/GalaxyDetailApi.md +5 -5
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiApi.md +5 -5
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3Api.md +5 -5
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +5 -5
- data/docs/PulpAnsibleApiV3CollectionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +5 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +9 -9
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +5 -5
- data/docs/PulpAnsibleTagsApi.md +5 -5
- data/docs/RemotesCollectionApi.md +13 -13
- data/docs/RemotesGitApi.md +13 -13
- data/docs/RemotesRoleApi.md +13 -13
- data/docs/RepositoriesAnsibleApi.md +12 -12
- data/docs/RepositoriesAnsibleVersionsApi.md +13 -13
- data/docs/VersionsApi.md +9 -9
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
- 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 +12 -12
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +43 -52
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
- 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 +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
- 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 +7 -7
- 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 +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- 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 +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
- 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 +7 -7
- 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 +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- 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 +17 -17
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- 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 +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +23 -37
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +75 -92
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +52 -160
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +248 -250
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +145 -159
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +27 -41
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +22 -24
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +236 -238
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +22 -24
- 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 +2 -2
- 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 +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +9 -8
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +6 -6
- 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 +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- 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 +2 -2
- 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 +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- 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 +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- 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 +2 -2
- 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 +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- 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 +6 -6
- data/spec/api/remotes_git_api_spec.rb +6 -6
- data/spec/api/remotes_role_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_api_spec.rb +5 -5
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +8 -8
- data/spec/models/ansible_collection_version_spec.rb +10 -4
- 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 +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +111 -115
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -225
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -149,7 +149,7 @@ 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
|
@@ -157,14 +157,14 @@ module PulpAnsibleClient
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
|
-
# @option opts [
|
167
|
-
# @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.
|
168
168
|
# @return [PaginatedansibleCollectionRemoteResponseList]
|
169
169
|
def list(opts = {})
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
175
175
|
# ViewSet for Collection Remotes.
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -183,20 +183,20 @@ module PulpAnsibleClient
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
192
|
-
# @option opts [
|
193
|
-
# @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.
|
194
194
|
# @return [Array<(PaginatedansibleCollectionRemoteResponseList, Integer, Hash)>] PaginatedansibleCollectionRemoteResponseList data, response status code and response headers
|
195
195
|
def list_with_http_info(opts = {})
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
198
198
|
end
|
199
|
-
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"]
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
202
|
end
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
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?
|
223
|
-
query_params[:'fields'] =
|
224
|
-
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?
|
225
225
|
|
226
226
|
# header parameters
|
227
227
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +330,8 @@ module PulpAnsibleClient
|
|
330
330
|
# ViewSet for Collection Remotes.
|
331
331
|
# @param ansible_collection_remote_href [String]
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
|
-
# @option opts [
|
334
|
-
# @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.
|
335
335
|
# @return [AnsibleCollectionRemoteResponse]
|
336
336
|
def read(ansible_collection_remote_href, opts = {})
|
337
337
|
data, _status_code, _headers = read_with_http_info(ansible_collection_remote_href, opts)
|
@@ -342,8 +342,8 @@ module PulpAnsibleClient
|
|
342
342
|
# ViewSet for Collection Remotes.
|
343
343
|
# @param ansible_collection_remote_href [String]
|
344
344
|
# @param [Hash] opts the optional parameters
|
345
|
-
# @option opts [
|
346
|
-
# @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.
|
347
347
|
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
348
348
|
def read_with_http_info(ansible_collection_remote_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
@@ -358,8 +358,8 @@ module PulpAnsibleClient
|
|
358
358
|
|
359
359
|
# query parameters
|
360
360
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] =
|
362
|
-
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?
|
363
363
|
|
364
364
|
# header parameters
|
365
365
|
header_params = opts[:header_params] || {}
|
@@ -149,7 +149,7 @@ 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
|
@@ -157,14 +157,14 @@ module PulpAnsibleClient
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
|
-
# @option opts [
|
167
|
-
# @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.
|
168
168
|
# @return [PaginatedansibleGitRemoteResponseList]
|
169
169
|
def list(opts = {})
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
175
175
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -183,20 +183,20 @@ module PulpAnsibleClient
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
192
|
-
# @option opts [
|
193
|
-
# @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.
|
194
194
|
# @return [Array<(PaginatedansibleGitRemoteResponseList, Integer, Hash)>] PaginatedansibleGitRemoteResponseList data, response status code and response headers
|
195
195
|
def list_with_http_info(opts = {})
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.list ...'
|
198
198
|
end
|
199
|
-
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"]
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
202
|
end
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
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?
|
223
|
-
query_params[:'fields'] =
|
224
|
-
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?
|
225
225
|
|
226
226
|
# header parameters
|
227
227
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +330,8 @@ module PulpAnsibleClient
|
|
330
330
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
331
331
|
# @param ansible_git_remote_href [String]
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
|
-
# @option opts [
|
334
|
-
# @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.
|
335
335
|
# @return [AnsibleGitRemoteResponse]
|
336
336
|
def read(ansible_git_remote_href, opts = {})
|
337
337
|
data, _status_code, _headers = read_with_http_info(ansible_git_remote_href, opts)
|
@@ -342,8 +342,8 @@ module PulpAnsibleClient
|
|
342
342
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
343
343
|
# @param ansible_git_remote_href [String]
|
344
344
|
# @param [Hash] opts the optional parameters
|
345
|
-
# @option opts [
|
346
|
-
# @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.
|
347
347
|
# @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
|
348
348
|
def read_with_http_info(ansible_git_remote_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
@@ -358,8 +358,8 @@ module PulpAnsibleClient
|
|
358
358
|
|
359
359
|
# query parameters
|
360
360
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] =
|
362
|
-
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?
|
363
363
|
|
364
364
|
# header parameters
|
365
365
|
header_params = opts[:header_params] || {}
|
@@ -149,7 +149,7 @@ 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
|
@@ -157,14 +157,14 @@ module PulpAnsibleClient
|
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
160
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
162
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
163
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
164
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
165
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
166
|
-
# @option opts [
|
167
|
-
# @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.
|
168
168
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
169
169
|
def list(opts = {})
|
170
170
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
175
175
|
# ViewSet for Role Remotes.
|
176
176
|
# @param [Hash] opts the optional parameters
|
177
177
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
178
|
+
# @option opts [String] :name
|
179
179
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
180
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -183,20 +183,20 @@ module PulpAnsibleClient
|
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
184
|
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
186
|
+
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
188
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
189
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
190
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
191
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
192
|
-
# @option opts [
|
193
|
-
# @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.
|
194
194
|
# @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
|
195
195
|
def list_with_http_info(opts = {})
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.list ...'
|
198
198
|
end
|
199
|
-
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"]
|
200
200
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
201
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
202
|
end
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
220
220
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
221
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
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?
|
223
|
-
query_params[:'fields'] =
|
224
|
-
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?
|
225
225
|
|
226
226
|
# header parameters
|
227
227
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +330,8 @@ module PulpAnsibleClient
|
|
330
330
|
# ViewSet for Role Remotes.
|
331
331
|
# @param ansible_role_remote_href [String]
|
332
332
|
# @param [Hash] opts the optional parameters
|
333
|
-
# @option opts [
|
334
|
-
# @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.
|
335
335
|
# @return [AnsibleRoleRemoteResponse]
|
336
336
|
def read(ansible_role_remote_href, opts = {})
|
337
337
|
data, _status_code, _headers = read_with_http_info(ansible_role_remote_href, opts)
|
@@ -342,8 +342,8 @@ module PulpAnsibleClient
|
|
342
342
|
# ViewSet for Role Remotes.
|
343
343
|
# @param ansible_role_remote_href [String]
|
344
344
|
# @param [Hash] opts the optional parameters
|
345
|
-
# @option opts [
|
346
|
-
# @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.
|
347
347
|
# @return [Array<(AnsibleRoleRemoteResponse, Integer, Hash)>] AnsibleRoleRemoteResponse data, response status code and response headers
|
348
348
|
def read_with_http_info(ansible_role_remote_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
@@ -358,8 +358,8 @@ module PulpAnsibleClient
|
|
358
358
|
|
359
359
|
# query parameters
|
360
360
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] =
|
362
|
-
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?
|
363
363
|
|
364
364
|
# header parameters
|
365
365
|
header_params = opts[:header_params] || {}
|
@@ -149,7 +149,7 @@ module PulpAnsibleClient
|
|
149
149
|
# ViewSet for Ansible Repositories.
|
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
|
@@ -158,8 +158,8 @@ module PulpAnsibleClient
|
|
158
158
|
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
161
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
162
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
163
163
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
164
164
|
def list(opts = {})
|
165
165
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -170,7 +170,7 @@ module PulpAnsibleClient
|
|
170
170
|
# ViewSet for Ansible Repositories.
|
171
171
|
# @param [Hash] opts the optional parameters
|
172
172
|
# @option opts [Integer] :limit Number of results to return per page.
|
173
|
-
# @option opts [String] :name
|
173
|
+
# @option opts [String] :name
|
174
174
|
# @option opts [String] :name__contains Filter results where name contains value
|
175
175
|
# @option opts [String] :name__icontains Filter results where name contains value
|
176
176
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -179,14 +179,14 @@ module PulpAnsibleClient
|
|
179
179
|
# @option opts [Array<String>] :ordering Ordering
|
180
180
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
181
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
182
|
-
# @option opts [
|
183
|
-
# @option opts [
|
182
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
183
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
184
184
|
# @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
|
185
185
|
def list_with_http_info(opts = {})
|
186
186
|
if @api_client.config.debugging
|
187
187
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
|
188
188
|
end
|
189
|
-
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
189
|
+
allowable_values = ["-alternatecontentsourcepath", "-ansible_ansiblerepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-download_logs", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "ansible_ansiblerepository", "content", "core_pulp_exporter", "description", "distributions", "download_logs", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
|
190
190
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
191
191
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
192
192
|
end
|
@@ -205,8 +205,8 @@ module PulpAnsibleClient
|
|
205
205
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
206
206
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
207
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
208
|
-
query_params[:'fields'] =
|
209
|
-
query_params[:'exclude_fields'] =
|
208
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
209
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
210
210
|
|
211
211
|
# header parameters
|
212
212
|
header_params = opts[:header_params] || {}
|
@@ -385,8 +385,8 @@ module PulpAnsibleClient
|
|
385
385
|
# ViewSet for Ansible Repositories.
|
386
386
|
# @param ansible_ansible_repository_href [String]
|
387
387
|
# @param [Hash] opts the optional parameters
|
388
|
-
# @option opts [
|
389
|
-
# @option opts [
|
388
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
389
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
390
390
|
# @return [AnsibleAnsibleRepositoryResponse]
|
391
391
|
def read(ansible_ansible_repository_href, opts = {})
|
392
392
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_href, opts)
|
@@ -397,8 +397,8 @@ module PulpAnsibleClient
|
|
397
397
|
# ViewSet for Ansible Repositories.
|
398
398
|
# @param ansible_ansible_repository_href [String]
|
399
399
|
# @param [Hash] opts the optional parameters
|
400
|
-
# @option opts [
|
401
|
-
# @option opts [
|
400
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
401
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
402
402
|
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
403
403
|
def read_with_http_info(ansible_ansible_repository_href, opts = {})
|
404
404
|
if @api_client.config.debugging
|
@@ -413,8 +413,8 @@ module PulpAnsibleClient
|
|
413
413
|
|
414
414
|
# query parameters
|
415
415
|
query_params = opts[:query_params] || {}
|
416
|
-
query_params[:'fields'] =
|
417
|
-
query_params[:'exclude_fields'] =
|
416
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
417
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
418
418
|
|
419
419
|
# header parameters
|
420
420
|
header_params = opts[:header_params] || {}
|
@@ -88,7 +88,7 @@ module PulpAnsibleClient
|
|
88
88
|
# @option opts [String] :content Content Unit referenced by HREF
|
89
89
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
90
90
|
# @option opts [Integer] :limit Number of results to return per page.
|
91
|
-
# @option opts [Integer] :number
|
91
|
+
# @option opts [Integer] :number
|
92
92
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
93
93
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
94
94
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -96,14 +96,14 @@ module PulpAnsibleClient
|
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
98
|
# @option opts [Array<String>] :ordering Ordering
|
99
|
-
# @option opts [DateTime] :pulp_created
|
99
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
102
102
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
|
-
# @option opts [
|
106
|
-
# @option opts [
|
105
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
107
|
# @return [PaginatedRepositoryVersionResponseList]
|
108
108
|
def list(ansible_ansible_repository_href, opts = {})
|
109
109
|
data, _status_code, _headers = list_with_http_info(ansible_ansible_repository_href, opts)
|
@@ -117,7 +117,7 @@ module PulpAnsibleClient
|
|
117
117
|
# @option opts [String] :content Content Unit referenced by HREF
|
118
118
|
# @option opts [String] :content__in Content Unit referenced by HREF
|
119
119
|
# @option opts [Integer] :limit Number of results to return per page.
|
120
|
-
# @option opts [Integer] :number
|
120
|
+
# @option opts [Integer] :number
|
121
121
|
# @option opts [Integer] :number__gt Filter results where number is greater than value
|
122
122
|
# @option opts [Integer] :number__gte Filter results where number is greater than or equal to value
|
123
123
|
# @option opts [Integer] :number__lt Filter results where number is less than value
|
@@ -125,14 +125,14 @@ module PulpAnsibleClient
|
|
125
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
127
|
# @option opts [Array<String>] :ordering Ordering
|
128
|
-
# @option opts [DateTime] :pulp_created
|
128
|
+
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
129
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
131
131
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
132
132
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
133
133
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
134
|
-
# @option opts [
|
135
|
-
# @option opts [
|
134
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
136
136
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
137
137
|
def list_with_http_info(ansible_ansible_repository_href, opts = {})
|
138
138
|
if @api_client.config.debugging
|
@@ -142,7 +142,7 @@ module PulpAnsibleClient
|
|
142
142
|
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
|
144
144
|
end
|
145
|
-
allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
145
|
+
allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-download_logs", "-group_roles", "-info", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "download_logs", "group_roles", "info", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
|
146
146
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
147
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
148
|
end
|
@@ -168,8 +168,8 @@ module PulpAnsibleClient
|
|
168
168
|
query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
|
169
169
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
170
170
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
171
|
-
query_params[:'fields'] =
|
172
|
-
query_params[:'exclude_fields'] =
|
171
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
172
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
173
173
|
|
174
174
|
# header parameters
|
175
175
|
header_params = opts[:header_params] || {}
|
@@ -208,8 +208,8 @@ module PulpAnsibleClient
|
|
208
208
|
# AnsibleRepositoryVersion represents a single file repository version.
|
209
209
|
# @param ansible_ansible_repository_version_href [String]
|
210
210
|
# @param [Hash] opts the optional parameters
|
211
|
-
# @option opts [
|
212
|
-
# @option opts [
|
211
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
212
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
213
213
|
# @return [RepositoryVersionResponse]
|
214
214
|
def read(ansible_ansible_repository_version_href, opts = {})
|
215
215
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_version_href, opts)
|
@@ -220,8 +220,8 @@ module PulpAnsibleClient
|
|
220
220
|
# AnsibleRepositoryVersion represents a single file repository version.
|
221
221
|
# @param ansible_ansible_repository_version_href [String]
|
222
222
|
# @param [Hash] opts the optional parameters
|
223
|
-
# @option opts [
|
224
|
-
# @option opts [
|
223
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
224
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
225
225
|
# @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
|
226
226
|
def read_with_http_info(ansible_ansible_repository_version_href, opts = {})
|
227
227
|
if @api_client.config.debugging
|
@@ -236,8 +236,8 @@ module PulpAnsibleClient
|
|
236
236
|
|
237
237
|
# query parameters
|
238
238
|
query_params = opts[:query_params] || {}
|
239
|
-
query_params[:'fields'] =
|
240
|
-
query_params[:'exclude_fields'] =
|
239
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
240
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
241
241
|
|
242
242
|
# header parameters
|
243
243
|
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 [PaginatedGalaxyRoleVersionResponseList]
|
30
30
|
def get(ansible_role_href, opts = {})
|
31
31
|
data, _status_code, _headers = get_with_http_info(ansible_role_href, 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<(PaginatedGalaxyRoleVersionResponseList, Integer, Hash)>] PaginatedGalaxyRoleVersionResponseList data, response status code and response headers
|
43
43
|
def get_with_http_info(ansible_role_href, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
query_params = opts[:query_params] || {}
|
56
56
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
57
57
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
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] || {}
|
@@ -95,8 +95,8 @@ module PulpAnsibleClient
|
|
95
95
|
# @param ansible_collection_version_href [String]
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @option opts [Integer] :page A page number within the paginated result set.
|
98
|
-
# @option opts [
|
99
|
-
# @option opts [
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
100
|
# @return [PaginatedGalaxyCollectionVersionResponseList]
|
101
101
|
def get_0(ansible_collection_version_href, opts = {})
|
102
102
|
data, _status_code, _headers = get_0_with_http_info(ansible_collection_version_href, opts)
|
@@ -107,8 +107,8 @@ module PulpAnsibleClient
|
|
107
107
|
# @param ansible_collection_version_href [String]
|
108
108
|
# @param [Hash] opts the optional parameters
|
109
109
|
# @option opts [Integer] :page A page number within the paginated result set.
|
110
|
-
# @option opts [
|
111
|
-
# @option opts [
|
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.
|
112
112
|
# @return [Array<(PaginatedGalaxyCollectionVersionResponseList, Integer, Hash)>] PaginatedGalaxyCollectionVersionResponseList data, response status code and response headers
|
113
113
|
def get_0_with_http_info(ansible_collection_version_href, opts = {})
|
114
114
|
if @api_client.config.debugging
|
@@ -124,8 +124,8 @@ module PulpAnsibleClient
|
|
124
124
|
# query parameters
|
125
125
|
query_params = opts[:query_params] || {}
|
126
126
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
127
|
-
query_params[:'fields'] =
|
128
|
-
query_params[:'exclude_fields'] =
|
127
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
128
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
129
129
|
|
130
130
|
# header parameters
|
131
131
|
header_params = opts[:header_params] || {}
|