pulp_ansible_client 0.19.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +44 -32
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +6 -6
- data/docs/AnsibleCollectionsApi.md +15 -9
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/ContentCollectionDeprecationsApi.md +3 -1
- data/docs/ContentCollectionMarksApi.md +4 -2
- data/docs/ContentCollectionSignaturesApi.md +5 -3
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +19 -1
- data/docs/ContentRolesApi.md +3 -1
- data/docs/DistributionsAnsibleApi.md +136 -10
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/PatchedansibleGitRemote.md +24 -24
- 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 +3 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- 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 +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +19 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +3 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +23 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +135 -9
- data/docs/RemotesGitApi.md +135 -9
- data/docs/RemotesRoleApi.md +135 -9
- data/docs/RepositoriesAnsibleApi.md +136 -10
- data/docs/RepositoriesAnsibleVersionsApi.md +3 -1
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +11 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +27 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +35 -8
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +163 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +163 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +195 -195
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +130 -130
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +24 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +186 -186
- data/lib/pulp_ansible_client/models/{progress_report_response.rb → set_label.rb} +52 -59
- data/lib/pulp_ansible_client/models/set_label_response.rb +243 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +24 -0
- data/lib/pulp_ansible_client/models/{task.rb → unset_label.rb} +31 -55
- data/lib/pulp_ansible_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -3
- data/spec/api/ansible_collections_api_spec.rb +5 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -0
- data/spec/api/content_collection_marks_api_spec.rb +1 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -0
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +9 -0
- data/spec/api/content_roles_api_spec.rb +1 -0
- data/spec/api/distributions_ansible_api_spec.rb +35 -0
- 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_namespaces_api_spec.rb +9 -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_namespaces_api_spec.rb +13 -4
- 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_namespaces_api_spec.rb +9 -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_namespaces_api_spec.rb +13 -4
- data/spec/api/remotes_collection_api_spec.rb +35 -0
- data/spec/api/remotes_git_api_spec.rb +35 -0
- data/spec/api/remotes_role_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_api_spec.rb +35 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/{task_spec.rb → set_label_spec.rb} +8 -8
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +147 -143
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/Task.md +0 -19
- data/docs/TaskResponse.md +0 -47
- data/lib/pulp_ansible_client/models/task_response.rb +0 -376
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/task_response_spec.rb +0 -131
@@ -19,6 +19,7 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Add a role
|
22
23
|
# Add a role for this object to users/groups.
|
23
24
|
# @param ansible_collection_href [String]
|
24
25
|
# @param nested_role [NestedRole]
|
@@ -29,6 +30,7 @@ module PulpAnsibleClient
|
|
29
30
|
data
|
30
31
|
end
|
31
32
|
|
33
|
+
# Add a role
|
32
34
|
# Add a role for this object to users/groups.
|
33
35
|
# @param ansible_collection_href [String]
|
34
36
|
# @param nested_role [NestedRole]
|
@@ -97,6 +99,7 @@ module PulpAnsibleClient
|
|
97
99
|
# @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)
|
98
100
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
99
101
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
102
|
+
# @option opts [String] :q
|
100
103
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
101
104
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
102
105
|
# @return [PaginatedansibleCollectionResponseList]
|
@@ -115,6 +118,7 @@ module PulpAnsibleClient
|
|
115
118
|
# @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)
|
116
119
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
120
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
121
|
+
# @option opts [String] :q
|
118
122
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
123
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
124
|
# @return [Array<(PaginatedansibleCollectionResponseList, Integer, Hash)>] PaginatedansibleCollectionResponseList data, response status code and response headers
|
@@ -138,6 +142,7 @@ module PulpAnsibleClient
|
|
138
142
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
139
143
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
140
144
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
145
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
141
146
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
142
147
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
143
148
|
|
@@ -174,6 +179,7 @@ module PulpAnsibleClient
|
|
174
179
|
return data, status_code, headers
|
175
180
|
end
|
176
181
|
|
182
|
+
# List roles
|
177
183
|
# List roles assigned to this object.
|
178
184
|
# @param ansible_collection_href [String]
|
179
185
|
# @param [Hash] opts the optional parameters
|
@@ -185,6 +191,7 @@ module PulpAnsibleClient
|
|
185
191
|
data
|
186
192
|
end
|
187
193
|
|
194
|
+
# List roles
|
188
195
|
# List roles assigned to this object.
|
189
196
|
# @param ansible_collection_href [String]
|
190
197
|
# @param [Hash] opts the optional parameters
|
@@ -240,6 +247,7 @@ module PulpAnsibleClient
|
|
240
247
|
return data, status_code, headers
|
241
248
|
end
|
242
249
|
|
250
|
+
# List user permissions
|
243
251
|
# List permissions available to the current user on this object.
|
244
252
|
# @param ansible_collection_href [String]
|
245
253
|
# @param [Hash] opts the optional parameters
|
@@ -251,6 +259,7 @@ module PulpAnsibleClient
|
|
251
259
|
data
|
252
260
|
end
|
253
261
|
|
262
|
+
# List user permissions
|
254
263
|
# List permissions available to the current user on this object.
|
255
264
|
# @param ansible_collection_href [String]
|
256
265
|
# @param [Hash] opts the optional parameters
|
@@ -306,6 +315,7 @@ module PulpAnsibleClient
|
|
306
315
|
return data, status_code, headers
|
307
316
|
end
|
308
317
|
|
318
|
+
# Remove a role
|
309
319
|
# Remove a role for this object from users/groups.
|
310
320
|
# @param ansible_collection_href [String]
|
311
321
|
# @param nested_role [NestedRole]
|
@@ -316,6 +326,7 @@ module PulpAnsibleClient
|
|
316
326
|
data
|
317
327
|
end
|
318
328
|
|
329
|
+
# Remove a role
|
319
330
|
# Remove a role for this object from users/groups.
|
320
331
|
# @param ansible_collection_href [String]
|
321
332
|
# @param nested_role [NestedRole]
|
@@ -91,6 +91,7 @@ module PulpAnsibleClient
|
|
91
91
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
92
92
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
93
93
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
94
|
+
# @option opts [String] :q
|
94
95
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
95
96
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
96
97
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -110,6 +111,7 @@ module PulpAnsibleClient
|
|
110
111
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
111
112
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
113
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
114
|
+
# @option opts [String] :q
|
113
115
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
114
116
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
115
117
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -134,6 +136,7 @@ module PulpAnsibleClient
|
|
134
136
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
135
137
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
136
138
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
139
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
137
140
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
138
141
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
139
142
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -92,6 +92,7 @@ module PulpAnsibleClient
|
|
92
92
|
# @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) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
93
93
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
94
94
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
95
|
+
# @option opts [String] :q
|
95
96
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
96
97
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
97
98
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -114,6 +115,7 @@ module PulpAnsibleClient
|
|
114
115
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `value` - Value * `-value` - Value (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
115
116
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
116
117
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
118
|
+
# @option opts [String] :q
|
117
119
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
118
120
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
119
121
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -141,6 +143,7 @@ module PulpAnsibleClient
|
|
141
143
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
142
144
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
143
145
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
146
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
144
147
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
145
148
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
146
149
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -104,6 +104,7 @@ module PulpAnsibleClient
|
|
104
104
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
105
105
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
106
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
107
|
+
# @option opts [String] :q
|
107
108
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
108
109
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
109
110
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -127,6 +128,7 @@ module PulpAnsibleClient
|
|
127
128
|
# @option opts [Array<String>] :pubkey_fingerprint__in Filter results where pubkey_fingerprint is in a comma-separated list of values
|
128
129
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
129
130
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
131
|
+
# @option opts [String] :q
|
130
132
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
131
133
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
132
134
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -155,6 +157,7 @@ module PulpAnsibleClient
|
|
155
157
|
query_params[:'pubkey_fingerprint__in'] = @api_client.build_collection_param(opts[:'pubkey_fingerprint__in'], :csv) if !opts[:'pubkey_fingerprint__in'].nil?
|
156
158
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
157
159
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
160
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
158
161
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
159
162
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
160
163
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
26
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
28
25
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
26
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
27
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
28
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
31
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -38,10 +38,10 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
42
|
-
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
44
41
|
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
42
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
43
|
+
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
44
|
+
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
47
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -89,10 +89,10 @@ module PulpAnsibleClient
|
|
89
89
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
|
-
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
93
|
-
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
94
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
95
92
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
93
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
94
|
+
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
95
|
+
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
98
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -91,7 +91,11 @@ module PulpAnsibleClient
|
|
91
91
|
# @option opts [String] :company Filter results where company matches value
|
92
92
|
# @option opts [String] :company__contains Filter results where company contains value
|
93
93
|
# @option opts [String] :company__icontains Filter results where company contains value
|
94
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
94
95
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
96
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
97
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
98
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
95
99
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
96
100
|
# @option opts [Integer] :limit Number of results to return per page.
|
97
101
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -99,12 +103,17 @@ module PulpAnsibleClient
|
|
99
103
|
# @option opts [String] :name Filter results where name matches value
|
100
104
|
# @option opts [String] :name__contains Filter results where name contains value
|
101
105
|
# @option opts [String] :name__icontains Filter results where name contains value
|
106
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
102
107
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
108
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
109
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
110
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
103
111
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
104
112
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
105
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) * `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)
|
106
114
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
107
115
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
116
|
+
# @option opts [String] :q
|
108
117
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
109
118
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
110
119
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -122,7 +131,11 @@ module PulpAnsibleClient
|
|
122
131
|
# @option opts [String] :company Filter results where company matches value
|
123
132
|
# @option opts [String] :company__contains Filter results where company contains value
|
124
133
|
# @option opts [String] :company__icontains Filter results where company contains value
|
134
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
125
135
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
136
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
137
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
138
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
126
139
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
127
140
|
# @option opts [Integer] :limit Number of results to return per page.
|
128
141
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -130,12 +143,17 @@ module PulpAnsibleClient
|
|
130
143
|
# @option opts [String] :name Filter results where name matches value
|
131
144
|
# @option opts [String] :name__contains Filter results where name contains value
|
132
145
|
# @option opts [String] :name__icontains Filter results where name contains value
|
146
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
133
147
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
148
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
149
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
150
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
134
151
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
135
152
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
136
153
|
# @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)
|
137
154
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
138
155
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
156
|
+
# @option opts [String] :q
|
139
157
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
140
158
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
141
159
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -158,7 +176,11 @@ module PulpAnsibleClient
|
|
158
176
|
query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
|
159
177
|
query_params[:'company__contains'] = opts[:'company__contains'] if !opts[:'company__contains'].nil?
|
160
178
|
query_params[:'company__icontains'] = opts[:'company__icontains'] if !opts[:'company__icontains'].nil?
|
179
|
+
query_params[:'company__iexact'] = opts[:'company__iexact'] if !opts[:'company__iexact'].nil?
|
161
180
|
query_params[:'company__in'] = @api_client.build_collection_param(opts[:'company__in'], :csv) if !opts[:'company__in'].nil?
|
181
|
+
query_params[:'company__iregex'] = opts[:'company__iregex'] if !opts[:'company__iregex'].nil?
|
182
|
+
query_params[:'company__istartswith'] = opts[:'company__istartswith'] if !opts[:'company__istartswith'].nil?
|
183
|
+
query_params[:'company__regex'] = opts[:'company__regex'] if !opts[:'company__regex'].nil?
|
162
184
|
query_params[:'company__startswith'] = opts[:'company__startswith'] if !opts[:'company__startswith'].nil?
|
163
185
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
164
186
|
query_params[:'metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
@@ -166,12 +188,17 @@ module PulpAnsibleClient
|
|
166
188
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
167
189
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
168
190
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
191
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
169
192
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
193
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
194
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
195
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
170
196
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
171
197
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
172
198
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
173
199
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
174
200
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
201
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
175
202
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
176
203
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
177
204
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -93,6 +93,7 @@ module PulpAnsibleClient
|
|
93
93
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
94
94
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
95
95
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
96
|
+
# @option opts [String] :q
|
96
97
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
97
98
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
98
99
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -115,6 +116,7 @@ module PulpAnsibleClient
|
|
115
116
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
116
117
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
117
118
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
119
|
+
# @option opts [String] :q
|
118
120
|
# @option opts [String] :repository_version Repository Version referenced by HREF
|
119
121
|
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
120
122
|
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
@@ -142,6 +144,7 @@ module PulpAnsibleClient
|
|
142
144
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
143
145
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
144
146
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
147
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
145
148
|
query_params[:'repository_version'] = opts[:'repository_version'] if !opts[:'repository_version'].nil?
|
146
149
|
query_params[:'repository_version_added'] = opts[:'repository_version_added'] if !opts[:'repository_version_added'].nil?
|
147
150
|
query_params[:'repository_version_removed'] = opts[:'repository_version_removed'] if !opts[:'repository_version_removed'].nil?
|
@@ -19,6 +19,7 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Add a role
|
22
23
|
# Add a role for this object to users/groups.
|
23
24
|
# @param ansible_ansible_distribution_href [String]
|
24
25
|
# @param nested_role [NestedRole]
|
@@ -29,6 +30,7 @@ module PulpAnsibleClient
|
|
29
30
|
data
|
30
31
|
end
|
31
32
|
|
33
|
+
# Add a role
|
32
34
|
# Add a role for this object to users/groups.
|
33
35
|
# @param ansible_ansible_distribution_href [String]
|
34
36
|
# @param nested_role [NestedRole]
|
@@ -224,13 +226,18 @@ module PulpAnsibleClient
|
|
224
226
|
# @option opts [String] :name Filter results where name matches value
|
225
227
|
# @option opts [String] :name__contains Filter results where name contains value
|
226
228
|
# @option opts [String] :name__icontains Filter results where name contains value
|
229
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
227
230
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
231
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
232
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
233
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
228
234
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
229
235
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
230
236
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
231
237
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
232
238
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
233
239
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
240
|
+
# @option opts [String] :q
|
234
241
|
# @option opts [String] :repository Filter results where repository matches value
|
235
242
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
236
243
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -253,13 +260,18 @@ module PulpAnsibleClient
|
|
253
260
|
# @option opts [String] :name Filter results where name matches value
|
254
261
|
# @option opts [String] :name__contains Filter results where name contains value
|
255
262
|
# @option opts [String] :name__icontains Filter results where name contains value
|
263
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
256
264
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
265
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
266
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
267
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
257
268
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
258
269
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
259
270
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
260
271
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
261
272
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
262
273
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
274
|
+
# @option opts [String] :q
|
263
275
|
# @option opts [String] :repository Filter results where repository matches value
|
264
276
|
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
265
277
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
@@ -287,13 +299,18 @@ module PulpAnsibleClient
|
|
287
299
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
288
300
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
289
301
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
302
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
290
303
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
304
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
305
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
306
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
291
307
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
292
308
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
293
309
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
294
310
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
295
311
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
296
312
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
313
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
297
314
|
query_params[:'repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
298
315
|
query_params[:'repository__in'] = @api_client.build_collection_param(opts[:'repository__in'], :csv) if !opts[:'repository__in'].nil?
|
299
316
|
query_params[:'with_content'] = opts[:'with_content'] if !opts[:'with_content'].nil?
|
@@ -333,6 +350,7 @@ module PulpAnsibleClient
|
|
333
350
|
return data, status_code, headers
|
334
351
|
end
|
335
352
|
|
353
|
+
# List roles
|
336
354
|
# List roles assigned to this object.
|
337
355
|
# @param ansible_ansible_distribution_href [String]
|
338
356
|
# @param [Hash] opts the optional parameters
|
@@ -344,6 +362,7 @@ module PulpAnsibleClient
|
|
344
362
|
data
|
345
363
|
end
|
346
364
|
|
365
|
+
# List roles
|
347
366
|
# List roles assigned to this object.
|
348
367
|
# @param ansible_ansible_distribution_href [String]
|
349
368
|
# @param [Hash] opts the optional parameters
|
@@ -399,6 +418,7 @@ module PulpAnsibleClient
|
|
399
418
|
return data, status_code, headers
|
400
419
|
end
|
401
420
|
|
421
|
+
# List user permissions
|
402
422
|
# List permissions available to the current user on this object.
|
403
423
|
# @param ansible_ansible_distribution_href [String]
|
404
424
|
# @param [Hash] opts the optional parameters
|
@@ -410,6 +430,7 @@ module PulpAnsibleClient
|
|
410
430
|
data
|
411
431
|
end
|
412
432
|
|
433
|
+
# List user permissions
|
413
434
|
# List permissions available to the current user on this object.
|
414
435
|
# @param ansible_ansible_distribution_href [String]
|
415
436
|
# @param [Hash] opts the optional parameters
|
@@ -603,6 +624,7 @@ module PulpAnsibleClient
|
|
603
624
|
return data, status_code, headers
|
604
625
|
end
|
605
626
|
|
627
|
+
# Remove a role
|
606
628
|
# Remove a role for this object from users/groups.
|
607
629
|
# @param ansible_ansible_distribution_href [String]
|
608
630
|
# @param nested_role [NestedRole]
|
@@ -613,6 +635,7 @@ module PulpAnsibleClient
|
|
613
635
|
data
|
614
636
|
end
|
615
637
|
|
638
|
+
# Remove a role
|
616
639
|
# Remove a role for this object from users/groups.
|
617
640
|
# @param ansible_ansible_distribution_href [String]
|
618
641
|
# @param nested_role [NestedRole]
|
@@ -671,6 +694,146 @@ module PulpAnsibleClient
|
|
671
694
|
return data, status_code, headers
|
672
695
|
end
|
673
696
|
|
697
|
+
# Set a label
|
698
|
+
# Set a single pulp_label on the object to a specific value or null.
|
699
|
+
# @param ansible_ansible_distribution_href [String]
|
700
|
+
# @param set_label [SetLabel]
|
701
|
+
# @param [Hash] opts the optional parameters
|
702
|
+
# @return [SetLabelResponse]
|
703
|
+
def set_label(ansible_ansible_distribution_href, set_label, opts = {})
|
704
|
+
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_distribution_href, set_label, opts)
|
705
|
+
data
|
706
|
+
end
|
707
|
+
|
708
|
+
# Set a label
|
709
|
+
# Set a single pulp_label on the object to a specific value or null.
|
710
|
+
# @param ansible_ansible_distribution_href [String]
|
711
|
+
# @param set_label [SetLabel]
|
712
|
+
# @param [Hash] opts the optional parameters
|
713
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
714
|
+
def set_label_with_http_info(ansible_ansible_distribution_href, set_label, opts = {})
|
715
|
+
if @api_client.config.debugging
|
716
|
+
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.set_label ...'
|
717
|
+
end
|
718
|
+
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
719
|
+
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
720
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.set_label"
|
721
|
+
end
|
722
|
+
# verify the required parameter 'set_label' is set
|
723
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
724
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling DistributionsAnsibleApi.set_label"
|
725
|
+
end
|
726
|
+
# resource path
|
727
|
+
local_var_path = '{ansible_ansible_distribution_href}set_label/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
728
|
+
|
729
|
+
# query parameters
|
730
|
+
query_params = opts[:query_params] || {}
|
731
|
+
|
732
|
+
# header parameters
|
733
|
+
header_params = opts[:header_params] || {}
|
734
|
+
# HTTP header 'Accept' (if needed)
|
735
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
736
|
+
# HTTP header 'Content-Type'
|
737
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
738
|
+
|
739
|
+
# form parameters
|
740
|
+
form_params = opts[:form_params] || {}
|
741
|
+
|
742
|
+
# http body (model)
|
743
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
744
|
+
|
745
|
+
# return_type
|
746
|
+
return_type = opts[:return_type] || 'SetLabelResponse'
|
747
|
+
|
748
|
+
# auth_names
|
749
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
750
|
+
|
751
|
+
new_options = opts.merge(
|
752
|
+
:header_params => header_params,
|
753
|
+
:query_params => query_params,
|
754
|
+
:form_params => form_params,
|
755
|
+
:body => post_body,
|
756
|
+
:auth_names => auth_names,
|
757
|
+
:return_type => return_type
|
758
|
+
)
|
759
|
+
|
760
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
761
|
+
if @api_client.config.debugging
|
762
|
+
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
763
|
+
end
|
764
|
+
return data, status_code, headers
|
765
|
+
end
|
766
|
+
|
767
|
+
# Unset a label
|
768
|
+
# Unset a single pulp_label on the object.
|
769
|
+
# @param ansible_ansible_distribution_href [String]
|
770
|
+
# @param unset_label [UnsetLabel]
|
771
|
+
# @param [Hash] opts the optional parameters
|
772
|
+
# @return [UnsetLabelResponse]
|
773
|
+
def unset_label(ansible_ansible_distribution_href, unset_label, opts = {})
|
774
|
+
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_distribution_href, unset_label, opts)
|
775
|
+
data
|
776
|
+
end
|
777
|
+
|
778
|
+
# Unset a label
|
779
|
+
# Unset a single pulp_label on the object.
|
780
|
+
# @param ansible_ansible_distribution_href [String]
|
781
|
+
# @param unset_label [UnsetLabel]
|
782
|
+
# @param [Hash] opts the optional parameters
|
783
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
784
|
+
def unset_label_with_http_info(ansible_ansible_distribution_href, unset_label, opts = {})
|
785
|
+
if @api_client.config.debugging
|
786
|
+
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.unset_label ...'
|
787
|
+
end
|
788
|
+
# verify the required parameter 'ansible_ansible_distribution_href' is set
|
789
|
+
if @api_client.config.client_side_validation && ansible_ansible_distribution_href.nil?
|
790
|
+
fail ArgumentError, "Missing the required parameter 'ansible_ansible_distribution_href' when calling DistributionsAnsibleApi.unset_label"
|
791
|
+
end
|
792
|
+
# verify the required parameter 'unset_label' is set
|
793
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
794
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling DistributionsAnsibleApi.unset_label"
|
795
|
+
end
|
796
|
+
# resource path
|
797
|
+
local_var_path = '{ansible_ansible_distribution_href}unset_label/'.sub('{' + 'ansible_ansible_distribution_href' + '}', CGI.escape(ansible_ansible_distribution_href.to_s).gsub('%2F', '/'))
|
798
|
+
|
799
|
+
# query parameters
|
800
|
+
query_params = opts[:query_params] || {}
|
801
|
+
|
802
|
+
# header parameters
|
803
|
+
header_params = opts[:header_params] || {}
|
804
|
+
# HTTP header 'Accept' (if needed)
|
805
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
806
|
+
# HTTP header 'Content-Type'
|
807
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
808
|
+
|
809
|
+
# form parameters
|
810
|
+
form_params = opts[:form_params] || {}
|
811
|
+
|
812
|
+
# http body (model)
|
813
|
+
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
814
|
+
|
815
|
+
# return_type
|
816
|
+
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
817
|
+
|
818
|
+
# auth_names
|
819
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
820
|
+
|
821
|
+
new_options = opts.merge(
|
822
|
+
:header_params => header_params,
|
823
|
+
:query_params => query_params,
|
824
|
+
:form_params => form_params,
|
825
|
+
:body => post_body,
|
826
|
+
:auth_names => auth_names,
|
827
|
+
:return_type => return_type
|
828
|
+
)
|
829
|
+
|
830
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
831
|
+
if @api_client.config.debugging
|
832
|
+
@api_client.config.logger.debug "API called: DistributionsAnsibleApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
833
|
+
end
|
834
|
+
return data, status_code, headers
|
835
|
+
end
|
836
|
+
|
674
837
|
# Update an ansible distribution
|
675
838
|
# Trigger an asynchronous update task
|
676
839
|
# @param ansible_ansible_distribution_href [String]
|
@@ -28,6 +28,7 @@ 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
|
31
32
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
32
33
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
33
34
|
# @return [Array<CollectionResponse>]
|
@@ -45,6 +46,7 @@ module PulpAnsibleClient
|
|
45
46
|
# @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)
|
46
47
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
47
48
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
49
|
+
# @option opts [String] :q
|
48
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
49
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
50
52
|
# @return [Array<(Array<CollectionResponse>, Integer, Hash)>] Array<CollectionResponse> data, response status code and response headers
|
@@ -71,6 +73,7 @@ module PulpAnsibleClient
|
|
71
73
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
72
74
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
73
75
|
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?
|
74
77
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
75
78
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
76
79
|
|