pulp_ansible_client 0.16.0 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -7
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +10 -6
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +27 -25
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +5 -3
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +14 -10
- data/docs/ContentCollectionSignaturesApi.md +16 -12
- data/docs/ContentCollectionVersionsApi.md +18 -14
- data/docs/ContentRolesApi.md +14 -10
- data/docs/DistributionsAnsibleApi.md +22 -14
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +25 -25
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +10 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +10 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +10 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +14 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +18 -14
- data/docs/RemotesGitApi.md +18 -14
- data/docs/RemotesRoleApi.md +18 -14
- data/docs/RepositoriesAnsibleApi.md +33 -13
- data/docs/RepositoriesAnsibleVersionsApi.md +16 -14
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +15 -9
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -14
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +21 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +27 -21
- data/lib/pulp_ansible_client/api/content_roles_api.rb +21 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +31 -19
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +15 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +21 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +25 -19
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +25 -19
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +25 -19
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +47 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +22 -19
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +18 -4
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +215 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -216
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -130
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +22 -8
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +5 -3
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -216
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +5 -3
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +1 -0
- data/spec/api/ansible_collections_api_spec.rb +5 -3
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +7 -5
- data/spec/api/content_collection_signatures_api_spec.rb +7 -5
- data/spec/api/content_collection_versions_api_spec.rb +9 -7
- data/spec/api/content_roles_api_spec.rb +7 -5
- data/spec/api/distributions_ansible_api_spec.rb +11 -7
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +5 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +5 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +5 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +5 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +7 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +9 -7
- data/spec/api/remotes_git_api_spec.rb +9 -7
- data/spec/api/remotes_role_api_spec.rb +9 -7
- data/spec/api/repositories_ansible_api_spec.rb +16 -6
- data/spec/api/repositories_ansible_versions_api_spec.rb +8 -7
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +24 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +104 -100
@@ -88,12 +88,14 @@ module PulpAnsibleClient
|
|
88
88
|
# @param [Hash] opts the optional parameters
|
89
89
|
# @option opts [Integer] :limit Number of results to return per page.
|
90
90
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
91
|
-
# @option opts [Array<String>] :ordering Ordering
|
91
|
+
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
92
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
92
94
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
93
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
94
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
95
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
96
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
98
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
97
99
|
# @return [PaginatedansibleCollectionResponseList]
|
98
100
|
def list(opts = {})
|
99
101
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -105,12 +107,14 @@ module PulpAnsibleClient
|
|
105
107
|
# @param [Hash] opts the optional parameters
|
106
108
|
# @option opts [Integer] :limit Number of results to return per page.
|
107
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
108
|
-
# @option opts [Array<String>] :ordering Ordering
|
110
|
+
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
111
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
109
113
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
110
114
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
111
115
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
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.
|
116
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
117
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
114
118
|
# @return [Array<(PaginatedansibleCollectionResponseList, Integer, Hash)>] PaginatedansibleCollectionResponseList data, response status code and response headers
|
115
119
|
def list_with_http_info(opts = {})
|
116
120
|
if @api_client.config.debugging
|
@@ -128,11 +132,13 @@ module PulpAnsibleClient
|
|
128
132
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
129
133
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
130
134
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
135
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
136
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
131
137
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
132
138
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
133
139
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
134
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
135
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
140
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
141
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
136
142
|
|
137
143
|
# header parameters
|
138
144
|
header_params = opts[:header_params] || {}
|
@@ -171,8 +177,8 @@ module PulpAnsibleClient
|
|
171
177
|
# ViewSet for AnsibleCollectionDeprecated.
|
172
178
|
# @param ansible_ansible_collection_deprecated_href [String]
|
173
179
|
# @param [Hash] opts the optional parameters
|
174
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
175
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
180
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
181
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
176
182
|
# @return [AnsibleCollectionResponse]
|
177
183
|
def read(ansible_ansible_collection_deprecated_href, opts = {})
|
178
184
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_collection_deprecated_href, opts)
|
@@ -183,8 +189,8 @@ module PulpAnsibleClient
|
|
183
189
|
# ViewSet for AnsibleCollectionDeprecated.
|
184
190
|
# @param ansible_ansible_collection_deprecated_href [String]
|
185
191
|
# @param [Hash] opts the optional parameters
|
186
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
187
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
192
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
193
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
194
|
# @return [Array<(AnsibleCollectionResponse, Integer, Hash)>] AnsibleCollectionResponse data, response status code and response headers
|
189
195
|
def read_with_http_info(ansible_ansible_collection_deprecated_href, opts = {})
|
190
196
|
if @api_client.config.debugging
|
@@ -199,8 +205,8 @@ module PulpAnsibleClient
|
|
199
205
|
|
200
206
|
# query parameters
|
201
207
|
query_params = opts[:query_params] || {}
|
202
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
203
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
208
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
209
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
204
210
|
|
205
211
|
# header parameters
|
206
212
|
header_params = opts[:header_params] || {}
|
@@ -99,16 +99,18 @@ module PulpAnsibleClient
|
|
99
99
|
# @param [Hash] opts the optional parameters
|
100
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
-
# @option opts [Array<String>] :ordering Ordering
|
102
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `data` - Data * `-data` - Data (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
103
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
104
104
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
105
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
105
107
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
106
108
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
107
109
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
108
110
|
# @option opts [String] :signed_collection Filter signatures for collection version
|
109
111
|
# @option opts [String] :signing_service Filter signatures produced by signature service
|
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.
|
112
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
113
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
114
|
# @return [PaginatedansibleCollectionVersionSignatureResponseList]
|
113
115
|
def list(opts = {})
|
114
116
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -120,22 +122,24 @@ module PulpAnsibleClient
|
|
120
122
|
# @param [Hash] opts the optional parameters
|
121
123
|
# @option opts [Integer] :limit Number of results to return per page.
|
122
124
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
123
|
-
# @option opts [Array<String>] :ordering Ordering
|
125
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `data` - Data * `-data` - Data (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pubkey_fingerprint` - Pubkey fingerprint * `-pubkey_fingerprint` - Pubkey fingerprint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
124
126
|
# @option opts [String] :pubkey_fingerprint Filter results where pubkey_fingerprint matches value
|
125
127
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
128
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
129
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
126
130
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
127
131
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
128
132
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
129
133
|
# @option opts [String] :signed_collection Filter signatures for collection version
|
130
134
|
# @option opts [String] :signing_service Filter signatures produced by signature service
|
131
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
132
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
135
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
136
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
133
137
|
# @return [Array<(PaginatedansibleCollectionVersionSignatureResponseList, Integer, Hash)>] PaginatedansibleCollectionVersionSignatureResponseList data, response status code and response headers
|
134
138
|
def list_with_http_info(opts = {})
|
135
139
|
if @api_client.config.debugging
|
136
140
|
@api_client.config.logger.debug 'Calling API: ContentCollectionSignaturesApi.list ...'
|
137
141
|
end
|
138
|
-
allowable_values = ["-
|
142
|
+
allowable_values = ["-data", "-digest", "-pk", "-pubkey_fingerprint", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-timestamp_of_interest", "-upstream_id", "data", "digest", "pk", "pubkey_fingerprint", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "timestamp_of_interest", "upstream_id"]
|
139
143
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
140
144
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
141
145
|
end
|
@@ -149,13 +153,15 @@ module PulpAnsibleClient
|
|
149
153
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
150
154
|
query_params[:'pubkey_fingerprint'] = opts[:'pubkey_fingerprint'] if !opts[:'pubkey_fingerprint'].nil?
|
151
155
|
query_params[:'pubkey_fingerprint__in'] = @api_client.build_collection_param(opts[:'pubkey_fingerprint__in'], :csv) if !opts[:'pubkey_fingerprint__in'].nil?
|
156
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
157
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
152
158
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
153
159
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
154
160
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
155
161
|
query_params[:'signed_collection'] = opts[:'signed_collection'] if !opts[:'signed_collection'].nil?
|
156
162
|
query_params[:'signing_service'] = opts[:'signing_service'] if !opts[:'signing_service'].nil?
|
157
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
158
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
163
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
164
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
159
165
|
|
160
166
|
# header parameters
|
161
167
|
header_params = opts[:header_params] || {}
|
@@ -194,8 +200,8 @@ module PulpAnsibleClient
|
|
194
200
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
195
201
|
# @param ansible_collection_version_signature_href [String]
|
196
202
|
# @param [Hash] opts the optional parameters
|
197
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
198
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
203
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
204
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
205
|
# @return [AnsibleCollectionVersionSignatureResponse]
|
200
206
|
def read(ansible_collection_version_signature_href, opts = {})
|
201
207
|
data, _status_code, _headers = read_with_http_info(ansible_collection_version_signature_href, opts)
|
@@ -206,8 +212,8 @@ module PulpAnsibleClient
|
|
206
212
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
207
213
|
# @param ansible_collection_version_signature_href [String]
|
208
214
|
# @param [Hash] opts the optional parameters
|
209
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
210
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
215
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
216
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
217
|
# @return [Array<(AnsibleCollectionVersionSignatureResponse, Integer, Hash)>] AnsibleCollectionVersionSignatureResponse data, response status code and response headers
|
212
218
|
def read_with_http_info(ansible_collection_version_signature_href, opts = {})
|
213
219
|
if @api_client.config.debugging
|
@@ -222,8 +228,8 @@ module PulpAnsibleClient
|
|
222
228
|
|
223
229
|
# query parameters
|
224
230
|
query_params = opts[:query_params] || {}
|
225
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
226
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
231
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
232
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
227
233
|
|
228
234
|
# header parameters
|
229
235
|
header_params = opts[:header_params] || {}
|
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
26
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
27
25
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
26
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
27
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
28
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
31
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -38,10 +38,10 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
42
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
43
41
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
42
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
44
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
47
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -89,10 +89,10 @@ module PulpAnsibleClient
|
|
89
89
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
93
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
94
92
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
93
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
95
94
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
95
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
98
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -130,15 +130,17 @@ module PulpAnsibleClient
|
|
130
130
|
# @option opts [String] :name
|
131
131
|
# @option opts [String] :namespace
|
132
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
133
|
-
# @option opts [Array<String>] :ordering Ordering
|
133
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
134
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
135
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
134
136
|
# @option opts [String] :q
|
135
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
136
138
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
137
139
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
138
140
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
139
141
|
# @option opts [String] :version Filter results where version matches value
|
140
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
141
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
142
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
143
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
142
144
|
# @return [PaginatedansibleCollectionVersionResponseList]
|
143
145
|
def list(opts = {})
|
144
146
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -153,21 +155,23 @@ module PulpAnsibleClient
|
|
153
155
|
# @option opts [String] :name
|
154
156
|
# @option opts [String] :namespace
|
155
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
156
|
-
# @option opts [Array<String>] :ordering Ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
159
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
157
161
|
# @option opts [String] :q
|
158
162
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
159
163
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
160
164
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
161
165
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
162
166
|
# @option opts [String] :version Filter results where version matches value
|
163
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
164
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
167
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
168
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
165
169
|
# @return [Array<(PaginatedansibleCollectionVersionResponseList, Integer, Hash)>] PaginatedansibleCollectionVersionResponseList data, response status code and response headers
|
166
170
|
def list_with_http_info(opts = {})
|
167
171
|
if @api_client.config.debugging
|
168
172
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
169
173
|
end
|
170
|
-
allowable_values = ["-
|
174
|
+
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"]
|
171
175
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
172
176
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
173
177
|
end
|
@@ -182,14 +186,16 @@ module PulpAnsibleClient
|
|
182
186
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
183
187
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
184
188
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
189
|
+
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
190
|
+
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
185
191
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
186
192
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
187
193
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
188
194
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
189
195
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
190
196
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
191
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
192
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
197
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
198
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
193
199
|
|
194
200
|
# header parameters
|
195
201
|
header_params = opts[:header_params] || {}
|
@@ -228,8 +234,8 @@ module PulpAnsibleClient
|
|
228
234
|
# ViewSet for Ansible Collection.
|
229
235
|
# @param ansible_collection_version_href [String]
|
230
236
|
# @param [Hash] opts the optional parameters
|
231
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
232
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
237
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
238
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
233
239
|
# @return [AnsibleCollectionVersionResponse]
|
234
240
|
def read(ansible_collection_version_href, opts = {})
|
235
241
|
data, _status_code, _headers = read_with_http_info(ansible_collection_version_href, opts)
|
@@ -240,8 +246,8 @@ module PulpAnsibleClient
|
|
240
246
|
# ViewSet for Ansible Collection.
|
241
247
|
# @param ansible_collection_version_href [String]
|
242
248
|
# @param [Hash] opts the optional parameters
|
243
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
244
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
249
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
250
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
251
|
# @return [Array<(AnsibleCollectionVersionResponse, Integer, Hash)>] AnsibleCollectionVersionResponse data, response status code and response headers
|
246
252
|
def read_with_http_info(ansible_collection_version_href, opts = {})
|
247
253
|
if @api_client.config.debugging
|
@@ -256,8 +262,8 @@ module PulpAnsibleClient
|
|
256
262
|
|
257
263
|
# query parameters
|
258
264
|
query_params = opts[:query_params] || {}
|
259
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
260
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
265
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
266
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
261
267
|
|
262
268
|
# header parameters
|
263
269
|
header_params = opts[:header_params] || {}
|
@@ -90,13 +90,15 @@ 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
|
93
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
94
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
99
|
# @option opts [String] :version Filter results where version matches value
|
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.
|
100
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
102
|
# @return [PaginatedansibleRoleResponseList]
|
101
103
|
def list(opts = {})
|
102
104
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -110,19 +112,21 @@ module PulpAnsibleClient
|
|
110
112
|
# @option opts [String] :name Filter results where name matches value
|
111
113
|
# @option opts [String] :namespace Filter results where namespace matches value
|
112
114
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
113
|
-
# @option opts [Array<String>] :ordering Ordering
|
115
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
114
118
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
115
119
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
116
120
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
117
121
|
# @option opts [String] :version Filter results where version matches value
|
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.
|
122
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
123
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
124
|
# @return [Array<(PaginatedansibleRoleResponseList, Integer, Hash)>] PaginatedansibleRoleResponseList data, response status code and response headers
|
121
125
|
def list_with_http_info(opts = {})
|
122
126
|
if @api_client.config.debugging
|
123
127
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.list ...'
|
124
128
|
end
|
125
|
-
allowable_values = ["-
|
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"]
|
126
130
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
127
131
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
128
132
|
end
|
@@ -136,12 +140,14 @@ module PulpAnsibleClient
|
|
136
140
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
137
141
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
138
142
|
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?
|
139
145
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
140
146
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
141
147
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
142
148
|
query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
|
143
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
144
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
149
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
150
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
145
151
|
|
146
152
|
# header parameters
|
147
153
|
header_params = opts[:header_params] || {}
|
@@ -180,8 +186,8 @@ module PulpAnsibleClient
|
|
180
186
|
# ViewSet for Role.
|
181
187
|
# @param ansible_role_href [String]
|
182
188
|
# @param [Hash] opts the optional parameters
|
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.
|
189
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
190
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
185
191
|
# @return [AnsibleRoleResponse]
|
186
192
|
def read(ansible_role_href, opts = {})
|
187
193
|
data, _status_code, _headers = read_with_http_info(ansible_role_href, opts)
|
@@ -192,8 +198,8 @@ module PulpAnsibleClient
|
|
192
198
|
# ViewSet for Role.
|
193
199
|
# @param ansible_role_href [String]
|
194
200
|
# @param [Hash] opts the optional parameters
|
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.
|
201
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
202
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
197
203
|
# @return [Array<(AnsibleRoleResponse, Integer, Hash)>] AnsibleRoleResponse data, response status code and response headers
|
198
204
|
def read_with_http_info(ansible_role_href, opts = {})
|
199
205
|
if @api_client.config.debugging
|
@@ -208,8 +214,8 @@ module PulpAnsibleClient
|
|
208
214
|
|
209
215
|
# query parameters
|
210
216
|
query_params = opts[:query_params] || {}
|
211
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
212
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
217
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
218
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
213
219
|
|
214
220
|
# header parameters
|
215
221
|
header_params = opts[:header_params] || {}
|
@@ -148,22 +148,26 @@ 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 Filter results where base_path matches value
|
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 Filter results where name matches value
|
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
|
162
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
163
165
|
# @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
|
164
168
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
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.
|
169
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
170
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
171
|
# @return [PaginatedansibleAnsibleDistributionResponseList]
|
168
172
|
def list(opts = {})
|
169
173
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -173,28 +177,32 @@ module PulpAnsibleClient
|
|
173
177
|
# List ansible distributions
|
174
178
|
# ViewSet for Ansible Distributions.
|
175
179
|
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :base_path
|
180
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
177
181
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
178
182
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
179
183
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
180
184
|
# @option opts [Integer] :limit Number of results to return per page.
|
181
|
-
# @option opts [String] :name
|
185
|
+
# @option opts [String] :name Filter results where name matches value
|
182
186
|
# @option opts [String] :name__contains Filter results where name contains value
|
183
187
|
# @option opts [String] :name__icontains Filter results where name contains value
|
184
188
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
185
189
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
186
190
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
187
|
-
# @option opts [Array<String>] :ordering Ordering
|
191
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
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.
|
188
194
|
# @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
|
189
197
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
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.
|
198
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
199
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
200
|
# @return [Array<(PaginatedansibleAnsibleDistributionResponseList, Integer, Hash)>] PaginatedansibleAnsibleDistributionResponseList data, response status code and response headers
|
193
201
|
def list_with_http_info(opts = {})
|
194
202
|
if @api_client.config.debugging
|
195
203
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list ...'
|
196
204
|
end
|
197
|
-
allowable_values = ["-
|
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"]
|
198
206
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
199
207
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
200
208
|
end
|
@@ -215,10 +223,14 @@ module PulpAnsibleClient
|
|
215
223
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
216
224
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
217
225
|
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?
|
218
228
|
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?
|
219
231
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
220
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
221
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
232
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
233
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
222
234
|
|
223
235
|
# header parameters
|
224
236
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +339,8 @@ module PulpAnsibleClient
|
|
327
339
|
# ViewSet for Ansible Distributions.
|
328
340
|
# @param ansible_ansible_distribution_href [String]
|
329
341
|
# @param [Hash] opts the optional parameters
|
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.
|
342
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
343
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
344
|
# @return [AnsibleAnsibleDistributionResponse]
|
333
345
|
def read(ansible_ansible_distribution_href, opts = {})
|
334
346
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_distribution_href, opts)
|
@@ -339,8 +351,8 @@ module PulpAnsibleClient
|
|
339
351
|
# ViewSet for Ansible Distributions.
|
340
352
|
# @param ansible_ansible_distribution_href [String]
|
341
353
|
# @param [Hash] opts the optional parameters
|
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.
|
354
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
355
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
344
356
|
# @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
|
345
357
|
def read_with_http_info(ansible_ansible_distribution_href, opts = {})
|
346
358
|
if @api_client.config.debugging
|
@@ -355,8 +367,8 @@ module PulpAnsibleClient
|
|
355
367
|
|
356
368
|
# query parameters
|
357
369
|
query_params = opts[:query_params] || {}
|
358
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
359
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
370
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
371
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
360
372
|
|
361
373
|
# header parameters
|
362
374
|
header_params = opts[:header_params] || {}
|