pulp_ansible_client 0.2.0b6 → 0.2.0b7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/RepositoriesAnsibleApi.md +55 -0
  4. data/docs/RepositoriesAnsibleVersionsApi.md +4 -4
  5. data/docs/RepositoryAddRemoveContent.md +21 -0
  6. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +1 -1
  7. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +1 -1
  8. data/lib/pulp_ansible_client/api/content_roles_api.rb +1 -1
  9. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +1 -1
  10. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +1 -1
  11. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +1 -1
  12. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +1 -1
  13. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +1 -1
  14. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +1 -1
  15. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +1 -1
  16. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +1 -1
  17. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +1 -1
  18. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +1 -1
  19. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +69 -1
  20. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -10
  21. data/lib/pulp_ansible_client/api_client.rb +1 -1
  22. data/lib/pulp_ansible_client/api_error.rb +1 -1
  23. data/lib/pulp_ansible_client/configuration.rb +2 -2
  24. data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +1 -1
  25. data/lib/pulp_ansible_client/models/ansible_ansible_remote.rb +1 -1
  26. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
  27. data/lib/pulp_ansible_client/models/ansible_collection.rb +1 -1
  28. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
  29. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +1 -1
  30. data/lib/pulp_ansible_client/models/ansible_role.rb +1 -1
  31. data/lib/pulp_ansible_client/models/ansible_tag.rb +1 -1
  32. data/lib/pulp_ansible_client/models/async_operation_response.rb +1 -1
  33. data/lib/pulp_ansible_client/models/collection.rb +1 -1
  34. data/lib/pulp_ansible_client/models/collection_import_detail.rb +1 -1
  35. data/lib/pulp_ansible_client/models/collection_metadata.rb +1 -1
  36. data/lib/pulp_ansible_client/models/collection_namespace.rb +1 -1
  37. data/lib/pulp_ansible_client/models/collection_ref.rb +1 -1
  38. data/lib/pulp_ansible_client/models/collection_version.rb +1 -1
  39. data/lib/pulp_ansible_client/models/content_summary.rb +1 -1
  40. data/lib/pulp_ansible_client/models/galaxy_collection.rb +1 -1
  41. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +1 -1
  42. data/lib/pulp_ansible_client/models/galaxy_role.rb +1 -1
  43. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +1 -1
  44. data/lib/pulp_ansible_client/models/inline_response200.rb +1 -1
  45. data/lib/pulp_ansible_client/models/inline_response2001.rb +1 -1
  46. data/lib/pulp_ansible_client/models/inline_response20010.rb +1 -1
  47. data/lib/pulp_ansible_client/models/inline_response20011.rb +1 -1
  48. data/lib/pulp_ansible_client/models/inline_response20012.rb +1 -1
  49. data/lib/pulp_ansible_client/models/inline_response20013.rb +1 -1
  50. data/lib/pulp_ansible_client/models/inline_response2002.rb +1 -1
  51. data/lib/pulp_ansible_client/models/inline_response2003.rb +1 -1
  52. data/lib/pulp_ansible_client/models/inline_response2004.rb +1 -1
  53. data/lib/pulp_ansible_client/models/inline_response2005.rb +1 -1
  54. data/lib/pulp_ansible_client/models/inline_response2006.rb +1 -1
  55. data/lib/pulp_ansible_client/models/inline_response2007.rb +1 -1
  56. data/lib/pulp_ansible_client/models/inline_response2008.rb +1 -1
  57. data/lib/pulp_ansible_client/models/inline_response2009.rb +1 -1
  58. data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +231 -0
  59. data/lib/pulp_ansible_client/models/repository_sync_url.rb +1 -1
  60. data/lib/pulp_ansible_client/models/repository_version.rb +1 -1
  61. data/lib/pulp_ansible_client/models/tag.rb +1 -1
  62. data/lib/pulp_ansible_client/version.rb +2 -2
  63. data/lib/pulp_ansible_client.rb +2 -1
  64. data/pulp_ansible_client.gemspec +2 -2
  65. data/spec/api/ansible_collections_api_spec.rb +1 -1
  66. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  67. data/spec/api/content_roles_api_spec.rb +1 -1
  68. data/spec/api/distributions_ansible_api_spec.rb +1 -1
  69. data/spec/api/pulp_ansible_api_api_spec.rb +1 -1
  70. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +1 -1
  71. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +1 -1
  72. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +1 -1
  73. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +1 -1
  74. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +1 -1
  75. data/spec/api/pulp_ansible_tags_api_spec.rb +1 -1
  76. data/spec/api/remotes_ansible_api_spec.rb +1 -1
  77. data/spec/api/remotes_collection_api_spec.rb +1 -1
  78. data/spec/api/repositories_ansible_api_spec.rb +13 -1
  79. data/spec/api/repositories_ansible_versions_api_spec.rb +2 -2
  80. data/spec/api_client_spec.rb +1 -1
  81. data/spec/configuration_spec.rb +1 -1
  82. data/spec/models/ansible_ansible_distribution_spec.rb +1 -1
  83. data/spec/models/ansible_ansible_remote_spec.rb +1 -1
  84. data/spec/models/ansible_ansible_repository_spec.rb +1 -1
  85. data/spec/models/ansible_collection_remote_spec.rb +1 -1
  86. data/spec/models/ansible_collection_spec.rb +1 -1
  87. data/spec/models/ansible_collection_version_spec.rb +1 -1
  88. data/spec/models/ansible_role_spec.rb +1 -1
  89. data/spec/models/ansible_tag_spec.rb +1 -1
  90. data/spec/models/async_operation_response_spec.rb +1 -1
  91. data/spec/models/collection_import_detail_spec.rb +1 -1
  92. data/spec/models/collection_metadata_spec.rb +1 -1
  93. data/spec/models/collection_namespace_spec.rb +1 -1
  94. data/spec/models/collection_ref_spec.rb +1 -1
  95. data/spec/models/collection_spec.rb +1 -1
  96. data/spec/models/collection_version_spec.rb +1 -1
  97. data/spec/models/content_summary_spec.rb +1 -1
  98. data/spec/models/galaxy_collection_spec.rb +1 -1
  99. data/spec/models/galaxy_collection_version_spec.rb +1 -1
  100. data/spec/models/galaxy_role_spec.rb +1 -1
  101. data/spec/models/galaxy_role_version_spec.rb +1 -1
  102. data/spec/models/inline_response20010_spec.rb +1 -1
  103. data/spec/models/inline_response20011_spec.rb +1 -1
  104. data/spec/models/inline_response20012_spec.rb +1 -1
  105. data/spec/models/inline_response20013_spec.rb +1 -1
  106. data/spec/models/inline_response2001_spec.rb +1 -1
  107. data/spec/models/inline_response2002_spec.rb +1 -1
  108. data/spec/models/inline_response2003_spec.rb +1 -1
  109. data/spec/models/inline_response2004_spec.rb +1 -1
  110. data/spec/models/inline_response2005_spec.rb +1 -1
  111. data/spec/models/inline_response2006_spec.rb +1 -1
  112. data/spec/models/inline_response2007_spec.rb +1 -1
  113. data/spec/models/inline_response2008_spec.rb +1 -1
  114. data/spec/models/inline_response2009_spec.rb +1 -1
  115. data/spec/models/inline_response200_spec.rb +1 -1
  116. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  117. data/spec/models/repository_sync_url_spec.rb +1 -1
  118. data/spec/models/repository_version_spec.rb +1 -1
  119. data/spec/models/tag_spec.rb +1 -1
  120. data/spec/spec_helper.rb +1 -1
  121. metadata +7 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e791e26b998581865daf981f93ab91904bbd99d295921669d4033c4fd9b1f25b
4
- data.tar.gz: 0eee9ea9531ce74d4bd3dd9a6b95efafad10583a81249503e884fdf878165a1c
3
+ metadata.gz: c0f2f83f04e2b06daf01b7ceaf19b83154babece375f7f7695702cbaeb6f5fee
4
+ data.tar.gz: b0ac0af2c11cbed3c827aea6d33ab89ff2e403e0c81e61e5aaa4a6c8d6841d22
5
5
  SHA512:
6
- metadata.gz: cb6d2982d1682fc391ccc47d6e56a7da565b48a219864595eb4328ce04a916f5852d20dd9b013acf8747bdd9cfab746370347d993da1c23863ffc2f76988ed8e
7
- data.tar.gz: b7acd80f1463f97a99ea87a63ddcc6cd4e4356e91c03c3c834d68e71a2f3d6eab84f324a505e99b65c9820c560147293fb02661a53b3d7b810326ad4d13f047f
6
+ metadata.gz: ee467985fc49dc0e03712bd89985a9387f4b9a6e143846519648c6a5a4e91f900bbc38dbc234b0439e2fc91e65223a087511a75900ee206dd8a521d6b5eade72
7
+ data.tar.gz: 38e625ac1c47a6986e788eef803eb15f0c1415503b6ea1263adbd125338a18711c98a47d72cb45098d1ebc6755a772a564d4d9ec8d7ced53efd730b4ca51a9fb
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 0.2.0b6
10
+ - Package version: 0.2.0b7
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -23,16 +23,16 @@ gem build pulp_ansible_client.gemspec
23
23
  Then either install the gem locally:
24
24
 
25
25
  ```shell
26
- gem install ./pulp_ansible_client-0.2.0b6.gem
26
+ gem install ./pulp_ansible_client-0.2.0b7.gem
27
27
  ```
28
28
 
29
- (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b6.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./pulp_ansible_client-0.2.0b7.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'pulp_ansible_client', '~> 0.2.0b6'
35
+ gem 'pulp_ansible_client', '~> 0.2.0b7'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -129,6 +129,7 @@ Class | Method | HTTP request | Description
129
129
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**create**](docs/RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
130
130
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**delete**](docs/RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_repository_href} | Delete an ansible repository
131
131
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**list**](docs/RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
132
+ *PulpAnsibleClient::RepositoriesAnsibleApi* | [**modify**](docs/RepositoriesAnsibleApi.md#modify) | **POST** {ansible_repository_href}modify/ |
132
133
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**partial_update**](docs/RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_repository_href} | Partially update an ansible repository
133
134
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**read**](docs/RepositoriesAnsibleApi.md#read) | **GET** {ansible_repository_href} | Inspect an ansible repository
134
135
  *PulpAnsibleClient::RepositoriesAnsibleApi* | [**sync**](docs/RepositoriesAnsibleApi.md#sync) | **POST** {ansible_repository_href}sync/ |
@@ -174,6 +175,7 @@ Class | Method | HTTP request | Description
174
175
  - [PulpAnsibleClient::InlineResponse2007](docs/InlineResponse2007.md)
175
176
  - [PulpAnsibleClient::InlineResponse2008](docs/InlineResponse2008.md)
176
177
  - [PulpAnsibleClient::InlineResponse2009](docs/InlineResponse2009.md)
178
+ - [PulpAnsibleClient::RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
177
179
  - [PulpAnsibleClient::RepositorySyncURL](docs/RepositorySyncURL.md)
178
180
  - [PulpAnsibleClient::RepositoryVersion](docs/RepositoryVersion.md)
179
181
  - [PulpAnsibleClient::Tag](docs/Tag.md)
@@ -7,6 +7,7 @@ Method | HTTP request | Description
7
7
  [**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
8
8
  [**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_repository_href} | Delete an ansible repository
9
9
  [**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
10
+ [**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_repository_href}modify/ |
10
11
  [**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_repository_href} | Partially update an ansible repository
11
12
  [**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_repository_href} | Inspect an ansible repository
12
13
  [**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_repository_href}sync/ |
@@ -185,6 +186,60 @@ Name | Type | Description | Notes
185
186
  - **Accept**: application/json
186
187
 
187
188
 
189
+ ## modify
190
+
191
+ > AsyncOperationResponse modify(ansible_repository_href, data)
192
+
193
+
194
+
195
+ Trigger an asynchronous task to create a new repository version.
196
+
197
+ ### Example
198
+
199
+ ```ruby
200
+ # load the gem
201
+ require 'pulp_ansible_client'
202
+ # setup authorization
203
+ PulpAnsibleClient.configure do |config|
204
+ # Configure HTTP basic authorization: Basic
205
+ config.username = 'YOUR USERNAME'
206
+ config.password = 'YOUR PASSWORD'
207
+ end
208
+
209
+ api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
210
+ ansible_repository_href = 'ansible_repository_href_example' # String | URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
211
+ data = PulpAnsibleClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
212
+
213
+ begin
214
+ result = api_instance.modify(ansible_repository_href, data)
215
+ p result
216
+ rescue PulpAnsibleClient::ApiError => e
217
+ puts "Exception when calling RepositoriesAnsibleApi->modify: #{e}"
218
+ end
219
+ ```
220
+
221
+ ### Parameters
222
+
223
+
224
+ Name | Type | Description | Notes
225
+ ------------- | ------------- | ------------- | -------------
226
+ **ansible_repository_href** | **String**| URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/ |
227
+ **data** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
228
+
229
+ ### Return type
230
+
231
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
232
+
233
+ ### Authorization
234
+
235
+ [Basic](../README.md#Basic)
236
+
237
+ ### HTTP request headers
238
+
239
+ - **Content-Type**: application/json
240
+ - **Accept**: application/json
241
+
242
+
188
243
  ## partial_update
189
244
 
190
245
  > AnsibleAnsibleRepository partial_update(ansible_repository_href, data)
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
65
65
 
66
66
  ## list
67
67
 
68
- > InlineResponse2008 list(ansible_ansible_repository_href, opts)
68
+ > InlineResponse2008 list(ansible_repository_href, opts)
69
69
 
70
70
  List repository versions
71
71
 
@@ -84,7 +84,7 @@ PulpAnsibleClient.configure do |config|
84
84
  end
85
85
 
86
86
  api_instance = PulpAnsibleClient::RepositoriesAnsibleVersionsApi.new
87
- ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String | URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
87
+ ansible_repository_href = 'ansible_repository_href_example' # String | URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
88
88
  opts = {
89
89
  ordering: 'ordering_example', # String | Which field to use when ordering the results.
90
90
  number: 3.4, # Float |
@@ -108,7 +108,7 @@ opts = {
108
108
 
109
109
  begin
110
110
  #List repository versions
111
- result = api_instance.list(ansible_ansible_repository_href, opts)
111
+ result = api_instance.list(ansible_repository_href, opts)
112
112
  p result
113
113
  rescue PulpAnsibleClient::ApiError => e
114
114
  puts "Exception when calling RepositoriesAnsibleVersionsApi->list: #{e}"
@@ -120,7 +120,7 @@ end
120
120
 
121
121
  Name | Type | Description | Notes
122
122
  ------------- | ------------- | ------------- | -------------
123
- **ansible_ansible_repository_href** | **String**| URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/ |
123
+ **ansible_repository_href** | **String**| URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/ |
124
124
  **ordering** | **String**| Which field to use when ordering the results. | [optional]
125
125
  **number** | **Float**| | [optional]
126
126
  **number__lt** | **Float**| Filter results where number is less than value | [optional]
@@ -0,0 +1,21 @@
1
+ # PulpAnsibleClient::RepositoryAddRemoveContent
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
8
+ **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
9
+ **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'PulpAnsibleClient'
15
+
16
+ instance = PulpAnsibleClient::RepositoryAddRemoveContent.new(add_content_units: null,
17
+ remove_content_units: null,
18
+ base_version: null)
19
+ ```
20
+
21
+
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -219,6 +219,74 @@ module PulpAnsibleClient
219
219
  return data, status_code, headers
220
220
  end
221
221
 
222
+ # Trigger an asynchronous task to create a new repository version.
223
+ # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
224
+ # @param data [RepositoryAddRemoveContent]
225
+ # @param [Hash] opts the optional parameters
226
+ # @return [AsyncOperationResponse]
227
+ def modify(ansible_repository_href, data, opts = {})
228
+ data, _status_code, _headers = modify_with_http_info(ansible_repository_href, data, opts)
229
+ data
230
+ end
231
+
232
+ # Trigger an asynchronous task to create a new repository version.
233
+ # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
234
+ # @param data [RepositoryAddRemoveContent]
235
+ # @param [Hash] opts the optional parameters
236
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
237
+ def modify_with_http_info(ansible_repository_href, data, opts = {})
238
+ if @api_client.config.debugging
239
+ @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.modify ...'
240
+ end
241
+ # verify the required parameter 'ansible_repository_href' is set
242
+ if @api_client.config.client_side_validation && ansible_repository_href.nil?
243
+ fail ArgumentError, "Missing the required parameter 'ansible_repository_href' when calling RepositoriesAnsibleApi.modify"
244
+ end
245
+ # verify the required parameter 'data' is set
246
+ if @api_client.config.client_side_validation && data.nil?
247
+ fail ArgumentError, "Missing the required parameter 'data' when calling RepositoriesAnsibleApi.modify"
248
+ end
249
+ # resource path
250
+ local_var_path = '{ansible_repository_href}modify/'.sub('{' + 'ansible_repository_href' + '}', CGI.escape(ansible_repository_href.to_s).gsub('%2F', '/'))
251
+
252
+ # query parameters
253
+ query_params = opts[:query_params] || {}
254
+
255
+ # header parameters
256
+ header_params = opts[:header_params] || {}
257
+ # HTTP header 'Accept' (if needed)
258
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
259
+ # HTTP header 'Content-Type'
260
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
261
+
262
+ # form parameters
263
+ form_params = opts[:form_params] || {}
264
+
265
+ # http body (model)
266
+ post_body = opts[:body] || @api_client.object_to_http_body(data)
267
+
268
+ # return_type
269
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
270
+
271
+ # auth_names
272
+ auth_names = opts[:auth_names] || ['Basic']
273
+
274
+ new_options = opts.merge(
275
+ :header_params => header_params,
276
+ :query_params => query_params,
277
+ :form_params => form_params,
278
+ :body => post_body,
279
+ :auth_names => auth_names,
280
+ :return_type => return_type
281
+ )
282
+
283
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
284
+ if @api_client.config.debugging
285
+ @api_client.config.logger.debug "API called: RepositoriesAnsibleApi#modify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
286
+ end
287
+ return data, status_code, headers
288
+ end
289
+
222
290
  # Partially update an ansible repository
223
291
  # ViewSet for Ansible Remotes.
224
292
  # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -83,7 +83,7 @@ module PulpAnsibleClient
83
83
 
84
84
  # List repository versions
85
85
  # RpmRepositoryVersion represents a single file repository version.
86
- # @param ansible_ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
86
+ # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
87
87
  # @param [Hash] opts the optional parameters
88
88
  # @option opts [String] :ordering Which field to use when ordering the results.
89
89
  # @option opts [Float] :number
@@ -104,14 +104,14 @@ module PulpAnsibleClient
104
104
  # @option opts [String] :fields A list of fields to include in the response.
105
105
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
106
106
  # @return [InlineResponse2008]
107
- def list(ansible_ansible_repository_href, opts = {})
108
- data, _status_code, _headers = list_with_http_info(ansible_ansible_repository_href, opts)
107
+ def list(ansible_repository_href, opts = {})
108
+ data, _status_code, _headers = list_with_http_info(ansible_repository_href, opts)
109
109
  data
110
110
  end
111
111
 
112
112
  # List repository versions
113
113
  # RpmRepositoryVersion represents a single file repository version.
114
- # @param ansible_ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
114
+ # @param ansible_repository_href [String] URI of Ansible Repository. e.g.: /pulp/api/v3/repositories/ansible/ansible/1/
115
115
  # @param [Hash] opts the optional parameters
116
116
  # @option opts [String] :ordering Which field to use when ordering the results.
117
117
  # @option opts [Float] :number
@@ -132,16 +132,16 @@ module PulpAnsibleClient
132
132
  # @option opts [String] :fields A list of fields to include in the response.
133
133
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
134
134
  # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
135
- def list_with_http_info(ansible_ansible_repository_href, opts = {})
135
+ def list_with_http_info(ansible_repository_href, opts = {})
136
136
  if @api_client.config.debugging
137
137
  @api_client.config.logger.debug 'Calling API: RepositoriesAnsibleVersionsApi.list ...'
138
138
  end
139
- # verify the required parameter 'ansible_ansible_repository_href' is set
140
- if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
141
- fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
139
+ # verify the required parameter 'ansible_repository_href' is set
140
+ if @api_client.config.client_side_validation && ansible_repository_href.nil?
141
+ fail ArgumentError, "Missing the required parameter 'ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
142
142
  end
143
143
  # resource path
144
- local_var_path = '{ansible_repository_href}versions/'.sub('{' + 'ansible_ansible_repository_href' + '}', CGI.escape(ansible_ansible_repository_href.to_s).gsub('%2F', '/'))
144
+ local_var_path = '{ansible_repository_href}versions/'.sub('{' + 'ansible_repository_href' + '}', CGI.escape(ansible_repository_href.to_s).gsub('%2F', '/'))
145
145
 
146
146
  # query parameters
147
147
  query_params = opts[:query_params] || {}
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -203,7 +203,7 @@ module PulpAnsibleClient
203
203
  [
204
204
  {
205
205
  url: "http://localhost:24817/",
206
- description: "No descriptoin provided",
206
+ description: "No description provided",
207
207
  }
208
208
  ]
209
209
  end
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  The version of the OpenAPI document: v3
7
7
 
8
8
  Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 4.2.2-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.3-SNAPSHOT
10
10
 
11
11
  =end
12
12