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
@@ -90,15 +90,13 @@ module PulpAnsibleClient
|
|
90
90
|
# @option opts [String] :name Filter results where name matches value
|
91
91
|
# @option opts [String] :namespace Filter results where namespace matches value
|
92
92
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
93
|
-
# @option opts [Array<String>] :ordering Ordering
|
94
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
93
|
+
# @option opts [Array<String>] :ordering Ordering
|
96
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
99
97
|
# @option opts [String] :version Filter results where version matches value
|
100
|
-
# @option opts [
|
101
|
-
# @option opts [
|
98
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
102
100
|
# @return [PaginatedansibleRoleResponseList]
|
103
101
|
def list(opts = {})
|
104
102
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -112,21 +110,19 @@ module PulpAnsibleClient
|
|
112
110
|
# @option opts [String] :name Filter results where name matches value
|
113
111
|
# @option opts [String] :namespace Filter results where namespace matches value
|
114
112
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
115
|
-
# @option opts [Array<String>] :ordering Ordering
|
116
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
113
|
+
# @option opts [Array<String>] :ordering Ordering
|
118
114
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
119
115
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
120
116
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
121
117
|
# @option opts [String] :version Filter results where version matches value
|
122
|
-
# @option opts [
|
123
|
-
# @option opts [
|
118
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
119
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
124
120
|
# @return [Array<(PaginatedansibleRoleResponseList, Integer, Hash)>] PaginatedansibleRoleResponseList data, response status code and response headers
|
125
121
|
def list_with_http_info(opts = {})
|
126
122
|
if @api_client.config.debugging
|
127
123
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.list ...'
|
128
124
|
end
|
129
|
-
allowable_values = ["-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "-version", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id", "version"]
|
125
|
+
allowable_values = ["-_artifacts", "-content_ptr", "-contentartifact", "-download_logs", "-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "content_ptr", "contentartifact", "download_logs", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
130
126
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
131
127
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
132
128
|
end
|
@@ -140,14 +136,12 @@ module PulpAnsibleClient
|
|
140
136
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
141
137
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
142
138
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
143
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
145
139
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
146
140
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
147
141
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
148
142
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
149
|
-
query_params[:'fields'] =
|
150
|
-
query_params[:'exclude_fields'] =
|
143
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
144
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
151
145
|
|
152
146
|
# header parameters
|
153
147
|
header_params = opts[:header_params] || {}
|
@@ -186,8 +180,8 @@ module PulpAnsibleClient
|
|
186
180
|
# ViewSet for Role.
|
187
181
|
# @param ansible_role_href [String]
|
188
182
|
# @param [Hash] opts the optional parameters
|
189
|
-
# @option opts [
|
190
|
-
# @option opts [
|
183
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
184
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
191
185
|
# @return [AnsibleRoleResponse]
|
192
186
|
def read(ansible_role_href, opts = {})
|
193
187
|
data, _status_code, _headers = read_with_http_info(ansible_role_href, opts)
|
@@ -198,8 +192,8 @@ module PulpAnsibleClient
|
|
198
192
|
# ViewSet for Role.
|
199
193
|
# @param ansible_role_href [String]
|
200
194
|
# @param [Hash] opts the optional parameters
|
201
|
-
# @option opts [
|
202
|
-
# @option opts [
|
195
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
196
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
203
197
|
# @return [Array<(AnsibleRoleResponse, Integer, Hash)>] AnsibleRoleResponse data, response status code and response headers
|
204
198
|
def read_with_http_info(ansible_role_href, opts = {})
|
205
199
|
if @api_client.config.debugging
|
@@ -214,8 +208,8 @@ module PulpAnsibleClient
|
|
214
208
|
|
215
209
|
# query parameters
|
216
210
|
query_params = opts[:query_params] || {}
|
217
|
-
query_params[:'fields'] =
|
218
|
-
query_params[:'exclude_fields'] =
|
211
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
212
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
219
213
|
|
220
214
|
# header parameters
|
221
215
|
header_params = opts[:header_params] || {}
|
@@ -148,26 +148,22 @@ module PulpAnsibleClient
|
|
148
148
|
# List ansible distributions
|
149
149
|
# ViewSet for Ansible Distributions.
|
150
150
|
# @param [Hash] opts the optional parameters
|
151
|
-
# @option opts [String] :base_path
|
151
|
+
# @option opts [String] :base_path
|
152
152
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
153
153
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
154
154
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
155
155
|
# @option opts [Integer] :limit Number of results to return per page.
|
156
|
-
# @option opts [String] :name
|
156
|
+
# @option opts [String] :name
|
157
157
|
# @option opts [String] :name__contains Filter results where name contains value
|
158
158
|
# @option opts [String] :name__icontains Filter results where name contains value
|
159
159
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
160
160
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
161
161
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
162
|
-
# @option opts [Array<String>] :ordering Ordering
|
163
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
164
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
162
|
+
# @option opts [Array<String>] :ordering Ordering
|
165
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
166
|
-
# @option opts [String] :repository Filter results where repository matches value
|
167
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
168
164
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
169
|
-
# @option opts [
|
170
|
-
# @option opts [
|
165
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
171
167
|
# @return [PaginatedansibleAnsibleDistributionResponseList]
|
172
168
|
def list(opts = {})
|
173
169
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -177,32 +173,28 @@ module PulpAnsibleClient
|
|
177
173
|
# List ansible distributions
|
178
174
|
# ViewSet for Ansible Distributions.
|
179
175
|
# @param [Hash] opts the optional parameters
|
180
|
-
# @option opts [String] :base_path
|
176
|
+
# @option opts [String] :base_path
|
181
177
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
182
178
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
183
179
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
184
180
|
# @option opts [Integer] :limit Number of results to return per page.
|
185
|
-
# @option opts [String] :name
|
181
|
+
# @option opts [String] :name
|
186
182
|
# @option opts [String] :name__contains Filter results where name contains value
|
187
183
|
# @option opts [String] :name__icontains Filter results where name contains value
|
188
184
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
189
185
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
190
186
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
191
|
-
# @option opts [Array<String>] :ordering Ordering
|
192
|
-
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
193
|
-
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
187
|
+
# @option opts [Array<String>] :ordering Ordering
|
194
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
195
|
-
# @option opts [String] :repository Filter results where repository matches value
|
196
|
-
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
197
189
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
198
|
-
# @option opts [
|
199
|
-
# @option opts [
|
190
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
191
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
200
192
|
# @return [Array<(PaginatedansibleAnsibleDistributionResponseList, Integer, Hash)>] PaginatedansibleAnsibleDistributionResponseList data, response status code and response headers
|
201
193
|
def list_with_http_info(opts = {})
|
202
194
|
if @api_client.config.debugging
|
203
195
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list ...'
|
204
196
|
end
|
205
|
-
allowable_values = ["-base_path", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "base_path", "name", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type"]
|
197
|
+
allowable_values = ["-ansible_ansibledistribution", "-base_path", "-content_guard", "-group_roles", "-name", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-remote", "-repository", "-repository_version", "-user_roles", "ansible_ansibledistribution", "base_path", "content_guard", "group_roles", "name", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "remote", "repository", "repository_version", "user_roles"]
|
206
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
207
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
208
200
|
end
|
@@ -223,14 +215,10 @@ module PulpAnsibleClient
|
|
223
215
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
224
216
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
225
217
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
226
|
-
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
227
|
-
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
228
218
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
229
|
-
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
230
|
-
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
231
219
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
232
|
-
query_params[:'fields'] =
|
233
|
-
query_params[:'exclude_fields'] =
|
220
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
234
222
|
|
235
223
|
# header parameters
|
236
224
|
header_params = opts[:header_params] || {}
|
@@ -339,8 +327,8 @@ module PulpAnsibleClient
|
|
339
327
|
# ViewSet for Ansible Distributions.
|
340
328
|
# @param ansible_ansible_distribution_href [String]
|
341
329
|
# @param [Hash] opts the optional parameters
|
342
|
-
# @option opts [
|
343
|
-
# @option opts [
|
330
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
344
332
|
# @return [AnsibleAnsibleDistributionResponse]
|
345
333
|
def read(ansible_ansible_distribution_href, opts = {})
|
346
334
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_distribution_href, opts)
|
@@ -351,8 +339,8 @@ module PulpAnsibleClient
|
|
351
339
|
# ViewSet for Ansible Distributions.
|
352
340
|
# @param ansible_ansible_distribution_href [String]
|
353
341
|
# @param [Hash] opts the optional parameters
|
354
|
-
# @option opts [
|
355
|
-
# @option opts [
|
342
|
+
# @option opts [String] :fields A list of fields to include in the response.
|
343
|
+
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
356
344
|
# @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
|
357
345
|
def read_with_http_info(ansible_ansible_distribution_href, opts = {})
|
358
346
|
if @api_client.config.debugging
|
@@ -367,8 +355,8 @@ module PulpAnsibleClient
|
|
367
355
|
|
368
356
|
# query parameters
|
369
357
|
query_params = opts[:query_params] || {}
|
370
|
-
query_params[:'fields'] =
|
371
|
-
query_params[:'exclude_fields'] =
|
358
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
359
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
372
360
|
|
373
361
|
# header parameters
|
374
362
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Get the detail view of a Collection.
|
23
23
|
# @param ansible_collection_href [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
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 [GalaxyCollectionResponse]
|
28
28
|
def get(ansible_collection_href, opts = {})
|
29
29
|
data, _status_code, _headers = get_with_http_info(ansible_collection_href, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Get the detail view of a Collection.
|
34
34
|
# @param ansible_collection_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
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<(GalaxyCollectionResponse, Integer, Hash)>] GalaxyCollectionResponse data, response status code and response headers
|
39
39
|
def get_with_http_info(ansible_collection_href, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] =
|
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
|
# Return a response to the \"GET\" action.
|
23
23
|
# @param 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 [nil]
|
28
28
|
def get(path, opts = {})
|
29
29
|
get_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Return a response to the \"GET\" action.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
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<(nil, Integer, Hash)>] nil, response status code and response headers
|
39
39
|
def get_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] =
|
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] || {}
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @param path [String]
|
26
26
|
# @param version [String]
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [
|
29
|
-
# @option opts [
|
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.
|
30
30
|
# @return [nil]
|
31
31
|
def get(name, namespace, path, version, opts = {})
|
32
32
|
get_with_http_info(name, namespace, path, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param path [String]
|
40
40
|
# @param version [String]
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [
|
43
|
-
# @option opts [
|
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.
|
44
44
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
45
45
|
def get_with_http_info(name, namespace, path, version, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpAnsibleClient
|
|
67
67
|
|
68
68
|
# query parameters
|
69
69
|
query_params = opts[:query_params] || {}
|
70
|
-
query_params[:'fields'] =
|
71
|
-
query_params[:'exclude_fields'] =
|
70
|
+
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
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(path, opts = {})
|
29
29
|
data, _status_code, _headers = read_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Legacy v3 endpoint.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
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(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 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] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [
|
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(path, opts = {})
|
29
29
|
data, _status_code, _headers = list_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Legacy v3 endpoint.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [
|
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(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] || {}
|
@@ -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(path, opts = {})
|
35
33
|
data, _status_code, _headers = list_with_http_info(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(path, opts = {})
|
52
48
|
if @api_client.config.debugging
|
@@ -56,7 +52,7 @@ module PulpAnsibleClient
|
|
56
52
|
if @api_client.config.client_side_validation && path.nil?
|
57
53
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsAllApi.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] || {}
|
@@ -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(path, opts = {})
|
109
107
|
data, _status_code, _headers = list_with_http_info(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(path, opts = {})
|
128
124
|
if @api_client.config.debugging
|
@@ -132,7 +128,7 @@ module PulpAnsibleClient
|
|
132
128
|
if @api_client.config.client_side_validation && path.nil?
|
133
129
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsApi.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 namespace [String]
|
191
185
|
# @param path [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(name, namespace, path, opts = {})
|
197
191
|
data, _status_code, _headers = read_with_http_info(name, namespace, path, opts)
|
@@ -203,8 +197,8 @@ module PulpAnsibleClient
|
|
203
197
|
# @param namespace [String]
|
204
198
|
# @param path [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(name, namespace, path, 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] || {}
|