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
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
27
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
26
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
28
28
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
29
29
|
def list(distro_base_path, path, opts = {})
|
30
30
|
data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param distro_base_path [String]
|
36
36
|
# @param path [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
38
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
41
41
|
def list_with_http_info(distro_base_path, path, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
|
56
56
|
# query parameters
|
57
57
|
query_params = opts[:query_params] || {}
|
58
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
58
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb
CHANGED
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
27
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
26
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
28
28
|
# @return [RepoMetadataResponse]
|
29
29
|
def read(distro_base_path, path, opts = {})
|
30
30
|
data, _status_code, _headers = read_with_http_info(distro_base_path, path, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param distro_base_path [String]
|
36
36
|
# @param path [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
38
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
41
41
|
def read_with_http_info(distro_base_path, path, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
|
56
56
|
# query parameters
|
57
57
|
query_params = opts[:query_params] || {}
|
58
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
58
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param filename [String]
|
25
25
|
# @param path [String]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @option opts [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.
|
27
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
28
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [nil]
|
30
30
|
def download(distro_base_path, filename, path, opts = {})
|
31
31
|
download_with_http_info(distro_base_path, filename, path, opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param filename [String]
|
38
38
|
# @param path [String]
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @option opts [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.
|
40
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
43
43
|
def download_with_http_info(distro_base_path, filename, path, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -61,8 +61,8 @@ module PulpAnsibleClient
|
|
61
61
|
|
62
62
|
# query parameters
|
63
63
|
query_params = opts[:query_params] || {}
|
64
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
65
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
64
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
65
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
66
66
|
|
67
67
|
# header parameters
|
68
68
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb
CHANGED
@@ -106,9 +106,11 @@ module PulpAnsibleClient
|
|
106
106
|
# @option opts [String] :name
|
107
107
|
# @option opts [String] :namespace
|
108
108
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
109
|
-
# @option opts [Array<String>] :ordering Ordering
|
110
|
-
# @option opts [String] :
|
111
|
-
# @option opts [String] :
|
109
|
+
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
110
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
111
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
112
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
113
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
114
|
# @return [PaginatedCollectionResponseList]
|
113
115
|
def list(distro_base_path, path, opts = {})
|
114
116
|
data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
|
@@ -124,9 +126,11 @@ module PulpAnsibleClient
|
|
124
126
|
# @option opts [String] :name
|
125
127
|
# @option opts [String] :namespace
|
126
128
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
-
# @option opts [Array<String>] :ordering Ordering
|
128
|
-
# @option opts [String] :
|
129
|
-
# @option opts [String] :
|
129
|
+
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
130
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
131
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
132
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
133
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
130
134
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
131
135
|
def list_with_http_info(distro_base_path, path, opts = {})
|
132
136
|
if @api_client.config.debugging
|
@@ -140,7 +144,7 @@ module PulpAnsibleClient
|
|
140
144
|
if @api_client.config.client_side_validation && path.nil?
|
141
145
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.list"
|
142
146
|
end
|
143
|
-
allowable_values = ["-
|
147
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
144
148
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
145
149
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
146
150
|
end
|
@@ -155,8 +159,10 @@ module PulpAnsibleClient
|
|
155
159
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
156
160
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
157
161
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
158
|
-
query_params[:'
|
159
|
-
query_params[:'
|
162
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
163
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
164
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
165
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
160
166
|
|
161
167
|
# header parameters
|
162
168
|
header_params = opts[:header_params] || {}
|
@@ -197,8 +203,8 @@ module PulpAnsibleClient
|
|
197
203
|
# @param namespace [String]
|
198
204
|
# @param path [String]
|
199
205
|
# @param [Hash] opts the optional parameters
|
200
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
201
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
206
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
207
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
202
208
|
# @return [CollectionResponse]
|
203
209
|
def read(distro_base_path, name, namespace, path, opts = {})
|
204
210
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, opts)
|
@@ -211,8 +217,8 @@ module PulpAnsibleClient
|
|
211
217
|
# @param namespace [String]
|
212
218
|
# @param path [String]
|
213
219
|
# @param [Hash] opts the optional parameters
|
214
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
215
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
220
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
221
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
216
222
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
217
223
|
def read_with_http_info(distro_base_path, name, namespace, path, opts = {})
|
218
224
|
if @api_client.config.debugging
|
@@ -239,8 +245,8 @@ module PulpAnsibleClient
|
|
239
245
|
|
240
246
|
# query parameters
|
241
247
|
query_params = opts[:query_params] || {}
|
242
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
243
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
248
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
249
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
244
250
|
|
245
251
|
# header parameters
|
246
252
|
header_params = opts[:header_params] || {}
|
@@ -114,15 +114,17 @@ module PulpAnsibleClient
|
|
114
114
|
# @option opts [String] :name2
|
115
115
|
# @option opts [String] :namespace2
|
116
116
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
-
# @option opts [Array<String>] :ordering Ordering
|
117
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
118
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
119
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
118
120
|
# @option opts [String] :q
|
119
121
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
120
122
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
121
123
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
122
124
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
123
125
|
# @option opts [String] :version Filter results where version matches value
|
124
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
125
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
126
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
127
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
126
128
|
# @return [PaginatedCollectionVersionListResponseList]
|
127
129
|
def list(distro_base_path, name, namespace, path, opts = {})
|
128
130
|
data, _status_code, _headers = list_with_http_info(distro_base_path, name, namespace, path, opts)
|
@@ -140,15 +142,17 @@ module PulpAnsibleClient
|
|
140
142
|
# @option opts [String] :name2
|
141
143
|
# @option opts [String] :namespace2
|
142
144
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
143
|
-
# @option opts [Array<String>] :ordering Ordering
|
145
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
146
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
147
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
144
148
|
# @option opts [String] :q
|
145
149
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
146
150
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
147
151
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
148
152
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
149
153
|
# @option opts [String] :version Filter results where version matches value
|
150
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
151
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
154
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
155
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
152
156
|
# @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
|
153
157
|
def list_with_http_info(distro_base_path, name, namespace, path, opts = {})
|
154
158
|
if @api_client.config.debugging
|
@@ -170,7 +174,7 @@ module PulpAnsibleClient
|
|
170
174
|
if @api_client.config.client_side_validation && path.nil?
|
171
175
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
|
172
176
|
end
|
173
|
-
allowable_values = ["-
|
177
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
174
178
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
175
179
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
176
180
|
end
|
@@ -185,14 +189,16 @@ module PulpAnsibleClient
|
|
185
189
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
186
190
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
187
191
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
192
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
193
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
188
194
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
189
195
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
190
196
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
191
197
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
192
198
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
193
199
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
194
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
195
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
200
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
201
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
196
202
|
|
197
203
|
# header parameters
|
198
204
|
header_params = opts[:header_params] || {}
|
@@ -234,8 +240,8 @@ module PulpAnsibleClient
|
|
234
240
|
# @param path [String]
|
235
241
|
# @param version [String]
|
236
242
|
# @param [Hash] opts the optional parameters
|
237
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
238
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
243
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
239
245
|
# @return [CollectionVersionResponse]
|
240
246
|
def read(distro_base_path, name, namespace, path, version, opts = {})
|
241
247
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, version, opts)
|
@@ -249,8 +255,8 @@ module PulpAnsibleClient
|
|
249
255
|
# @param path [String]
|
250
256
|
# @param version [String]
|
251
257
|
# @param [Hash] opts the optional parameters
|
252
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
253
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
258
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
259
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
254
260
|
# @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
|
255
261
|
def read_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
|
256
262
|
if @api_client.config.debugging
|
@@ -281,8 +287,8 @@ module PulpAnsibleClient
|
|
281
287
|
|
282
288
|
# query parameters
|
283
289
|
query_params = opts[:query_params] || {}
|
284
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
285
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
290
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
291
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
286
292
|
|
287
293
|
# header parameters
|
288
294
|
header_params = opts[:header_params] || {}
|
@@ -26,8 +26,8 @@ module PulpAnsibleClient
|
|
26
26
|
# @param path [String]
|
27
27
|
# @param version [String]
|
28
28
|
# @param [Hash] opts the optional parameters
|
29
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
30
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
30
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
31
31
|
# @return [CollectionVersionDocsResponse]
|
32
32
|
def read(distro_base_path, name, namespace, path, version, opts = {})
|
33
33
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, path, version, opts)
|
@@ -41,8 +41,8 @@ module PulpAnsibleClient
|
|
41
41
|
# @param path [String]
|
42
42
|
# @param version [String]
|
43
43
|
# @param [Hash] opts the optional parameters
|
44
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
45
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
44
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
45
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
46
46
|
# @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
47
47
|
def read_with_http_info(distro_base_path, name, namespace, path, version, opts = {})
|
48
48
|
if @api_client.config.debugging
|
@@ -73,8 +73,8 @@ module PulpAnsibleClient
|
|
73
73
|
|
74
74
|
# query parameters
|
75
75
|
query_params = opts[:query_params] || {}
|
76
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
77
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
76
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
77
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
78
78
|
|
79
79
|
# header parameters
|
80
80
|
header_params = opts[:header_params] || {}
|
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param filename [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
27
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
26
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
28
28
|
# @return [nil]
|
29
29
|
def get(filename, path, opts = {})
|
30
30
|
get_with_http_info(filename, path, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param filename [String]
|
36
36
|
# @param path [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
38
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
41
41
|
def get_with_http_info(filename, path, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
|
56
56
|
# query parameters
|
57
57
|
query_params = opts[:query_params] || {}
|
58
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
58
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
@@ -24,9 +24,11 @@ module PulpAnsibleClient
|
|
24
24
|
# @option opts [Boolean] :deprecated
|
25
25
|
# @option opts [String] :name
|
26
26
|
# @option opts [String] :namespace
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [String] :
|
29
|
-
# @option opts [String] :
|
27
|
+
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
28
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
30
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
31
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
32
|
# @return [Array<CollectionResponse>]
|
31
33
|
def list(opts = {})
|
32
34
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -38,15 +40,17 @@ module PulpAnsibleClient
|
|
38
40
|
# @option opts [Boolean] :deprecated
|
39
41
|
# @option opts [String] :name
|
40
42
|
# @option opts [String] :namespace
|
41
|
-
# @option opts [Array<String>] :ordering Ordering
|
42
|
-
# @option opts [String] :
|
43
|
-
# @option opts [String] :
|
43
|
+
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
44
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
45
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
46
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
48
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
45
49
|
def list_with_http_info(opts = {})
|
46
50
|
if @api_client.config.debugging
|
47
51
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsAllApi.list ...'
|
48
52
|
end
|
49
|
-
allowable_values = ["-
|
53
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
50
54
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
51
55
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
52
56
|
end
|
@@ -59,8 +63,10 @@ module PulpAnsibleClient
|
|
59
63
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
60
64
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
61
65
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
62
|
-
query_params[:'
|
63
|
-
query_params[:'
|
66
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
67
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
68
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
69
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
64
70
|
|
65
71
|
# header parameters
|
66
72
|
header_params = opts[:header_params] || {}
|
@@ -92,9 +92,11 @@ module PulpAnsibleClient
|
|
92
92
|
# @option opts [String] :name
|
93
93
|
# @option opts [String] :namespace
|
94
94
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
95
|
-
# @option opts [Array<String>] :ordering Ordering
|
96
|
-
# @option opts [String] :
|
97
|
-
# @option opts [String] :
|
95
|
+
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
97
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
98
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
98
100
|
# @return [PaginatedCollectionResponseList]
|
99
101
|
def list(opts = {})
|
100
102
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -108,15 +110,17 @@ module PulpAnsibleClient
|
|
108
110
|
# @option opts [String] :name
|
109
111
|
# @option opts [String] :namespace
|
110
112
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
111
|
-
# @option opts [Array<String>] :ordering Ordering
|
112
|
-
# @option opts [String] :
|
113
|
-
# @option opts [String] :
|
113
|
+
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
114
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
115
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
114
118
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
115
119
|
def list_with_http_info(opts = {})
|
116
120
|
if @api_client.config.debugging
|
117
121
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsApi.list ...'
|
118
122
|
end
|
119
|
-
allowable_values = ["-
|
123
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
120
124
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
121
125
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
122
126
|
end
|
@@ -131,8 +135,10 @@ module PulpAnsibleClient
|
|
131
135
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
132
136
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
133
137
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
134
|
-
query_params[:'
|
135
|
-
query_params[:'
|
138
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
139
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
140
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
141
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
136
142
|
|
137
143
|
# header parameters
|
138
144
|
header_params = opts[:header_params] || {}
|
@@ -171,8 +177,8 @@ module PulpAnsibleClient
|
|
171
177
|
# @param name [String]
|
172
178
|
# @param namespace [String]
|
173
179
|
# @param [Hash] opts the optional parameters
|
174
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
175
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
176
182
|
# @return [CollectionResponse]
|
177
183
|
def read(name, namespace, opts = {})
|
178
184
|
data, _status_code, _headers = read_with_http_info(name, namespace, opts)
|
@@ -183,8 +189,8 @@ module PulpAnsibleClient
|
|
183
189
|
# @param name [String]
|
184
190
|
# @param namespace [String]
|
185
191
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
194
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
189
195
|
def read_with_http_info(name, namespace, opts = {})
|
190
196
|
if @api_client.config.debugging
|
@@ -203,8 +209,8 @@ module PulpAnsibleClient
|
|
203
209
|
|
204
210
|
# query parameters
|
205
211
|
query_params = opts[:query_params] || {}
|
206
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
207
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
212
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
213
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
208
214
|
|
209
215
|
# header parameters
|
210
216
|
header_params = opts[:header_params] || {}
|