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 filename [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
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 [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 [
|
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<(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'] =
|
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,11 +24,9 @@ module PulpAnsibleClient
|
|
24
24
|
# @option opts [Boolean] :deprecated
|
25
25
|
# @option opts [String] :name
|
26
26
|
# @option opts [String] :namespace
|
27
|
-
# @option opts [Array<String>] :ordering Ordering
|
28
|
-
# @option opts [
|
29
|
-
# @option opts [
|
30
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
31
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
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.
|
32
30
|
# @return [Array<CollectionResponse>]
|
33
31
|
def list(opts = {})
|
34
32
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -40,17 +38,15 @@ module PulpAnsibleClient
|
|
40
38
|
# @option opts [Boolean] :deprecated
|
41
39
|
# @option opts [String] :name
|
42
40
|
# @option opts [String] :namespace
|
43
|
-
# @option opts [Array<String>] :ordering Ordering
|
44
|
-
# @option opts [
|
45
|
-
# @option opts [
|
46
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
47
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
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.
|
48
44
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
49
45
|
def list_with_http_info(opts = {})
|
50
46
|
if @api_client.config.debugging
|
51
47
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsAllApi.list ...'
|
52
48
|
end
|
53
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
49
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
54
50
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
55
51
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
56
52
|
end
|
@@ -63,10 +59,8 @@ module PulpAnsibleClient
|
|
63
59
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
64
60
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
65
61
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
66
|
-
query_params[:'
|
67
|
-
query_params[:'
|
68
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
69
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
62
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
63
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
70
64
|
|
71
65
|
# header parameters
|
72
66
|
header_params = opts[:header_params] || {}
|
@@ -92,11 +92,9 @@ module PulpAnsibleClient
|
|
92
92
|
# @option opts [String] :name
|
93
93
|
# @option opts [String] :namespace
|
94
94
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
95
|
-
# @option opts [Array<String>] :ordering Ordering
|
96
|
-
# @option opts [
|
97
|
-
# @option opts [
|
98
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
95
|
+
# @option opts [Array<String>] :ordering Ordering
|
96
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
97
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
100
98
|
# @return [PaginatedCollectionResponseList]
|
101
99
|
def list(opts = {})
|
102
100
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -110,17 +108,15 @@ module PulpAnsibleClient
|
|
110
108
|
# @option opts [String] :name
|
111
109
|
# @option opts [String] :namespace
|
112
110
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
|
-
# @option opts [Array<String>] :ordering Ordering
|
114
|
-
# @option opts [
|
115
|
-
# @option opts [
|
116
|
-
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
-
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
111
|
+
# @option opts [Array<String>] :ordering Ordering
|
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<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
119
115
|
def list_with_http_info(opts = {})
|
120
116
|
if @api_client.config.debugging
|
121
117
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsApi.list ...'
|
122
118
|
end
|
123
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
119
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
124
120
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
125
121
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
126
122
|
end
|
@@ -135,10 +131,8 @@ module PulpAnsibleClient
|
|
135
131
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
136
132
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
137
133
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
138
|
-
query_params[:'
|
139
|
-
query_params[:'
|
140
|
-
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
141
|
-
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
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
|
# @param name [String]
|
178
172
|
# @param namespace [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 [CollectionResponse]
|
183
177
|
def read(name, namespace, opts = {})
|
184
178
|
data, _status_code, _headers = read_with_http_info(name, namespace, opts)
|
@@ -189,8 +183,8 @@ module PulpAnsibleClient
|
|
189
183
|
# @param name [String]
|
190
184
|
# @param namespace [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<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
195
189
|
def read_with_http_info(name, namespace, opts = {})
|
196
190
|
if @api_client.config.debugging
|
@@ -209,8 +203,8 @@ module PulpAnsibleClient
|
|
209
203
|
|
210
204
|
# query parameters
|
211
205
|
query_params = opts[:query_params] || {}
|
212
|
-
query_params[:'fields'] =
|
213
|
-
query_params[:'exclude_fields'] =
|
206
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
207
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
214
208
|
|
215
209
|
# header parameters
|
216
210
|
header_params = opts[:header_params] || {}
|
@@ -100,17 +100,15 @@ module PulpAnsibleClient
|
|
100
100
|
# @option opts [String] :name2
|
101
101
|
# @option opts [String] :namespace2
|
102
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
103
|
-
# @option opts [Array<String>] :ordering Ordering
|
104
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
105
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
103
|
+
# @option opts [Array<String>] :ordering Ordering
|
106
104
|
# @option opts [String] :q
|
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] :tags Filter by comma separate list of tags that must all be matched
|
111
109
|
# @option opts [String] :version Filter results where version matches value
|
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 [PaginatedCollectionVersionListResponseList]
|
115
113
|
def list(name, namespace, opts = {})
|
116
114
|
data, _status_code, _headers = list_with_http_info(name, namespace, opts)
|
@@ -126,17 +124,15 @@ module PulpAnsibleClient
|
|
126
124
|
# @option opts [String] :name2
|
127
125
|
# @option opts [String] :namespace2
|
128
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
|
-
# @option opts [Array<String>] :ordering Ordering
|
130
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
131
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
132
128
|
# @option opts [String] :q
|
133
129
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
134
130
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
135
131
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
136
132
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
137
133
|
# @option opts [String] :version Filter results where version matches value
|
138
|
-
# @option opts [
|
139
|
-
# @option opts [
|
134
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
135
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
140
136
|
# @return [Array<(PaginatedCollectionVersionListResponseList, Integer, Hash)>] PaginatedCollectionVersionListResponseList data, response status code and response headers
|
141
137
|
def list_with_http_info(name, namespace, opts = {})
|
142
138
|
if @api_client.config.debugging
|
@@ -150,7 +146,7 @@ module PulpAnsibleClient
|
|
150
146
|
if @api_client.config.client_side_validation && namespace.nil?
|
151
147
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi.list"
|
152
148
|
end
|
153
|
-
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"]
|
149
|
+
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"]
|
154
150
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
155
151
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
156
152
|
end
|
@@ -165,16 +161,14 @@ module PulpAnsibleClient
|
|
165
161
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
166
162
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
167
163
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
168
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
169
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
170
164
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
171
165
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
172
166
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
173
167
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
174
168
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
175
169
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
176
|
-
query_params[:'fields'] =
|
177
|
-
query_params[:'exclude_fields'] =
|
170
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
171
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
178
172
|
|
179
173
|
# header parameters
|
180
174
|
header_params = opts[:header_params] || {}
|
@@ -214,8 +208,8 @@ module PulpAnsibleClient
|
|
214
208
|
# @param namespace [String]
|
215
209
|
# @param version [String]
|
216
210
|
# @param [Hash] opts the optional parameters
|
217
|
-
# @option opts [
|
218
|
-
# @option opts [
|
211
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
212
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
219
213
|
# @return [CollectionVersionResponse]
|
220
214
|
def read(name, namespace, version, opts = {})
|
221
215
|
data, _status_code, _headers = read_with_http_info(name, namespace, version, opts)
|
@@ -227,8 +221,8 @@ module PulpAnsibleClient
|
|
227
221
|
# @param namespace [String]
|
228
222
|
# @param version [String]
|
229
223
|
# @param [Hash] opts the optional parameters
|
230
|
-
# @option opts [
|
231
|
-
# @option opts [
|
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.
|
232
226
|
# @return [Array<(CollectionVersionResponse, Integer, Hash)>] CollectionVersionResponse data, response status code and response headers
|
233
227
|
def read_with_http_info(name, namespace, version, opts = {})
|
234
228
|
if @api_client.config.debugging
|
@@ -251,8 +245,8 @@ module PulpAnsibleClient
|
|
251
245
|
|
252
246
|
# query parameters
|
253
247
|
query_params = opts[:query_params] || {}
|
254
|
-
query_params[:'fields'] =
|
255
|
-
query_params[:'exclude_fields'] =
|
248
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
249
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
256
250
|
|
257
251
|
# header parameters
|
258
252
|
header_params = opts[:header_params] || {}
|
data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb
CHANGED
@@ -24,8 +24,8 @@ module PulpAnsibleClient
|
|
24
24
|
# @param namespace [String]
|
25
25
|
# @param version [String]
|
26
26
|
# @param [Hash] opts the optional parameters
|
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 [CollectionVersionDocsResponse]
|
30
30
|
def read(name, namespace, version, opts = {})
|
31
31
|
data, _status_code, _headers = read_with_http_info(name, namespace, version, opts)
|
@@ -37,8 +37,8 @@ module PulpAnsibleClient
|
|
37
37
|
# @param namespace [String]
|
38
38
|
# @param version [String]
|
39
39
|
# @param [Hash] opts the optional parameters
|
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<(CollectionVersionDocsResponse, Integer, Hash)>] CollectionVersionDocsResponse data, response status code and response headers
|
43
43
|
def read_with_http_info(name, namespace, version, opts = {})
|
44
44
|
if @api_client.config.debugging
|
@@ -61,8 +61,8 @@ module PulpAnsibleClient
|
|
61
61
|
|
62
62
|
# query parameters
|
63
63
|
query_params = opts[:query_params] || {}
|
64
|
-
query_params[:'fields'] =
|
65
|
-
query_params[:'exclude_fields'] =
|
64
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
65
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
66
66
|
|
67
67
|
# header parameters
|
68
68
|
header_params = opts[:header_params] || {}
|
@@ -25,11 +25,9 @@ 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 [
|
30
|
-
# @option opts [
|
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.
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
29
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
30
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
33
31
|
# @return [Array<CollectionResponse>]
|
34
32
|
def list(distro_base_path, opts = {})
|
35
33
|
data, _status_code, _headers = list_with_http_info(distro_base_path, opts)
|
@@ -42,11 +40,9 @@ module PulpAnsibleClient
|
|
42
40
|
# @option opts [Boolean] :deprecated
|
43
41
|
# @option opts [String] :name
|
44
42
|
# @option opts [String] :namespace
|
45
|
-
# @option opts [Array<String>] :ordering Ordering
|
46
|
-
# @option opts [
|
47
|
-
# @option opts [
|
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.
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
45
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
50
46
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
51
47
|
def list_with_http_info(distro_base_path, opts = {})
|
52
48
|
if @api_client.config.debugging
|
@@ -56,7 +52,7 @@ module PulpAnsibleClient
|
|
56
52
|
if @api_client.config.client_side_validation && distro_base_path.nil?
|
57
53
|
fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
|
58
54
|
end
|
59
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
55
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
60
56
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
61
57
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
62
58
|
end
|
@@ -69,10 +65,8 @@ module PulpAnsibleClient
|
|
69
65
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
70
66
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
71
67
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
72
|
-
query_params[:'
|
73
|
-
query_params[:'
|
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?
|
68
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
69
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
76
70
|
|
77
71
|
# header parameters
|
78
72
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Returns paginated CollectionVersions list.
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
26
|
-
# @option opts [
|
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.
|
27
27
|
# @return [Array<UnpaginatedCollectionVersionResponse>]
|
28
28
|
def list(distro_base_path, opts = {})
|
29
29
|
data, _status_code, _headers = list_with_http_info(distro_base_path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Returns paginated CollectionVersions list.
|
34
34
|
# @param distro_base_path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
37
|
-
# @option opts [
|
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.
|
38
38
|
# @return [Array<(Array<UnpaginatedCollectionVersionResponse>, Integer, Hash)>] Array<UnpaginatedCollectionVersionResponse> data, response status code and response headers
|
39
39
|
def list_with_http_info(distro_base_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'] =
|
53
|
-
query_params[:'exclude_fields'] =
|
52
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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
|
# ViewSet for Repository Metadata.
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
26
|
-
# @option opts [
|
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.
|
27
27
|
# @return [RepoMetadataResponse]
|
28
28
|
def read(distro_base_path, opts = {})
|
29
29
|
data, _status_code, _headers = read_with_http_info(distro_base_path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# ViewSet for Repository Metadata.
|
34
34
|
# @param distro_base_path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
37
|
-
# @option opts [
|
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.
|
38
38
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
39
39
|
def read_with_http_info(distro_base_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'] =
|
53
|
-
query_params[:'exclude_fields'] =
|
52
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] 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 distro_base_path [String]
|
24
24
|
# @param filename [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
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 [nil]
|
29
29
|
def download(distro_base_path, filename, opts = {})
|
30
30
|
download_with_http_info(distro_base_path, filename, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param distro_base_path [String]
|
36
36
|
# @param filename [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
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<(nil, Integer, Hash)>] nil, response status code and response headers
|
41
41
|
def download_with_http_info(distro_base_path, filename, 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'] =
|
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] || {}
|
@@ -99,11 +99,9 @@ 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 [
|
104
|
-
# @option opts [
|
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.
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
103
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
104
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
107
105
|
# @return [PaginatedCollectionResponseList]
|
108
106
|
def list(distro_base_path, opts = {})
|
109
107
|
data, _status_code, _headers = list_with_http_info(distro_base_path, opts)
|
@@ -118,11 +116,9 @@ module PulpAnsibleClient
|
|
118
116
|
# @option opts [String] :name
|
119
117
|
# @option opts [String] :namespace
|
120
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
121
|
-
# @option opts [Array<String>] :ordering Ordering
|
122
|
-
# @option opts [
|
123
|
-
# @option opts [
|
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.
|
119
|
+
# @option opts [Array<String>] :ordering Ordering
|
120
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
121
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
126
122
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
127
123
|
def list_with_http_info(distro_base_path, opts = {})
|
128
124
|
if @api_client.config.debugging
|
@@ -132,7 +128,7 @@ module PulpAnsibleClient
|
|
132
128
|
if @api_client.config.client_side_validation && distro_base_path.nil?
|
133
129
|
fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.list"
|
134
130
|
end
|
135
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
|
131
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
136
132
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
137
133
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
138
134
|
end
|
@@ -147,10 +143,8 @@ module PulpAnsibleClient
|
|
147
143
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
148
144
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
149
145
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
150
|
-
query_params[:'
|
151
|
-
query_params[:'
|
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?
|
146
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
147
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
154
148
|
|
155
149
|
# header parameters
|
156
150
|
header_params = opts[:header_params] || {}
|
@@ -190,8 +184,8 @@ module PulpAnsibleClient
|
|
190
184
|
# @param name [String]
|
191
185
|
# @param namespace [String]
|
192
186
|
# @param [Hash] opts the optional parameters
|
193
|
-
# @option opts [
|
194
|
-
# @option opts [
|
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.
|
195
189
|
# @return [CollectionResponse]
|
196
190
|
def read(distro_base_path, name, namespace, opts = {})
|
197
191
|
data, _status_code, _headers = read_with_http_info(distro_base_path, name, namespace, opts)
|
@@ -203,8 +197,8 @@ module PulpAnsibleClient
|
|
203
197
|
# @param name [String]
|
204
198
|
# @param namespace [String]
|
205
199
|
# @param [Hash] opts the optional parameters
|
206
|
-
# @option opts [
|
207
|
-
# @option opts [
|
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.
|
208
202
|
# @return [Array<(CollectionResponse, Integer, Hash)>] CollectionResponse data, response status code and response headers
|
209
203
|
def read_with_http_info(distro_base_path, name, namespace, opts = {})
|
210
204
|
if @api_client.config.debugging
|
@@ -227,8 +221,8 @@ module PulpAnsibleClient
|
|
227
221
|
|
228
222
|
# query parameters
|
229
223
|
query_params = opts[:query_params] || {}
|
230
|
-
query_params[:'fields'] =
|
231
|
-
query_params[:'exclude_fields'] =
|
224
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
225
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
232
226
|
|
233
227
|
# header parameters
|
234
228
|
header_params = opts[:header_params] || {}
|