pulp_ansible_client 0.13.6 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +2 -2
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionDeprecationsApi.md +2 -2
- data/docs/ContentCollectionSignaturesApi.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +4 -2
- data/docs/ContentRolesApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/docs/RemotesRoleApi.md +2 -2
- data/docs/RepositoriesAnsibleApi.md +2 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/git_push.sh +58 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +10 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +7 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +7 -3
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +208 -208
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +199 -199
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -1
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/api/remotes_git_api_spec.rb +1 -1
- data/spec/api/remotes_role_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- 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 +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +101 -100
@@ -99,6 +99,7 @@ module PulpAnsibleClient
|
|
99
99
|
# @option opts [String] :name
|
100
100
|
# @option opts [String] :namespace
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
102
103
|
# @option opts [String] :fields A list of fields to include in the response.
|
103
104
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
104
105
|
# @return [PaginatedCollectionResponseList]
|
@@ -115,6 +116,7 @@ module PulpAnsibleClient
|
|
115
116
|
# @option opts [String] :name
|
116
117
|
# @option opts [String] :namespace
|
117
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
119
|
+
# @option opts [Array<String>] :ordering Ordering
|
118
120
|
# @option opts [String] :fields A list of fields to include in the response.
|
119
121
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
120
122
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -126,6 +128,10 @@ module PulpAnsibleClient
|
|
126
128
|
if @api_client.config.client_side_validation && path.nil?
|
127
129
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsApi.list"
|
128
130
|
end
|
131
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
132
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
133
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
134
|
+
end
|
129
135
|
# resource path
|
130
136
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/collections/'.sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
131
137
|
|
@@ -136,6 +142,7 @@ module PulpAnsibleClient
|
|
136
142
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
137
143
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
138
144
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
145
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
139
146
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
140
147
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
141
148
|
|
@@ -107,6 +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
|
110
111
|
# @option opts [String] :q
|
111
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
112
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -131,6 +132,7 @@ module PulpAnsibleClient
|
|
131
132
|
# @option opts [String] :name2
|
132
133
|
# @option opts [String] :namespace2
|
133
134
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
135
|
+
# @option opts [Array<String>] :ordering Ordering
|
134
136
|
# @option opts [String] :q
|
135
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
136
138
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -156,6 +158,10 @@ module PulpAnsibleClient
|
|
156
158
|
if @api_client.config.client_side_validation && path.nil?
|
157
159
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsVersionsApi.list"
|
158
160
|
end
|
161
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
162
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
163
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
164
|
+
end
|
159
165
|
# resource path
|
160
166
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/versions/'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
161
167
|
|
@@ -166,6 +172,7 @@ module PulpAnsibleClient
|
|
166
172
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
167
173
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
168
174
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
175
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
169
176
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
170
177
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
171
178
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -26,6 +26,7 @@ module PulpAnsibleClient
|
|
26
26
|
# @option opts [Boolean] :deprecated
|
27
27
|
# @option opts [String] :name
|
28
28
|
# @option opts [String] :namespace
|
29
|
+
# @option opts [Array<String>] :ordering Ordering
|
29
30
|
# @option opts [String] :fields A list of fields to include in the response.
|
30
31
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
31
32
|
# @return [Array<CollectionResponse>]
|
@@ -41,6 +42,7 @@ module PulpAnsibleClient
|
|
41
42
|
# @option opts [Boolean] :deprecated
|
42
43
|
# @option opts [String] :name
|
43
44
|
# @option opts [String] :namespace
|
45
|
+
# @option opts [Array<String>] :ordering Ordering
|
44
46
|
# @option opts [String] :fields A list of fields to include in the response.
|
45
47
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
46
48
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -56,6 +58,10 @@ module PulpAnsibleClient
|
|
56
58
|
if @api_client.config.client_side_validation && path.nil?
|
57
59
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
|
58
60
|
end
|
61
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
62
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
63
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
64
|
+
end
|
59
65
|
# resource path
|
60
66
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/all-collections/'.sub('{' + 'distro_base_path' + '}', CGI.escape(distro_base_path.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
61
67
|
|
@@ -64,6 +70,7 @@ module PulpAnsibleClient
|
|
64
70
|
query_params[:'deprecated'] = opts[:'deprecated'] if !opts[:'deprecated'].nil?
|
65
71
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
66
72
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
73
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
67
74
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
68
75
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
69
76
|
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb
CHANGED
@@ -106,6 +106,7 @@ module PulpAnsibleClient
|
|
106
106
|
# @option opts [String] :name
|
107
107
|
# @option opts [String] :namespace
|
108
108
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
109
|
+
# @option opts [Array<String>] :ordering Ordering
|
109
110
|
# @option opts [String] :fields A list of fields to include in the response.
|
110
111
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
111
112
|
# @return [PaginatedCollectionResponseList]
|
@@ -123,6 +124,7 @@ module PulpAnsibleClient
|
|
123
124
|
# @option opts [String] :name
|
124
125
|
# @option opts [String] :namespace
|
125
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
126
128
|
# @option opts [String] :fields A list of fields to include in the response.
|
127
129
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
128
130
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -138,6 +140,10 @@ module PulpAnsibleClient
|
|
138
140
|
if @api_client.config.client_side_validation && path.nil?
|
139
141
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.list"
|
140
142
|
end
|
143
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
144
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
145
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
146
|
+
end
|
141
147
|
# resource path
|
142
148
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/'.sub('{' + 'distro_base_path' + '}', CGI.escape(distro_base_path.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
143
149
|
|
@@ -148,6 +154,7 @@ module PulpAnsibleClient
|
|
148
154
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
149
155
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
150
156
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
157
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
151
158
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
152
159
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
153
160
|
|
@@ -114,6 +114,7 @@ module PulpAnsibleClient
|
|
114
114
|
# @option opts [String] :name2
|
115
115
|
# @option opts [String] :namespace2
|
116
116
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
117
|
+
# @option opts [Array<String>] :ordering Ordering
|
117
118
|
# @option opts [String] :q
|
118
119
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
119
120
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -139,6 +140,7 @@ module PulpAnsibleClient
|
|
139
140
|
# @option opts [String] :name2
|
140
141
|
# @option opts [String] :namespace2
|
141
142
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
143
|
+
# @option opts [Array<String>] :ordering Ordering
|
142
144
|
# @option opts [String] :q
|
143
145
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
144
146
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -168,6 +170,10 @@ module PulpAnsibleClient
|
|
168
170
|
if @api_client.config.client_side_validation && path.nil?
|
169
171
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
|
170
172
|
end
|
173
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
174
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
175
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
176
|
+
end
|
171
177
|
# resource path
|
172
178
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/versions/'.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', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
173
179
|
|
@@ -178,6 +184,7 @@ module PulpAnsibleClient
|
|
178
184
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
179
185
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
180
186
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
187
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
181
188
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
182
189
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
183
190
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -24,6 +24,7 @@ module PulpAnsibleClient
|
|
24
24
|
# @option opts [Boolean] :deprecated
|
25
25
|
# @option opts [String] :name
|
26
26
|
# @option opts [String] :namespace
|
27
|
+
# @option opts [Array<String>] :ordering Ordering
|
27
28
|
# @option opts [String] :fields A list of fields to include in the response.
|
28
29
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
29
30
|
# @return [Array<CollectionResponse>]
|
@@ -37,6 +38,7 @@ module PulpAnsibleClient
|
|
37
38
|
# @option opts [Boolean] :deprecated
|
38
39
|
# @option opts [String] :name
|
39
40
|
# @option opts [String] :namespace
|
41
|
+
# @option opts [Array<String>] :ordering Ordering
|
40
42
|
# @option opts [String] :fields A list of fields to include in the response.
|
41
43
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
42
44
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -44,6 +46,10 @@ module PulpAnsibleClient
|
|
44
46
|
if @api_client.config.debugging
|
45
47
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsAllApi.list ...'
|
46
48
|
end
|
49
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
50
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
51
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
52
|
+
end
|
47
53
|
# resource path
|
48
54
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/collections/all/'
|
49
55
|
|
@@ -52,6 +58,7 @@ module PulpAnsibleClient
|
|
52
58
|
query_params[:'deprecated'] = opts[:'deprecated'] if !opts[:'deprecated'].nil?
|
53
59
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
54
60
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
61
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
55
62
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
56
63
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
57
64
|
|
@@ -92,6 +92,7 @@ module PulpAnsibleClient
|
|
92
92
|
# @option opts [String] :name
|
93
93
|
# @option opts [String] :namespace
|
94
94
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
95
|
+
# @option opts [Array<String>] :ordering Ordering
|
95
96
|
# @option opts [String] :fields A list of fields to include in the response.
|
96
97
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
97
98
|
# @return [PaginatedCollectionResponseList]
|
@@ -107,6 +108,7 @@ module PulpAnsibleClient
|
|
107
108
|
# @option opts [String] :name
|
108
109
|
# @option opts [String] :namespace
|
109
110
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
111
|
+
# @option opts [Array<String>] :ordering Ordering
|
110
112
|
# @option opts [String] :fields A list of fields to include in the response.
|
111
113
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
112
114
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -114,6 +116,10 @@ module PulpAnsibleClient
|
|
114
116
|
if @api_client.config.debugging
|
115
117
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleDefaultApiV3CollectionsApi.list ...'
|
116
118
|
end
|
119
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
120
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
121
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
122
|
+
end
|
117
123
|
# resource path
|
118
124
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/collections/'
|
119
125
|
|
@@ -124,6 +130,7 @@ module PulpAnsibleClient
|
|
124
130
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
125
131
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
126
132
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
133
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
127
134
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
128
135
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
129
136
|
|
@@ -100,6 +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
|
103
104
|
# @option opts [String] :q
|
104
105
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
105
106
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -123,6 +124,7 @@ module PulpAnsibleClient
|
|
123
124
|
# @option opts [String] :name2
|
124
125
|
# @option opts [String] :namespace2
|
125
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
126
128
|
# @option opts [String] :q
|
127
129
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
128
130
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -144,6 +146,10 @@ module PulpAnsibleClient
|
|
144
146
|
if @api_client.config.client_side_validation && namespace.nil?
|
145
147
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3CollectionsVersionsApi.list"
|
146
148
|
end
|
149
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
150
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
151
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
152
|
+
end
|
147
153
|
# resource path
|
148
154
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/collections/{namespace}/{name}/versions/'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s).gsub('%2F', '/'))
|
149
155
|
|
@@ -154,6 +160,7 @@ module PulpAnsibleClient
|
|
154
160
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
155
161
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
156
162
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
163
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
157
164
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
158
165
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
159
166
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -25,6 +25,7 @@ module PulpAnsibleClient
|
|
25
25
|
# @option opts [Boolean] :deprecated
|
26
26
|
# @option opts [String] :name
|
27
27
|
# @option opts [String] :namespace
|
28
|
+
# @option opts [Array<String>] :ordering Ordering
|
28
29
|
# @option opts [String] :fields A list of fields to include in the response.
|
29
30
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
30
31
|
# @return [Array<CollectionResponse>]
|
@@ -39,6 +40,7 @@ module PulpAnsibleClient
|
|
39
40
|
# @option opts [Boolean] :deprecated
|
40
41
|
# @option opts [String] :name
|
41
42
|
# @option opts [String] :namespace
|
43
|
+
# @option opts [Array<String>] :ordering Ordering
|
42
44
|
# @option opts [String] :fields A list of fields to include in the response.
|
43
45
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
44
46
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -50,6 +52,10 @@ module PulpAnsibleClient
|
|
50
52
|
if @api_client.config.client_side_validation && distro_base_path.nil?
|
51
53
|
fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.list"
|
52
54
|
end
|
55
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
56
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
57
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
58
|
+
end
|
53
59
|
# resource path
|
54
60
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/all-collections/'.sub('{' + 'distro_base_path' + '}', CGI.escape(distro_base_path.to_s).gsub('%2F', '/'))
|
55
61
|
|
@@ -58,6 +64,7 @@ module PulpAnsibleClient
|
|
58
64
|
query_params[:'deprecated'] = opts[:'deprecated'] if !opts[:'deprecated'].nil?
|
59
65
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
60
66
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
67
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
61
68
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
62
69
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
63
70
|
|
@@ -99,6 +99,7 @@ module PulpAnsibleClient
|
|
99
99
|
# @option opts [String] :name
|
100
100
|
# @option opts [String] :namespace
|
101
101
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
102
|
+
# @option opts [Array<String>] :ordering Ordering
|
102
103
|
# @option opts [String] :fields A list of fields to include in the response.
|
103
104
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
104
105
|
# @return [PaginatedCollectionResponseList]
|
@@ -115,6 +116,7 @@ module PulpAnsibleClient
|
|
115
116
|
# @option opts [String] :name
|
116
117
|
# @option opts [String] :namespace
|
117
118
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
119
|
+
# @option opts [Array<String>] :ordering Ordering
|
118
120
|
# @option opts [String] :fields A list of fields to include in the response.
|
119
121
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
120
122
|
# @return [Array<(PaginatedCollectionResponseList, Integer, Hash)>] PaginatedCollectionResponseList data, response status code and response headers
|
@@ -126,6 +128,10 @@ module PulpAnsibleClient
|
|
126
128
|
if @api_client.config.client_side_validation && distro_base_path.nil?
|
127
129
|
fail ArgumentError, "Missing the required parameter 'distro_base_path' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.list"
|
128
130
|
end
|
131
|
+
allowable_values = ["-group_roles", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-user_roles", "-versions", "group_roles", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "user_roles", "versions"]
|
132
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
133
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
134
|
+
end
|
129
135
|
# resource path
|
130
136
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/'.sub('{' + 'distro_base_path' + '}', CGI.escape(distro_base_path.to_s).gsub('%2F', '/'))
|
131
137
|
|
@@ -136,6 +142,7 @@ module PulpAnsibleClient
|
|
136
142
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
137
143
|
query_params[:'namespace'] = opts[:'namespace'] if !opts[:'namespace'].nil?
|
138
144
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
145
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
139
146
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
140
147
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
141
148
|
|
@@ -107,6 +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
|
110
111
|
# @option opts [String] :q
|
111
112
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
112
113
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -131,6 +132,7 @@ module PulpAnsibleClient
|
|
131
132
|
# @option opts [String] :name2
|
132
133
|
# @option opts [String] :namespace2
|
133
134
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
135
|
+
# @option opts [Array<String>] :ordering Ordering
|
134
136
|
# @option opts [String] :q
|
135
137
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
136
138
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
@@ -156,6 +158,10 @@ module PulpAnsibleClient
|
|
156
158
|
if @api_client.config.client_side_validation && namespace.nil?
|
157
159
|
fail ArgumentError, "Missing the required parameter 'namespace' when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.list"
|
158
160
|
end
|
161
|
+
allowable_values = ["-_artifacts", "-authors", "-collection", "-content_ptr", "-contentartifact", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-group_roles", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-repositories", "-repository", "-requires_ansible", "-search_vector", "-signatures", "-tags", "-timestamp_of_interest", "-upstream_id", "-user_roles", "-version", "-version_memberships", "_artifacts", "authors", "collection", "content_ptr", "contentartifact", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "group_roles", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "repositories", "repository", "requires_ansible", "search_vector", "signatures", "tags", "timestamp_of_interest", "upstream_id", "user_roles", "version", "version_memberships"]
|
162
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
163
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
164
|
+
end
|
159
165
|
# resource path
|
160
166
|
local_var_path = '/pulp_ansible/galaxy/default/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/versions/'.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', '/'))
|
161
167
|
|
@@ -166,6 +172,7 @@ module PulpAnsibleClient
|
|
166
172
|
query_params[:'name'] = opts[:'name2'] if !opts[:'name2'].nil?
|
167
173
|
query_params[:'namespace'] = opts[:'namespace2'] if !opts[:'namespace2'].nil?
|
168
174
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
175
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
169
176
|
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
170
177
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
171
178
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
@@ -24,7 +24,6 @@ module PulpAnsibleClient
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [Integer] :limit Number of results to return per page.
|
26
26
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
27
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
28
27
|
# @option opts [String] :fields A list of fields to include in the response.
|
29
28
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
30
29
|
# @return [PaginatedTagResponseList]
|
@@ -38,7 +37,6 @@ module PulpAnsibleClient
|
|
38
37
|
# @param [Hash] opts the optional parameters
|
39
38
|
# @option opts [Integer] :limit Number of results to return per page.
|
40
39
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
|
-
# @option opts [String] :ordering Which field to use when ordering the results.
|
42
40
|
# @option opts [String] :fields A list of fields to include in the response.
|
43
41
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
44
42
|
# @return [Array<(PaginatedTagResponseList, Integer, Hash)>] PaginatedTagResponseList data, response status code and response headers
|
@@ -53,7 +51,6 @@ module PulpAnsibleClient
|
|
53
51
|
query_params = opts[:query_params] || {}
|
54
52
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
55
53
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
56
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
57
54
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
58
55
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
59
56
|
|
@@ -155,7 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [String] :ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ module PulpAnsibleClient
|
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [String] :ordering
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
186
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -196,6 +196,10 @@ module PulpAnsibleClient
|
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.list ...'
|
198
198
|
end
|
199
|
+
allowable_values = ["-alternatecontentsource", "-ansible_collectionremote", "-ansible_gitremote", "-ansible_roleremote", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "ansible_collectionremote", "ansible_gitremote", "ansible_roleremote", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
200
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
|
+
end
|
199
203
|
# resource path
|
200
204
|
local_var_path = '/pulp/api/v3/remotes/ansible/collection/'
|
201
205
|
|
@@ -208,7 +212,7 @@ module PulpAnsibleClient
|
|
208
212
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
212
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
213
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
214
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -155,7 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [String] :ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ module PulpAnsibleClient
|
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [String] :ordering
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
186
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -196,6 +196,10 @@ module PulpAnsibleClient
|
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.list ...'
|
198
198
|
end
|
199
|
+
allowable_values = ["-alternatecontentsource", "-ansible_collectionremote", "-ansible_gitremote", "-ansible_roleremote", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "ansible_collectionremote", "ansible_gitremote", "ansible_roleremote", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
200
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
|
+
end
|
199
203
|
# resource path
|
200
204
|
local_var_path = '/pulp/api/v3/remotes/ansible/git/'
|
201
205
|
|
@@ -208,7 +212,7 @@ module PulpAnsibleClient
|
|
208
212
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
212
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
213
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
214
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -155,7 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [String] :ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
161
161
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -181,7 +181,7 @@ module PulpAnsibleClient
|
|
181
181
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
182
182
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
183
183
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
184
|
-
# @option opts [String] :ordering
|
184
|
+
# @option opts [Array<String>] :ordering Ordering
|
185
185
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
186
186
|
# @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported
|
187
187
|
# @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value
|
@@ -196,6 +196,10 @@ module PulpAnsibleClient
|
|
196
196
|
if @api_client.config.debugging
|
197
197
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.list ...'
|
198
198
|
end
|
199
|
+
allowable_values = ["-alternatecontentsource", "-ansible_collectionremote", "-ansible_gitremote", "-ansible_roleremote", "-basedistribution", "-ca_cert", "-client_cert", "-client_key", "-connect_timeout", "-distribution", "-download_concurrency", "-group_roles", "-headers", "-max_retries", "-name", "-password", "-pk", "-policy", "-proxy_password", "-proxy_url", "-proxy_username", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-rate_limit", "-remoteartifact", "-repository", "-sock_connect_timeout", "-sock_read_timeout", "-tls_validation", "-total_timeout", "-url", "-user_roles", "-username", "alternatecontentsource", "ansible_collectionremote", "ansible_gitremote", "ansible_roleremote", "basedistribution", "ca_cert", "client_cert", "client_key", "connect_timeout", "distribution", "download_concurrency", "group_roles", "headers", "max_retries", "name", "password", "pk", "policy", "proxy_password", "proxy_url", "proxy_username", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "rate_limit", "remoteartifact", "repository", "sock_connect_timeout", "sock_read_timeout", "tls_validation", "total_timeout", "url", "user_roles", "username"]
|
200
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
201
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
202
|
+
end
|
199
203
|
# resource path
|
200
204
|
local_var_path = '/pulp/api/v3/remotes/ansible/role/'
|
201
205
|
|
@@ -208,7 +212,7 @@ module PulpAnsibleClient
|
|
208
212
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
209
213
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
210
214
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
211
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
215
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
212
216
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
213
217
|
query_params[:'pulp_last_updated'] = opts[:'pulp_last_updated'] if !opts[:'pulp_last_updated'].nil?
|
214
218
|
query_params[:'pulp_last_updated__gt'] = opts[:'pulp_last_updated__gt'] if !opts[:'pulp_last_updated__gt'].nil?
|
@@ -155,7 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
156
156
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @option opts [String] :ordering
|
158
|
+
# @option opts [Array<String>] :ordering Ordering
|
159
159
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
160
160
|
# @option opts [String] :fields A list of fields to include in the response.
|
161
161
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -175,7 +175,7 @@ module PulpAnsibleClient
|
|
175
175
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
176
176
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
177
177
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
178
|
-
# @option opts [String] :ordering
|
178
|
+
# @option opts [Array<String>] :ordering Ordering
|
179
179
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
180
180
|
# @option opts [String] :fields A list of fields to include in the response.
|
181
181
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
@@ -184,6 +184,10 @@ module PulpAnsibleClient
|
|
184
184
|
if @api_client.config.debugging
|
185
185
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.list ...'
|
186
186
|
end
|
187
|
+
allowable_values = ["-alternatecontentsourcepath", "-ansible_ansiblerepository", "-content", "-core_pulp_exporter", "-description", "-distributions", "-group_roles", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-pulpimporterrepository", "-remote", "-repositorycontent", "-retain_repo_versions", "-user_hidden", "-user_roles", "-versions", "alternatecontentsourcepath", "ansible_ansiblerepository", "content", "core_pulp_exporter", "description", "distributions", "group_roles", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "pulpimporterrepository", "remote", "repositorycontent", "retain_repo_versions", "user_hidden", "user_roles", "versions"]
|
188
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
189
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
190
|
+
end
|
187
191
|
# resource path
|
188
192
|
local_var_path = '/pulp/api/v3/repositories/ansible/ansible/'
|
189
193
|
|
@@ -196,7 +200,7 @@ module PulpAnsibleClient
|
|
196
200
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
197
201
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
198
202
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
199
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
203
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
200
204
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
201
205
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
202
206
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|