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
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Get the detail view of a Collection.
|
23
23
|
# @param ansible_collection_href [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [GalaxyCollectionResponse]
|
28
28
|
def get(ansible_collection_href, opts = {})
|
29
29
|
data, _status_code, _headers = get_with_http_info(ansible_collection_href, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Get the detail view of a Collection.
|
34
34
|
# @param ansible_collection_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(GalaxyCollectionResponse, Integer, Hash)>] GalaxyCollectionResponse data, response status code and response headers
|
39
39
|
def get_with_http_info(ansible_collection_href, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Return a response to the \"GET\" action.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [nil]
|
28
28
|
def get(path, opts = {})
|
29
29
|
get_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Return a response to the \"GET\" action.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
39
39
|
def get_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @param path [String]
|
26
26
|
# @param version [String]
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
30
|
# @return [nil]
|
31
31
|
def get(name, namespace, path, version, opts = {})
|
32
32
|
get_with_http_info(name, namespace, path, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param path [String]
|
40
40
|
# @param version [String]
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
43
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
45
45
|
def get_with_http_info(name, namespace, path, version, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpAnsibleClient
|
|
67
67
|
|
68
68
|
# query parameters
|
69
69
|
query_params = opts[:query_params] || {}
|
70
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
70
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [RepoMetadataResponse]
|
28
28
|
def read(path, opts = {})
|
29
29
|
data, _status_code, _headers = read_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Legacy v3 endpoint.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
39
39
|
def read_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
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] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
28
28
|
def list(path, opts = {})
|
29
29
|
data, _status_code, _headers = list_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Legacy v3 endpoint.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
39
39
|
def list_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -25,9 +25,11 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Boolean] :deprecated
|
26
26
|
# @option opts [String] :name
|
27
27
|
# @option opts [String] :namespace
|
28
|
-
# @option opts [Array<String>] :ordering Ordering
|
29
|
-
# @option opts [String] :
|
30
|
-
# @option opts [String] :
|
28
|
+
# @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)
|
29
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
31
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
31
33
|
# @return [Array<CollectionResponse>]
|
32
34
|
def list(path, opts = {})
|
33
35
|
data, _status_code, _headers = list_with_http_info(path, opts)
|
@@ -40,9 +42,11 @@ module PulpAnsibleClient
|
|
40
42
|
# @option opts [Boolean] :deprecated
|
41
43
|
# @option opts [String] :name
|
42
44
|
# @option opts [String] :namespace
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
44
|
-
# @option opts [String] :
|
45
|
-
# @option opts [String] :
|
45
|
+
# @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)
|
46
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
48
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
46
50
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
47
51
|
def list_with_http_info(path, opts = {})
|
48
52
|
if @api_client.config.debugging
|
@@ -52,7 +56,7 @@ module PulpAnsibleClient
|
|
52
56
|
if @api_client.config.client_side_validation && path.nil?
|
53
57
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsAllApi.list"
|
54
58
|
end
|
55
|
-
allowable_values = ["-
|
59
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
56
60
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
57
61
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
58
62
|
end
|
@@ -65,8 +69,10 @@ module PulpAnsibleClient
|
|
65
69
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
66
70
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
67
71
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
68
|
-
query_params[:'
|
69
|
-
query_params[:'
|
72
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
73
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
74
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
75
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
70
76
|
|
71
77
|
# header parameters
|
72
78
|
header_params = opts[:header_params] || {}
|
@@ -99,9 +99,11 @@ module PulpAnsibleClient
|
|
99
99
|
# @option opts [String] :name
|
100
100
|
# @option opts [String] :namespace
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
-
# @option opts [Array<String>] :ordering Ordering
|
103
|
-
# @option opts [String] :
|
104
|
-
# @option opts [String] :
|
102
|
+
# @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)
|
103
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
104
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
105
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
106
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
105
107
|
# @return [PaginatedCollectionResponseList]
|
106
108
|
def list(path, opts = {})
|
107
109
|
data, _status_code, _headers = list_with_http_info(path, opts)
|
@@ -116,9 +118,11 @@ module PulpAnsibleClient
|
|
116
118
|
# @option opts [String] :name
|
117
119
|
# @option opts [String] :namespace
|
118
120
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
119
|
-
# @option opts [Array<String>] :ordering Ordering
|
120
|
-
# @option opts [String] :
|
121
|
-
# @option opts [String] :
|
121
|
+
# @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)
|
122
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
123
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
124
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
125
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
122
126
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
123
127
|
def list_with_http_info(path, opts = {})
|
124
128
|
if @api_client.config.debugging
|
@@ -128,7 +132,7 @@ module PulpAnsibleClient
|
|
128
132
|
if @api_client.config.client_side_validation && path.nil?
|
129
133
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsApi.list"
|
130
134
|
end
|
131
|
-
allowable_values = ["-
|
135
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
132
136
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
133
137
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
134
138
|
end
|
@@ -143,8 +147,10 @@ module PulpAnsibleClient
|
|
143
147
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
144
148
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
145
149
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
146
|
-
query_params[:'
|
147
|
-
query_params[:'
|
150
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
151
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
153
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
148
154
|
|
149
155
|
# header parameters
|
150
156
|
header_params = opts[:header_params] || {}
|
@@ -184,8 +190,8 @@ module PulpAnsibleClient
|
|
184
190
|
# @param namespace [String]
|
185
191
|
# @param path [String]
|
186
192
|
# @param [Hash] opts the optional parameters
|
187
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
188
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
193
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
194
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
189
195
|
# @return [CollectionResponse]
|
190
196
|
def read(name, namespace, path, opts = {})
|
191
197
|
data, _status_code, _headers = read_with_http_info(name, namespace, path, opts)
|
@@ -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 [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
203
209
|
def read_with_http_info(name, namespace, path, opts = {})
|
204
210
|
if @api_client.config.debugging
|
@@ -221,8 +227,8 @@ module PulpAnsibleClient
|
|
221
227
|
|
222
228
|
# query parameters
|
223
229
|
query_params = opts[:query_params] || {}
|
224
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
225
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
230
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
231
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
226
232
|
|
227
233
|
# header parameters
|
228
234
|
header_params = opts[:header_params] || {}
|
@@ -107,15 +107,17 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
110
|
+
# @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)
|
111
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
111
113
|
# @option opts [String] :q
|
112
114
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
113
115
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
114
116
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
115
117
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
116
118
|
# @option opts [String] :version Filter results where version matches value
|
117
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
118
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
119
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
120
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
119
121
|
# @return [PaginatedCollectionVersionListResponseList]
|
120
122
|
def list(name, namespace, path, opts = {})
|
121
123
|
data, _status_code, _headers = list_with_http_info(name, namespace, path, opts)
|
@@ -132,15 +134,17 @@ module PulpAnsibleClient
|
|
132
134
|
# @option opts [String] :name2
|
133
135
|
# @option opts [String] :namespace2
|
134
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
135
|
-
# @option opts [Array<String>] :ordering Ordering
|
137
|
+
# @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)
|
138
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
136
140
|
# @option opts [String] :q
|
137
141
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
138
142
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
139
143
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
140
144
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
141
145
|
# @option opts [String] :version Filter results where version matches value
|
142
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
143
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
146
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
147
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
144
148
|
# @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
|
145
149
|
def list_with_http_info(name, namespace, path, opts = {})
|
146
150
|
if @api_client.config.debugging
|
@@ -158,7 +162,7 @@ module PulpAnsibleClient
|
|
158
162
|
if @api_client.config.client_side_validation && path.nil?
|
159
163
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsVersionsApi.list"
|
160
164
|
end
|
161
|
-
allowable_values = ["-
|
165
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
162
166
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
163
167
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
164
168
|
end
|
@@ -173,14 +177,16 @@ module PulpAnsibleClient
|
|
173
177
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
174
178
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
175
179
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
180
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
181
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
176
182
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
177
183
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
178
184
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
179
185
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
180
186
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
181
187
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
182
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
183
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
188
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
189
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
184
190
|
|
185
191
|
# header parameters
|
186
192
|
header_params = opts[:header_params] || {}
|
@@ -221,8 +227,8 @@ module PulpAnsibleClient
|
|
221
227
|
# @param path [String]
|
222
228
|
# @param version [String]
|
223
229
|
# @param [Hash] opts the optional parameters
|
224
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
225
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
230
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
231
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
226
232
|
# @return [CollectionVersionResponse]
|
227
233
|
def read(name, namespace, path, version, opts = {})
|
228
234
|
data, _status_code, _headers = read_with_http_info(name, namespace, path, version, opts)
|
@@ -235,8 +241,8 @@ module PulpAnsibleClient
|
|
235
241
|
# @param path [String]
|
236
242
|
# @param version [String]
|
237
243
|
# @param [Hash] opts the optional parameters
|
238
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
239
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
244
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
245
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
240
246
|
# @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
|
241
247
|
def read_with_http_info(name, namespace, path, version, opts = {})
|
242
248
|
if @api_client.config.debugging
|
@@ -263,8 +269,8 @@ module PulpAnsibleClient
|
|
263
269
|
|
264
270
|
# query parameters
|
265
271
|
query_params = opts[:query_params] || {}
|
266
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
267
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
272
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
273
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
268
274
|
|
269
275
|
# header parameters
|
270
276
|
header_params = opts[:header_params] || {}
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @param path [String]
|
26
26
|
# @param version [String]
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
30
|
# @return [CollectionVersionDocsResponse]
|
31
31
|
def read(name, namespace, path, version, opts = {})
|
32
32
|
data, _status_code, _headers = read_with_http_info(name, namespace, path, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param path [String]
|
40
40
|
# @param version [String]
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
43
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [Array<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
45
45
|
def read_with_http_info(name, namespace, path, version, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpAnsibleClient
|
|
67
67
|
|
68
68
|
# query parameters
|
69
69
|
query_params = opts[:query_params] || {}
|
70
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
70
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb
CHANGED
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Get the client configs.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [ClientConfigurationResponse]
|
28
28
|
def get(path, opts = {})
|
29
29
|
data, _status_code, _headers = get_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Get the client configs.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(ClientConfigurationResponse, Integer, Hash)>] ClientConfigurationResponse data, response status code and response headers
|
39
39
|
def get_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -26,9 +26,11 @@ module PulpAnsibleClient
|
|
26
26
|
# @option opts [Boolean] :deprecated
|
27
27
|
# @option opts [String] :name
|
28
28
|
# @option opts [String] :namespace
|
29
|
-
# @option opts [Array<String>] :ordering Ordering
|
30
|
-
# @option opts [String] :
|
31
|
-
# @option opts [String] :
|
29
|
+
# @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)
|
30
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
31
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
32
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
33
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
32
34
|
# @return [Array<CollectionResponse>]
|
33
35
|
def list(distro_base_path, path, opts = {})
|
34
36
|
data, _status_code, _headers = list_with_http_info(distro_base_path, path, opts)
|
@@ -42,9 +44,11 @@ module PulpAnsibleClient
|
|
42
44
|
# @option opts [Boolean] :deprecated
|
43
45
|
# @option opts [String] :name
|
44
46
|
# @option opts [String] :namespace
|
45
|
-
# @option opts [Array<String>] :ordering Ordering
|
46
|
-
# @option opts [String] :
|
47
|
-
# @option opts [String] :
|
47
|
+
# @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)
|
48
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
49
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
50
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
48
52
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
49
53
|
def list_with_http_info(distro_base_path, path, opts = {})
|
50
54
|
if @api_client.config.debugging
|
@@ -58,7 +62,7 @@ module PulpAnsibleClient
|
|
58
62
|
if @api_client.config.client_side_validation && path.nil?
|
59
63
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
|
60
64
|
end
|
61
|
-
allowable_values = ["-
|
65
|
+
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
62
66
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
63
67
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
64
68
|
end
|
@@ -71,8 +75,10 @@ module PulpAnsibleClient
|
|
71
75
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
72
76
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
73
77
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
74
|
-
query_params[:'
|
75
|
-
query_params[:'
|
78
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
79
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
80
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
81
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
76
82
|
|
77
83
|
# header parameters
|
78
84
|
header_params = opts[:header_params] || {}
|