pulp_ansible_client 0.2.0b5 → 0.2.0b6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (170) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -23
  3. data/docs/{AnsibleDistribution.md → AnsibleAnsibleDistribution.md} +6 -6
  4. data/docs/AnsibleAnsibleRemote.md +39 -0
  5. data/docs/AnsibleAnsibleRepository.md +27 -0
  6. data/docs/AnsibleCollection.md +19 -0
  7. data/docs/AnsibleCollectionRemote.md +41 -0
  8. data/docs/AnsibleCollectionVersion.md +67 -0
  9. data/docs/AnsibleCollectionsApi.md +80 -18
  10. data/docs/AnsibleRole.md +27 -0
  11. data/docs/AnsibleTag.md +17 -0
  12. data/docs/Collection.md +31 -0
  13. data/docs/CollectionImportDetail.md +2 -2
  14. data/docs/CollectionMetadata.md +9 -9
  15. data/docs/{TagNested.md → CollectionNamespace.md} +3 -3
  16. data/docs/CollectionRef.md +21 -0
  17. data/docs/CollectionVersion.md +19 -59
  18. data/docs/ContentCollectionVersionsApi.md +25 -27
  19. data/docs/ContentRolesApi.md +17 -25
  20. data/docs/ContentSummary.md +21 -0
  21. data/docs/DistributionsAnsibleApi.md +16 -12
  22. data/docs/GalaxyCollection.md +2 -2
  23. data/docs/GalaxyCollectionVersion.md +4 -4
  24. data/docs/GalaxyRole.md +1 -1
  25. data/docs/GalaxyRoleVersion.md +1 -1
  26. data/docs/InlineResponse200.md +1 -1
  27. data/docs/InlineResponse2001.md +1 -1
  28. data/docs/InlineResponse20010.md +23 -0
  29. data/docs/InlineResponse20011.md +23 -0
  30. data/docs/InlineResponse20012.md +23 -0
  31. data/docs/InlineResponse20013.md +23 -0
  32. data/docs/InlineResponse2002.md +1 -1
  33. data/docs/InlineResponse2003.md +1 -1
  34. data/docs/InlineResponse2004.md +1 -1
  35. data/docs/InlineResponse2005.md +1 -1
  36. data/docs/InlineResponse2006.md +1 -1
  37. data/docs/InlineResponse2007.md +1 -1
  38. data/docs/InlineResponse2008.md +1 -1
  39. data/docs/InlineResponse2009.md +1 -1
  40. data/docs/PulpAnsibleApiApi.md +3 -1
  41. data/docs/PulpAnsibleGalaxyApiCollectionsApi.md +16 -9
  42. data/docs/PulpAnsibleGalaxyApiRolesApi.md +5 -3
  43. data/docs/PulpAnsibleGalaxyApiV1VersionsApi.md +5 -3
  44. data/docs/PulpAnsibleGalaxyApiV2VersionsApi.md +5 -3
  45. data/docs/PulpAnsibleGalaxyApiV3CollectionsApi.md +28 -10
  46. data/docs/PulpAnsibleTagsApi.md +5 -3
  47. data/docs/RemotesAnsibleApi.md +30 -81
  48. data/docs/RemotesCollectionApi.md +30 -81
  49. data/docs/RepositoriesAnsibleApi.md +409 -0
  50. data/docs/RepositoriesAnsibleVersionsApi.md +214 -0
  51. data/docs/RepositorySyncURL.md +2 -2
  52. data/docs/RepositoryVersion.md +25 -0
  53. data/docs/Tag.md +1 -1
  54. data/lib/pulp_ansible_client/api/ansible_collections_api.rb +103 -35
  55. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +40 -57
  56. data/lib/pulp_ansible_client/api/content_roles_api.rb +28 -58
  57. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -13
  58. data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +4 -1
  59. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_collections_api.rb +20 -9
  60. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_roles_api.rb +7 -4
  61. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v1_versions_api.rb +7 -4
  62. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v2_versions_api.rb +7 -4
  63. data/lib/pulp_ansible_client/api/pulp_ansible_galaxy_api_v3_collections_api.rb +59 -12
  64. data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +7 -4
  65. data/lib/pulp_ansible_client/api/remotes_ansible_api.rb +40 -102
  66. data/lib/pulp_ansible_client/api/remotes_collection_api.rb +40 -102
  67. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +498 -0
  68. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +268 -0
  69. data/lib/pulp_ansible_client/api_client.rb +1 -1
  70. data/lib/pulp_ansible_client/api_error.rb +1 -1
  71. data/lib/pulp_ansible_client/configuration.rb +1 -1
  72. data/lib/pulp_ansible_client/models/{ansible_distribution.rb → ansible_ansible_distribution.rb} +31 -36
  73. data/lib/pulp_ansible_client/models/{ansible_remote.rb → ansible_ansible_remote.rb} +87 -147
  74. data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +294 -0
  75. data/lib/pulp_ansible_client/models/ansible_collection.rb +265 -0
  76. data/lib/pulp_ansible_client/models/{collection_remote.rb → ansible_collection_remote.rb} +88 -147
  77. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +816 -0
  78. data/lib/pulp_ansible_client/models/{role.rb → ansible_role.rb} +31 -60
  79. data/lib/pulp_ansible_client/models/{tag_nested.rb → ansible_tag.rb} +15 -5
  80. data/lib/pulp_ansible_client/models/async_operation_response.rb +12 -2
  81. data/lib/pulp_ansible_client/models/collection.rb +314 -0
  82. data/lib/pulp_ansible_client/models/collection_import_detail.rb +14 -4
  83. data/lib/pulp_ansible_client/models/collection_metadata.rb +14 -4
  84. data/lib/pulp_ansible_client/models/collection_namespace.rb +230 -0
  85. data/lib/pulp_ansible_client/models/collection_ref.rb +272 -0
  86. data/lib/pulp_ansible_client/models/collection_version.rb +109 -536
  87. data/lib/pulp_ansible_client/models/content_summary.rb +246 -0
  88. data/lib/pulp_ansible_client/models/galaxy_collection.rb +12 -2
  89. data/lib/pulp_ansible_client/models/galaxy_collection_version.rb +12 -2
  90. data/lib/pulp_ansible_client/models/galaxy_role.rb +12 -2
  91. data/lib/pulp_ansible_client/models/galaxy_role_version.rb +12 -2
  92. data/lib/pulp_ansible_client/models/inline_response200.rb +15 -3
  93. data/lib/pulp_ansible_client/models/inline_response2001.rb +15 -3
  94. data/lib/pulp_ansible_client/models/inline_response20010.rb +247 -0
  95. data/lib/pulp_ansible_client/models/inline_response20011.rb +247 -0
  96. data/lib/pulp_ansible_client/models/inline_response20012.rb +247 -0
  97. data/lib/pulp_ansible_client/models/inline_response20013.rb +247 -0
  98. data/lib/pulp_ansible_client/models/inline_response2002.rb +15 -3
  99. data/lib/pulp_ansible_client/models/inline_response2003.rb +15 -3
  100. data/lib/pulp_ansible_client/models/inline_response2004.rb +15 -3
  101. data/lib/pulp_ansible_client/models/inline_response2005.rb +15 -3
  102. data/lib/pulp_ansible_client/models/inline_response2006.rb +15 -3
  103. data/lib/pulp_ansible_client/models/inline_response2007.rb +15 -3
  104. data/lib/pulp_ansible_client/models/inline_response2008.rb +15 -3
  105. data/lib/pulp_ansible_client/models/inline_response2009.rb +15 -3
  106. data/lib/pulp_ansible_client/models/repository_sync_url.rb +22 -12
  107. data/lib/pulp_ansible_client/models/repository_version.rb +244 -0
  108. data/lib/pulp_ansible_client/models/tag.rb +12 -2
  109. data/lib/pulp_ansible_client/version.rb +2 -2
  110. data/lib/pulp_ansible_client.rb +20 -6
  111. data/pulp_ansible_client.gemspec +1 -1
  112. data/spec/api/ansible_collections_api_spec.rb +25 -10
  113. data/spec/api/content_collection_versions_api_spec.rb +12 -12
  114. data/spec/api/content_roles_api_spec.rb +8 -11
  115. data/spec/api/distributions_ansible_api_spec.rb +5 -3
  116. data/spec/api/pulp_ansible_api_api_spec.rb +2 -1
  117. data/spec/api/pulp_ansible_galaxy_api_collections_api_spec.rb +6 -3
  118. data/spec/api/pulp_ansible_galaxy_api_roles_api_spec.rb +3 -2
  119. data/spec/api/pulp_ansible_galaxy_api_v1_versions_api_spec.rb +3 -2
  120. data/spec/api/pulp_ansible_galaxy_api_v2_versions_api_spec.rb +3 -2
  121. data/spec/api/pulp_ansible_galaxy_api_v3_collections_api_spec.rb +12 -4
  122. data/spec/api/pulp_ansible_tags_api_spec.rb +3 -2
  123. data/spec/api/remotes_ansible_api_spec.rb +12 -22
  124. data/spec/api/remotes_collection_api_spec.rb +12 -22
  125. data/spec/api/repositories_ansible_api_spec.rb +128 -0
  126. data/spec/api/repositories_ansible_versions_api_spec.rb +91 -0
  127. data/spec/api_client_spec.rb +2 -2
  128. data/spec/configuration_spec.rb +1 -1
  129. data/spec/models/{ansible_distribution_spec.rb → ansible_ansible_distribution_spec.rb} +9 -9
  130. data/spec/models/{collection_remote_spec.rb → ansible_ansible_remote_spec.rb} +14 -38
  131. data/spec/models/ansible_ansible_repository_spec.rb +71 -0
  132. data/spec/models/{ansible_remote_spec.rb → ansible_collection_remote_spec.rb} +20 -32
  133. data/spec/models/ansible_collection_spec.rb +47 -0
  134. data/spec/models/ansible_collection_version_spec.rb +191 -0
  135. data/spec/models/ansible_role_spec.rb +71 -0
  136. data/spec/models/{tag_nested_spec.rb → ansible_tag_spec.rb} +7 -7
  137. data/spec/models/async_operation_response_spec.rb +1 -1
  138. data/spec/models/collection_import_detail_spec.rb +1 -1
  139. data/spec/models/collection_metadata_spec.rb +1 -1
  140. data/spec/models/collection_namespace_spec.rb +41 -0
  141. data/spec/models/collection_ref_spec.rb +53 -0
  142. data/spec/models/{role_spec.rb → collection_spec.rb} +15 -21
  143. data/spec/models/collection_version_spec.rb +14 -130
  144. data/spec/models/content_summary_spec.rb +53 -0
  145. data/spec/models/galaxy_collection_spec.rb +1 -1
  146. data/spec/models/galaxy_collection_version_spec.rb +1 -1
  147. data/spec/models/galaxy_role_spec.rb +1 -1
  148. data/spec/models/galaxy_role_version_spec.rb +1 -1
  149. data/spec/models/inline_response20010_spec.rb +59 -0
  150. data/spec/models/inline_response20011_spec.rb +59 -0
  151. data/spec/models/inline_response20012_spec.rb +59 -0
  152. data/spec/models/inline_response20013_spec.rb +59 -0
  153. data/spec/models/inline_response2001_spec.rb +1 -1
  154. data/spec/models/inline_response2002_spec.rb +1 -1
  155. data/spec/models/inline_response2003_spec.rb +1 -1
  156. data/spec/models/inline_response2004_spec.rb +1 -1
  157. data/spec/models/inline_response2005_spec.rb +1 -1
  158. data/spec/models/inline_response2006_spec.rb +1 -1
  159. data/spec/models/inline_response2007_spec.rb +1 -1
  160. data/spec/models/inline_response2008_spec.rb +1 -1
  161. data/spec/models/inline_response2009_spec.rb +1 -1
  162. data/spec/models/inline_response200_spec.rb +1 -1
  163. data/spec/models/repository_sync_url_spec.rb +2 -2
  164. data/spec/models/repository_version_spec.rb +65 -0
  165. data/spec/models/tag_spec.rb +1 -1
  166. data/spec/spec_helper.rb +1 -1
  167. metadata +78 -22
  168. data/docs/AnsibleRemote.md +0 -45
  169. data/docs/CollectionRemote.md +0 -47
  170. data/docs/Role.md +0 -33
@@ -9,14 +9,13 @@ Method | HTTP request | Description
9
9
  [**list**](RemotesAnsibleApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/ansible/ | List ansible remotes
10
10
  [**partial_update**](RemotesAnsibleApi.md#partial_update) | **PATCH** {ansible_remote_href} | Partially update an ansible remote
11
11
  [**read**](RemotesAnsibleApi.md#read) | **GET** {ansible_remote_href} | Inspect an ansible remote
12
- [**sync**](RemotesAnsibleApi.md#sync) | **POST** {ansible_remote_href}sync/ |
13
12
  [**update**](RemotesAnsibleApi.md#update) | **PUT** {ansible_remote_href} | Update an ansible remote
14
13
 
15
14
 
16
15
 
17
16
  ## create
18
17
 
19
- > AnsibleRemote create(data)
18
+ > AnsibleAnsibleRemote create(data)
20
19
 
21
20
  Create an ansible remote
22
21
 
@@ -35,7 +34,7 @@ PulpAnsibleClient.configure do |config|
35
34
  end
36
35
 
37
36
  api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
38
- data = PulpAnsibleClient::AnsibleRemote.new # AnsibleRemote |
37
+ data = PulpAnsibleClient::AnsibleAnsibleRemote.new # AnsibleAnsibleRemote |
39
38
 
40
39
  begin
41
40
  #Create an ansible remote
@@ -51,11 +50,11 @@ end
51
50
 
52
51
  Name | Type | Description | Notes
53
52
  ------------- | ------------- | ------------- | -------------
54
- **data** | [**AnsibleRemote**](AnsibleRemote.md)| |
53
+ **data** | [**AnsibleAnsibleRemote**](AnsibleAnsibleRemote.md)| |
55
54
 
56
55
  ### Return type
57
56
 
58
- [**AnsibleRemote**](AnsibleRemote.md)
57
+ [**AnsibleAnsibleRemote**](AnsibleAnsibleRemote.md)
59
58
 
60
59
  ### Authorization
61
60
 
@@ -122,7 +121,7 @@ Name | Type | Description | Notes
122
121
 
123
122
  ## list
124
123
 
125
- > InlineResponse2004 list(opts)
124
+ > InlineResponse2005 list(opts)
126
125
 
127
126
  List ansible remotes
128
127
 
@@ -144,15 +143,16 @@ api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
144
143
  opts = {
145
144
  name: 'name_example', # String |
146
145
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- _last_updated__lt: '_last_updated__lt_example', # String | Filter results where _last_updated is less than value
148
- _last_updated__lte: '_last_updated__lte_example', # String | Filter results where _last_updated is less than or equal to value
149
- _last_updated__gt: '_last_updated__gt_example', # String | Filter results where _last_updated is greater than value
150
- _last_updated__gte: '_last_updated__gte_example', # String | Filter results where _last_updated is greater than or equal to value
151
- _last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
152
- _last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
146
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
147
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
148
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
149
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
150
+ pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
151
+ pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
153
152
  limit: 56, # Integer | Number of results to return per page.
154
153
  offset: 56, # Integer | The initial index from which to return the results.
155
- fields: 'fields_example' # String | A list of fields to include in the response.
154
+ fields: 'fields_example', # String | A list of fields to include in the response.
155
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
156
156
  }
157
157
 
158
158
  begin
@@ -171,19 +171,20 @@ Name | Type | Description | Notes
171
171
  ------------- | ------------- | ------------- | -------------
172
172
  **name** | **String**| | [optional]
173
173
  **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **_last_updated__lt** | **String**| Filter results where _last_updated is less than value | [optional]
175
- **_last_updated__lte** | **String**| Filter results where _last_updated is less than or equal to value | [optional]
176
- **_last_updated__gt** | **String**| Filter results where _last_updated is greater than value | [optional]
177
- **_last_updated__gte** | **String**| Filter results where _last_updated is greater than or equal to value | [optional]
178
- **_last_updated__range** | **String**| Filter results where _last_updated is between two comma separated values | [optional]
179
- **_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
174
+ **pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
175
+ **pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
176
+ **pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
177
+ **pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
178
+ **pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
179
+ **pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
180
180
  **limit** | **Integer**| Number of results to return per page. | [optional]
181
181
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
182
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
183
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
183
184
 
184
185
  ### Return type
185
186
 
186
- [**InlineResponse2004**](InlineResponse2004.md)
187
+ [**InlineResponse2005**](InlineResponse2005.md)
187
188
 
188
189
  ### Authorization
189
190
 
@@ -217,7 +218,7 @@ end
217
218
 
218
219
  api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
219
220
  ansible_remote_href = 'ansible_remote_href_example' # String | URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/
220
- data = PulpAnsibleClient::AnsibleRemote.new # AnsibleRemote |
221
+ data = PulpAnsibleClient::AnsibleAnsibleRemote.new # AnsibleAnsibleRemote |
221
222
 
222
223
  begin
223
224
  #Partially update an ansible remote
@@ -234,7 +235,7 @@ end
234
235
  Name | Type | Description | Notes
235
236
  ------------- | ------------- | ------------- | -------------
236
237
  **ansible_remote_href** | **String**| URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/ |
237
- **data** | [**AnsibleRemote**](AnsibleRemote.md)| |
238
+ **data** | [**AnsibleAnsibleRemote**](AnsibleAnsibleRemote.md)| |
238
239
 
239
240
  ### Return type
240
241
 
@@ -252,7 +253,7 @@ Name | Type | Description | Notes
252
253
 
253
254
  ## read
254
255
 
255
- > AnsibleRemote read(ansible_remote_href, opts)
256
+ > AnsibleAnsibleRemote read(ansible_remote_href, opts)
256
257
 
257
258
  Inspect an ansible remote
258
259
 
@@ -273,7 +274,8 @@ end
273
274
  api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
274
275
  ansible_remote_href = 'ansible_remote_href_example' # String | URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/
275
276
  opts = {
276
- fields: 'fields_example' # String | A list of fields to include in the response.
277
+ fields: 'fields_example', # String | A list of fields to include in the response.
278
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
277
279
  }
278
280
 
279
281
  begin
@@ -292,10 +294,11 @@ Name | Type | Description | Notes
292
294
  ------------- | ------------- | ------------- | -------------
293
295
  **ansible_remote_href** | **String**| URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/ |
294
296
  **fields** | **String**| A list of fields to include in the response. | [optional]
297
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
295
298
 
296
299
  ### Return type
297
300
 
298
- [**AnsibleRemote**](AnsibleRemote.md)
301
+ [**AnsibleAnsibleRemote**](AnsibleAnsibleRemote.md)
299
302
 
300
303
  ### Authorization
301
304
 
@@ -307,60 +310,6 @@ Name | Type | Description | Notes
307
310
  - **Accept**: application/json
308
311
 
309
312
 
310
- ## sync
311
-
312
- > AsyncOperationResponse sync(ansible_remote_href, data)
313
-
314
-
315
-
316
- Trigger an asynchronous task to sync Ansible content.
317
-
318
- ### Example
319
-
320
- ```ruby
321
- # load the gem
322
- require 'pulp_ansible_client'
323
- # setup authorization
324
- PulpAnsibleClient.configure do |config|
325
- # Configure HTTP basic authorization: Basic
326
- config.username = 'YOUR USERNAME'
327
- config.password = 'YOUR PASSWORD'
328
- end
329
-
330
- api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
331
- ansible_remote_href = 'ansible_remote_href_example' # String | URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/
332
- data = PulpAnsibleClient::RepositorySyncURL.new # RepositorySyncURL |
333
-
334
- begin
335
- result = api_instance.sync(ansible_remote_href, data)
336
- p result
337
- rescue PulpAnsibleClient::ApiError => e
338
- puts "Exception when calling RemotesAnsibleApi->sync: #{e}"
339
- end
340
- ```
341
-
342
- ### Parameters
343
-
344
-
345
- Name | Type | Description | Notes
346
- ------------- | ------------- | ------------- | -------------
347
- **ansible_remote_href** | **String**| URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/ |
348
- **data** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
349
-
350
- ### Return type
351
-
352
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
353
-
354
- ### Authorization
355
-
356
- [Basic](../README.md#Basic)
357
-
358
- ### HTTP request headers
359
-
360
- - **Content-Type**: application/json
361
- - **Accept**: application/json
362
-
363
-
364
313
  ## update
365
314
 
366
315
  > AsyncOperationResponse update(ansible_remote_href, data)
@@ -383,7 +332,7 @@ end
383
332
 
384
333
  api_instance = PulpAnsibleClient::RemotesAnsibleApi.new
385
334
  ansible_remote_href = 'ansible_remote_href_example' # String | URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/
386
- data = PulpAnsibleClient::AnsibleRemote.new # AnsibleRemote |
335
+ data = PulpAnsibleClient::AnsibleAnsibleRemote.new # AnsibleAnsibleRemote |
387
336
 
388
337
  begin
389
338
  #Update an ansible remote
@@ -400,7 +349,7 @@ end
400
349
  Name | Type | Description | Notes
401
350
  ------------- | ------------- | ------------- | -------------
402
351
  **ansible_remote_href** | **String**| URI of Ansible Remote. e.g.: /pulp/api/v3/remotes/ansible/ansible/1/ |
403
- **data** | [**AnsibleRemote**](AnsibleRemote.md)| |
352
+ **data** | [**AnsibleAnsibleRemote**](AnsibleAnsibleRemote.md)| |
404
353
 
405
354
  ### Return type
406
355
 
@@ -9,14 +9,13 @@ Method | HTTP request | Description
9
9
  [**list**](RemotesCollectionApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/collection/ | List collection remotes
10
10
  [**partial_update**](RemotesCollectionApi.md#partial_update) | **PATCH** {collection_remote_href} | Partially update a collection remote
11
11
  [**read**](RemotesCollectionApi.md#read) | **GET** {collection_remote_href} | Inspect a collection remote
12
- [**sync**](RemotesCollectionApi.md#sync) | **POST** {collection_remote_href}sync/ |
13
12
  [**update**](RemotesCollectionApi.md#update) | **PUT** {collection_remote_href} | Update a collection remote
14
13
 
15
14
 
16
15
 
17
16
  ## create
18
17
 
19
- > CollectionRemote create(data)
18
+ > AnsibleCollectionRemote create(data)
20
19
 
21
20
  Create a collection remote
22
21
 
@@ -35,7 +34,7 @@ PulpAnsibleClient.configure do |config|
35
34
  end
36
35
 
37
36
  api_instance = PulpAnsibleClient::RemotesCollectionApi.new
38
- data = PulpAnsibleClient::CollectionRemote.new # CollectionRemote |
37
+ data = PulpAnsibleClient::AnsibleCollectionRemote.new # AnsibleCollectionRemote |
39
38
 
40
39
  begin
41
40
  #Create a collection remote
@@ -51,11 +50,11 @@ end
51
50
 
52
51
  Name | Type | Description | Notes
53
52
  ------------- | ------------- | ------------- | -------------
54
- **data** | [**CollectionRemote**](CollectionRemote.md)| |
53
+ **data** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)| |
55
54
 
56
55
  ### Return type
57
56
 
58
- [**CollectionRemote**](CollectionRemote.md)
57
+ [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)
59
58
 
60
59
  ### Authorization
61
60
 
@@ -122,7 +121,7 @@ Name | Type | Description | Notes
122
121
 
123
122
  ## list
124
123
 
125
- > InlineResponse2005 list(opts)
124
+ > InlineResponse2006 list(opts)
126
125
 
127
126
  List collection remotes
128
127
 
@@ -144,15 +143,16 @@ api_instance = PulpAnsibleClient::RemotesCollectionApi.new
144
143
  opts = {
145
144
  name: 'name_example', # String |
146
145
  name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
147
- _last_updated__lt: '_last_updated__lt_example', # String | Filter results where _last_updated is less than value
148
- _last_updated__lte: '_last_updated__lte_example', # String | Filter results where _last_updated is less than or equal to value
149
- _last_updated__gt: '_last_updated__gt_example', # String | Filter results where _last_updated is greater than value
150
- _last_updated__gte: '_last_updated__gte_example', # String | Filter results where _last_updated is greater than or equal to value
151
- _last_updated__range: '_last_updated__range_example', # String | Filter results where _last_updated is between two comma separated values
152
- _last_updated: '_last_updated_example', # String | ISO 8601 formatted dates are supported
146
+ pulp_last_updated__lt: 'pulp_last_updated__lt_example', # String | Filter results where pulp_last_updated is less than value
147
+ pulp_last_updated__lte: 'pulp_last_updated__lte_example', # String | Filter results where pulp_last_updated is less than or equal to value
148
+ pulp_last_updated__gt: 'pulp_last_updated__gt_example', # String | Filter results where pulp_last_updated is greater than value
149
+ pulp_last_updated__gte: 'pulp_last_updated__gte_example', # String | Filter results where pulp_last_updated is greater than or equal to value
150
+ pulp_last_updated__range: 'pulp_last_updated__range_example', # String | Filter results where pulp_last_updated is between two comma separated values
151
+ pulp_last_updated: 'pulp_last_updated_example', # String | ISO 8601 formatted dates are supported
153
152
  limit: 56, # Integer | Number of results to return per page.
154
153
  offset: 56, # Integer | The initial index from which to return the results.
155
- fields: 'fields_example' # String | A list of fields to include in the response.
154
+ fields: 'fields_example', # String | A list of fields to include in the response.
155
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
156
156
  }
157
157
 
158
158
  begin
@@ -171,19 +171,20 @@ Name | Type | Description | Notes
171
171
  ------------- | ------------- | ------------- | -------------
172
172
  **name** | **String**| | [optional]
173
173
  **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
174
- **_last_updated__lt** | **String**| Filter results where _last_updated is less than value | [optional]
175
- **_last_updated__lte** | **String**| Filter results where _last_updated is less than or equal to value | [optional]
176
- **_last_updated__gt** | **String**| Filter results where _last_updated is greater than value | [optional]
177
- **_last_updated__gte** | **String**| Filter results where _last_updated is greater than or equal to value | [optional]
178
- **_last_updated__range** | **String**| Filter results where _last_updated is between two comma separated values | [optional]
179
- **_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
174
+ **pulp_last_updated__lt** | **String**| Filter results where pulp_last_updated is less than value | [optional]
175
+ **pulp_last_updated__lte** | **String**| Filter results where pulp_last_updated is less than or equal to value | [optional]
176
+ **pulp_last_updated__gt** | **String**| Filter results where pulp_last_updated is greater than value | [optional]
177
+ **pulp_last_updated__gte** | **String**| Filter results where pulp_last_updated is greater than or equal to value | [optional]
178
+ **pulp_last_updated__range** | **String**| Filter results where pulp_last_updated is between two comma separated values | [optional]
179
+ **pulp_last_updated** | **String**| ISO 8601 formatted dates are supported | [optional]
180
180
  **limit** | **Integer**| Number of results to return per page. | [optional]
181
181
  **offset** | **Integer**| The initial index from which to return the results. | [optional]
182
182
  **fields** | **String**| A list of fields to include in the response. | [optional]
183
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
183
184
 
184
185
  ### Return type
185
186
 
186
- [**InlineResponse2005**](InlineResponse2005.md)
187
+ [**InlineResponse2006**](InlineResponse2006.md)
187
188
 
188
189
  ### Authorization
189
190
 
@@ -217,7 +218,7 @@ end
217
218
 
218
219
  api_instance = PulpAnsibleClient::RemotesCollectionApi.new
219
220
  collection_remote_href = 'collection_remote_href_example' # String | URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/
220
- data = PulpAnsibleClient::CollectionRemote.new # CollectionRemote |
221
+ data = PulpAnsibleClient::AnsibleCollectionRemote.new # AnsibleCollectionRemote |
221
222
 
222
223
  begin
223
224
  #Partially update a collection remote
@@ -234,7 +235,7 @@ end
234
235
  Name | Type | Description | Notes
235
236
  ------------- | ------------- | ------------- | -------------
236
237
  **collection_remote_href** | **String**| URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/ |
237
- **data** | [**CollectionRemote**](CollectionRemote.md)| |
238
+ **data** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)| |
238
239
 
239
240
  ### Return type
240
241
 
@@ -252,7 +253,7 @@ Name | Type | Description | Notes
252
253
 
253
254
  ## read
254
255
 
255
- > CollectionRemote read(collection_remote_href, opts)
256
+ > AnsibleCollectionRemote read(collection_remote_href, opts)
256
257
 
257
258
  Inspect a collection remote
258
259
 
@@ -273,7 +274,8 @@ end
273
274
  api_instance = PulpAnsibleClient::RemotesCollectionApi.new
274
275
  collection_remote_href = 'collection_remote_href_example' # String | URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/
275
276
  opts = {
276
- fields: 'fields_example' # String | A list of fields to include in the response.
277
+ fields: 'fields_example', # String | A list of fields to include in the response.
278
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
277
279
  }
278
280
 
279
281
  begin
@@ -292,10 +294,11 @@ Name | Type | Description | Notes
292
294
  ------------- | ------------- | ------------- | -------------
293
295
  **collection_remote_href** | **String**| URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/ |
294
296
  **fields** | **String**| A list of fields to include in the response. | [optional]
297
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
295
298
 
296
299
  ### Return type
297
300
 
298
- [**CollectionRemote**](CollectionRemote.md)
301
+ [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)
299
302
 
300
303
  ### Authorization
301
304
 
@@ -307,60 +310,6 @@ Name | Type | Description | Notes
307
310
  - **Accept**: application/json
308
311
 
309
312
 
310
- ## sync
311
-
312
- > AsyncOperationResponse sync(collection_remote_href, data)
313
-
314
-
315
-
316
- Trigger an asynchronous task to sync Collection content.
317
-
318
- ### Example
319
-
320
- ```ruby
321
- # load the gem
322
- require 'pulp_ansible_client'
323
- # setup authorization
324
- PulpAnsibleClient.configure do |config|
325
- # Configure HTTP basic authorization: Basic
326
- config.username = 'YOUR USERNAME'
327
- config.password = 'YOUR PASSWORD'
328
- end
329
-
330
- api_instance = PulpAnsibleClient::RemotesCollectionApi.new
331
- collection_remote_href = 'collection_remote_href_example' # String | URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/
332
- data = PulpAnsibleClient::RepositorySyncURL.new # RepositorySyncURL |
333
-
334
- begin
335
- result = api_instance.sync(collection_remote_href, data)
336
- p result
337
- rescue PulpAnsibleClient::ApiError => e
338
- puts "Exception when calling RemotesCollectionApi->sync: #{e}"
339
- end
340
- ```
341
-
342
- ### Parameters
343
-
344
-
345
- Name | Type | Description | Notes
346
- ------------- | ------------- | ------------- | -------------
347
- **collection_remote_href** | **String**| URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/ |
348
- **data** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
349
-
350
- ### Return type
351
-
352
- [**AsyncOperationResponse**](AsyncOperationResponse.md)
353
-
354
- ### Authorization
355
-
356
- [Basic](../README.md#Basic)
357
-
358
- ### HTTP request headers
359
-
360
- - **Content-Type**: application/json
361
- - **Accept**: application/json
362
-
363
-
364
313
  ## update
365
314
 
366
315
  > AsyncOperationResponse update(collection_remote_href, data)
@@ -383,7 +332,7 @@ end
383
332
 
384
333
  api_instance = PulpAnsibleClient::RemotesCollectionApi.new
385
334
  collection_remote_href = 'collection_remote_href_example' # String | URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/
386
- data = PulpAnsibleClient::CollectionRemote.new # CollectionRemote |
335
+ data = PulpAnsibleClient::AnsibleCollectionRemote.new # AnsibleCollectionRemote |
387
336
 
388
337
  begin
389
338
  #Update a collection remote
@@ -400,7 +349,7 @@ end
400
349
  Name | Type | Description | Notes
401
350
  ------------- | ------------- | ------------- | -------------
402
351
  **collection_remote_href** | **String**| URI of Collection Remote. e.g.: /pulp/api/v3/remotes/ansible/collection/1/ |
403
- **data** | [**CollectionRemote**](CollectionRemote.md)| |
352
+ **data** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)| |
404
353
 
405
354
  ### Return type
406
355