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,7 +19,7 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
#
|
22
|
+
# Provides the authentication and permission classes from settings.
|
23
23
|
# @param distro_base_path [String]
|
24
24
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
25
25
|
# @param [Hash] opts the optional parameters
|
@@ -35,7 +35,7 @@ module PulpAnsibleClient
|
|
35
35
|
data
|
36
36
|
end
|
37
37
|
|
38
|
-
#
|
38
|
+
# Provides the authentication and permission classes from settings.
|
39
39
|
# @param distro_base_path [String]
|
40
40
|
# @param name [String] Required named, only accepts lowercase, numbers and underscores.
|
41
41
|
# @param [Hash] opts the optional parameters
|
@@ -197,13 +197,17 @@ module PulpAnsibleClient
|
|
197
197
|
return data, status_code, headers
|
198
198
|
end
|
199
199
|
|
200
|
-
#
|
200
|
+
# Provides the authentication and permission classes from settings.
|
201
201
|
# @param distro_base_path [String]
|
202
202
|
# @param [Hash] opts the optional parameters
|
203
203
|
# @option opts [String] :company Filter results where company matches value
|
204
204
|
# @option opts [String] :company__contains Filter results where company contains value
|
205
205
|
# @option opts [String] :company__icontains Filter results where company contains value
|
206
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
206
207
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
208
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
209
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
210
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
207
211
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
208
212
|
# @option opts [Integer] :limit Number of results to return per page.
|
209
213
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -211,12 +215,17 @@ module PulpAnsibleClient
|
|
211
215
|
# @option opts [String] :name Filter results where name matches value
|
212
216
|
# @option opts [String] :name__contains Filter results where name contains value
|
213
217
|
# @option opts [String] :name__icontains Filter results where name contains value
|
218
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
214
219
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
220
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
221
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
222
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
215
223
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
216
224
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
217
225
|
# @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)
|
218
226
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
219
227
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
228
|
+
# @option opts [String] :q
|
220
229
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
221
230
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
222
231
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -225,13 +234,17 @@ module PulpAnsibleClient
|
|
225
234
|
data
|
226
235
|
end
|
227
236
|
|
228
|
-
#
|
237
|
+
# Provides the authentication and permission classes from settings.
|
229
238
|
# @param distro_base_path [String]
|
230
239
|
# @param [Hash] opts the optional parameters
|
231
240
|
# @option opts [String] :company Filter results where company matches value
|
232
241
|
# @option opts [String] :company__contains Filter results where company contains value
|
233
242
|
# @option opts [String] :company__icontains Filter results where company contains value
|
243
|
+
# @option opts [String] :company__iexact Filter results where company matches value
|
234
244
|
# @option opts [Array<String>] :company__in Filter results where company is in a comma-separated list of values
|
245
|
+
# @option opts [String] :company__iregex Filter results where company matches regex value
|
246
|
+
# @option opts [String] :company__istartswith Filter results where company starts with value
|
247
|
+
# @option opts [String] :company__regex Filter results where company matches regex value
|
235
248
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
236
249
|
# @option opts [Integer] :limit Number of results to return per page.
|
237
250
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -239,12 +252,17 @@ module PulpAnsibleClient
|
|
239
252
|
# @option opts [String] :name Filter results where name matches value
|
240
253
|
# @option opts [String] :name__contains Filter results where name contains value
|
241
254
|
# @option opts [String] :name__icontains Filter results where name contains value
|
255
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
242
256
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
257
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
258
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
259
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
243
260
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
244
261
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
245
262
|
# @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)
|
246
263
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
247
264
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
265
|
+
# @option opts [String] :q
|
248
266
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
267
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
268
|
# @return [Array<(PaginatedansibleAnsibleNamespaceMetadataResponseList, Integer, Hash)>] PaginatedansibleAnsibleNamespaceMetadataResponseList data, response status code and response headers
|
@@ -268,7 +286,11 @@ module PulpAnsibleClient
|
|
268
286
|
query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
|
269
287
|
query_params[:'company__contains'] = opts[:'company__contains'] if !opts[:'company__contains'].nil?
|
270
288
|
query_params[:'company__icontains'] = opts[:'company__icontains'] if !opts[:'company__icontains'].nil?
|
289
|
+
query_params[:'company__iexact'] = opts[:'company__iexact'] if !opts[:'company__iexact'].nil?
|
271
290
|
query_params[:'company__in'] = @api_client.build_collection_param(opts[:'company__in'], :csv) if !opts[:'company__in'].nil?
|
291
|
+
query_params[:'company__iregex'] = opts[:'company__iregex'] if !opts[:'company__iregex'].nil?
|
292
|
+
query_params[:'company__istartswith'] = opts[:'company__istartswith'] if !opts[:'company__istartswith'].nil?
|
293
|
+
query_params[:'company__regex'] = opts[:'company__regex'] if !opts[:'company__regex'].nil?
|
272
294
|
query_params[:'company__startswith'] = opts[:'company__startswith'] if !opts[:'company__startswith'].nil?
|
273
295
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
274
296
|
query_params[:'metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
@@ -276,12 +298,17 @@ module PulpAnsibleClient
|
|
276
298
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
277
299
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
278
300
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
301
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
279
302
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
303
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
304
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
305
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
280
306
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
281
307
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
282
308
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
283
309
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
284
310
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
311
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
285
312
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
286
313
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
287
314
|
|
@@ -318,7 +345,7 @@ module PulpAnsibleClient
|
|
318
345
|
return data, status_code, headers
|
319
346
|
end
|
320
347
|
|
321
|
-
#
|
348
|
+
# Provides the authentication and permission classes from settings.
|
322
349
|
# @param distro_base_path [String]
|
323
350
|
# @param name [String]
|
324
351
|
# @param [Hash] opts the optional parameters
|
@@ -335,7 +362,7 @@ module PulpAnsibleClient
|
|
335
362
|
data
|
336
363
|
end
|
337
364
|
|
338
|
-
#
|
365
|
+
# Provides the authentication and permission classes from settings.
|
339
366
|
# @param distro_base_path [String]
|
340
367
|
# @param name [String]
|
341
368
|
# @param [Hash] opts the optional parameters
|
@@ -432,7 +459,7 @@ module PulpAnsibleClient
|
|
432
459
|
return data, status_code, headers
|
433
460
|
end
|
434
461
|
|
435
|
-
#
|
462
|
+
# Provides the authentication and permission classes from settings.
|
436
463
|
# @param distro_base_path [String]
|
437
464
|
# @param name [String]
|
438
465
|
# @param [Hash] opts the optional parameters
|
@@ -444,7 +471,7 @@ module PulpAnsibleClient
|
|
444
471
|
data
|
445
472
|
end
|
446
473
|
|
447
|
-
#
|
474
|
+
# Provides the authentication and permission classes from settings.
|
448
475
|
# @param distro_base_path [String]
|
449
476
|
# @param name [String]
|
450
477
|
# @param [Hash] opts the optional parameters
|
@@ -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_remote_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_remote_href [String]
|
34
36
|
# @param nested_role [NestedRole]
|
@@ -220,7 +222,11 @@ module PulpAnsibleClient
|
|
220
222
|
# @option opts [String] :name Filter results where name matches value
|
221
223
|
# @option opts [String] :name__contains Filter results where name contains value
|
222
224
|
# @option opts [String] :name__icontains Filter results where name contains value
|
225
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
223
226
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
227
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
228
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
229
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
224
230
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
225
231
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
226
232
|
# @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) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -233,6 +239,7 @@ module PulpAnsibleClient
|
|
233
239
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
234
240
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
235
241
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
242
|
+
# @option opts [String] :q
|
236
243
|
# @option opts [String] :url Filter results where url matches value
|
237
244
|
# @option opts [String] :url__contains Filter results where url contains value
|
238
245
|
# @option opts [String] :url__icontains Filter results where url contains value
|
@@ -252,7 +259,11 @@ module PulpAnsibleClient
|
|
252
259
|
# @option opts [String] :name Filter results where name matches value
|
253
260
|
# @option opts [String] :name__contains Filter results where name contains value
|
254
261
|
# @option opts [String] :name__icontains Filter results where name contains value
|
262
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
255
263
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
264
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
265
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
266
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
256
267
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
257
268
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
258
269
|
# @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) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -265,6 +276,7 @@ module PulpAnsibleClient
|
|
265
276
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
266
277
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
267
278
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
279
|
+
# @option opts [String] :q
|
268
280
|
# @option opts [String] :url Filter results where url matches value
|
269
281
|
# @option opts [String] :url__contains Filter results where url contains value
|
270
282
|
# @option opts [String] :url__icontains Filter results where url contains value
|
@@ -289,7 +301,11 @@ module PulpAnsibleClient
|
|
289
301
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
290
302
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
291
303
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
304
|
+
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
292
305
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
306
|
+
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
307
|
+
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
308
|
+
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
293
309
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
294
310
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
295
311
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
@@ -302,6 +318,7 @@ module PulpAnsibleClient
|
|
302
318
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
303
319
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
304
320
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
321
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
305
322
|
query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
|
306
323
|
query_params[:'url__contains'] = opts[:'url__contains'] if !opts[:'url__contains'].nil?
|
307
324
|
query_params[:'url__icontains'] = opts[:'url__icontains'] if !opts[:'url__icontains'].nil?
|
@@ -342,6 +359,7 @@ module PulpAnsibleClient
|
|
342
359
|
return data, status_code, headers
|
343
360
|
end
|
344
361
|
|
362
|
+
# List roles
|
345
363
|
# List roles assigned to this object.
|
346
364
|
# @param ansible_collection_remote_href [String]
|
347
365
|
# @param [Hash] opts the optional parameters
|
@@ -353,6 +371,7 @@ module PulpAnsibleClient
|
|
353
371
|
data
|
354
372
|
end
|
355
373
|
|
374
|
+
# List roles
|
356
375
|
# List roles assigned to this object.
|
357
376
|
# @param ansible_collection_remote_href [String]
|
358
377
|
# @param [Hash] opts the optional parameters
|
@@ -408,6 +427,7 @@ module PulpAnsibleClient
|
|
408
427
|
return data, status_code, headers
|
409
428
|
end
|
410
429
|
|
430
|
+
# List user permissions
|
411
431
|
# List permissions available to the current user on this object.
|
412
432
|
# @param ansible_collection_remote_href [String]
|
413
433
|
# @param [Hash] opts the optional parameters
|
@@ -419,6 +439,7 @@ module PulpAnsibleClient
|
|
419
439
|
data
|
420
440
|
end
|
421
441
|
|
442
|
+
# List user permissions
|
422
443
|
# List permissions available to the current user on this object.
|
423
444
|
# @param ansible_collection_remote_href [String]
|
424
445
|
# @param [Hash] opts the optional parameters
|
@@ -612,6 +633,7 @@ module PulpAnsibleClient
|
|
612
633
|
return data, status_code, headers
|
613
634
|
end
|
614
635
|
|
636
|
+
# Remove a role
|
615
637
|
# Remove a role for this object from users/groups.
|
616
638
|
# @param ansible_collection_remote_href [String]
|
617
639
|
# @param nested_role [NestedRole]
|
@@ -622,6 +644,7 @@ module PulpAnsibleClient
|
|
622
644
|
data
|
623
645
|
end
|
624
646
|
|
647
|
+
# Remove a role
|
625
648
|
# Remove a role for this object from users/groups.
|
626
649
|
# @param ansible_collection_remote_href [String]
|
627
650
|
# @param nested_role [NestedRole]
|
@@ -680,6 +703,146 @@ module PulpAnsibleClient
|
|
680
703
|
return data, status_code, headers
|
681
704
|
end
|
682
705
|
|
706
|
+
# Set a label
|
707
|
+
# Set a single pulp_label on the object to a specific value or null.
|
708
|
+
# @param ansible_collection_remote_href [String]
|
709
|
+
# @param set_label [SetLabel]
|
710
|
+
# @param [Hash] opts the optional parameters
|
711
|
+
# @return [SetLabelResponse]
|
712
|
+
def set_label(ansible_collection_remote_href, set_label, opts = {})
|
713
|
+
data, _status_code, _headers = set_label_with_http_info(ansible_collection_remote_href, set_label, opts)
|
714
|
+
data
|
715
|
+
end
|
716
|
+
|
717
|
+
# Set a label
|
718
|
+
# Set a single pulp_label on the object to a specific value or null.
|
719
|
+
# @param ansible_collection_remote_href [String]
|
720
|
+
# @param set_label [SetLabel]
|
721
|
+
# @param [Hash] opts the optional parameters
|
722
|
+
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
723
|
+
def set_label_with_http_info(ansible_collection_remote_href, set_label, opts = {})
|
724
|
+
if @api_client.config.debugging
|
725
|
+
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.set_label ...'
|
726
|
+
end
|
727
|
+
# verify the required parameter 'ansible_collection_remote_href' is set
|
728
|
+
if @api_client.config.client_side_validation && ansible_collection_remote_href.nil?
|
729
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_remote_href' when calling RemotesCollectionApi.set_label"
|
730
|
+
end
|
731
|
+
# verify the required parameter 'set_label' is set
|
732
|
+
if @api_client.config.client_side_validation && set_label.nil?
|
733
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesCollectionApi.set_label"
|
734
|
+
end
|
735
|
+
# resource path
|
736
|
+
local_var_path = '{ansible_collection_remote_href}set_label/'.sub('{' + 'ansible_collection_remote_href' + '}', CGI.escape(ansible_collection_remote_href.to_s).gsub('%2F', '/'))
|
737
|
+
|
738
|
+
# query parameters
|
739
|
+
query_params = opts[:query_params] || {}
|
740
|
+
|
741
|
+
# header parameters
|
742
|
+
header_params = opts[:header_params] || {}
|
743
|
+
# HTTP header 'Accept' (if needed)
|
744
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
745
|
+
# HTTP header 'Content-Type'
|
746
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
747
|
+
|
748
|
+
# form parameters
|
749
|
+
form_params = opts[:form_params] || {}
|
750
|
+
|
751
|
+
# http body (model)
|
752
|
+
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
753
|
+
|
754
|
+
# return_type
|
755
|
+
return_type = opts[:return_type] || 'SetLabelResponse'
|
756
|
+
|
757
|
+
# auth_names
|
758
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
759
|
+
|
760
|
+
new_options = opts.merge(
|
761
|
+
:header_params => header_params,
|
762
|
+
:query_params => query_params,
|
763
|
+
:form_params => form_params,
|
764
|
+
:body => post_body,
|
765
|
+
:auth_names => auth_names,
|
766
|
+
:return_type => return_type
|
767
|
+
)
|
768
|
+
|
769
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
770
|
+
if @api_client.config.debugging
|
771
|
+
@api_client.config.logger.debug "API called: RemotesCollectionApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
772
|
+
end
|
773
|
+
return data, status_code, headers
|
774
|
+
end
|
775
|
+
|
776
|
+
# Unset a label
|
777
|
+
# Unset a single pulp_label on the object.
|
778
|
+
# @param ansible_collection_remote_href [String]
|
779
|
+
# @param unset_label [UnsetLabel]
|
780
|
+
# @param [Hash] opts the optional parameters
|
781
|
+
# @return [UnsetLabelResponse]
|
782
|
+
def unset_label(ansible_collection_remote_href, unset_label, opts = {})
|
783
|
+
data, _status_code, _headers = unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts)
|
784
|
+
data
|
785
|
+
end
|
786
|
+
|
787
|
+
# Unset a label
|
788
|
+
# Unset a single pulp_label on the object.
|
789
|
+
# @param ansible_collection_remote_href [String]
|
790
|
+
# @param unset_label [UnsetLabel]
|
791
|
+
# @param [Hash] opts the optional parameters
|
792
|
+
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
793
|
+
def unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts = {})
|
794
|
+
if @api_client.config.debugging
|
795
|
+
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.unset_label ...'
|
796
|
+
end
|
797
|
+
# verify the required parameter 'ansible_collection_remote_href' is set
|
798
|
+
if @api_client.config.client_side_validation && ansible_collection_remote_href.nil?
|
799
|
+
fail ArgumentError, "Missing the required parameter 'ansible_collection_remote_href' when calling RemotesCollectionApi.unset_label"
|
800
|
+
end
|
801
|
+
# verify the required parameter 'unset_label' is set
|
802
|
+
if @api_client.config.client_side_validation && unset_label.nil?
|
803
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesCollectionApi.unset_label"
|
804
|
+
end
|
805
|
+
# resource path
|
806
|
+
local_var_path = '{ansible_collection_remote_href}unset_label/'.sub('{' + 'ansible_collection_remote_href' + '}', CGI.escape(ansible_collection_remote_href.to_s).gsub('%2F', '/'))
|
807
|
+
|
808
|
+
# query parameters
|
809
|
+
query_params = opts[:query_params] || {}
|
810
|
+
|
811
|
+
# header parameters
|
812
|
+
header_params = opts[:header_params] || {}
|
813
|
+
# HTTP header 'Accept' (if needed)
|
814
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
815
|
+
# HTTP header 'Content-Type'
|
816
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
817
|
+
|
818
|
+
# form parameters
|
819
|
+
form_params = opts[:form_params] || {}
|
820
|
+
|
821
|
+
# http body (model)
|
822
|
+
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
823
|
+
|
824
|
+
# return_type
|
825
|
+
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
826
|
+
|
827
|
+
# auth_names
|
828
|
+
auth_names = opts[:auth_names] || ['basicAuth']
|
829
|
+
|
830
|
+
new_options = opts.merge(
|
831
|
+
:header_params => header_params,
|
832
|
+
:query_params => query_params,
|
833
|
+
:form_params => form_params,
|
834
|
+
:body => post_body,
|
835
|
+
:auth_names => auth_names,
|
836
|
+
:return_type => return_type
|
837
|
+
)
|
838
|
+
|
839
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
840
|
+
if @api_client.config.debugging
|
841
|
+
@api_client.config.logger.debug "API called: RemotesCollectionApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
842
|
+
end
|
843
|
+
return data, status_code, headers
|
844
|
+
end
|
845
|
+
|
683
846
|
# Update a collection remote
|
684
847
|
# Trigger an asynchronous update task
|
685
848
|
# @param ansible_collection_remote_href [String]
|