pulp_ansible_client 0.18.3 → 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 +34 -47
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +9 -15
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +25 -25
- data/docs/AnsibleGitRemoteResponse.md +23 -23
- data/docs/AnsibleRole.md +3 -3
- 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 +5 -5
- 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 +25 -25
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +5 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +3 -3
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +5 -23
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +9 -135
- data/docs/RemotesGitApi.md +9 -135
- data/docs/RemotesRoleApi.md +9 -135
- data/docs/RepositoriesAnsibleApi.md +10 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -3
- data/docs/UnpaginatedCollectionVersionResponse.md +1 -1
- data/docs/VersionsApi.md +1 -1
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -11
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -27
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +8 -35
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -163
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -163
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +143 -143
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- 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_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +216 -216
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +9 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -5
- data/spec/api/ansible_collections_api_spec.rb +0 -5
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -1
- data/spec/api/content_collection_marks_api_spec.rb +0 -1
- data/spec/api/content_collection_signatures_api_spec.rb +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_namespaces_api_spec.rb +0 -9
- data/spec/api/content_roles_api_spec.rb +0 -1
- data/spec/api/distributions_ansible_api_spec.rb +0 -35
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +4 -13
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -35
- data/spec/api/remotes_git_api_spec.rb +0 -35
- data/spec/api/remotes_role_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_api_spec.rb +0 -35
- data/spec/api/repositories_ansible_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/collection_version_signature_response_spec.rb +59 -0
- data/spec/models/{unset_label_spec.rb → patched_collection_spec.rb} +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +155 -163
- 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,7 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
#
|
22
|
+
# Custom exception handler mixin class.
|
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
|
+
# Custom exception handler mixin class.
|
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,17 +197,13 @@ module PulpAnsibleClient
|
|
197
197
|
return data, status_code, headers
|
198
198
|
end
|
199
199
|
|
200
|
-
#
|
200
|
+
# Custom exception handler mixin class.
|
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
|
207
206
|
# @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
|
211
207
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
212
208
|
# @option opts [Integer] :limit Number of results to return per page.
|
213
209
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -215,17 +211,12 @@ module PulpAnsibleClient
|
|
215
211
|
# @option opts [String] :name Filter results where name matches value
|
216
212
|
# @option opts [String] :name__contains Filter results where name contains value
|
217
213
|
# @option opts [String] :name__icontains Filter results where name contains value
|
218
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
219
214
|
# @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
|
223
215
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
224
216
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
225
217
|
# @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)
|
226
218
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
227
219
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
228
|
-
# @option opts [String] :q
|
229
220
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
230
221
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
231
222
|
# @return [PaginatedansibleAnsibleNamespaceMetadataResponseList]
|
@@ -234,17 +225,13 @@ module PulpAnsibleClient
|
|
234
225
|
data
|
235
226
|
end
|
236
227
|
|
237
|
-
#
|
228
|
+
# Custom exception handler mixin class.
|
238
229
|
# @param distro_base_path [String]
|
239
230
|
# @param [Hash] opts the optional parameters
|
240
231
|
# @option opts [String] :company Filter results where company matches value
|
241
232
|
# @option opts [String] :company__contains Filter results where company contains value
|
242
233
|
# @option opts [String] :company__icontains Filter results where company contains value
|
243
|
-
# @option opts [String] :company__iexact Filter results where company matches value
|
244
234
|
# @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
|
248
235
|
# @option opts [String] :company__startswith Filter results where company starts with value
|
249
236
|
# @option opts [Integer] :limit Number of results to return per page.
|
250
237
|
# @option opts [String] :metadata_sha256 Filter results where metadata_sha256 matches value
|
@@ -252,17 +239,12 @@ module PulpAnsibleClient
|
|
252
239
|
# @option opts [String] :name Filter results where name matches value
|
253
240
|
# @option opts [String] :name__contains Filter results where name contains value
|
254
241
|
# @option opts [String] :name__icontains Filter results where name contains value
|
255
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
256
242
|
# @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
|
260
243
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
261
244
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
262
245
|
# @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)
|
263
246
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
264
247
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
265
|
-
# @option opts [String] :q
|
266
248
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
267
249
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
268
250
|
# @return [Array<(PaginatedansibleAnsibleNamespaceMetadataResponseList, Integer, Hash)>] PaginatedansibleAnsibleNamespaceMetadataResponseList data, response status code and response headers
|
@@ -286,11 +268,7 @@ module PulpAnsibleClient
|
|
286
268
|
query_params[:'company'] = opts[:'company'] if !opts[:'company'].nil?
|
287
269
|
query_params[:'company__contains'] = opts[:'company__contains'] if !opts[:'company__contains'].nil?
|
288
270
|
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?
|
290
271
|
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?
|
294
272
|
query_params[:'company__startswith'] = opts[:'company__startswith'] if !opts[:'company__startswith'].nil?
|
295
273
|
query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
|
296
274
|
query_params[:'metadata_sha256'] = opts[:'metadata_sha256'] if !opts[:'metadata_sha256'].nil?
|
@@ -298,17 +276,12 @@ module PulpAnsibleClient
|
|
298
276
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
299
277
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
300
278
|
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?
|
302
279
|
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?
|
306
280
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
307
281
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
308
282
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
309
283
|
query_params[:'pulp_href__in'] = @api_client.build_collection_param(opts[:'pulp_href__in'], :csv) if !opts[:'pulp_href__in'].nil?
|
310
284
|
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?
|
312
285
|
query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
|
313
286
|
query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
|
314
287
|
|
@@ -345,7 +318,7 @@ module PulpAnsibleClient
|
|
345
318
|
return data, status_code, headers
|
346
319
|
end
|
347
320
|
|
348
|
-
#
|
321
|
+
# Custom exception handler mixin class.
|
349
322
|
# @param distro_base_path [String]
|
350
323
|
# @param name [String]
|
351
324
|
# @param [Hash] opts the optional parameters
|
@@ -362,7 +335,7 @@ module PulpAnsibleClient
|
|
362
335
|
data
|
363
336
|
end
|
364
337
|
|
365
|
-
#
|
338
|
+
# Custom exception handler mixin class.
|
366
339
|
# @param distro_base_path [String]
|
367
340
|
# @param name [String]
|
368
341
|
# @param [Hash] opts the optional parameters
|
@@ -459,7 +432,7 @@ module PulpAnsibleClient
|
|
459
432
|
return data, status_code, headers
|
460
433
|
end
|
461
434
|
|
462
|
-
#
|
435
|
+
# Custom exception handler mixin class.
|
463
436
|
# @param distro_base_path [String]
|
464
437
|
# @param name [String]
|
465
438
|
# @param [Hash] opts the optional parameters
|
@@ -471,7 +444,7 @@ module PulpAnsibleClient
|
|
471
444
|
data
|
472
445
|
end
|
473
446
|
|
474
|
-
#
|
447
|
+
# Custom exception handler mixin class.
|
475
448
|
# @param distro_base_path [String]
|
476
449
|
# @param name [String]
|
477
450
|
# @param [Hash] opts the optional parameters
|
@@ -19,7 +19,6 @@ module PulpAnsibleClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# List cross repository collection version indexs
|
23
22
|
# A viewset for cross-repo searches.
|
24
23
|
# @param [Hash] opts the optional parameters
|
25
24
|
# @option opts [String] :dependency
|
@@ -53,7 +52,6 @@ module PulpAnsibleClient
|
|
53
52
|
data
|
54
53
|
end
|
55
54
|
|
56
|
-
# List cross repository collection version indexs
|
57
55
|
# A viewset for cross-repo searches.
|
58
56
|
# @param [Hash] opts the optional parameters
|
59
57
|
# @option opts [String] :dependency
|
@@ -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_collection_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_collection_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) * `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)
|
@@ -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 [String] :url Filter results where url matches value
|
244
237
|
# @option opts [String] :url__contains Filter results where url contains value
|
245
238
|
# @option opts [String] :url__icontains Filter results where url contains value
|
@@ -259,11 +252,7 @@ module PulpAnsibleClient
|
|
259
252
|
# @option opts [String] :name Filter results where name matches value
|
260
253
|
# @option opts [String] :name__contains Filter results where name contains value
|
261
254
|
# @option opts [String] :name__icontains Filter results where name contains value
|
262
|
-
# @option opts [String] :name__iexact Filter results where name matches value
|
263
255
|
# @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
|
267
256
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
268
257
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
269
258
|
# @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)
|
@@ -276,7 +265,6 @@ module PulpAnsibleClient
|
|
276
265
|
# @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
|
277
266
|
# @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
|
278
267
|
# @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
|
280
268
|
# @option opts [String] :url Filter results where url matches value
|
281
269
|
# @option opts [String] :url__contains Filter results where url contains value
|
282
270
|
# @option opts [String] :url__icontains Filter results where url contains value
|
@@ -301,11 +289,7 @@ module PulpAnsibleClient
|
|
301
289
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
302
290
|
query_params[:'name__contains'] = opts[:'name__contains'] if !opts[:'name__contains'].nil?
|
303
291
|
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?
|
305
292
|
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?
|
309
293
|
query_params[:'name__startswith'] = opts[:'name__startswith'] if !opts[:'name__startswith'].nil?
|
310
294
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
311
295
|
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
@@ -318,7 +302,6 @@ module PulpAnsibleClient
|
|
318
302
|
query_params[:'pulp_last_updated__lt'] = opts[:'pulp_last_updated__lt'] if !opts[:'pulp_last_updated__lt'].nil?
|
319
303
|
query_params[:'pulp_last_updated__lte'] = opts[:'pulp_last_updated__lte'] if !opts[:'pulp_last_updated__lte'].nil?
|
320
304
|
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?
|
322
305
|
query_params[:'url'] = opts[:'url'] if !opts[:'url'].nil?
|
323
306
|
query_params[:'url__contains'] = opts[:'url__contains'] if !opts[:'url__contains'].nil?
|
324
307
|
query_params[:'url__icontains'] = opts[:'url__icontains'] if !opts[:'url__icontains'].nil?
|
@@ -359,7 +342,6 @@ module PulpAnsibleClient
|
|
359
342
|
return data, status_code, headers
|
360
343
|
end
|
361
344
|
|
362
|
-
# List roles
|
363
345
|
# List roles assigned to this object.
|
364
346
|
# @param ansible_collection_remote_href [String]
|
365
347
|
# @param [Hash] opts the optional parameters
|
@@ -371,7 +353,6 @@ module PulpAnsibleClient
|
|
371
353
|
data
|
372
354
|
end
|
373
355
|
|
374
|
-
# List roles
|
375
356
|
# List roles assigned to this object.
|
376
357
|
# @param ansible_collection_remote_href [String]
|
377
358
|
# @param [Hash] opts the optional parameters
|
@@ -427,7 +408,6 @@ module PulpAnsibleClient
|
|
427
408
|
return data, status_code, headers
|
428
409
|
end
|
429
410
|
|
430
|
-
# List user permissions
|
431
411
|
# List permissions available to the current user on this object.
|
432
412
|
# @param ansible_collection_remote_href [String]
|
433
413
|
# @param [Hash] opts the optional parameters
|
@@ -439,7 +419,6 @@ module PulpAnsibleClient
|
|
439
419
|
data
|
440
420
|
end
|
441
421
|
|
442
|
-
# List user permissions
|
443
422
|
# List permissions available to the current user on this object.
|
444
423
|
# @param ansible_collection_remote_href [String]
|
445
424
|
# @param [Hash] opts the optional parameters
|
@@ -633,7 +612,6 @@ module PulpAnsibleClient
|
|
633
612
|
return data, status_code, headers
|
634
613
|
end
|
635
614
|
|
636
|
-
# Remove a role
|
637
615
|
# Remove a role for this object from users/groups.
|
638
616
|
# @param ansible_collection_remote_href [String]
|
639
617
|
# @param nested_role [NestedRole]
|
@@ -644,7 +622,6 @@ module PulpAnsibleClient
|
|
644
622
|
data
|
645
623
|
end
|
646
624
|
|
647
|
-
# Remove a role
|
648
625
|
# Remove a role for this object from users/groups.
|
649
626
|
# @param ansible_collection_remote_href [String]
|
650
627
|
# @param nested_role [NestedRole]
|
@@ -703,146 +680,6 @@ module PulpAnsibleClient
|
|
703
680
|
return data, status_code, headers
|
704
681
|
end
|
705
682
|
|
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
|
-
|
846
683
|
# Update a collection remote
|
847
684
|
# Trigger an asynchronous update task
|
848
685
|
# @param ansible_collection_remote_href [String]
|