pulp_ansible_client 0.18.2 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -44
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionResponse.md +1 -1
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -3
- data/docs/ContentCollectionMarksApi.md +2 -4
- data/docs/ContentCollectionSignaturesApi.md +3 -5
- data/docs/ContentCollectionVersionsApi.md +7 -7
- data/docs/ContentNamespacesApi.md +1 -19
- data/docs/ContentRolesApi.md +1 -3
- data/docs/DistributionsAnsibleApi.md +10 -136
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/{UnsetLabel.md → PatchedCollection.md} +3 -3
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/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 +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +1 -1
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +226 -226
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +138 -138
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +19 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/models/{set_label.rb → collection_version_signature_response.rb} +49 -42
- data/lib/pulp_ansible_client/models/{unset_label_response.rb → patched_collection.rb} +11 -46
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +2 -4
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +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/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +141 -149
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_ansible_client/models/set_label_response.rb +0 -243
- data/lib/pulp_ansible_client/models/unset_label.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/set_label_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
@@ -19,7 +19,6 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Add a role
|
23
22
|
# Add a role for this object to users/groups.
|
24
23
|
# @param ansible_role_remote_href [String]
|
25
24
|
# @param nested_role [NestedRole]
|
@@ -30,7 +29,6 @@ module PulpAnsibleClient
|
|
30
29
|
data
|
31
30
|
end
|
32
31
|
|
33
|
-
# Add a role
|
34
32
|
# Add a role for this object to users/groups.
|
35
33
|
# @param ansible_role_remote_href [String]
|
36
34
|
# @param nested_role [NestedRole]
|
@@ -222,11 +220,7 @@ module PulpAnsibleClient
|
|
222
220
|
# @option opts [String] :name Filter results where name matches value
|
223
221
|
# @option opts [String] :name__contains Filter results where name contains value
|
224
222
|
# @option opts [String] :name__icontains Filter results where name contains value
|
225
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
226
223
|
# @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
|
230
224
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
231
225
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
232
226
|
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -239,7 +233,6 @@ module PulpAnsibleClient
|
|
239
233
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
240
234
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
241
235
|
# @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
|
243
236
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
244
237
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
245
238
|
# @return [PaginatedansibleRoleRemoteResponseList]
|
@@ -255,11 +248,7 @@ module PulpAnsibleClient
|
|
255
248
|
# @option opts [String] :name Filter results where name matches value
|
256
249
|
# @option opts [String] :name__contains Filter results where name contains value
|
257
250
|
# @option opts [String] :name__icontains Filter results where name contains value
|
258
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
259
251
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
260
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
261
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
262
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
263
252
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
264
253
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
265
254
|
# @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) * `pk` - Pk * `-pk` - Pk (descending)
|
@@ -272,7 +261,6 @@ module PulpAnsibleClient
|
|
272
261
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
273
262
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
274
263
|
# @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
|
275
|
-
# @option opts [String] :q
|
276
264
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
277
265
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
278
266
|
# @return [Array<(PaginatedansibleRoleRemoteResponseList, Integer, Hash)>] PaginatedansibleRoleRemoteResponseList data, response status code and response headers
|
@@ -293,11 +281,7 @@ module PulpAnsibleClient
|
|
293
281
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
294
282
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
295
283
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
296
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
297
284
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
298
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
299
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
300
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
301
285
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
302
286
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
303
287
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
@@ -310,7 +294,6 @@ module PulpAnsibleClient
|
|
310
294
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
311
295
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
312
296
|
query_params[:'pulp_last_updated__range'] = @api_client.build_collection_param(opts[:'pulp_last_updated__range'], :csv) if !opts[:'pulp_last_updated__range'].nil?
|
313
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
314
297
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
315
298
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
316
299
|
|
@@ -347,7 +330,6 @@ module PulpAnsibleClient
|
|
347
330
|
return data, status_code, headers
|
348
331
|
end
|
349
332
|
|
350
|
-
# List roles
|
351
333
|
# List roles assigned to this object.
|
352
334
|
# @param ansible_role_remote_href [String]
|
353
335
|
# @param [Hash] opts the optional parameters
|
@@ -359,7 +341,6 @@ module PulpAnsibleClient
|
|
359
341
|
data
|
360
342
|
end
|
361
343
|
|
362
|
-
# List roles
|
363
344
|
# List roles assigned to this object.
|
364
345
|
# @param ansible_role_remote_href [String]
|
365
346
|
# @param [Hash] opts the optional parameters
|
@@ -415,7 +396,6 @@ module PulpAnsibleClient
|
|
415
396
|
return data, status_code, headers
|
416
397
|
end
|
417
398
|
|
418
|
-
# List user permissions
|
419
399
|
# List permissions available to the current user on this object.
|
420
400
|
# @param ansible_role_remote_href [String]
|
421
401
|
# @param [Hash] opts the optional parameters
|
@@ -427,7 +407,6 @@ module PulpAnsibleClient
|
|
427
407
|
data
|
428
408
|
end
|
429
409
|
|
430
|
-
# List user permissions
|
431
410
|
# List permissions available to the current user on this object.
|
432
411
|
# @param ansible_role_remote_href [String]
|
433
412
|
# @param [Hash] opts the optional parameters
|
@@ -621,7 +600,6 @@ module PulpAnsibleClient
|
|
621
600
|
return data, status_code, headers
|
622
601
|
end
|
623
602
|
|
624
|
-
# Remove a role
|
625
603
|
# Remove a role for this object from users/groups.
|
626
604
|
# @param ansible_role_remote_href [String]
|
627
605
|
# @param nested_role [NestedRole]
|
@@ -632,7 +610,6 @@ module PulpAnsibleClient
|
|
632
610
|
data
|
633
611
|
end
|
634
612
|
|
635
|
-
# Remove a role
|
636
613
|
# Remove a role for this object from users/groups.
|
637
614
|
# @param ansible_role_remote_href [String]
|
638
615
|
# @param nested_role [NestedRole]
|
@@ -691,146 +668,6 @@ module PulpAnsibleClient
|
|
691
668
|
return data, status_code, headers
|
692
669
|
end
|
693
670
|
|
694
|
-
# Set a label
|
695
|
-
# Set a single pulp_label on the object to a specific value or null.
|
696
|
-
# @param ansible_role_remote_href [String]
|
697
|
-
# @param set_label [SetLabel]
|
698
|
-
# @param [Hash] opts the optional parameters
|
699
|
-
# @return [SetLabelResponse]
|
700
|
-
def set_label(ansible_role_remote_href, set_label, opts = {})
|
701
|
-
data, _status_code, _headers = set_label_with_http_info(ansible_role_remote_href, set_label, opts)
|
702
|
-
data
|
703
|
-
end
|
704
|
-
|
705
|
-
# Set a label
|
706
|
-
# Set a single pulp_label on the object to a specific value or null.
|
707
|
-
# @param ansible_role_remote_href [String]
|
708
|
-
# @param set_label [SetLabel]
|
709
|
-
# @param [Hash] opts the optional parameters
|
710
|
-
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
711
|
-
def set_label_with_http_info(ansible_role_remote_href, set_label, opts = {})
|
712
|
-
if @api_client.config.debugging
|
713
|
-
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.set_label ...'
|
714
|
-
end
|
715
|
-
# verify the required parameter 'ansible_role_remote_href' is set
|
716
|
-
if @api_client.config.client_side_validation && ansible_role_remote_href.nil?
|
717
|
-
fail ArgumentError, "Missing the required parameter 'ansible_role_remote_href' when calling RemotesRoleApi.set_label"
|
718
|
-
end
|
719
|
-
# verify the required parameter 'set_label' is set
|
720
|
-
if @api_client.config.client_side_validation && set_label.nil?
|
721
|
-
fail ArgumentError, "Missing the required parameter 'set_label' when calling RemotesRoleApi.set_label"
|
722
|
-
end
|
723
|
-
# resource path
|
724
|
-
local_var_path = '{ansible_role_remote_href}set_label/'.sub('{' + 'ansible_role_remote_href' + '}', CGI.escape(ansible_role_remote_href.to_s).gsub('%2F', '/'))
|
725
|
-
|
726
|
-
# query parameters
|
727
|
-
query_params = opts[:query_params] || {}
|
728
|
-
|
729
|
-
# header parameters
|
730
|
-
header_params = opts[:header_params] || {}
|
731
|
-
# HTTP header 'Accept' (if needed)
|
732
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
733
|
-
# HTTP header 'Content-Type'
|
734
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
735
|
-
|
736
|
-
# form parameters
|
737
|
-
form_params = opts[:form_params] || {}
|
738
|
-
|
739
|
-
# http body (model)
|
740
|
-
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
741
|
-
|
742
|
-
# return_type
|
743
|
-
return_type = opts[:return_type] || 'SetLabelResponse'
|
744
|
-
|
745
|
-
# auth_names
|
746
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
747
|
-
|
748
|
-
new_options = opts.merge(
|
749
|
-
:header_params => header_params,
|
750
|
-
:query_params => query_params,
|
751
|
-
:form_params => form_params,
|
752
|
-
:body => post_body,
|
753
|
-
:auth_names => auth_names,
|
754
|
-
:return_type => return_type
|
755
|
-
)
|
756
|
-
|
757
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
758
|
-
if @api_client.config.debugging
|
759
|
-
@api_client.config.logger.debug "API called: RemotesRoleApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
760
|
-
end
|
761
|
-
return data, status_code, headers
|
762
|
-
end
|
763
|
-
|
764
|
-
# Unset a label
|
765
|
-
# Unset a single pulp_label on the object.
|
766
|
-
# @param ansible_role_remote_href [String]
|
767
|
-
# @param unset_label [UnsetLabel]
|
768
|
-
# @param [Hash] opts the optional parameters
|
769
|
-
# @return [UnsetLabelResponse]
|
770
|
-
def unset_label(ansible_role_remote_href, unset_label, opts = {})
|
771
|
-
data, _status_code, _headers = unset_label_with_http_info(ansible_role_remote_href, unset_label, opts)
|
772
|
-
data
|
773
|
-
end
|
774
|
-
|
775
|
-
# Unset a label
|
776
|
-
# Unset a single pulp_label on the object.
|
777
|
-
# @param ansible_role_remote_href [String]
|
778
|
-
# @param unset_label [UnsetLabel]
|
779
|
-
# @param [Hash] opts the optional parameters
|
780
|
-
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
781
|
-
def unset_label_with_http_info(ansible_role_remote_href, unset_label, opts = {})
|
782
|
-
if @api_client.config.debugging
|
783
|
-
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.unset_label ...'
|
784
|
-
end
|
785
|
-
# verify the required parameter 'ansible_role_remote_href' is set
|
786
|
-
if @api_client.config.client_side_validation && ansible_role_remote_href.nil?
|
787
|
-
fail ArgumentError, "Missing the required parameter 'ansible_role_remote_href' when calling RemotesRoleApi.unset_label"
|
788
|
-
end
|
789
|
-
# verify the required parameter 'unset_label' is set
|
790
|
-
if @api_client.config.client_side_validation && unset_label.nil?
|
791
|
-
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RemotesRoleApi.unset_label"
|
792
|
-
end
|
793
|
-
# resource path
|
794
|
-
local_var_path = '{ansible_role_remote_href}unset_label/'.sub('{' + 'ansible_role_remote_href' + '}', CGI.escape(ansible_role_remote_href.to_s).gsub('%2F', '/'))
|
795
|
-
|
796
|
-
# query parameters
|
797
|
-
query_params = opts[:query_params] || {}
|
798
|
-
|
799
|
-
# header parameters
|
800
|
-
header_params = opts[:header_params] || {}
|
801
|
-
# HTTP header 'Accept' (if needed)
|
802
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
803
|
-
# HTTP header 'Content-Type'
|
804
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
805
|
-
|
806
|
-
# form parameters
|
807
|
-
form_params = opts[:form_params] || {}
|
808
|
-
|
809
|
-
# http body (model)
|
810
|
-
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
811
|
-
|
812
|
-
# return_type
|
813
|
-
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
814
|
-
|
815
|
-
# auth_names
|
816
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
817
|
-
|
818
|
-
new_options = opts.merge(
|
819
|
-
:header_params => header_params,
|
820
|
-
:query_params => query_params,
|
821
|
-
:form_params => form_params,
|
822
|
-
:body => post_body,
|
823
|
-
:auth_names => auth_names,
|
824
|
-
:return_type => return_type
|
825
|
-
)
|
826
|
-
|
827
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
828
|
-
if @api_client.config.debugging
|
829
|
-
@api_client.config.logger.debug "API called: RemotesRoleApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
830
|
-
end
|
831
|
-
return data, status_code, headers
|
832
|
-
end
|
833
|
-
|
834
671
|
# Update a role remote
|
835
672
|
# Trigger an asynchronous update task
|
836
673
|
# @param ansible_role_remote_href [String]
|
@@ -19,7 +19,6 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Add a role
|
23
22
|
# Add a role for this object to users/groups.
|
24
23
|
# @param ansible_ansible_repository_href [String]
|
25
24
|
# @param nested_role [NestedRole]
|
@@ -30,7 +29,6 @@ module PulpAnsibleClient
|
|
30
29
|
data
|
31
30
|
end
|
32
31
|
|
33
|
-
# Add a role
|
34
32
|
# Add a role for this object to users/groups.
|
35
33
|
# @param ansible_ansible_repository_href [String]
|
36
34
|
# @param nested_role [NestedRole]
|
@@ -291,18 +289,13 @@ module PulpAnsibleClient
|
|
291
289
|
# @option opts [String] :name Filter results where name matches value
|
292
290
|
# @option opts [String] :name__contains Filter results where name contains value
|
293
291
|
# @option opts [String] :name__icontains Filter results where name contains value
|
294
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
295
292
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
296
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
297
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
298
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
299
293
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
300
294
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
301
295
|
# @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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
302
296
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
303
297
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
304
298
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
305
|
-
# @option opts [String] :q
|
306
299
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
307
300
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
308
301
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -329,18 +322,13 @@ module PulpAnsibleClient
|
|
329
322
|
# @option opts [String] :name Filter results where name matches value
|
330
323
|
# @option opts [String] :name__contains Filter results where name contains value
|
331
324
|
# @option opts [String] :name__icontains Filter results where name contains value
|
332
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
333
325
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
334
|
-
# @option opts [String] :name__iregex Filter results where name matches regex value
|
335
|
-
# @option opts [String] :name__istartswith Filter results where name starts with value
|
336
|
-
# @option opts [String] :name__regex Filter results where name matches regex value
|
337
326
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
338
327
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
339
328
|
# @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) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
340
329
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
341
330
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
342
331
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
343
|
-
# @option opts [String] :q
|
344
332
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
345
333
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
346
334
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -372,18 +360,13 @@ module PulpAnsibleClient
|
|
372
360
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
373
361
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
374
362
|
query_params[:'name__icontains'] = opts[:'name__icontains'] if !opts[:'name__icontains'].nil?
|
375
|
-
query_params[:'name__iexact'] = opts[:'name__iexact'] if !opts[:'name__iexact'].nil?
|
376
363
|
query_params[:'name__in'] = @api_client.build_collection_param(opts[:'name__in'], :csv) if !opts[:'name__in'].nil?
|
377
|
-
query_params[:'name__iregex'] = opts[:'name__iregex'] if !opts[:'name__iregex'].nil?
|
378
|
-
query_params[:'name__istartswith'] = opts[:'name__istartswith'] if !opts[:'name__istartswith'].nil?
|
379
|
-
query_params[:'name__regex'] = opts[:'name__regex'] if !opts[:'name__regex'].nil?
|
380
364
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
381
365
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
382
366
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
383
367
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
384
368
|
query_params[:'pulp_id__in'] = @api_client.build_collection_param(opts[:'pulp_id__in'], :csv) if !opts[:'pulp_id__in'].nil?
|
385
369
|
query_params[:'pulp_label_select'] = opts[:'pulp_label_select'] if !opts[:'pulp_label_select'].nil?
|
386
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
387
370
|
query_params[:'remote'] = opts[:'remote'] if !opts[:'remote'].nil?
|
388
371
|
query_params[:'retain_repo_versions'] = opts[:'retain_repo_versions'] if !opts[:'retain_repo_versions'].nil?
|
389
372
|
query_params[:'retain_repo_versions__gt'] = opts[:'retain_repo_versions__gt'] if !opts[:'retain_repo_versions__gt'].nil?
|
@@ -430,7 +413,6 @@ module PulpAnsibleClient
|
|
430
413
|
return data, status_code, headers
|
431
414
|
end
|
432
415
|
|
433
|
-
# List roles
|
434
416
|
# List roles assigned to this object.
|
435
417
|
# @param ansible_ansible_repository_href [String]
|
436
418
|
# @param [Hash] opts the optional parameters
|
@@ -442,7 +424,6 @@ module PulpAnsibleClient
|
|
442
424
|
data
|
443
425
|
end
|
444
426
|
|
445
|
-
# List roles
|
446
427
|
# List roles assigned to this object.
|
447
428
|
# @param ansible_ansible_repository_href [String]
|
448
429
|
# @param [Hash] opts the optional parameters
|
@@ -704,7 +685,6 @@ module PulpAnsibleClient
|
|
704
685
|
return data, status_code, headers
|
705
686
|
end
|
706
687
|
|
707
|
-
# List user permissions
|
708
688
|
# List permissions available to the current user on this object.
|
709
689
|
# @param ansible_ansible_repository_href [String]
|
710
690
|
# @param [Hash] opts the optional parameters
|
@@ -716,7 +696,6 @@ module PulpAnsibleClient
|
|
716
696
|
data
|
717
697
|
end
|
718
698
|
|
719
|
-
# List user permissions
|
720
699
|
# List permissions available to the current user on this object.
|
721
700
|
# @param ansible_ansible_repository_href [String]
|
722
701
|
# @param [Hash] opts the optional parameters
|
@@ -978,7 +957,6 @@ module PulpAnsibleClient
|
|
978
957
|
return data, status_code, headers
|
979
958
|
end
|
980
959
|
|
981
|
-
# Remove a role
|
982
960
|
# Remove a role for this object from users/groups.
|
983
961
|
# @param ansible_ansible_repository_href [String]
|
984
962
|
# @param nested_role [NestedRole]
|
@@ -989,7 +967,6 @@ module PulpAnsibleClient
|
|
989
967
|
data
|
990
968
|
end
|
991
969
|
|
992
|
-
# Remove a role
|
993
970
|
# Remove a role for this object from users/groups.
|
994
971
|
# @param ansible_ansible_repository_href [String]
|
995
972
|
# @param nested_role [NestedRole]
|
@@ -1048,76 +1025,6 @@ module PulpAnsibleClient
|
|
1048
1025
|
return data, status_code, headers
|
1049
1026
|
end
|
1050
1027
|
|
1051
|
-
# Set a label
|
1052
|
-
# Set a single pulp_label on the object to a specific value or null.
|
1053
|
-
# @param ansible_ansible_repository_href [String]
|
1054
|
-
# @param set_label [SetLabel]
|
1055
|
-
# @param [Hash] opts the optional parameters
|
1056
|
-
# @return [SetLabelResponse]
|
1057
|
-
def set_label(ansible_ansible_repository_href, set_label, opts = {})
|
1058
|
-
data, _status_code, _headers = set_label_with_http_info(ansible_ansible_repository_href, set_label, opts)
|
1059
|
-
data
|
1060
|
-
end
|
1061
|
-
|
1062
|
-
# Set a label
|
1063
|
-
# Set a single pulp_label on the object to a specific value or null.
|
1064
|
-
# @param ansible_ansible_repository_href [String]
|
1065
|
-
# @param set_label [SetLabel]
|
1066
|
-
# @param [Hash] opts the optional parameters
|
1067
|
-
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
1068
|
-
def set_label_with_http_info(ansible_ansible_repository_href, set_label, opts = {})
|
1069
|
-
if @api_client.config.debugging
|
1070
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.set_label ...'
|
1071
|
-
end
|
1072
|
-
# verify the required parameter 'ansible_ansible_repository_href' is set
|
1073
|
-
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
1074
|
-
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleApi.set_label"
|
1075
|
-
end
|
1076
|
-
# verify the required parameter 'set_label' is set
|
1077
|
-
if @api_client.config.client_side_validation && set_label.nil?
|
1078
|
-
fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesAnsibleApi.set_label"
|
1079
|
-
end
|
1080
|
-
# resource path
|
1081
|
-
local_var_path = '{ansible_ansible_repository_href}set_label/'.sub('{' + 'ansible_ansible_repository_href' + '}', CGI.escape(ansible_ansible_repository_href.to_s).gsub('%2F', '/'))
|
1082
|
-
|
1083
|
-
# query parameters
|
1084
|
-
query_params = opts[:query_params] || {}
|
1085
|
-
|
1086
|
-
# header parameters
|
1087
|
-
header_params = opts[:header_params] || {}
|
1088
|
-
# HTTP header 'Accept' (if needed)
|
1089
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1090
|
-
# HTTP header 'Content-Type'
|
1091
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
1092
|
-
|
1093
|
-
# form parameters
|
1094
|
-
form_params = opts[:form_params] || {}
|
1095
|
-
|
1096
|
-
# http body (model)
|
1097
|
-
post_body = opts[:body] || @api_client.object_to_http_body(set_label)
|
1098
|
-
|
1099
|
-
# return_type
|
1100
|
-
return_type = opts[:return_type] || 'SetLabelResponse'
|
1101
|
-
|
1102
|
-
# auth_names
|
1103
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
1104
|
-
|
1105
|
-
new_options = opts.merge(
|
1106
|
-
:header_params => header_params,
|
1107
|
-
:query_params => query_params,
|
1108
|
-
:form_params => form_params,
|
1109
|
-
:body => post_body,
|
1110
|
-
:auth_names => auth_names,
|
1111
|
-
:return_type => return_type
|
1112
|
-
)
|
1113
|
-
|
1114
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1115
|
-
if @api_client.config.debugging
|
1116
|
-
@api_client.config.logger.debug "API called: RepositoriesAnsibleApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1117
|
-
end
|
1118
|
-
return data, status_code, headers
|
1119
|
-
end
|
1120
|
-
|
1121
1028
|
# Trigger an asynchronous task to sign Ansible content.
|
1122
1029
|
# @param ansible_ansible_repository_href [String]
|
1123
1030
|
# @param ansible_repository_signature [AnsibleRepositorySignature]
|
@@ -1322,76 +1229,6 @@ module PulpAnsibleClient
|
|
1322
1229
|
return data, status_code, headers
|
1323
1230
|
end
|
1324
1231
|
|
1325
|
-
# Unset a label
|
1326
|
-
# Unset a single pulp_label on the object.
|
1327
|
-
# @param ansible_ansible_repository_href [String]
|
1328
|
-
# @param unset_label [UnsetLabel]
|
1329
|
-
# @param [Hash] opts the optional parameters
|
1330
|
-
# @return [UnsetLabelResponse]
|
1331
|
-
def unset_label(ansible_ansible_repository_href, unset_label, opts = {})
|
1332
|
-
data, _status_code, _headers = unset_label_with_http_info(ansible_ansible_repository_href, unset_label, opts)
|
1333
|
-
data
|
1334
|
-
end
|
1335
|
-
|
1336
|
-
# Unset a label
|
1337
|
-
# Unset a single pulp_label on the object.
|
1338
|
-
# @param ansible_ansible_repository_href [String]
|
1339
|
-
# @param unset_label [UnsetLabel]
|
1340
|
-
# @param [Hash] opts the optional parameters
|
1341
|
-
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
1342
|
-
def unset_label_with_http_info(ansible_ansible_repository_href, unset_label, opts = {})
|
1343
|
-
if @api_client.config.debugging
|
1344
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.unset_label ...'
|
1345
|
-
end
|
1346
|
-
# verify the required parameter 'ansible_ansible_repository_href' is set
|
1347
|
-
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
1348
|
-
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleApi.unset_label"
|
1349
|
-
end
|
1350
|
-
# verify the required parameter 'unset_label' is set
|
1351
|
-
if @api_client.config.client_side_validation && unset_label.nil?
|
1352
|
-
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesAnsibleApi.unset_label"
|
1353
|
-
end
|
1354
|
-
# resource path
|
1355
|
-
local_var_path = '{ansible_ansible_repository_href}unset_label/'.sub('{' + 'ansible_ansible_repository_href' + '}', CGI.escape(ansible_ansible_repository_href.to_s).gsub('%2F', '/'))
|
1356
|
-
|
1357
|
-
# query parameters
|
1358
|
-
query_params = opts[:query_params] || {}
|
1359
|
-
|
1360
|
-
# header parameters
|
1361
|
-
header_params = opts[:header_params] || {}
|
1362
|
-
# HTTP header 'Accept' (if needed)
|
1363
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1364
|
-
# HTTP header 'Content-Type'
|
1365
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
1366
|
-
|
1367
|
-
# form parameters
|
1368
|
-
form_params = opts[:form_params] || {}
|
1369
|
-
|
1370
|
-
# http body (model)
|
1371
|
-
post_body = opts[:body] || @api_client.object_to_http_body(unset_label)
|
1372
|
-
|
1373
|
-
# return_type
|
1374
|
-
return_type = opts[:return_type] || 'UnsetLabelResponse'
|
1375
|
-
|
1376
|
-
# auth_names
|
1377
|
-
auth_names = opts[:auth_names] || ['basicAuth']
|
1378
|
-
|
1379
|
-
new_options = opts.merge(
|
1380
|
-
:header_params => header_params,
|
1381
|
-
:query_params => query_params,
|
1382
|
-
:form_params => form_params,
|
1383
|
-
:body => post_body,
|
1384
|
-
:auth_names => auth_names,
|
1385
|
-
:return_type => return_type
|
1386
|
-
)
|
1387
|
-
|
1388
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
1389
|
-
if @api_client.config.debugging
|
1390
|
-
@api_client.config.logger.debug "API called: RepositoriesAnsibleApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1391
|
-
end
|
1392
|
-
return data, status_code, headers
|
1393
|
-
end
|
1394
|
-
|
1395
1232
|
# Update an ansible repository
|
1396
1233
|
# Trigger an asynchronous update task
|
1397
1234
|
# @param ansible_ansible_repository_href [String]
|
@@ -103,7 +103,6 @@ module PulpAnsibleClient
|
|
103
103
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
104
104
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
105
105
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
106
|
-
# @option opts [String] :q
|
107
106
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
108
107
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
109
108
|
# @return [PaginatedRepositoryVersionResponseList]
|
@@ -134,7 +133,6 @@ module PulpAnsibleClient
|
|
134
133
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
135
134
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
136
135
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
137
|
-
# @option opts [String] :q
|
138
136
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
139
137
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
140
138
|
# @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
|
@@ -173,7 +171,6 @@ module PulpAnsibleClient
|
|
173
171
|
query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
|
174
172
|
query_params[:'pulp_created__range'] = @api_client.build_collection_param(opts[:'pulp_created__range'], :csv) if !opts[:'pulp_created__range'].nil?
|
175
173
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
176
|
-
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
177
174
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
178
175
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
179
176
|
|
@@ -127,7 +127,7 @@ module PulpAnsibleClient
|
|
127
127
|
attr_accessor :force_ending_format
|
128
128
|
|
129
129
|
def initialize
|
130
|
-
@scheme = '
|
130
|
+
@scheme = 'https'
|
131
131
|
@host = 'pulp'
|
132
132
|
@base_path = ''
|
133
133
|
@api_key = {}
|
@@ -210,7 +210,7 @@ module PulpAnsibleClient
|
|
210
210
|
def server_settings
|
211
211
|
[
|
212
212
|
{
|
213
|
-
url: "
|
213
|
+
url: "https://pulp/",
|
214
214
|
description: "No description provided",
|
215
215
|
}
|
216
216
|
]
|