pulp_ansible_client 0.18.1 → 0.20.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 +6 -7
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionNamespaceResponse.md +1 -1
- data/docs/CollectionResponse.md +5 -3
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSignatureResponse.md +23 -0
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedCollection.md +17 -0
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +9 -9
- 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_plugin_ansible_content_collections_index_api.rb +9 -9
- 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_default_api_v3_collections_api.rb +9 -9
- 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_plugin_ansible_content_collections_index_api.rb +9 -9
- 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/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +242 -242
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- 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_list_response.rb +24 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +33 -2
- data/lib/pulp_ansible_client/models/{task.rb → collection_version_signature_response.rb} +49 -56
- data/lib/pulp_ansible_client/models/{progress_report_response.rb → patched_collection.rb} +11 -63
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +229 -229
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +33 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +2 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_response_spec.rb +6 -0
- data/spec/models/{progress_report_response_spec.rb → collection_version_signature_response_spec.rb} +10 -22
- data/spec/models/{task_spec.rb → patched_collection_spec.rb} +7 -13
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +10 -14
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/Task.md +0 -19
- data/docs/TaskResponse.md +0 -47
- data/lib/pulp_ansible_client/models/task_response.rb +0 -376
- data/spec/models/task_response_spec.rb +0 -131
@@ -207,7 +207,7 @@ Name | Type | Description | Notes
|
|
207
207
|
|
208
208
|
## update
|
209
209
|
|
210
|
-
> AsyncOperationResponse update(name, namespace, path,
|
210
|
+
> AsyncOperationResponse update(name, namespace, path, patched_collection)
|
211
211
|
|
212
212
|
|
213
213
|
|
@@ -229,10 +229,10 @@ api_instance = PulpAnsibleClient::PulpAnsibleApiV3CollectionsApi.new
|
|
229
229
|
name = 'name_example' # String |
|
230
230
|
namespace = 'namespace_example' # String |
|
231
231
|
path = 'path_example' # String |
|
232
|
-
|
232
|
+
patched_collection = PulpAnsibleClient::PatchedCollection.new # PatchedCollection |
|
233
233
|
|
234
234
|
begin
|
235
|
-
result = api_instance.update(name, namespace, path,
|
235
|
+
result = api_instance.update(name, namespace, path, patched_collection)
|
236
236
|
p result
|
237
237
|
rescue PulpAnsibleClient::ApiError => e
|
238
238
|
puts "Exception when calling PulpAnsibleApiV3CollectionsApi->update: #{e}"
|
@@ -247,7 +247,7 @@ Name | Type | Description | Notes
|
|
247
247
|
**name** | **String**| |
|
248
248
|
**namespace** | **String**| |
|
249
249
|
**path** | **String**| |
|
250
|
-
**
|
250
|
+
**patched_collection** | [**PatchedCollection**](PatchedCollection.md)| |
|
251
251
|
|
252
252
|
### Return type
|
253
253
|
|
@@ -98,7 +98,7 @@ opts = {
|
|
98
98
|
name2: 'name_example', # String |
|
99
99
|
namespace2: 'namespace_example', # String |
|
100
100
|
offset: 56, # Integer | The initial index from which to return the results.
|
101
|
-
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
101
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
102
102
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
103
103
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
104
104
|
q: 'q_example', # String |
|
@@ -132,7 +132,7 @@ Name | Type | Description | Notes
|
|
132
132
|
**name2** | **String**| | [optional]
|
133
133
|
**namespace2** | **String**| | [optional]
|
134
134
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
135
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
135
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
136
136
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
137
137
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
138
138
|
**q** | **String**| | [optional]
|
@@ -213,7 +213,7 @@ Name | Type | Description | Notes
|
|
213
213
|
|
214
214
|
## update
|
215
215
|
|
216
|
-
> AsyncOperationResponse update(distro_base_path, name, namespace, path,
|
216
|
+
> AsyncOperationResponse update(distro_base_path, name, namespace, path, patched_collection)
|
217
217
|
|
218
218
|
|
219
219
|
|
@@ -236,10 +236,10 @@ distro_base_path = 'distro_base_path_example' # String |
|
|
236
236
|
name = 'name_example' # String |
|
237
237
|
namespace = 'namespace_example' # String |
|
238
238
|
path = 'path_example' # String |
|
239
|
-
|
239
|
+
patched_collection = PulpAnsibleClient::PatchedCollection.new # PatchedCollection |
|
240
240
|
|
241
241
|
begin
|
242
|
-
result = api_instance.update(distro_base_path, name, namespace, path,
|
242
|
+
result = api_instance.update(distro_base_path, name, namespace, path, patched_collection)
|
243
243
|
p result
|
244
244
|
rescue PulpAnsibleClient::ApiError => e
|
245
245
|
puts "Exception when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi->update: #{e}"
|
@@ -255,7 +255,7 @@ Name | Type | Description | Notes
|
|
255
255
|
**name** | **String**| |
|
256
256
|
**namespace** | **String**| |
|
257
257
|
**path** | **String**| |
|
258
|
-
**
|
258
|
+
**patched_collection** | [**PatchedCollection**](PatchedCollection.md)| |
|
259
259
|
|
260
260
|
### Return type
|
261
261
|
|
@@ -101,7 +101,7 @@ opts = {
|
|
101
101
|
name2: 'name_example', # String |
|
102
102
|
namespace2: 'namespace_example', # String |
|
103
103
|
offset: 56, # Integer | The initial index from which to return the results.
|
104
|
-
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
104
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
105
105
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
106
106
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
107
107
|
q: 'q_example', # String |
|
@@ -136,7 +136,7 @@ Name | Type | Description | Notes
|
|
136
136
|
**name2** | **String**| | [optional]
|
137
137
|
**namespace2** | **String**| | [optional]
|
138
138
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
139
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
139
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
140
140
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
141
141
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
142
142
|
**q** | **String**| | [optional]
|
@@ -201,7 +201,7 @@ Name | Type | Description | Notes
|
|
201
201
|
|
202
202
|
## update
|
203
203
|
|
204
|
-
> AsyncOperationResponse update(name, namespace,
|
204
|
+
> AsyncOperationResponse update(name, namespace, patched_collection)
|
205
205
|
|
206
206
|
|
207
207
|
|
@@ -222,10 +222,10 @@ end
|
|
222
222
|
api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3CollectionsApi.new
|
223
223
|
name = 'name_example' # String |
|
224
224
|
namespace = 'namespace_example' # String |
|
225
|
-
|
225
|
+
patched_collection = PulpAnsibleClient::PatchedCollection.new # PatchedCollection |
|
226
226
|
|
227
227
|
begin
|
228
|
-
result = api_instance.update(name, namespace,
|
228
|
+
result = api_instance.update(name, namespace, patched_collection)
|
229
229
|
p result
|
230
230
|
rescue PulpAnsibleClient::ApiError => e
|
231
231
|
puts "Exception when calling PulpAnsibleDefaultApiV3CollectionsApi->update: #{e}"
|
@@ -239,7 +239,7 @@ Name | Type | Description | Notes
|
|
239
239
|
------------- | ------------- | ------------- | -------------
|
240
240
|
**name** | **String**| |
|
241
241
|
**namespace** | **String**| |
|
242
|
-
**
|
242
|
+
**patched_collection** | [**PatchedCollection**](PatchedCollection.md)| |
|
243
243
|
|
244
244
|
### Return type
|
245
245
|
|
@@ -95,7 +95,7 @@ opts = {
|
|
95
95
|
name2: 'name_example', # String |
|
96
96
|
namespace2: 'namespace_example', # String |
|
97
97
|
offset: 56, # Integer | The initial index from which to return the results.
|
98
|
-
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
98
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
99
99
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
100
100
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
101
101
|
q: 'q_example', # String |
|
@@ -128,7 +128,7 @@ Name | Type | Description | Notes
|
|
128
128
|
**name2** | **String**| | [optional]
|
129
129
|
**namespace2** | **String**| | [optional]
|
130
130
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
131
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
131
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
132
132
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
133
133
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
134
134
|
**q** | **String**| | [optional]
|
@@ -207,7 +207,7 @@ Name | Type | Description | Notes
|
|
207
207
|
|
208
208
|
## update
|
209
209
|
|
210
|
-
> AsyncOperationResponse update(distro_base_path, name, namespace,
|
210
|
+
> AsyncOperationResponse update(distro_base_path, name, namespace, patched_collection)
|
211
211
|
|
212
212
|
|
213
213
|
|
@@ -229,10 +229,10 @@ api_instance = PulpAnsibleClient::PulpAnsibleDefaultApiV3PluginAnsibleContentCol
|
|
229
229
|
distro_base_path = 'distro_base_path_example' # String |
|
230
230
|
name = 'name_example' # String |
|
231
231
|
namespace = 'namespace_example' # String |
|
232
|
-
|
232
|
+
patched_collection = PulpAnsibleClient::PatchedCollection.new # PatchedCollection |
|
233
233
|
|
234
234
|
begin
|
235
|
-
result = api_instance.update(distro_base_path, name, namespace,
|
235
|
+
result = api_instance.update(distro_base_path, name, namespace, patched_collection)
|
236
236
|
p result
|
237
237
|
rescue PulpAnsibleClient::ApiError => e
|
238
238
|
puts "Exception when calling PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi->update: #{e}"
|
@@ -247,7 +247,7 @@ Name | Type | Description | Notes
|
|
247
247
|
**distro_base_path** | **String**| |
|
248
248
|
**name** | **String**| |
|
249
249
|
**namespace** | **String**| |
|
250
|
-
**
|
250
|
+
**patched_collection** | [**PatchedCollection**](PatchedCollection.md)| |
|
251
251
|
|
252
252
|
### Return type
|
253
253
|
|
@@ -98,7 +98,7 @@ opts = {
|
|
98
98
|
name2: 'name_example', # String |
|
99
99
|
namespace2: 'namespace_example', # String |
|
100
100
|
offset: 56, # Integer | The initial index from which to return the results.
|
101
|
-
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
101
|
+
ordering: ['ordering_example'], # Array<String> | 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
102
102
|
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
103
103
|
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
104
104
|
q: 'q_example', # String |
|
@@ -132,7 +132,7 @@ Name | Type | Description | Notes
|
|
132
132
|
**name2** | **String**| | [optional]
|
133
133
|
**namespace2** | **String**| | [optional]
|
134
134
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
135
|
-
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
135
|
+
**ordering** | [**Array<String>**](String.md)| 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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
136
136
|
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
137
137
|
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
138
138
|
**q** | **String**| | [optional]
|
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**version** | **String** | |
|
7
|
+
**version** | **String** | |
|
8
8
|
**href** | **String** | Get href. | [optional] [readonly]
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
|
|
15
15
|
**download_url** | **String** | Get artifact download URL. | [optional] [readonly]
|
16
16
|
**name** | **String** | | [optional] [readonly]
|
17
17
|
**namespace** | [**CollectionNamespaceResponse**](CollectionNamespaceResponse.md) | | [optional] [readonly]
|
18
|
-
**signatures** | **
|
18
|
+
**signatures** | [**Array<CollectionVersionSignatureResponse>**](CollectionVersionSignatureResponse.md) | |
|
19
19
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | | [optional] [readonly]
|
20
20
|
**git_url** | **String** | Get the git URL. | [optional] [readonly]
|
21
21
|
**git_commit_sha** | **String** | Get the git commit sha. | [optional] [readonly]
|
@@ -22,10 +22,10 @@ module PulpAnsibleClient
|
|
22
22
|
# Create a collection version
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
26
25
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
27
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
27
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
28
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
29
29
|
# @option opts [String] :expected_name The name of the collection.
|
30
30
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
31
31
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -38,10 +38,10 @@ module PulpAnsibleClient
|
|
38
38
|
# Create a collection version
|
39
39
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
42
41
|
# @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
|
43
|
-
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
42
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
43
|
+
# @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
|
44
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
45
45
|
# @option opts [String] :expected_name The name of the collection.
|
46
46
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
47
47
|
# @option opts [String] :expected_version The version of the collection.
|
@@ -89,10 +89,10 @@ module PulpAnsibleClient
|
|
89
89
|
|
90
90
|
# form parameters
|
91
91
|
form_params = opts[:form_params] || {}
|
92
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
93
92
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
94
|
-
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
95
93
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
94
|
+
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
95
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
96
96
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
97
97
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
98
98
|
form_params['expected_version'] = opts[:'expected_version'] if !opts[:'expected_version'].nil?
|
@@ -130,7 +130,7 @@ module PulpAnsibleClient
|
|
130
130
|
# @option opts [String] :name
|
131
131
|
# @option opts [String] :namespace
|
132
132
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
133
|
-
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
133
|
+
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
134
134
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
135
135
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
136
136
|
# @option opts [String] :q
|
@@ -155,7 +155,7 @@ module PulpAnsibleClient
|
|
155
155
|
# @option opts [String] :name
|
156
156
|
# @option opts [String] :namespace
|
157
157
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
158
|
-
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
158
|
+
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
159
159
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
160
160
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
161
161
|
# @option opts [String] :q
|
@@ -171,7 +171,7 @@ module PulpAnsibleClient
|
|
171
171
|
if @api_client.config.debugging
|
172
172
|
@api_client.config.logger.debug 'Calling API: ContentCollectionVersionsApi.list ...'
|
173
173
|
end
|
174
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
174
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
175
175
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
176
176
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
177
177
|
end
|
@@ -270,11 +270,11 @@ module PulpAnsibleClient
|
|
270
270
|
# @param name [String]
|
271
271
|
# @param namespace [String]
|
272
272
|
# @param path [String]
|
273
|
-
# @param
|
273
|
+
# @param patched_collection [PatchedCollection]
|
274
274
|
# @param [Hash] opts the optional parameters
|
275
275
|
# @return [AsyncOperationResponse]
|
276
|
-
def update(name, namespace, path,
|
277
|
-
data, _status_code, _headers = update_with_http_info(name, namespace, path,
|
276
|
+
def update(name, namespace, path, patched_collection, opts = {})
|
277
|
+
data, _status_code, _headers = update_with_http_info(name, namespace, path, patched_collection, opts)
|
278
278
|
data
|
279
279
|
end
|
280
280
|
|
@@ -282,10 +282,10 @@ module PulpAnsibleClient
|
|
282
282
|
# @param name [String]
|
283
283
|
# @param namespace [String]
|
284
284
|
# @param path [String]
|
285
|
-
# @param
|
285
|
+
# @param patched_collection [PatchedCollection]
|
286
286
|
# @param [Hash] opts the optional parameters
|
287
287
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
288
|
-
def update_with_http_info(name, namespace, path,
|
288
|
+
def update_with_http_info(name, namespace, path, patched_collection, opts = {})
|
289
289
|
if @api_client.config.debugging
|
290
290
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3CollectionsApi.update ...'
|
291
291
|
end
|
@@ -301,9 +301,9 @@ module PulpAnsibleClient
|
|
301
301
|
if @api_client.config.client_side_validation && path.nil?
|
302
302
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsApi.update"
|
303
303
|
end
|
304
|
-
# verify the required parameter '
|
305
|
-
if @api_client.config.client_side_validation &&
|
306
|
-
fail ArgumentError, "Missing the required parameter '
|
304
|
+
# verify the required parameter 'patched_collection' is set
|
305
|
+
if @api_client.config.client_side_validation && patched_collection.nil?
|
306
|
+
fail ArgumentError, "Missing the required parameter 'patched_collection' when calling PulpAnsibleApiV3CollectionsApi.update"
|
307
307
|
end
|
308
308
|
# resource path
|
309
309
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/collections/{namespace}/{name}/'.sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
@@ -322,7 +322,7 @@ module PulpAnsibleClient
|
|
322
322
|
form_params = opts[:form_params] || {}
|
323
323
|
|
324
324
|
# http body (model)
|
325
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
325
|
+
post_body = opts[:body] || @api_client.object_to_http_body(patched_collection)
|
326
326
|
|
327
327
|
# return_type
|
328
328
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|
@@ -107,7 +107,7 @@ module PulpAnsibleClient
|
|
107
107
|
# @option opts [String] :name2
|
108
108
|
# @option opts [String] :namespace2
|
109
109
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
110
|
-
# @option opts [Array<String>] :ordering Ordering * `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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
110
|
+
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
111
111
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
112
112
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
113
113
|
# @option opts [String] :q
|
@@ -134,7 +134,7 @@ module PulpAnsibleClient
|
|
134
134
|
# @option opts [String] :name2
|
135
135
|
# @option opts [String] :namespace2
|
136
136
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
137
|
-
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `version` - Version * `-version` - Version (descending) * `
|
137
|
+
# @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) * `authors` - Authors * `-authors` - Authors (descending) * `contents` - Contents * `-contents` - Contents (descending) * `dependencies` - Dependencies * `-dependencies` - Dependencies (descending) * `description` - Description * `-description` - Description (descending) * `docs_blob` - Docs blob * `-docs_blob` - Docs blob (descending) * `manifest` - Manifest * `-manifest` - Manifest (descending) * `files` - Files * `-files` - Files (descending) * `documentation` - Documentation * `-documentation` - Documentation (descending) * `homepage` - Homepage * `-homepage` - Homepage (descending) * `issues` - Issues * `-issues` - Issues (descending) * `license` - License * `-license` - License (descending) * `name` - Name * `-name` - Name (descending) * `namespace` - Namespace * `-namespace` - Namespace (descending) * `repository` - Repository * `-repository` - Repository (descending) * `requires_ansible` - Requires ansible * `-requires_ansible` - Requires ansible (descending) * `version` - Version * `-version` - Version (descending) * `version_major` - Version major * `-version_major` - Version major (descending) * `version_minor` - Version minor * `-version_minor` - Version minor (descending) * `version_patch` - Version patch * `-version_patch` - Version patch (descending) * `version_prerelease` - Version prerelease * `-version_prerelease` - Version prerelease (descending) * `is_highest` - Is highest * `-is_highest` - Is highest (descending) * `search_vector` - Search vector * `-search_vector` - Search vector (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
138
138
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
139
139
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
140
140
|
# @option opts [String] :q
|
@@ -162,7 +162,7 @@ module PulpAnsibleClient
|
|
162
162
|
if @api_client.config.client_side_validation && path.nil?
|
163
163
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3CollectionsVersionsApi.list"
|
164
164
|
end
|
165
|
-
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version"]
|
165
|
+
allowable_values = ["-authors", "-contents", "-dependencies", "-description", "-docs_blob", "-documentation", "-files", "-homepage", "-is_highest", "-issues", "-license", "-manifest", "-name", "-namespace", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-repository", "-requires_ansible", "-search_vector", "-timestamp_of_interest", "-upstream_id", "-version", "-version_major", "-version_minor", "-version_patch", "-version_prerelease", "authors", "contents", "dependencies", "description", "docs_blob", "documentation", "files", "homepage", "is_highest", "issues", "license", "manifest", "name", "namespace", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "repository", "requires_ansible", "search_vector", "timestamp_of_interest", "upstream_id", "version", "version_major", "version_minor", "version_patch", "version_prerelease"]
|
166
166
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
167
167
|
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
168
168
|
end
|
data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb
CHANGED
@@ -289,11 +289,11 @@ module PulpAnsibleClient
|
|
289
289
|
# @param name [String]
|
290
290
|
# @param namespace [String]
|
291
291
|
# @param path [String]
|
292
|
-
# @param
|
292
|
+
# @param patched_collection [PatchedCollection]
|
293
293
|
# @param [Hash] opts the optional parameters
|
294
294
|
# @return [AsyncOperationResponse]
|
295
|
-
def update(distro_base_path, name, namespace, path,
|
296
|
-
data, _status_code, _headers = update_with_http_info(distro_base_path, name, namespace, path,
|
295
|
+
def update(distro_base_path, name, namespace, path, patched_collection, opts = {})
|
296
|
+
data, _status_code, _headers = update_with_http_info(distro_base_path, name, namespace, path, patched_collection, opts)
|
297
297
|
data
|
298
298
|
end
|
299
299
|
|
@@ -302,10 +302,10 @@ module PulpAnsibleClient
|
|
302
302
|
# @param name [String]
|
303
303
|
# @param namespace [String]
|
304
304
|
# @param path [String]
|
305
|
-
# @param
|
305
|
+
# @param patched_collection [PatchedCollection]
|
306
306
|
# @param [Hash] opts the optional parameters
|
307
307
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
308
|
-
def update_with_http_info(distro_base_path, name, namespace, path,
|
308
|
+
def update_with_http_info(distro_base_path, name, namespace, path, patched_collection, opts = {})
|
309
309
|
if @api_client.config.debugging
|
310
310
|
@api_client.config.logger.debug 'Calling API: PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.update ...'
|
311
311
|
end
|
@@ -325,9 +325,9 @@ module PulpAnsibleClient
|
|
325
325
|
if @api_client.config.client_side_validation && path.nil?
|
326
326
|
fail ArgumentError, "Missing the required parameter 'path' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.update"
|
327
327
|
end
|
328
|
-
# verify the required parameter '
|
329
|
-
if @api_client.config.client_side_validation &&
|
330
|
-
fail ArgumentError, "Missing the required parameter '
|
328
|
+
# verify the required parameter 'patched_collection' is set
|
329
|
+
if @api_client.config.client_side_validation && patched_collection.nil?
|
330
|
+
fail ArgumentError, "Missing the required parameter 'patched_collection' when calling PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.update"
|
331
331
|
end
|
332
332
|
# resource path
|
333
333
|
local_var_path = '/pulp_ansible/galaxy/{path}/api/v3/plugin/ansible/content/{distro_base_path}/collections/index/{namespace}/{name}/'.sub('{' + 'distro_base_path' + '}', CGI.escape(distro_base_path.to_s).gsub('%2F', '/')).sub('{' + 'name' + '}', CGI.escape(name.to_s).gsub('%2F', '/')).sub('{' + 'namespace' + '}', CGI.escape(namespace.to_s).gsub('%2F', '/')).sub('{' + 'path' + '}', CGI.escape(path.to_s).gsub('%2F', '/'))
|
@@ -346,7 +346,7 @@ module PulpAnsibleClient
|
|
346
346
|
form_params = opts[:form_params] || {}
|
347
347
|
|
348
348
|
# http body (model)
|
349
|
-
post_body = opts[:body] || @api_client.object_to_http_body(
|
349
|
+
post_body = opts[:body] || @api_client.object_to_http_body(patched_collection)
|
350
350
|
|
351
351
|
# return_type
|
352
352
|
return_type = opts[:return_type] || 'AsyncOperationResponse'
|