pulp_ansible_client 0.16.0 → 0.16.1
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 -6
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +19 -0
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +4 -4
- data/docs/AnsibleGitRemote.md +31 -31
- data/docs/AnsibleGitRemoteResponse.md +29 -27
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +4 -2
- 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/ContentCollectionDeprecationsApi.md +8 -8
- data/docs/ContentCollectionSignaturesApi.md +10 -10
- data/docs/ContentCollectionVersionsApi.md +10 -10
- data/docs/ContentRolesApi.md +8 -8
- data/docs/DistributionsAnsibleApi.md +12 -12
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +31 -31
- data/docs/PatchedansibleRoleRemote.md +1 -1
- 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 +4 -4
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +12 -12
- data/docs/RemotesGitApi.md +12 -12
- data/docs/RemotesRoleApi.md +12 -12
- data/docs/RepositoriesAnsibleApi.md +11 -11
- data/docs/RepositoriesAnsibleVersionsApi.md +12 -12
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -7
- 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 +12 -12
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +13 -13
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +16 -16
- data/lib/pulp_ansible_client/api/content_roles_api.rb +13 -13
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +17 -17
- 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 +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +13 -13
- 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 +7 -7
- 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 +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- 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 +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +13 -13
- 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 +7 -7
- 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 +13 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +13 -13
- 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 +17 -17
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +17 -17
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +17 -17
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +15 -15
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +17 -17
- 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 +4 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +17 -3
- 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 +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +252 -250
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -139
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +21 -7
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +4 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +4 -2
- 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 +2 -2
- 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 +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +5 -5
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +6 -6
- 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 +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- 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 +2 -2
- 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 +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- 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 +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- 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 +2 -2
- 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 +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- 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 +6 -6
- data/spec/api/remotes_git_api_spec.rb +6 -6
- data/spec/api/remotes_role_api_spec.rb +6 -6
- data/spec/api/repositories_ansible_api_spec.rb +5 -5
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -6
- 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 +22 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- 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 +18 -18
- metadata +105 -101
@@ -92,8 +92,8 @@ module PulpAnsibleClient
|
|
92
92
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
93
93
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
94
94
|
# @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.
|
95
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
96
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
97
97
|
# @return [PaginatedansibleCollectionResponseList]
|
98
98
|
def list(opts = {})
|
99
99
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -109,8 +109,8 @@ module PulpAnsibleClient
|
|
109
109
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
110
110
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
111
111
|
# @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.
|
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.
|
114
114
|
# @return [Array<(PaginatedansibleCollectionResponseList, Integer, Hash)>] PaginatedansibleCollectionResponseList data, response status code and response headers
|
115
115
|
def list_with_http_info(opts = {})
|
116
116
|
if @api_client.config.debugging
|
@@ -131,8 +131,8 @@ module PulpAnsibleClient
|
|
131
131
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
132
132
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
133
133
|
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?
|
134
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
135
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
136
136
|
|
137
137
|
# header parameters
|
138
138
|
header_params = opts[:header_params] || {}
|
@@ -171,8 +171,8 @@ module PulpAnsibleClient
|
|
171
171
|
# ViewSet for AnsibleCollectionDeprecated.
|
172
172
|
# @param ansible_ansible_collection_deprecated_href [String]
|
173
173
|
# @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.
|
174
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
175
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
176
176
|
# @return [AnsibleCollectionResponse]
|
177
177
|
def read(ansible_ansible_collection_deprecated_href, opts = {})
|
178
178
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_collection_deprecated_href, opts)
|
@@ -183,8 +183,8 @@ module PulpAnsibleClient
|
|
183
183
|
# ViewSet for AnsibleCollectionDeprecated.
|
184
184
|
# @param ansible_ansible_collection_deprecated_href [String]
|
185
185
|
# @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.
|
186
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
187
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
188
188
|
# @return [Array<(AnsibleCollectionResponse, Integer, Hash)>] AnsibleCollectionResponse data, response status code and response headers
|
189
189
|
def read_with_http_info(ansible_ansible_collection_deprecated_href, opts = {})
|
190
190
|
if @api_client.config.debugging
|
@@ -199,8 +199,8 @@ module PulpAnsibleClient
|
|
199
199
|
|
200
200
|
# query parameters
|
201
201
|
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?
|
202
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
203
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
204
204
|
|
205
205
|
# header parameters
|
206
206
|
header_params = opts[:header_params] || {}
|
@@ -107,8 +107,8 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
108
108
|
# @option opts [String] :signed_collection Filter signatures for collection version
|
109
109
|
# @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.
|
110
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
111
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
112
112
|
# @return [PaginatedansibleCollectionVersionSignatureResponseList]
|
113
113
|
def list(opts = {})
|
114
114
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -128,14 +128,14 @@ module PulpAnsibleClient
|
|
128
128
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
129
129
|
# @option opts [String] :signed_collection Filter signatures for collection version
|
130
130
|
# @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.
|
131
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
132
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
133
133
|
# @return [Array<(PaginatedansibleCollectionVersionSignatureResponseList, Integer, Hash)>] PaginatedansibleCollectionVersionSignatureResponseList data, response status code and response headers
|
134
134
|
def list_with_http_info(opts = {})
|
135
135
|
if @api_client.config.debugging
|
136
136
|
@api_client.config.logger.debug 'Calling API: ContentCollectionSignaturesApi.list ...'
|
137
137
|
end
|
138
|
-
allowable_values = ["-
|
138
|
+
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
139
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
140
140
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
141
141
|
end
|
@@ -154,8 +154,8 @@ module PulpAnsibleClient
|
|
154
154
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
155
155
|
query_params[:'signed_collection'] = opts[:'signed_collection'] if !opts[:'signed_collection'].nil?
|
156
156
|
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?
|
157
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
158
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
159
159
|
|
160
160
|
# header parameters
|
161
161
|
header_params = opts[:header_params] || {}
|
@@ -194,8 +194,8 @@ module PulpAnsibleClient
|
|
194
194
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
195
195
|
# @param ansible_collection_version_signature_href [String]
|
196
196
|
# @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.
|
197
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
198
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
199
199
|
# @return [AnsibleCollectionVersionSignatureResponse]
|
200
200
|
def read(ansible_collection_version_signature_href, opts = {})
|
201
201
|
data, _status_code, _headers = read_with_http_info(ansible_collection_version_signature_href, opts)
|
@@ -206,8 +206,8 @@ module PulpAnsibleClient
|
|
206
206
|
# ViewSet for looking at signature objects for CollectionVersion content.
|
207
207
|
# @param ansible_collection_version_signature_href [String]
|
208
208
|
# @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.
|
209
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
211
|
# @return [Array<(AnsibleCollectionVersionSignatureResponse, Integer, Hash)>] AnsibleCollectionVersionSignatureResponse data, response status code and response headers
|
212
212
|
def read_with_http_info(ansible_collection_version_signature_href, opts = {})
|
213
213
|
if @api_client.config.debugging
|
@@ -222,8 +222,8 @@ module PulpAnsibleClient
|
|
222
222
|
|
223
223
|
# query parameters
|
224
224
|
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?
|
225
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
226
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
227
227
|
|
228
228
|
# header parameters
|
229
229
|
header_params = opts[:header_params] || {}
|
@@ -22,9 +22,9 @@ 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
25
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
27
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
28
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -38,9 +38,9 @@ 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
41
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
43
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
44
44
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
@@ -89,9 +89,9 @@ 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
92
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
94
93
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
94
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
95
95
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].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?
|
@@ -137,8 +137,8 @@ module PulpAnsibleClient
|
|
137
137
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
138
138
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
139
139
|
# @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.
|
140
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
141
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
142
142
|
# @return [PaginatedansibleCollectionVersionResponseList]
|
143
143
|
def list(opts = {})
|
144
144
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -160,14 +160,14 @@ module PulpAnsibleClient
|
|
160
160
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
161
161
|
# @option opts [String] :tags Filter by comma separate list of tags that must all be matched
|
162
162
|
# @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.
|
163
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
164
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
165
165
|
# @return [Array<(PaginatedansibleCollectionVersionResponseList, Integer, Hash)>] PaginatedansibleCollectionVersionResponseList data, response status code and response headers
|
166
166
|
def list_with_http_info(opts = {})
|
167
167
|
if @api_client.config.debugging
|
168
168
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
169
169
|
end
|
170
|
-
allowable_values = ["-
|
170
|
+
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
171
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
172
172
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
173
173
|
end
|
@@ -188,8 +188,8 @@ module PulpAnsibleClient
|
|
188
188
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
189
189
|
query_params[:'tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
190
190
|
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?
|
191
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
192
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
193
193
|
|
194
194
|
# header parameters
|
195
195
|
header_params = opts[:header_params] || {}
|
@@ -228,8 +228,8 @@ module PulpAnsibleClient
|
|
228
228
|
# ViewSet for Ansible Collection.
|
229
229
|
# @param ansible_collection_version_href [String]
|
230
230
|
# @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.
|
231
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
232
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
233
233
|
# @return [AnsibleCollectionVersionResponse]
|
234
234
|
def read(ansible_collection_version_href, opts = {})
|
235
235
|
data, _status_code, _headers = read_with_http_info(ansible_collection_version_href, opts)
|
@@ -240,8 +240,8 @@ module PulpAnsibleClient
|
|
240
240
|
# ViewSet for Ansible Collection.
|
241
241
|
# @param ansible_collection_version_href [String]
|
242
242
|
# @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.
|
243
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
245
|
# @return [Array<(AnsibleCollectionVersionResponse, Integer, Hash)>] AnsibleCollectionVersionResponse data, response status code and response headers
|
246
246
|
def read_with_http_info(ansible_collection_version_href, opts = {})
|
247
247
|
if @api_client.config.debugging
|
@@ -256,8 +256,8 @@ module PulpAnsibleClient
|
|
256
256
|
|
257
257
|
# query parameters
|
258
258
|
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?
|
259
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
260
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
261
261
|
|
262
262
|
# header parameters
|
263
263
|
header_params = opts[:header_params] || {}
|
@@ -95,8 +95,8 @@ module PulpAnsibleClient
|
|
95
95
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
96
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
97
97
|
# @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.
|
98
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
99
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
100
100
|
# @return [PaginatedansibleRoleResponseList]
|
101
101
|
def list(opts = {})
|
102
102
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -115,14 +115,14 @@ module PulpAnsibleClient
|
|
115
115
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
116
116
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
117
117
|
# @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.
|
118
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
120
|
# @return [Array<(PaginatedansibleRoleResponseList, Integer, Hash)>] PaginatedansibleRoleResponseList data, response status code and response headers
|
121
121
|
def list_with_http_info(opts = {})
|
122
122
|
if @api_client.config.debugging
|
123
123
|
@api_client.config.logger.debug 'Calling API: ContentRolesApi.list ...'
|
124
124
|
end
|
125
|
-
allowable_values = ["-
|
125
|
+
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
126
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
127
127
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
128
128
|
end
|
@@ -140,8 +140,8 @@ module PulpAnsibleClient
|
|
140
140
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
141
141
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
142
142
|
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?
|
143
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
144
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
145
145
|
|
146
146
|
# header parameters
|
147
147
|
header_params = opts[:header_params] || {}
|
@@ -180,8 +180,8 @@ module PulpAnsibleClient
|
|
180
180
|
# ViewSet for Role.
|
181
181
|
# @param ansible_role_href [String]
|
182
182
|
# @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.
|
183
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
184
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
185
185
|
# @return [AnsibleRoleResponse]
|
186
186
|
def read(ansible_role_href, opts = {})
|
187
187
|
data, _status_code, _headers = read_with_http_info(ansible_role_href, opts)
|
@@ -192,8 +192,8 @@ module PulpAnsibleClient
|
|
192
192
|
# ViewSet for Role.
|
193
193
|
# @param ansible_role_href [String]
|
194
194
|
# @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.
|
195
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
196
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
197
197
|
# @return [Array<(AnsibleRoleResponse, Integer, Hash)>] AnsibleRoleResponse data, response status code and response headers
|
198
198
|
def read_with_http_info(ansible_role_href, opts = {})
|
199
199
|
if @api_client.config.debugging
|
@@ -208,8 +208,8 @@ module PulpAnsibleClient
|
|
208
208
|
|
209
209
|
# query parameters
|
210
210
|
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?
|
211
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
212
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
213
213
|
|
214
214
|
# header parameters
|
215
215
|
header_params = opts[:header_params] || {}
|
@@ -148,12 +148,12 @@ 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
|
@@ -162,8 +162,8 @@ module PulpAnsibleClient
|
|
162
162
|
# @option opts [Array<String>] :ordering Ordering
|
163
163
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
164
164
|
# @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.
|
165
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
166
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
167
167
|
# @return [PaginatedansibleAnsibleDistributionResponseList]
|
168
168
|
def list(opts = {})
|
169
169
|
data, _status_code, _headers = list_with_http_info(opts)
|
@@ -173,12 +173,12 @@ module PulpAnsibleClient
|
|
173
173
|
# List ansible distributions
|
174
174
|
# ViewSet for Ansible Distributions.
|
175
175
|
# @param [Hash] opts the optional parameters
|
176
|
-
# @option opts [String] :base_path
|
176
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
177
177
|
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
178
178
|
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
179
179
|
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
180
180
|
# @option opts [Integer] :limit Number of results to return per page.
|
181
|
-
# @option opts [String] :name
|
181
|
+
# @option opts [String] :name Filter results where name matches value
|
182
182
|
# @option opts [String] :name__contains Filter results where name contains value
|
183
183
|
# @option opts [String] :name__icontains Filter results where name contains value
|
184
184
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
@@ -187,14 +187,14 @@ module PulpAnsibleClient
|
|
187
187
|
# @option opts [Array<String>] :ordering Ordering
|
188
188
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
189
189
|
# @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.
|
190
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
191
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
192
192
|
# @return [Array<(PaginatedansibleAnsibleDistributionResponseList, Integer, Hash)>] PaginatedansibleAnsibleDistributionResponseList data, response status code and response headers
|
193
193
|
def list_with_http_info(opts = {})
|
194
194
|
if @api_client.config.debugging
|
195
195
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.list ...'
|
196
196
|
end
|
197
|
-
allowable_values = ["-
|
197
|
+
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
198
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
199
199
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
200
200
|
end
|
@@ -217,8 +217,8 @@ module PulpAnsibleClient
|
|
217
217
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
218
218
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
219
219
|
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?
|
220
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
221
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
222
222
|
|
223
223
|
# header parameters
|
224
224
|
header_params = opts[:header_params] || {}
|
@@ -327,8 +327,8 @@ module PulpAnsibleClient
|
|
327
327
|
# ViewSet for Ansible Distributions.
|
328
328
|
# @param ansible_ansible_distribution_href [String]
|
329
329
|
# @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.
|
330
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
331
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
332
332
|
# @return [AnsibleAnsibleDistributionResponse]
|
333
333
|
def read(ansible_ansible_distribution_href, opts = {})
|
334
334
|
data, _status_code, _headers = read_with_http_info(ansible_ansible_distribution_href, opts)
|
@@ -339,8 +339,8 @@ module PulpAnsibleClient
|
|
339
339
|
# ViewSet for Ansible Distributions.
|
340
340
|
# @param ansible_ansible_distribution_href [String]
|
341
341
|
# @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.
|
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.
|
344
344
|
# @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
|
345
345
|
def read_with_http_info(ansible_ansible_distribution_href, opts = {})
|
346
346
|
if @api_client.config.debugging
|
@@ -355,8 +355,8 @@ module PulpAnsibleClient
|
|
355
355
|
|
356
356
|
# query parameters
|
357
357
|
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?
|
358
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
359
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
360
360
|
|
361
361
|
# header parameters
|
362
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 [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [GalaxyCollectionResponse]
|
28
28
|
def get(ansible_collection_href, opts = {})
|
29
29
|
data, _status_code, _headers = get_with_http_info(ansible_collection_href, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Get the detail view of a Collection.
|
34
34
|
# @param ansible_collection_href [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(GalaxyCollectionResponse, Integer, Hash)>] GalaxyCollectionResponse data, response status code and response headers
|
39
39
|
def get_with_http_info(ansible_collection_href, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Return a response to the \"GET\" action.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [nil]
|
28
28
|
def get(path, opts = {})
|
29
29
|
get_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Return a response to the \"GET\" action.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
39
39
|
def get_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -25,8 +25,8 @@ module PulpAnsibleClient
|
|
25
25
|
# @param path [String]
|
26
26
|
# @param version [String]
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
29
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
28
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
29
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
30
30
|
# @return [nil]
|
31
31
|
def get(name, namespace, path, version, opts = {})
|
32
32
|
get_with_http_info(name, namespace, path, version, opts)
|
@@ -39,8 +39,8 @@ module PulpAnsibleClient
|
|
39
39
|
# @param path [String]
|
40
40
|
# @param version [String]
|
41
41
|
# @param [Hash] opts the optional parameters
|
42
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
43
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
43
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
44
44
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
45
45
|
def get_with_http_info(name, namespace, path, version, opts = {})
|
46
46
|
if @api_client.config.debugging
|
@@ -67,8 +67,8 @@ module PulpAnsibleClient
|
|
67
67
|
|
68
68
|
# query parameters
|
69
69
|
query_params = opts[:query_params] || {}
|
70
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
71
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
70
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
71
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
72
72
|
|
73
73
|
# header parameters
|
74
74
|
header_params = opts[:header_params] || {}
|
@@ -22,8 +22,8 @@ module PulpAnsibleClient
|
|
22
22
|
# Legacy v3 endpoint.
|
23
23
|
# @param path [String]
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
26
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
25
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
26
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
27
27
|
# @return [RepoMetadataResponse]
|
28
28
|
def read(path, opts = {})
|
29
29
|
data, _status_code, _headers = read_with_http_info(path, opts)
|
@@ -33,8 +33,8 @@ module PulpAnsibleClient
|
|
33
33
|
# Legacy v3 endpoint.
|
34
34
|
# @param path [String]
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
37
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
36
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
37
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
38
38
|
# @return [Array<(RepoMetadataResponse, Integer, Hash)>] RepoMetadataResponse data, response status code and response headers
|
39
39
|
def read_with_http_info(path, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -49,8 +49,8 @@ module PulpAnsibleClient
|
|
49
49
|
|
50
50
|
# query parameters
|
51
51
|
query_params = opts[:query_params] || {}
|
52
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
53
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
52
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
53
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
54
54
|
|
55
55
|
# header parameters
|
56
56
|
header_params = opts[:header_params] || {}
|
@@ -23,8 +23,8 @@ module PulpAnsibleClient
|
|
23
23
|
# @param filename [String]
|
24
24
|
# @param path [String]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
27
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
26
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
27
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
28
28
|
# @return [nil]
|
29
29
|
def get(filename, path, opts = {})
|
30
30
|
get_with_http_info(filename, path, opts)
|
@@ -35,8 +35,8 @@ module PulpAnsibleClient
|
|
35
35
|
# @param filename [String]
|
36
36
|
# @param path [String]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :fields A list of fields to include in the response.
|
39
|
-
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
38
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
39
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
40
40
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
41
41
|
def get_with_http_info(filename, path, opts = {})
|
42
42
|
if @api_client.config.debugging
|
@@ -55,8 +55,8 @@ module PulpAnsibleClient
|
|
55
55
|
|
56
56
|
# query parameters
|
57
57
|
query_params = opts[:query_params] || {}
|
58
|
-
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
59
|
-
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
58
|
+
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
59
|
+
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
60
60
|
|
61
61
|
# header parameters
|
62
62
|
header_params = opts[:header_params] || {}
|