pulp_ansible_client 0.16.0 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -7
- 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 +4 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +10 -6
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +27 -25
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +5 -3
- data/docs/AnsibleRoleResponse.md +4 -4
- 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 +14 -10
- data/docs/ContentCollectionSignaturesApi.md +16 -12
- data/docs/ContentCollectionVersionsApi.md +18 -14
- data/docs/ContentRolesApi.md +14 -10
- data/docs/DistributionsAnsibleApi.md +22 -14
- 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 +25 -25
- 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 +10 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +10 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +18 -14
- data/docs/RemotesGitApi.md +18 -14
- data/docs/RemotesRoleApi.md +18 -14
- data/docs/RepositoriesAnsibleApi.md +33 -13
- data/docs/RepositoriesAnsibleVersionsApi.md +16 -14
- 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 +15 -9
- 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 +20 -14
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +21 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -21
- data/lib/pulp_ansible_client/api/content_roles_api.rb +21 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +31 -19
- 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 +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +21 -15
- 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 +15 -9
- 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 +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
- 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 +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +21 -15
- 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 +15 -9
- 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 +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
- 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 +25 -19
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +25 -19
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +25 -19
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +47 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +22 -19
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +18 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -216
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -130
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +22 -8
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +5 -3
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -216
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -0
- data/spec/api/ansible_collections_api_spec.rb +5 -3
- 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 +7 -5
- data/spec/api/content_collection_signatures_api_spec.rb +7 -5
- data/spec/api/content_collection_versions_api_spec.rb +9 -7
- data/spec/api/content_roles_api_spec.rb +7 -5
- data/spec/api/distributions_ansible_api_spec.rb +11 -7
- 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 +5 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +7 -5
- 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 +5 -3
- 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 +7 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
- 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 +5 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +7 -5
- 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 +5 -3
- 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 +7 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
- 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 +9 -7
- data/spec/api/remotes_git_api_spec.rb +9 -7
- data/spec/api/remotes_role_api_spec.rb +9 -7
- data/spec/api/repositories_ansible_api_spec.rb +16 -6
- data/spec/api/repositories_ansible_versions_api_spec.rb +8 -7
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +24 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +104 -100
@@ -149,22 +149,24 @@ 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 Filter results where name matches value
|
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
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
159
161
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
162
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
161
163
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
164
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
165
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
166
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
167
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
170
|
# @return [PaginatedansibleCollectionRemoteResponseList]
|
169
171
|
def list(opts = {})
|
170
172
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,28 +177,30 @@ module PulpAnsibleClient
|
|
175
177
|
# ViewSet for Collection Remotes.
|
176
178
|
# @param [Hash] opts the optional parameters
|
177
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
180
|
+
# @option opts [String] :name Filter results where name matches value
|
179
181
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
182
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
184
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [Array<String>] :ordering Ordering
|
186
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
185
189
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
190
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
187
191
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
192
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
193
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
194
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
195
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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.
|
196
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
197
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
198
|
# @return [Array<(PaginatedansibleCollectionRemoteResponseList, Integer, Hash)>] PaginatedansibleCollectionRemoteResponseList data, response status code and response headers
|
195
199
|
def list_with_http_info(opts = {})
|
196
200
|
if @api_client.config.debugging
|
197
201
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
198
202
|
end
|
199
|
-
allowable_values = ["-
|
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"]
|
200
204
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
205
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
206
|
end
|
@@ -213,6 +217,8 @@ module PulpAnsibleClient
|
|
213
217
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
214
218
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
215
219
|
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?
|
216
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
217
223
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
218
224
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -220,8 +226,8 @@ module PulpAnsibleClient
|
|
220
226
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
227
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
228
|
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'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
229
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
230
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
231
|
|
226
232
|
# header parameters
|
227
233
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +336,8 @@ module PulpAnsibleClient
|
|
330
336
|
# ViewSet for Collection Remotes.
|
331
337
|
# @param ansible_collection_remote_href [String]
|
332
338
|
# @param [Hash] opts the optional parameters
|
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.
|
339
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
340
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
341
|
# @return [AnsibleCollectionRemoteResponse]
|
336
342
|
def read(ansible_collection_remote_href, opts = {})
|
337
343
|
data, _status_code, _headers = read_with_http_info(ansible_collection_remote_href, opts)
|
@@ -342,8 +348,8 @@ module PulpAnsibleClient
|
|
342
348
|
# ViewSet for Collection Remotes.
|
343
349
|
# @param ansible_collection_remote_href [String]
|
344
350
|
# @param [Hash] opts the optional parameters
|
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.
|
351
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
352
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
353
|
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
348
354
|
def read_with_http_info(ansible_collection_remote_href, opts = {})
|
349
355
|
if @api_client.config.debugging
|
@@ -358,8 +364,8 @@ module PulpAnsibleClient
|
|
358
364
|
|
359
365
|
# query parameters
|
360
366
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
367
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
368
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
363
369
|
|
364
370
|
# header parameters
|
365
371
|
header_params = opts[:header_params] || {}
|
@@ -149,22 +149,24 @@ 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 Filter results where name matches value
|
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
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
159
161
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
162
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
161
163
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
164
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
165
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
166
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
167
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
170
|
# @return [PaginatedansibleGitRemoteResponseList]
|
169
171
|
def list(opts = {})
|
170
172
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,28 +177,30 @@ module PulpAnsibleClient
|
|
175
177
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
176
178
|
# @param [Hash] opts the optional parameters
|
177
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
180
|
+
# @option opts [String] :name Filter results where name matches value
|
179
181
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
182
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
184
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [Array<String>] :ordering Ordering
|
186
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
185
189
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
190
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
187
191
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
192
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
193
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
194
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
195
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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.
|
196
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
197
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
198
|
# @return [Array<(PaginatedansibleGitRemoteResponseList, Integer, Hash)>] PaginatedansibleGitRemoteResponseList data, response status code and response headers
|
195
199
|
def list_with_http_info(opts = {})
|
196
200
|
if @api_client.config.debugging
|
197
201
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.list ...'
|
198
202
|
end
|
199
|
-
allowable_values = ["-
|
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"]
|
200
204
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
205
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
206
|
end
|
@@ -213,6 +217,8 @@ module PulpAnsibleClient
|
|
213
217
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
214
218
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
215
219
|
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?
|
216
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
217
223
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
218
224
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -220,8 +226,8 @@ module PulpAnsibleClient
|
|
220
226
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
227
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
228
|
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'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
229
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
230
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
231
|
|
226
232
|
# header parameters
|
227
233
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +336,8 @@ module PulpAnsibleClient
|
|
330
336
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
331
337
|
# @param ansible_git_remote_href [String]
|
332
338
|
# @param [Hash] opts the optional parameters
|
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.
|
339
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
340
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
341
|
# @return [AnsibleGitRemoteResponse]
|
336
342
|
def read(ansible_git_remote_href, opts = {})
|
337
343
|
data, _status_code, _headers = read_with_http_info(ansible_git_remote_href, opts)
|
@@ -342,8 +348,8 @@ module PulpAnsibleClient
|
|
342
348
|
# ViewSet for Ansible Remotes. This is a tech preview feature. The functionality may change in the future.
|
343
349
|
# @param ansible_git_remote_href [String]
|
344
350
|
# @param [Hash] opts the optional parameters
|
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.
|
351
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
352
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
353
|
# @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
|
348
354
|
def read_with_http_info(ansible_git_remote_href, opts = {})
|
349
355
|
if @api_client.config.debugging
|
@@ -358,8 +364,8 @@ module PulpAnsibleClient
|
|
358
364
|
|
359
365
|
# query parameters
|
360
366
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
367
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
368
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
363
369
|
|
364
370
|
# header parameters
|
365
371
|
header_params = opts[:header_params] || {}
|
@@ -149,22 +149,24 @@ 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 Filter results where name matches value
|
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
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
159
161
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
|
-
# @option opts [DateTime] :pulp_last_updated
|
162
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
161
163
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
162
164
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
163
165
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
164
166
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
165
167
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
169
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
168
170
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
169
171
|
def list(opts = {})
|
170
172
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -175,28 +177,30 @@ module PulpAnsibleClient
|
|
175
177
|
# ViewSet for Role Remotes.
|
176
178
|
# @param [Hash] opts the optional parameters
|
177
179
|
# @option opts [Integer] :limit Number of results to return per page.
|
178
|
-
# @option opts [String] :name
|
180
|
+
# @option opts [String] :name Filter results where name matches value
|
179
181
|
# @option opts [String] :name__contains Filter results where name contains value
|
180
182
|
# @option opts [String] :name__icontains Filter results where name contains value
|
181
183
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
184
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
185
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [Array<String>] :ordering Ordering
|
186
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
185
189
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
|
-
# @option opts [DateTime] :pulp_last_updated
|
190
|
+
# @option opts [DateTime] :pulp_last_updated Filter results where pulp_last_updated matches value
|
187
191
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
188
192
|
# @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value
|
189
193
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
190
194
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
191
195
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
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.
|
196
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
197
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
194
198
|
# @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
|
195
199
|
def list_with_http_info(opts = {})
|
196
200
|
if @api_client.config.debugging
|
197
201
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.list ...'
|
198
202
|
end
|
199
|
-
allowable_values = ["-
|
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"]
|
200
204
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
205
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
206
|
end
|
@@ -213,6 +217,8 @@ module PulpAnsibleClient
|
|
213
217
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
214
218
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
215
219
|
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?
|
216
222
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
217
223
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
218
224
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -220,8 +226,8 @@ module PulpAnsibleClient
|
|
220
226
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
221
227
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
222
228
|
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'] = opts[:'fields'] if !opts[:'fields'].nil?
|
224
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
229
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
230
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
225
231
|
|
226
232
|
# header parameters
|
227
233
|
header_params = opts[:header_params] || {}
|
@@ -330,8 +336,8 @@ module PulpAnsibleClient
|
|
330
336
|
# ViewSet for Role Remotes.
|
331
337
|
# @param ansible_role_remote_href [String]
|
332
338
|
# @param [Hash] opts the optional parameters
|
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.
|
339
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
340
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
341
|
# @return [AnsibleRoleRemoteResponse]
|
336
342
|
def read(ansible_role_remote_href, opts = {})
|
337
343
|
data, _status_code, _headers = read_with_http_info(ansible_role_remote_href, opts)
|
@@ -342,8 +348,8 @@ module PulpAnsibleClient
|
|
342
348
|
# ViewSet for Role Remotes.
|
343
349
|
# @param ansible_role_remote_href [String]
|
344
350
|
# @param [Hash] opts the optional parameters
|
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.
|
351
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
352
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
353
|
# @return [Array<(AnsibleRoleRemoteResponse, Integer, Hash)>] AnsibleRoleRemoteResponse data, response status code and response headers
|
348
354
|
def read_with_http_info(ansible_role_remote_href, opts = {})
|
349
355
|
if @api_client.config.debugging
|
@@ -358,8 +364,8 @@ module PulpAnsibleClient
|
|
358
364
|
|
359
365
|
# query parameters
|
360
366
|
query_params = opts[:query_params] || {}
|
361
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
362
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
367
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
368
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
363
369
|
|
364
370
|
# header parameters
|
365
371
|
header_params = opts[:header_params] || {}
|
@@ -149,17 +149,27 @@ 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 Filter results where name matches value
|
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
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
159
161
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
162
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
161
|
-
# @option opts [
|
162
|
-
# @option opts [
|
163
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
164
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
165
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
166
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
167
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
168
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
169
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
170
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
171
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
172
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
163
173
|
# @return [PaginatedansibleAnsibleRepositoryResponseList]
|
164
174
|
def list(opts = {})
|
165
175
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -170,23 +180,33 @@ module PulpAnsibleClient
|
|
170
180
|
# ViewSet for Ansible Repositories.
|
171
181
|
# @param [Hash] opts the optional parameters
|
172
182
|
# @option opts [Integer] :limit Number of results to return per page.
|
173
|
-
# @option opts [String] :name
|
183
|
+
# @option opts [String] :name Filter results where name matches value
|
174
184
|
# @option opts [String] :name__contains Filter results where name contains value
|
175
185
|
# @option opts [String] :name__icontains Filter results where name contains value
|
176
186
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
177
187
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
178
188
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
179
|
-
# @option opts [Array<String>] :ordering Ordering
|
189
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
190
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
191
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
180
192
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
181
193
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
182
|
-
# @option opts [
|
183
|
-
# @option opts [
|
194
|
+
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
195
|
+
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
196
|
+
# @option opts [Integer] :retain_repo_versions__gte Filter results where retain_repo_versions is greater than or equal to value
|
197
|
+
# @option opts [Boolean] :retain_repo_versions__isnull Filter results where retain_repo_versions has a null value
|
198
|
+
# @option opts [Integer] :retain_repo_versions__lt Filter results where retain_repo_versions is less than value
|
199
|
+
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
200
|
+
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
201
|
+
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
202
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
203
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
184
204
|
# @return [Array<(PaginatedansibleAnsibleRepositoryResponseList, Integer, Hash)>] PaginatedansibleAnsibleRepositoryResponseList data, response status code and response headers
|
185
205
|
def list_with_http_info(opts = {})
|
186
206
|
if @api_client.config.debugging
|
187
207
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
|
188
208
|
end
|
189
|
-
allowable_values = ["-
|
209
|
+
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"]
|
190
210
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
191
211
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
192
212
|
end
|
@@ -203,10 +223,20 @@ module PulpAnsibleClient
|
|
203
223
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
204
224
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
205
225
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
206
228
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
207
229
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
208
|
-
query_params[:'
|
209
|
-
query_params[:'
|
230
|
+
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
231
|
+
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
232
|
+
query_params[:'retain_repo_versions__gte'] = opts[:'retain_repo_versions__gte'] if !opts[:'retain_repo_versions__gte'].nil?
|
233
|
+
query_params[:'retain_repo_versions__isnull'] = opts[:'retain_repo_versions__isnull'] if !opts[:'retain_repo_versions__isnull'].nil?
|
234
|
+
query_params[:'retain_repo_versions__lt'] = opts[:'retain_repo_versions__lt'] if !opts[:'retain_repo_versions__lt'].nil?
|
235
|
+
query_params[:'retain_repo_versions__lte'] = opts[:'retain_repo_versions__lte'] if !opts[:'retain_repo_versions__lte'].nil?
|
236
|
+
query_params[:'retain_repo_versions__ne'] = opts[:'retain_repo_versions__ne'] if !opts[:'retain_repo_versions__ne'].nil?
|
237
|
+
query_params[:'retain_repo_versions__range'] = @api_client.build_collection_param(opts[:'retain_repo_versions__range'], :csv) if !opts[:'retain_repo_versions__range'].nil?
|
238
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
239
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
210
240
|
|
211
241
|
# header parameters
|
212
242
|
header_params = opts[:header_params] || {}
|
@@ -385,8 +415,8 @@ module PulpAnsibleClient
|
|
385
415
|
# ViewSet for Ansible Repositories.
|
386
416
|
# @param ansible_ansible_repository_href [String]
|
387
417
|
# @param [Hash] opts the optional parameters
|
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.
|
418
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
419
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
390
420
|
# @return [AnsibleAnsibleRepositoryResponse]
|
391
421
|
def read(ansible_ansible_repository_href, opts = {})
|
392
422
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_repository_href, opts)
|
@@ -397,8 +427,8 @@ module PulpAnsibleClient
|
|
397
427
|
# ViewSet for Ansible Repositories.
|
398
428
|
# @param ansible_ansible_repository_href [String]
|
399
429
|
# @param [Hash] opts the optional parameters
|
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.
|
430
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
431
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
402
432
|
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
403
433
|
def read_with_http_info(ansible_ansible_repository_href, opts = {})
|
404
434
|
if @api_client.config.debugging
|
@@ -413,8 +443,8 @@ module PulpAnsibleClient
|
|
413
443
|
|
414
444
|
# query parameters
|
415
445
|
query_params = opts[:query_params] || {}
|
416
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
417
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
446
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
447
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
418
448
|
|
419
449
|
# header parameters
|
420
450
|
header_params = opts[:header_params] || {}
|