pulp_ansible_client 0.18.4 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +14 -14
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +14 -14
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +158 -166
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -13,15 +13,14 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpAnsibleClient
|
16
|
-
class
|
16
|
+
class PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# List cross repository collection version indexs
|
23
22
|
# A viewset for cross-repo searches.
|
24
|
-
# @param
|
23
|
+
# @param path [String]
|
25
24
|
# @param [Hash] opts the optional parameters
|
26
25
|
# @option opts [String] :dependency
|
27
26
|
# @option opts [Boolean] :deprecated
|
@@ -49,14 +48,13 @@ module PulpAnsibleClient
|
|
49
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
50
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
51
50
|
# @return [PaginatedCollectionVersionSearchListResponseList]
|
52
|
-
def list(
|
53
|
-
data, _status_code, _headers = list_with_http_info(
|
51
|
+
def list(path, opts = {})
|
52
|
+
data, _status_code, _headers = list_with_http_info(path, opts)
|
54
53
|
data
|
55
54
|
end
|
56
55
|
|
57
|
-
# List cross repository collection version indexs
|
58
56
|
# A viewset for cross-repo searches.
|
59
|
-
# @param
|
57
|
+
# @param path [String]
|
60
58
|
# @param [Hash] opts the optional parameters
|
61
59
|
# @option opts [String] :dependency
|
62
60
|
# @option opts [Boolean] :deprecated
|
@@ -84,20 +82,20 @@ module PulpAnsibleClient
|
|
84
82
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
85
83
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
86
84
|
# @return [Array<(PaginatedCollectionVersionSearchListResponseList, Integer, Hash)>] PaginatedCollectionVersionSearchListResponseList data, response status code and response headers
|
87
|
-
def list_with_http_info(
|
85
|
+
def list_with_http_info(path, opts = {})
|
88
86
|
if @api_client.config.debugging
|
89
|
-
@api_client.config.logger.debug 'Calling API:
|
87
|
+
@api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.list ...'
|
90
88
|
end
|
91
|
-
# verify the required parameter '
|
92
|
-
if @api_client.config.client_side_validation &&
|
93
|
-
fail ArgumentError, "Missing the required parameter '
|
89
|
+
# verify the required parameter 'path' is set
|
90
|
+
if @api_client.config.client_side_validation && path.nil?
|
91
|
+
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.list"
|
94
92
|
end
|
95
93
|
allowable_values = ["-name", "-namespace", "-pulp_created", "-version", "name", "namespace", "pulp_created", "version"]
|
96
94
|
if @api_client.config.client_side_validation && opts[:'order_by'] && !opts[:'order_by'].all? { |item| allowable_values.include?(item) }
|
97
95
|
fail ArgumentError, "invalid value for \"order_by\", must include one of #{allowable_values}"
|
98
96
|
end
|
99
97
|
# resource path
|
100
|
-
local_var_path = '{
|
98
|
+
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
101
99
|
|
102
100
|
# query parameters
|
103
101
|
query_params = opts[:query_params] || {}
|
@@ -155,40 +153,40 @@ module PulpAnsibleClient
|
|
155
153
|
|
156
154
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
157
155
|
if @api_client.config.debugging
|
158
|
-
@api_client.config.logger.debug "API called:
|
156
|
+
@api_client.config.logger.debug "API called: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
159
157
|
end
|
160
158
|
return data, status_code, headers
|
161
159
|
end
|
162
160
|
|
163
161
|
# A viewset for cross-repo searches.
|
164
|
-
# @param
|
162
|
+
# @param path [String]
|
165
163
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
166
164
|
# @param [Hash] opts the optional parameters
|
167
165
|
# @return [CollectionVersionSearchListResponse]
|
168
|
-
def rebuild(
|
169
|
-
data, _status_code, _headers = rebuild_with_http_info(
|
166
|
+
def rebuild(path, collection_version_search_list, opts = {})
|
167
|
+
data, _status_code, _headers = rebuild_with_http_info(path, collection_version_search_list, opts)
|
170
168
|
data
|
171
169
|
end
|
172
170
|
|
173
171
|
# A viewset for cross-repo searches.
|
174
|
-
# @param
|
172
|
+
# @param path [String]
|
175
173
|
# @param collection_version_search_list [CollectionVersionSearchList]
|
176
174
|
# @param [Hash] opts the optional parameters
|
177
175
|
# @return [Array<(CollectionVersionSearchListResponse, Integer, Hash)>] CollectionVersionSearchListResponse data, response status code and response headers
|
178
|
-
def rebuild_with_http_info(
|
176
|
+
def rebuild_with_http_info(path, collection_version_search_list, opts = {})
|
179
177
|
if @api_client.config.debugging
|
180
|
-
@api_client.config.logger.debug 'Calling API:
|
178
|
+
@api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild ...'
|
181
179
|
end
|
182
|
-
# verify the required parameter '
|
183
|
-
if @api_client.config.client_side_validation &&
|
184
|
-
fail ArgumentError, "Missing the required parameter '
|
180
|
+
# verify the required parameter 'path' is set
|
181
|
+
if @api_client.config.client_side_validation && path.nil?
|
182
|
+
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild"
|
185
183
|
end
|
186
184
|
# verify the required parameter 'collection_version_search_list' is set
|
187
185
|
if @api_client.config.client_side_validation && collection_version_search_list.nil?
|
188
|
-
fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling
|
186
|
+
fail ArgumentError, "Missing the required parameter 'collection_version_search_list' when calling PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.rebuild"
|
189
187
|
end
|
190
188
|
# resource path
|
191
|
-
local_var_path = '{
|
189
|
+
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/search/collection-versions/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
192
190
|
|
193
191
|
# query parameters
|
194
192
|
query_params = opts[:query_params] || {}
|
@@ -223,7 +221,7 @@ module PulpAnsibleClient
|
|
223
221
|
|
224
222
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
225
223
|
if @api_client.config.debugging
|
226
|
-
@api_client.config.logger.debug "API called:
|
224
|
+
@api_client.config.logger.debug "API called: PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi#rebuild\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
227
225
|
end
|
228
226
|
return data, status_code, headers
|
229
227
|
end
|
@@ -27,7 +27,6 @@ module PulpAnsibleClient
|
|
27
27
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
28
28
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
29
29
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
30
|
-
# @option opts [String] :q
|
31
30
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
31
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
32
|
# @return [Array<CollectionResponse>]
|
@@ -44,7 +43,6 @@ module PulpAnsibleClient
|
|
44
43
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
45
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
46
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
47
|
-
# @option opts [String] :q
|
48
46
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
47
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
48
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -67,7 +65,6 @@ module PulpAnsibleClient
|
|
67
65
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
68
66
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
69
67
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
70
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
71
68
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
72
69
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
73
70
|
|
@@ -95,7 +95,6 @@ module PulpAnsibleClient
|
|
95
95
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
96
96
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
97
97
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
98
|
-
# @option opts [String] :q
|
99
98
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
100
99
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
101
100
|
# @return [PaginatedCollectionResponseList]
|
@@ -114,7 +113,6 @@ module PulpAnsibleClient
|
|
114
113
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
115
114
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
116
115
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
117
|
-
# @option opts [String] :q
|
118
116
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
117
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
118
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -139,7 +137,6 @@ module PulpAnsibleClient
|
|
139
137
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
140
138
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
141
139
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
142
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
143
140
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
144
141
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
145
142
|
|
@@ -251,21 +248,21 @@ module PulpAnsibleClient
|
|
251
248
|
# Legacy v3 endpoint.
|
252
249
|
# @param name [String]
|
253
250
|
# @param namespace [String]
|
254
|
-
# @param
|
251
|
+
# @param patched_collection [PatchedCollection]
|
255
252
|
# @param [Hash] opts the optional parameters
|
256
253
|
# @return [AsyncOperationResponse]
|
257
|
-
def update(name, namespace,
|
258
|
-
data, _status_code, _headers = update_with_http_info(name, namespace,
|
254
|
+
def update(name, namespace, patched_collection, opts = {})
|
255
|
+
data, _status_code, _headers = update_with_http_info(name, namespace, patched_collection, opts)
|
259
256
|
data
|
260
257
|
end
|
261
258
|
|
262
259
|
# Legacy v3 endpoint.
|
263
260
|
# @param name [String]
|
264
261
|
# @param namespace [String]
|
265
|
-
# @param
|
262
|
+
# @param patched_collection [PatchedCollection]
|
266
263
|
# @param [Hash] opts the optional parameters
|
267
264
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
268
|
-
def update_with_http_info(name, namespace,
|
265
|
+
def update_with_http_info(name, namespace, patched_collection, opts = {})
|
269
266
|
if @api_client.config.debugging
|
270
267
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsApi.update ...'
|
271
268
|
end
|
@@ -277,9 +274,9 @@ module PulpAnsibleClient
|
|
277
274
|
if @api_client.config.client_side_validation && namespace.nil?
|
278
275
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsApi.update"
|
279
276
|
end
|
280
|
-
# verify the required parameter '
|
281
|
-
if @api_client.config.client_side_validation &&
|
282
|
-
fail ArgumentError, "Missing the required parameter '
|
277
|
+
# verify the required parameter 'patched_collection' is set
|
278
|
+
if @api_client.config.client_side_validation && patched_collection.nil?
|
279
|
+
fail ArgumentError, "Missing the required parameter 'patched_collection' when calling PulpAnsibleDefaultApiV3CollectionsApi.update"
|
283
280
|
end
|
284
281
|
# resource path
|
285
282
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s).gsub('%2F', '/'))
|
@@ -298,7 +295,7 @@ module PulpAnsibleClient
|
|
298
295
|
form_params = opts[:form_params] || {}
|
299
296
|
|
300
297
|
# http body (model)
|
301
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
298
|
+
post_body = opts[:body] || @api_client.object_to_http_body(patched_collection)
|
302
299
|
|
303
300
|
# return_type
|
304
301
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
@@ -100,7 +100,7 @@ module PulpAnsibleClient
|
|
100
100
|
# @option opts [String] :name2
|
101
101
|
# @option opts [String] :namespace2
|
102
102
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
103
|
-
# @option opts [Array<String>] :ordering Ordering * `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) * `
|
103
|
+
# @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) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
104
104
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
105
105
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
106
106
|
# @option opts [String] :q
|
@@ -126,7 +126,7 @@ module PulpAnsibleClient
|
|
126
126
|
# @option opts [String] :name2
|
127
127
|
# @option opts [String] :namespace2
|
128
128
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
129
|
-
# @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) * `
|
129
|
+
# @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) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
130
130
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
131
131
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
132
132
|
# @option opts [String] :q
|
@@ -150,7 +150,7 @@ module PulpAnsibleClient
|
|
150
150
|
if @api_client.config.client_side_validation && namespace.nil?
|
151
151
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi.list"
|
152
152
|
end
|
153
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
153
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "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", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
154
154
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
155
155
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
156
156
|
end
|
@@ -24,11 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @option opts [String] :company Filter results where company matches value
|
25
25
|
# @option opts [String] :company__contains Filter results where company contains value
|
26
26
|
# @option opts [String] :company__icontains Filter results where company contains value
|
27
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
28
27
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
29
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
30
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
31
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
32
28
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
33
29
|
# @option opts [Integer] :limit Number of results to return per page.
|
34
30
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -36,17 +32,12 @@ module PulpAnsibleClient
|
|
36
32
|
# @option opts [String] :name Filter results where name matches value
|
37
33
|
# @option opts [String] :name__contains Filter results where name contains value
|
38
34
|
# @option opts [String] :name__icontains Filter results where name contains value
|
39
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
40
35
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
41
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
42
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
43
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
44
36
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
45
37
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
46
38
|
# @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) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
39
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
40
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
49
|
-
# @option opts [String] :q
|
50
41
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
42
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
43
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -60,11 +51,7 @@ module PulpAnsibleClient
|
|
60
51
|
# @option opts [String] :company Filter results where company matches value
|
61
52
|
# @option opts [String] :company__contains Filter results where company contains value
|
62
53
|
# @option opts [String] :company__icontains Filter results where company contains value
|
63
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
64
54
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
65
|
-
# @option opts [String] :company__iregex Filter results where company matches regex value
|
66
|
-
# @option opts [String] :company__istartswith Filter results where company starts with value
|
67
|
-
# @option opts [String] :company__regex Filter results where company matches regex value
|
68
55
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
69
56
|
# @option opts [Integer] :limit Number of results to return per page.
|
70
57
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -72,17 +59,12 @@ module PulpAnsibleClient
|
|
72
59
|
# @option opts [String] :name Filter results where name matches value
|
73
60
|
# @option opts [String] :name__contains Filter results where name contains value
|
74
61
|
# @option opts [String] :name__icontains Filter results where name contains value
|
75
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
76
62
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
77
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
78
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
79
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
80
63
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
64
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
65
|
# @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) * `name` - Name * `-name` - Name (descending) * `company` - Company * `-company` - Company (descending) * `email` - Email * `-email` - Email (descending) * `description` - Description * `-description` - Description (descending) * `resources` - Resources * `-resources` - Resources (descending) * `links` - Links * `-links` - Links (descending) * `avatar_sha256` - Avatar sha256 * `-avatar_sha256` - Avatar sha256 (descending) * `metadata_sha256` - Metadata sha256 * `-metadata_sha256` - Metadata sha256 (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
83
66
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
84
67
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
85
|
-
# @option opts [String] :q
|
86
68
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
87
69
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
88
70
|
# @return [Array<(PaginatedansibleAnsibleNamespaceMetadataResponseList, Integer, Hash)>] PaginatedansibleAnsibleNamespaceMetadataResponseList data, response status code and response headers
|
@@ -102,11 +84,7 @@ module PulpAnsibleClient
|
|
102
84
|
query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
|
103
85
|
query_params[:'company__contains'] = opts[:'company__contains'] if !opts[:'company__contains'].nil?
|
104
86
|
query_params[:'company__icontains'] = opts[:'company__icontains'] if !opts[:'company__icontains'].nil?
|
105
|
-
query_params[:'company__iexact'] = opts[:'company__iexact'] if !opts[:'company__iexact'].nil?
|
106
87
|
query_params[:'company__in'] = @api_client.build_collection_param(opts[:'company__in'], :csv) if !opts[:'company__in'].nil?
|
107
|
-
query_params[:'company__iregex'] = opts[:'company__iregex'] if !opts[:'company__iregex'].nil?
|
108
|
-
query_params[:'company__istartswith'] = opts[:'company__istartswith'] if !opts[:'company__istartswith'].nil?
|
109
|
-
query_params[:'company__regex'] = opts[:'company__regex'] if !opts[:'company__regex'].nil?
|
110
88
|
query_params[:'company__startswith'] = opts[:'company__startswith'] if !opts[:'company__startswith'].nil?
|
111
89
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
112
90
|
query_params[:'metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
@@ -114,17 +92,12 @@ module PulpAnsibleClient
|
|
114
92
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
115
93
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
116
94
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
117
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
118
95
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
119
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
120
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
121
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
122
96
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
123
97
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
124
98
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
125
99
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
126
100
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
127
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
128
101
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
129
102
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
130
103
|
|
@@ -28,7 +28,6 @@ module PulpAnsibleClient
|
|
28
28
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
29
29
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
30
30
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
31
|
-
# @option opts [String] :q
|
32
31
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
33
32
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
34
33
|
# @return [Array<CollectionResponse>]
|
@@ -46,7 +45,6 @@ module PulpAnsibleClient
|
|
46
45
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
47
46
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
48
47
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
49
|
-
# @option opts [String] :q
|
50
48
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
51
49
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
52
50
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -73,7 +71,6 @@ module PulpAnsibleClient
|
|
73
71
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
74
72
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
75
73
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
76
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
77
74
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
78
75
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
79
76
|
|
@@ -102,7 +102,6 @@ module PulpAnsibleClient
|
|
102
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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
103
103
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
104
104
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
105
|
-
# @option opts [String] :q
|
106
105
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
107
106
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
108
107
|
# @return [PaginatedCollectionResponseList]
|
@@ -122,7 +121,6 @@ module PulpAnsibleClient
|
|
122
121
|
# @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) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
123
122
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
124
123
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
125
|
-
# @option opts [String] :q
|
126
124
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
127
125
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
128
126
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -151,7 +149,6 @@ module PulpAnsibleClient
|
|
151
149
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
152
150
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
153
151
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
154
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
155
152
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
156
153
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
157
154
|
|
@@ -270,11 +267,11 @@ module PulpAnsibleClient
|
|
270
267
|
# @param distro_base_path [String]
|
271
268
|
# @param name [String]
|
272
269
|
# @param namespace [String]
|
273
|
-
# @param
|
270
|
+
# @param patched_collection [PatchedCollection]
|
274
271
|
# @param [Hash] opts the optional parameters
|
275
272
|
# @return [AsyncOperationResponse]
|
276
|
-
def update(distro_base_path, name, namespace,
|
277
|
-
data, _status_code, _headers = update_with_http_info(distro_base_path, name, namespace,
|
273
|
+
def update(distro_base_path, name, namespace, patched_collection, opts = {})
|
274
|
+
data, _status_code, _headers = update_with_http_info(distro_base_path, name, namespace, patched_collection, opts)
|
278
275
|
data
|
279
276
|
end
|
280
277
|
|
@@ -282,10 +279,10 @@ module PulpAnsibleClient
|
|
282
279
|
# @param distro_base_path [String]
|
283
280
|
# @param name [String]
|
284
281
|
# @param namespace [String]
|
285
|
-
# @param
|
282
|
+
# @param patched_collection [PatchedCollection]
|
286
283
|
# @param [Hash] opts the optional parameters
|
287
284
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
288
|
-
def update_with_http_info(distro_base_path, name, namespace,
|
285
|
+
def update_with_http_info(distro_base_path, name, namespace, patched_collection, opts = {})
|
289
286
|
if @api_client.config.debugging
|
290
287
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.update ...'
|
291
288
|
end
|
@@ -301,9 +298,9 @@ module PulpAnsibleClient
|
|
301
298
|
if @api_client.config.client_side_validation && namespace.nil?
|
302
299
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.update"
|
303
300
|
end
|
304
|
-
# verify the required parameter '
|
305
|
-
if @api_client.config.client_side_validation &&
|
306
|
-
fail ArgumentError, "Missing the required parameter '
|
301
|
+
# verify the required parameter 'patched_collection' is set
|
302
|
+
if @api_client.config.client_side_validation && patched_collection.nil?
|
303
|
+
fail ArgumentError, "Missing the required parameter 'patched_collection' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.update"
|
307
304
|
end
|
308
305
|
# resource path
|
309
306
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/'.sub('{' + 'distro_base_path' + '}', CGI.escape(distro_base_path.to_s).gsub('%2F', '/')).sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s).gsub('%2F', '/'))
|
@@ -322,7 +319,7 @@ module PulpAnsibleClient
|
|
322
319
|
form_params = opts[:form_params] || {}
|
323
320
|
|
324
321
|
# http body (model)
|
325
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
322
|
+
post_body = opts[:body] || @api_client.object_to_http_body(patched_collection)
|
326
323
|
|
327
324
|
# return_type
|
328
325
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
@@ -107,7 +107,7 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @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) * `
|
110
|
+
# @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) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
111
111
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
112
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
113
113
|
# @option opts [String] :q
|
@@ -134,7 +134,7 @@ module PulpAnsibleClient
|
|
134
134
|
# @option opts [String] :name2
|
135
135
|
# @option opts [String] :namespace2
|
136
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @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) * `
|
137
|
+
# @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) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
138
138
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
139
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
140
140
|
# @option opts [String] :q
|
@@ -162,7 +162,7 @@ module PulpAnsibleClient
|
|
162
162
|
if @api_client.config.client_side_validation && namespace.nil?
|
163
163
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
|
164
164
|
end
|
165
|
-
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"]
|
165
|
+
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", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "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", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
166
166
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
167
167
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
168
168
|
end
|