pulp_ansible_client 0.15.5 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -10
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -4
- data/docs/AnsibleCollectionVersion.md +11 -9
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +6 -10
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +26 -28
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +3 -5
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +10 -14
- data/docs/ContentCollectionSignaturesApi.md +12 -16
- data/docs/ContentCollectionVersionsApi.md +22 -24
- data/docs/ContentRolesApi.md +10 -14
- data/docs/DistributionsAnsibleApi.md +14 -22
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +14 -18
- data/docs/RemotesGitApi.md +14 -18
- data/docs/RemotesRoleApi.md +14 -18
- data/docs/RepositoriesAnsibleApi.md +13 -33
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +0 -1
- data/spec/api/ansible_collections_api_spec.rb +3 -5
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
- data/spec/api/content_collection_signatures_api_spec.rb +5 -7
- data/spec/api/content_collection_versions_api_spec.rb +10 -11
- data/spec/api/content_roles_api_spec.rb +5 -7
- data/spec/api/distributions_ansible_api_spec.rb +7 -11
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +7 -9
- data/spec/api/remotes_git_api_spec.rb +7 -9
- data/spec/api/remotes_role_api_spec.rb +7 -9
- data/spec/api/repositories_ansible_api_spec.rb +6 -16
- data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_collection_version_spec.rb +12 -6
- data/spec/models/ansible_git_remote_response_spec.rb +16 -22
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +102 -106
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param ansible_collection_href [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :page A page number within the paginated result set.
|
26
|
-
# @option opts [
|
27
|
-
# @option opts [
|
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.
|
28
28
|
# @return [PaginatedGalaxyCollectionResponseList]
|
29
29
|
def get(ansible_collection_href, opts = {})
|
30
30
|
data, _status_code, _headers = get_with_http_info(ansible_collection_href, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param ansible_collection_href [String]
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
37
|
# @option opts [Integer] :page A page number within the paginated result set.
|
38
|
-
# @option opts [
|
39
|
-
# @option opts [
|
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.
|
40
40
|
# @return [Array<(PaginatedGalaxyCollectionResponseList, Integer, Hash)>] PaginatedGalaxyCollectionResponseList data, response status code and response headers
|
41
41
|
def get_with_http_info(ansible_collection_href, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -52,8 +52,8 @@ module PulpAnsibleClient
|
|
52
52
|
# query parameters
|
53
53
|
query_params = opts[:query_params] || {}
|
54
54
|
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
55
|
-
query_params[:'fields'] =
|
56
|
-
query_params[:'exclude_fields'] =
|
55
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
56
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
57
57
|
|
58
58
|
# header parameters
|
59
59
|
header_params = opts[:header_params] || {}
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [
|
28
|
-
# @option opts [
|
27
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [PaginatedGalaxyRoleResponseList]
|
30
30
|
def get(ansible_role_href, opts = {})
|
31
31
|
data, _status_code, _headers = get_with_http_info(ansible_role_href, opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
39
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
40
|
-
# @option opts [
|
41
|
-
# @option opts [
|
40
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(PaginatedGalaxyRoleResponseList, Integer, Hash)>] PaginatedGalaxyRoleResponseList data, response status code and response headers
|
43
43
|
def get_with_http_info(ansible_role_href, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
query_params = opts[:query_params] || {}
|
56
56
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
57
57
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
58
|
-
query_params[:'fields'] =
|
59
|
-
query_params[:'exclude_fields'] =
|
58
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param ansible_collection_import_href [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @option opts [String] :since Filter messages since a given timestamp
|
27
|
-
# @option opts [
|
28
|
-
# @option opts [
|
27
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
28
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
29
|
# @return [CollectionImportDetailResponse]
|
30
30
|
def read(ansible_collection_import_href, opts = {})
|
31
31
|
data, _status_code, _headers = read_with_http_info(ansible_collection_import_href, opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param ansible_collection_import_href [String]
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :since Filter messages since a given timestamp
|
40
|
-
# @option opts [
|
41
|
-
# @option opts [
|
40
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
41
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
42
|
# @return [Array<(CollectionImportDetailResponse, Integer, Hash)>] CollectionImportDetailResponse data, response status code and response headers
|
43
43
|
def read_with_http_info(ansible_collection_import_href, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -54,8 +54,8 @@ module PulpAnsibleClient
|
|
54
54
|
# query parameters
|
55
55
|
query_params = opts[:query_params] || {}
|
56
56
|
query_params[:'since'] = opts[:'since'] if !opts[:'since'].nil?
|
57
|
-
query_params[:'fields'] =
|
58
|
-
query_params[:'exclude_fields'] =
|
57
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
58
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
59
59
|
|
60
60
|
# header parameters
|
61
61
|
header_params = opts[:header_params] || {}
|
@@ -88,14 +88,12 @@ module PulpAnsibleClient
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @option opts [Array<String>] :ordering Ordering
|
92
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
91
|
+
# @option opts [Array<String>] :ordering Ordering
|
94
92
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
93
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
94
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
|
-
# @option opts [
|
98
|
-
# @option opts [
|
95
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
96
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
99
97
|
# @return [PaginatedansibleCollectionResponseList]
|
100
98
|
def list(opts = {})
|
101
99
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -107,14 +105,12 @@ module PulpAnsibleClient
|
|
107
105
|
# @param [Hash] opts the optional parameters
|
108
106
|
# @option opts [Integer] :limit Number of results to return per page.
|
109
107
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering
|
111
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
108
|
+
# @option opts [Array<String>] :ordering Ordering
|
113
109
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
110
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
111
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
116
|
-
# @option opts [
|
117
|
-
# @option opts [
|
112
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
113
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
118
114
|
# @return [Array<(PaginatedansibleCollectionResponseList, Integer, Hash)>] PaginatedansibleCollectionResponseList data, response status code and response headers
|
119
115
|
def list_with_http_info(opts = {})
|
120
116
|
if @api_client.config.debugging
|
@@ -132,13 +128,11 @@ module PulpAnsibleClient
|
|
132
128
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
133
129
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
134
130
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
135
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
136
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
137
131
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
132
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
133
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
140
|
-
query_params[:'fields'] =
|
141
|
-
query_params[:'exclude_fields'] =
|
134
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
135
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
142
136
|
|
143
137
|
# header parameters
|
144
138
|
header_params = opts[:header_params] || {}
|
@@ -177,8 +171,8 @@ module PulpAnsibleClient
|
|
177
171
|
# ViewSet for AnsibleCollectionDeprecated.
|
178
172
|
# @param ansible_ansible_collection_deprecated_href [String]
|
179
173
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [
|
181
|
-
# @option opts [
|
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.
|
182
176
|
# @return [AnsibleCollectionResponse]
|
183
177
|
def read(ansible_ansible_collection_deprecated_href, opts = {})
|
184
178
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_collection_deprecated_href, opts)
|
@@ -189,8 +183,8 @@ module PulpAnsibleClient
|
|
189
183
|
# ViewSet for AnsibleCollectionDeprecated.
|
190
184
|
# @param ansible_ansible_collection_deprecated_href [String]
|
191
185
|
# @param [Hash] opts the optional parameters
|
192
|
-
# @option opts [
|
193
|
-
# @option opts [
|
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.
|
194
188
|
# @return [Array<(AnsibleCollectionResponse, Integer, Hash)>] AnsibleCollectionResponse data, response status code and response headers
|
195
189
|
def read_with_http_info(ansible_ansible_collection_deprecated_href, opts = {})
|
196
190
|
if @api_client.config.debugging
|
@@ -205,8 +199,8 @@ module PulpAnsibleClient
|
|
205
199
|
|
206
200
|
# query parameters
|
207
201
|
query_params = opts[:query_params] || {}
|
208
|
-
query_params[:'fields'] =
|
209
|
-
query_params[:'exclude_fields'] =
|
202
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
210
204
|
|
211
205
|
# header parameters
|
212
206
|
header_params = opts[:header_params] || {}
|
@@ -99,18 +99,16 @@ module PulpAnsibleClient
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
-
# @option opts [Array<String>] :ordering Ordering
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
103
103
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
104
104
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
105
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
107
105
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
108
106
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
109
107
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
110
108
|
# @option opts [String] :signed_collection Filter signatures for collection version
|
111
109
|
# @option opts [String] :signing_service Filter signatures produced by signature service
|
112
|
-
# @option opts [
|
113
|
-
# @option opts [
|
110
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
114
112
|
# @return [PaginatedansibleCollectionVersionSignatureResponseList]
|
115
113
|
def list(opts = {})
|
116
114
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -122,24 +120,22 @@ module PulpAnsibleClient
|
|
122
120
|
# @param [Hash] opts the optional parameters
|
123
121
|
# @option opts [Integer] :limit Number of results to return per page.
|
124
122
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
125
|
-
# @option opts [Array<String>] :ordering Ordering
|
123
|
+
# @option opts [Array<String>] :ordering Ordering
|
126
124
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
127
125
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
128
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
129
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
130
126
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
131
127
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
132
128
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
133
129
|
# @option opts [String] :signed_collection Filter signatures for collection version
|
134
130
|
# @option opts [String] :signing_service Filter signatures produced by signature service
|
135
|
-
# @option opts [
|
136
|
-
# @option opts [
|
131
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
132
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
137
133
|
# @return [Array<(PaginatedansibleCollectionVersionSignatureResponseList, Integer, Hash)>] PaginatedansibleCollectionVersionSignatureResponseList data, response status code and response headers
|
138
134
|
def list_with_http_info(opts = {})
|
139
135
|
if @api_client.config.debugging
|
140
136
|
@api_client.config.logger.debug 'Calling API: ContentCollectionSignaturesApi.list ...'
|
141
137
|
end
|
142
|
-
allowable_values = ["-data", "-digest", "-pk", "-pubkey_fingerprint", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "data", "digest", "pk", "pubkey_fingerprint", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
138
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-data", "-digest", "-download_logs", "-group_roles", "-pk", "-pubkey_fingerprint", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-signed_collection", "-signing_service", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "data", "digest", "download_logs", "group_roles", "pk", "pubkey_fingerprint", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "signed_collection", "signing_service", "timestamp_of_interest", "upstream_id", "user_roles", "version_memberships"]
|
143
139
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
144
140
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
145
141
|
end
|
@@ -153,15 +149,13 @@ module PulpAnsibleClient
|
|
153
149
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
154
150
|
query_params[:'pubkey_fingerprint'] = opts[:'pubkey_fingerprint'] if !opts[:'pubkey_fingerprint'].nil?
|
155
151
|
query_params[:'pubkey_fingerprint__in'] = @api_client.build_collection_param(opts[:'pubkey_fingerprint__in'], :csv) if !opts[:'pubkey_fingerprint__in'].nil?
|
156
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
157
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
158
152
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
159
153
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
160
154
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
161
155
|
query_params[:'signed_collection'] = opts[:'signed_collection'] if !opts[:'signed_collection'].nil?
|
162
156
|
query_params[:'signing_service'] = opts[:'signing_service'] if !opts[:'signing_service'].nil?
|
163
|
-
query_params[:'fields'] =
|
164
|
-
query_params[:'exclude_fields'] =
|
157
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
158
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
165
159
|
|
166
160
|
# header parameters
|
167
161
|
header_params = opts[:header_params] || {}
|
@@ -200,8 +194,8 @@ module PulpAnsibleClient
|
|
200
194
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
201
195
|
# @param ansible_collection_version_signature_href [String]
|
202
196
|
# @param [Hash] opts the optional parameters
|
203
|
-
# @option opts [
|
204
|
-
# @option opts [
|
197
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
198
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
205
199
|
# @return [AnsibleCollectionVersionSignatureResponse]
|
206
200
|
def read(ansible_collection_version_signature_href, opts = {})
|
207
201
|
data, _status_code, _headers = read_with_http_info(ansible_collection_version_signature_href, opts)
|
@@ -212,8 +206,8 @@ module PulpAnsibleClient
|
|
212
206
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
213
207
|
# @param ansible_collection_version_signature_href [String]
|
214
208
|
# @param [Hash] opts the optional parameters
|
215
|
-
# @option opts [
|
216
|
-
# @option opts [
|
209
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
210
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
217
211
|
# @return [Array<(AnsibleCollectionVersionSignatureResponse, Integer, Hash)>] AnsibleCollectionVersionSignatureResponse data, response status code and response headers
|
218
212
|
def read_with_http_info(ansible_collection_version_signature_href, opts = {})
|
219
213
|
if @api_client.config.debugging
|
@@ -228,8 +222,8 @@ module PulpAnsibleClient
|
|
228
222
|
|
229
223
|
# query parameters
|
230
224
|
query_params = opts[:query_params] || {}
|
231
|
-
query_params[:'fields'] =
|
232
|
-
query_params[:'exclude_fields'] =
|
225
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
226
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
233
227
|
|
234
228
|
# header parameters
|
235
229
|
header_params = opts[:header_params] || {}
|
@@ -21,67 +21,57 @@ module PulpAnsibleClient
|
|
21
21
|
end
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
|
-
# @param name [String] The name of the collection.
|
25
|
-
# @param namespace [String] The namespace of the collection.
|
26
|
-
# @param version [String] The version of the collection.
|
27
24
|
# @param [Hash] opts the optional parameters
|
25
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
26
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
29
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
30
|
-
# @option opts [
|
29
|
+
# @option opts [String] :expected_name The name of the collection.
|
30
|
+
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
|
+
# @option opts [String] :expected_version The version of the collection.
|
31
32
|
# @return [AsyncOperationResponse]
|
32
|
-
def create(
|
33
|
-
data, _status_code, _headers = create_with_http_info(
|
33
|
+
def create(opts = {})
|
34
|
+
data, _status_code, _headers = create_with_http_info(opts)
|
34
35
|
data
|
35
36
|
end
|
36
37
|
|
37
38
|
# Create a collection version
|
38
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
39
|
-
# @param name [String] The name of the collection.
|
40
|
-
# @param namespace [String] The namespace of the collection.
|
41
|
-
# @param version [String] The version of the collection.
|
42
40
|
# @param [Hash] opts the optional parameters
|
41
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
43
43
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
45
|
-
# @option opts [
|
45
|
+
# @option opts [String] :expected_name The name of the collection.
|
46
|
+
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
|
+
# @option opts [String] :expected_version The version of the collection.
|
46
48
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
47
|
-
def create_with_http_info(
|
49
|
+
def create_with_http_info(opts = {})
|
48
50
|
if @api_client.config.debugging
|
49
51
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.create ...'
|
50
52
|
end
|
51
|
-
|
52
|
-
|
53
|
-
fail ArgumentError, "Missing the required parameter 'name' when calling ContentCollectionVersionsApi.create"
|
54
|
-
end
|
55
|
-
if @api_client.config.client_side_validation && name.to_s.length > 64
|
56
|
-
fail ArgumentError, 'invalid value for "name" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 64.'
|
53
|
+
if @api_client.config.client_side_validation && !opts[:'expected_name'].nil? && opts[:'expected_name'].to_s.length > 64
|
54
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_name"]" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 64.'
|
57
55
|
end
|
58
56
|
|
59
|
-
if @api_client.config.client_side_validation &&
|
60
|
-
fail ArgumentError, 'invalid value for "
|
57
|
+
if @api_client.config.client_side_validation && !opts[:'expected_name'].nil? && opts[:'expected_name'].to_s.length < 1
|
58
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_name"]" when calling ContentCollectionVersionsApi.create, the character length must be great than or equal to 1.'
|
61
59
|
end
|
62
60
|
|
63
|
-
|
64
|
-
|
65
|
-
fail ArgumentError, "Missing the required parameter 'namespace' when calling ContentCollectionVersionsApi.create"
|
66
|
-
end
|
67
|
-
if @api_client.config.client_side_validation && namespace.to_s.length > 64
|
68
|
-
fail ArgumentError, 'invalid value for "namespace" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 64.'
|
61
|
+
if @api_client.config.client_side_validation && !opts[:'expected_namespace'].nil? && opts[:'expected_namespace'].to_s.length > 64
|
62
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_namespace"]" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 64.'
|
69
63
|
end
|
70
64
|
|
71
|
-
if @api_client.config.client_side_validation &&
|
72
|
-
fail ArgumentError, 'invalid value for "
|
65
|
+
if @api_client.config.client_side_validation && !opts[:'expected_namespace'].nil? && opts[:'expected_namespace'].to_s.length < 1
|
66
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_namespace"]" when calling ContentCollectionVersionsApi.create, the character length must be great than or equal to 1.'
|
73
67
|
end
|
74
68
|
|
75
|
-
|
76
|
-
|
77
|
-
fail ArgumentError, "Missing the required parameter 'version' when calling ContentCollectionVersionsApi.create"
|
78
|
-
end
|
79
|
-
if @api_client.config.client_side_validation && version.to_s.length > 128
|
80
|
-
fail ArgumentError, 'invalid value for "version" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 128.'
|
69
|
+
if @api_client.config.client_side_validation && !opts[:'expected_version'].nil? && opts[:'expected_version'].to_s.length > 128
|
70
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_version"]" when calling ContentCollectionVersionsApi.create, the character length must be smaller than or equal to 128.'
|
81
71
|
end
|
82
72
|
|
83
|
-
if @api_client.config.client_side_validation &&
|
84
|
-
fail ArgumentError, 'invalid value for "
|
73
|
+
if @api_client.config.client_side_validation && !opts[:'expected_version'].nil? && opts[:'expected_version'].to_s.length < 1
|
74
|
+
fail ArgumentError, 'invalid value for "opts[:"expected_version"]" when calling ContentCollectionVersionsApi.create, the character length must be great than or equal to 1.'
|
85
75
|
end
|
86
76
|
|
87
77
|
# resource path
|
@@ -99,12 +89,13 @@ module PulpAnsibleClient
|
|
99
89
|
|
100
90
|
# form parameters
|
101
91
|
form_params = opts[:form_params] || {}
|
102
|
-
form_params['
|
103
|
-
form_params['
|
104
|
-
form_params['version'] = version
|
92
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
93
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
105
94
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
106
95
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
107
|
-
form_params['
|
96
|
+
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
|
+
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
|
+
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
108
99
|
|
109
100
|
# http body (model)
|
110
101
|
post_body = opts[:body]
|
@@ -139,17 +130,15 @@ module PulpAnsibleClient
|
|
139
130
|
# @option opts [String] :name
|
140
131
|
# @option opts [String] :namespace
|
141
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
142
|
-
# @option opts [Array<String>] :ordering Ordering
|
143
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
144
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
133
|
+
# @option opts [Array<String>] :ordering Ordering
|
145
134
|
# @option opts [String] :q
|
146
135
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
147
136
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
148
137
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
149
138
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
150
139
|
# @option opts [String] :version Filter results where version matches value
|
151
|
-
# @option opts [
|
152
|
-
# @option opts [
|
140
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
141
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
153
142
|
# @return [PaginatedansibleCollectionVersionResponseList]
|
154
143
|
def list(opts = {})
|
155
144
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -164,23 +153,21 @@ module PulpAnsibleClient
|
|
164
153
|
# @option opts [String] :name
|
165
154
|
# @option opts [String] :namespace
|
166
155
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
167
|
-
# @option opts [Array<String>] :ordering Ordering
|
168
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
169
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
156
|
+
# @option opts [Array<String>] :ordering Ordering
|
170
157
|
# @option opts [String] :q
|
171
158
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
172
159
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
173
160
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
174
161
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
175
162
|
# @option opts [String] :version Filter results where version matches value
|
176
|
-
# @option opts [
|
177
|
-
# @option opts [
|
163
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
164
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
178
165
|
# @return [Array<(PaginatedansibleCollectionVersionResponseList, Integer, Hash)>] PaginatedansibleCollectionVersionResponseList data, response status code and response headers
|
179
166
|
def list_with_http_info(opts = {})
|
180
167
|
if @api_client.config.debugging
|
181
168
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
182
169
|
end
|
183
|
-
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"]
|
170
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-download_logs", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "download_logs", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
184
171
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
185
172
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
186
173
|
end
|
@@ -195,16 +182,14 @@ module PulpAnsibleClient
|
|
195
182
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
196
183
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
197
184
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
198
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
199
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
200
185
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
201
186
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
202
187
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
203
188
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
204
189
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
205
190
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
206
|
-
query_params[:'fields'] =
|
207
|
-
query_params[:'exclude_fields'] =
|
191
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
192
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
208
193
|
|
209
194
|
# header parameters
|
210
195
|
header_params = opts[:header_params] || {}
|
@@ -243,8 +228,8 @@ module PulpAnsibleClient
|
|
243
228
|
# ViewSet for Ansible Collection.
|
244
229
|
# @param ansible_collection_version_href [String]
|
245
230
|
# @param [Hash] opts the optional parameters
|
246
|
-
# @option opts [
|
247
|
-
# @option opts [
|
231
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
232
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
248
233
|
# @return [AnsibleCollectionVersionResponse]
|
249
234
|
def read(ansible_collection_version_href, opts = {})
|
250
235
|
data, _status_code, _headers = read_with_http_info(ansible_collection_version_href, opts)
|
@@ -255,8 +240,8 @@ module PulpAnsibleClient
|
|
255
240
|
# ViewSet for Ansible Collection.
|
256
241
|
# @param ansible_collection_version_href [String]
|
257
242
|
# @param [Hash] opts the optional parameters
|
258
|
-
# @option opts [
|
259
|
-
# @option opts [
|
243
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
244
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
260
245
|
# @return [Array<(AnsibleCollectionVersionResponse, Integer, Hash)>] AnsibleCollectionVersionResponse data, response status code and response headers
|
261
246
|
def read_with_http_info(ansible_collection_version_href, opts = {})
|
262
247
|
if @api_client.config.debugging
|
@@ -271,8 +256,8 @@ module PulpAnsibleClient
|
|
271
256
|
|
272
257
|
# query parameters
|
273
258
|
query_params = opts[:query_params] || {}
|
274
|
-
query_params[:'fields'] =
|
275
|
-
query_params[:'exclude_fields'] =
|
259
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
260
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
276
261
|
|
277
262
|
# header parameters
|
278
263
|
header_params = opts[:header_params] || {}
|