pulp_rpm_client 3.0.0b71572533171 → 3.0.0rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +63 -22
  3. data/docs/ContentAdvisoriesApi.md +15 -7
  4. data/docs/ContentDistributionTreesApi.md +2 -2
  5. data/docs/ContentModulemdDefaultsApi.md +6 -6
  6. data/docs/{ContentModulemdApi.md → ContentModulemdsApi.md} +14 -14
  7. data/docs/ContentPackagecategoriesApi.md +189 -0
  8. data/docs/ContentPackageenvironmentsApi.md +189 -0
  9. data/docs/ContentPackagegroupsApi.md +189 -0
  10. data/docs/ContentPackagelangpacksApi.md +189 -0
  11. data/docs/ContentPackagesApi.md +4 -4
  12. data/docs/ContentRepoMetadataFilesApi.md +4 -4
  13. data/docs/ContentSummary.md +21 -0
  14. data/docs/DistributionsRpmApi.md +10 -10
  15. data/docs/InlineResponse200.md +1 -1
  16. data/docs/InlineResponse2001.md +1 -1
  17. data/docs/InlineResponse20010.md +23 -0
  18. data/docs/InlineResponse20011.md +23 -0
  19. data/docs/InlineResponse20012.md +23 -0
  20. data/docs/InlineResponse20013.md +23 -0
  21. data/docs/InlineResponse20014.md +23 -0
  22. data/docs/InlineResponse2002.md +1 -1
  23. data/docs/InlineResponse2003.md +1 -1
  24. data/docs/InlineResponse2004.md +1 -1
  25. data/docs/InlineResponse2005.md +1 -1
  26. data/docs/InlineResponse2006.md +1 -1
  27. data/docs/InlineResponse2007.md +1 -1
  28. data/docs/InlineResponse2008.md +1 -1
  29. data/docs/InlineResponse2009.md +23 -0
  30. data/docs/PublicationsRpmApi.md +6 -6
  31. data/docs/RemotesRpmApi.md +12 -68
  32. data/docs/RepositoriesRpmApi.md +465 -0
  33. data/docs/RepositoriesRpmVersionsApi.md +214 -0
  34. data/docs/RepositoryAddRemoveContent.md +21 -0
  35. data/docs/RepositorySyncURL.md +2 -2
  36. data/docs/RepositoryVersion.md +25 -0
  37. data/docs/{DistributionTree.md → RpmDistributionTree.md} +2 -2
  38. data/docs/{Modulemd.md → RpmModulemd.md} +2 -8
  39. data/docs/{ModulemdDefaults.md → RpmModulemdDefaults.md} +2 -8
  40. data/docs/{Package.md → RpmPackage.md} +2 -8
  41. data/docs/RpmPackageCategory.md +33 -0
  42. data/docs/RpmPackageEnvironment.md +37 -0
  43. data/docs/RpmPackageGroup.md +39 -0
  44. data/docs/RpmPackageLangpacks.md +19 -0
  45. data/docs/{RepoMetadataFile.md → RpmRepoMetadataFile.md} +2 -8
  46. data/docs/{RpmDistribution.md → RpmRpmDistribution.md} +2 -2
  47. data/docs/{RpmPublication.md → RpmRpmPublication.md} +2 -2
  48. data/docs/{RpmRemote.md → RpmRpmRemote.md} +10 -14
  49. data/docs/RpmRpmRepository.md +27 -0
  50. data/docs/RpmUpdateCollection.md +21 -0
  51. data/docs/{UpdateRecord.md → RpmUpdateRecord.md} +24 -20
  52. data/lib/pulp_rpm_client/api/content_advisories_api.rb +28 -14
  53. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +4 -4
  54. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +8 -8
  55. data/lib/pulp_rpm_client/api/{content_modulemd_api.rb → content_modulemds_api.rb} +30 -30
  56. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +227 -0
  57. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +227 -0
  58. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +227 -0
  59. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +227 -0
  60. data/lib/pulp_rpm_client/api/content_packages_api.rb +7 -7
  61. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +7 -7
  62. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +13 -13
  63. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +9 -9
  64. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +16 -86
  65. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +568 -0
  66. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +268 -0
  67. data/lib/pulp_rpm_client/api_client.rb +1 -1
  68. data/lib/pulp_rpm_client/api_error.rb +1 -1
  69. data/lib/pulp_rpm_client/configuration.rb +1 -1
  70. data/lib/pulp_rpm_client/models/addon.rb +12 -2
  71. data/lib/pulp_rpm_client/models/artifact.rb +18 -2
  72. data/lib/pulp_rpm_client/models/async_operation_response.rb +12 -2
  73. data/lib/pulp_rpm_client/models/checksum.rb +12 -2
  74. data/lib/pulp_rpm_client/models/content_summary.rb +246 -0
  75. data/lib/pulp_rpm_client/models/image.rb +12 -2
  76. data/lib/pulp_rpm_client/models/inline_response200.rb +15 -3
  77. data/lib/pulp_rpm_client/models/inline_response2001.rb +15 -3
  78. data/lib/pulp_rpm_client/models/inline_response20010.rb +247 -0
  79. data/lib/pulp_rpm_client/models/inline_response20011.rb +247 -0
  80. data/lib/pulp_rpm_client/models/inline_response20012.rb +247 -0
  81. data/lib/pulp_rpm_client/models/inline_response20013.rb +247 -0
  82. data/lib/pulp_rpm_client/models/inline_response20014.rb +247 -0
  83. data/lib/pulp_rpm_client/models/inline_response2002.rb +15 -3
  84. data/lib/pulp_rpm_client/models/inline_response2003.rb +15 -3
  85. data/lib/pulp_rpm_client/models/inline_response2004.rb +15 -3
  86. data/lib/pulp_rpm_client/models/inline_response2005.rb +15 -3
  87. data/lib/pulp_rpm_client/models/inline_response2006.rb +15 -3
  88. data/lib/pulp_rpm_client/models/inline_response2007.rb +15 -3
  89. data/lib/pulp_rpm_client/models/inline_response2008.rb +15 -3
  90. data/lib/pulp_rpm_client/models/inline_response2009.rb +247 -0
  91. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +231 -0
  92. data/lib/pulp_rpm_client/models/repository_sync_url.rb +22 -12
  93. data/lib/pulp_rpm_client/models/repository_version.rb +244 -0
  94. data/lib/pulp_rpm_client/models/{distribution_tree.rb → rpm_distribution_tree.rb} +15 -5
  95. data/lib/pulp_rpm_client/models/{modulemd.rb → rpm_modulemd.rb} +16 -60
  96. data/lib/pulp_rpm_client/models/{modulemd_defaults.rb → rpm_modulemd_defaults.rb} +16 -60
  97. data/lib/pulp_rpm_client/models/{package.rb → rpm_package.rb} +16 -60
  98. data/lib/pulp_rpm_client/models/rpm_package_category.rb +405 -0
  99. data/lib/pulp_rpm_client/models/rpm_package_environment.rb +432 -0
  100. data/lib/pulp_rpm_client/models/rpm_package_group.rb +435 -0
  101. data/lib/pulp_rpm_client/models/rpm_package_langpacks.rb +246 -0
  102. data/lib/pulp_rpm_client/models/{repo_metadata_file.rb → rpm_repo_metadata_file.rb} +16 -60
  103. data/lib/pulp_rpm_client/models/{rpm_distribution.rb → rpm_rpm_distribution.rb} +17 -23
  104. data/lib/pulp_rpm_client/models/{rpm_publication.rb → rpm_rpm_publication.rb} +16 -5
  105. data/lib/pulp_rpm_client/models/{rpm_remote.rb → rpm_rpm_remote.rb} +69 -105
  106. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +294 -0
  107. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +240 -0
  108. data/lib/pulp_rpm_client/models/{update_record.rb → rpm_update_record.rb} +49 -239
  109. data/lib/pulp_rpm_client/models/variant.rb +12 -2
  110. data/lib/pulp_rpm_client/version.rb +2 -2
  111. data/lib/pulp_rpm_client.rb +32 -12
  112. data/pulp_rpm_client.gemspec +1 -1
  113. data/spec/api/content_advisories_api_spec.rb +6 -3
  114. data/spec/api/content_distribution_trees_api_spec.rb +2 -2
  115. data/spec/api/content_modulemd_defaults_api_spec.rb +3 -3
  116. data/spec/api/{content_modulemd_api_spec.rb → content_modulemds_api_spec.rb} +9 -9
  117. data/spec/api/content_packagecategories_api_spec.rb +79 -0
  118. data/spec/api/content_packageenvironments_api_spec.rb +79 -0
  119. data/spec/api/content_packagegroups_api_spec.rb +79 -0
  120. data/spec/api/content_packagelangpacks_api_spec.rb +79 -0
  121. data/spec/api/content_packages_api_spec.rb +3 -3
  122. data/spec/api/content_repo_metadata_files_api_spec.rb +3 -3
  123. data/spec/api/distributions_rpm_api_spec.rb +3 -3
  124. data/spec/api/publications_rpm_api_spec.rb +3 -3
  125. data/spec/api/remotes_rpm_api_spec.rb +4 -17
  126. data/spec/api/repositories_rpm_api_spec.rb +141 -0
  127. data/spec/api/repositories_rpm_versions_api_spec.rb +91 -0
  128. data/spec/api_client_spec.rb +1 -1
  129. data/spec/configuration_spec.rb +1 -1
  130. data/spec/models/addon_spec.rb +1 -1
  131. data/spec/models/artifact_spec.rb +1 -1
  132. data/spec/models/async_operation_response_spec.rb +1 -1
  133. data/spec/models/checksum_spec.rb +1 -1
  134. data/spec/models/content_summary_spec.rb +53 -0
  135. data/spec/models/image_spec.rb +1 -1
  136. data/spec/models/inline_response20010_spec.rb +59 -0
  137. data/spec/models/inline_response20011_spec.rb +59 -0
  138. data/spec/models/inline_response20012_spec.rb +59 -0
  139. data/spec/models/inline_response20013_spec.rb +59 -0
  140. data/spec/models/inline_response20014_spec.rb +59 -0
  141. data/spec/models/inline_response2001_spec.rb +1 -1
  142. data/spec/models/inline_response2002_spec.rb +1 -1
  143. data/spec/models/inline_response2003_spec.rb +1 -1
  144. data/spec/models/inline_response2004_spec.rb +1 -1
  145. data/spec/models/inline_response2005_spec.rb +1 -1
  146. data/spec/models/inline_response2006_spec.rb +1 -1
  147. data/spec/models/inline_response2007_spec.rb +1 -1
  148. data/spec/models/inline_response2008_spec.rb +1 -1
  149. data/spec/models/inline_response2009_spec.rb +59 -0
  150. data/spec/models/inline_response200_spec.rb +1 -1
  151. data/spec/models/repository_add_remove_content_spec.rb +53 -0
  152. data/spec/models/repository_sync_url_spec.rb +2 -2
  153. data/spec/models/repository_version_spec.rb +65 -0
  154. data/spec/models/{distribution_tree_spec.rb → rpm_distribution_tree_spec.rb} +7 -7
  155. data/spec/models/{modulemd_defaults_spec.rb → rpm_modulemd_defaults_spec.rb} +7 -25
  156. data/spec/models/{modulemd_spec.rb → rpm_modulemd_spec.rb} +7 -25
  157. data/spec/models/{repo_metadata_file_spec.rb → rpm_package_category_spec.rb} +16 -16
  158. data/spec/models/rpm_package_environment_spec.rb +101 -0
  159. data/spec/models/rpm_package_group_spec.rb +107 -0
  160. data/spec/models/rpm_package_langpacks_spec.rb +47 -0
  161. data/spec/models/{package_spec.rb → rpm_package_spec.rb} +7 -25
  162. data/spec/models/rpm_repo_metadata_file_spec.rb +71 -0
  163. data/spec/models/{rpm_distribution_spec.rb → rpm_rpm_distribution_spec.rb} +7 -7
  164. data/spec/models/{rpm_publication_spec.rb → rpm_rpm_publication_spec.rb} +7 -7
  165. data/spec/models/{rpm_remote_spec.rb → rpm_rpm_remote_spec.rb} +11 -23
  166. data/spec/models/rpm_rpm_repository_spec.rb +71 -0
  167. data/spec/models/rpm_update_collection_spec.rb +53 -0
  168. data/spec/models/{update_record_spec.rb → rpm_update_record_spec.rb} +19 -7
  169. data/spec/models/variant_spec.rb +1 -1
  170. data/spec/spec_helper.rb +1 -1
  171. metadata +126 -46
  172. data/docs/RpmCopyApi.md +0 -70
  173. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +0 -96
  174. data/spec/api/rpm_copy_api_spec.rb +0 -50
@@ -0,0 +1,465 @@
1
+ # PulpRpmClient::RepositoriesRpmApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**create**](RepositoriesRpmApi.md#create) | **POST** /pulp/api/v3/repositories/rpm/rpm/ | Create a rpm repository
8
+ [**delete**](RepositoriesRpmApi.md#delete) | **DELETE** {rpm_repository_href} | Delete a rpm repository
9
+ [**list**](RepositoriesRpmApi.md#list) | **GET** /pulp/api/v3/repositories/rpm/rpm/ | List rpm repositorys
10
+ [**modify**](RepositoriesRpmApi.md#modify) | **POST** {rpm_repository_href}modify/ |
11
+ [**partial_update**](RepositoriesRpmApi.md#partial_update) | **PATCH** {rpm_repository_href} | Partially update a rpm repository
12
+ [**read**](RepositoriesRpmApi.md#read) | **GET** {rpm_repository_href} | Inspect a rpm repository
13
+ [**sync**](RepositoriesRpmApi.md#sync) | **POST** {rpm_repository_href}sync/ | Sync from remote
14
+ [**update**](RepositoriesRpmApi.md#update) | **PUT** {rpm_repository_href} | Update a rpm repository
15
+
16
+
17
+
18
+ ## create
19
+
20
+ > RpmRpmRepository create(data)
21
+
22
+ Create a rpm repository
23
+
24
+ A ViewSet for RpmRepository.
25
+
26
+ ### Example
27
+
28
+ ```ruby
29
+ # load the gem
30
+ require 'pulp_rpm_client'
31
+ # setup authorization
32
+ PulpRpmClient.configure do |config|
33
+ # Configure HTTP basic authorization: Basic
34
+ config.username = 'YOUR USERNAME'
35
+ config.password = 'YOUR PASSWORD'
36
+ end
37
+
38
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
39
+ data = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
40
+
41
+ begin
42
+ #Create a rpm repository
43
+ result = api_instance.create(data)
44
+ p result
45
+ rescue PulpRpmClient::ApiError => e
46
+ puts "Exception when calling RepositoriesRpmApi->create: #{e}"
47
+ end
48
+ ```
49
+
50
+ ### Parameters
51
+
52
+
53
+ Name | Type | Description | Notes
54
+ ------------- | ------------- | ------------- | -------------
55
+ **data** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
56
+
57
+ ### Return type
58
+
59
+ [**RpmRpmRepository**](RpmRpmRepository.md)
60
+
61
+ ### Authorization
62
+
63
+ [Basic](../README.md#Basic)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: application/json
68
+ - **Accept**: application/json
69
+
70
+
71
+ ## delete
72
+
73
+ > AsyncOperationResponse delete(rpm_repository_href)
74
+
75
+ Delete a rpm repository
76
+
77
+ Trigger an asynchronous task to delete a repository.
78
+
79
+ ### Example
80
+
81
+ ```ruby
82
+ # load the gem
83
+ require 'pulp_rpm_client'
84
+ # setup authorization
85
+ PulpRpmClient.configure do |config|
86
+ # Configure HTTP basic authorization: Basic
87
+ config.username = 'YOUR USERNAME'
88
+ config.password = 'YOUR PASSWORD'
89
+ end
90
+
91
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
92
+ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
93
+
94
+ begin
95
+ #Delete a rpm repository
96
+ result = api_instance.delete(rpm_repository_href)
97
+ p result
98
+ rescue PulpRpmClient::ApiError => e
99
+ puts "Exception when calling RepositoriesRpmApi->delete: #{e}"
100
+ end
101
+ ```
102
+
103
+ ### Parameters
104
+
105
+
106
+ Name | Type | Description | Notes
107
+ ------------- | ------------- | ------------- | -------------
108
+ **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
109
+
110
+ ### Return type
111
+
112
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
113
+
114
+ ### Authorization
115
+
116
+ [Basic](../README.md#Basic)
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: Not defined
121
+ - **Accept**: application/json
122
+
123
+
124
+ ## list
125
+
126
+ > InlineResponse20013 list(opts)
127
+
128
+ List rpm repositorys
129
+
130
+ A ViewSet for RpmRepository.
131
+
132
+ ### Example
133
+
134
+ ```ruby
135
+ # load the gem
136
+ require 'pulp_rpm_client'
137
+ # setup authorization
138
+ PulpRpmClient.configure do |config|
139
+ # Configure HTTP basic authorization: Basic
140
+ config.username = 'YOUR USERNAME'
141
+ config.password = 'YOUR PASSWORD'
142
+ end
143
+
144
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
145
+ opts = {
146
+ name: 'name_example', # String |
147
+ name__in: 'name__in_example', # String | Filter results where name is in a comma-separated list of values
148
+ limit: 56, # Integer | Number of results to return per page.
149
+ offset: 56, # Integer | The initial index from which to return the results.
150
+ fields: 'fields_example', # String | A list of fields to include in the response.
151
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
152
+ }
153
+
154
+ begin
155
+ #List rpm repositorys
156
+ result = api_instance.list(opts)
157
+ p result
158
+ rescue PulpRpmClient::ApiError => e
159
+ puts "Exception when calling RepositoriesRpmApi->list: #{e}"
160
+ end
161
+ ```
162
+
163
+ ### Parameters
164
+
165
+
166
+ Name | Type | Description | Notes
167
+ ------------- | ------------- | ------------- | -------------
168
+ **name** | **String**| | [optional]
169
+ **name__in** | **String**| Filter results where name is in a comma-separated list of values | [optional]
170
+ **limit** | **Integer**| Number of results to return per page. | [optional]
171
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
172
+ **fields** | **String**| A list of fields to include in the response. | [optional]
173
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
174
+
175
+ ### Return type
176
+
177
+ [**InlineResponse20013**](InlineResponse20013.md)
178
+
179
+ ### Authorization
180
+
181
+ [Basic](../README.md#Basic)
182
+
183
+ ### HTTP request headers
184
+
185
+ - **Content-Type**: Not defined
186
+ - **Accept**: application/json
187
+
188
+
189
+ ## modify
190
+
191
+ > AsyncOperationResponse modify(rpm_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_rpm_client'
202
+ # setup authorization
203
+ PulpRpmClient.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 = PulpRpmClient::RepositoriesRpmApi.new
210
+ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
211
+ data = PulpRpmClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
212
+
213
+ begin
214
+ result = api_instance.modify(rpm_repository_href, data)
215
+ p result
216
+ rescue PulpRpmClient::ApiError => e
217
+ puts "Exception when calling RepositoriesRpmApi->modify: #{e}"
218
+ end
219
+ ```
220
+
221
+ ### Parameters
222
+
223
+
224
+ Name | Type | Description | Notes
225
+ ------------- | ------------- | ------------- | -------------
226
+ **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/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
+
243
+ ## partial_update
244
+
245
+ > RpmRpmRepository partial_update(rpm_repository_href, data)
246
+
247
+ Partially update a rpm repository
248
+
249
+ A ViewSet for RpmRepository.
250
+
251
+ ### Example
252
+
253
+ ```ruby
254
+ # load the gem
255
+ require 'pulp_rpm_client'
256
+ # setup authorization
257
+ PulpRpmClient.configure do |config|
258
+ # Configure HTTP basic authorization: Basic
259
+ config.username = 'YOUR USERNAME'
260
+ config.password = 'YOUR PASSWORD'
261
+ end
262
+
263
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
264
+ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
265
+ data = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
266
+
267
+ begin
268
+ #Partially update a rpm repository
269
+ result = api_instance.partial_update(rpm_repository_href, data)
270
+ p result
271
+ rescue PulpRpmClient::ApiError => e
272
+ puts "Exception when calling RepositoriesRpmApi->partial_update: #{e}"
273
+ end
274
+ ```
275
+
276
+ ### Parameters
277
+
278
+
279
+ Name | Type | Description | Notes
280
+ ------------- | ------------- | ------------- | -------------
281
+ **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
282
+ **data** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
283
+
284
+ ### Return type
285
+
286
+ [**RpmRpmRepository**](RpmRpmRepository.md)
287
+
288
+ ### Authorization
289
+
290
+ [Basic](../README.md#Basic)
291
+
292
+ ### HTTP request headers
293
+
294
+ - **Content-Type**: application/json
295
+ - **Accept**: application/json
296
+
297
+
298
+ ## read
299
+
300
+ > RpmRpmRepository read(rpm_repository_href, opts)
301
+
302
+ Inspect a rpm repository
303
+
304
+ A ViewSet for RpmRepository.
305
+
306
+ ### Example
307
+
308
+ ```ruby
309
+ # load the gem
310
+ require 'pulp_rpm_client'
311
+ # setup authorization
312
+ PulpRpmClient.configure do |config|
313
+ # Configure HTTP basic authorization: Basic
314
+ config.username = 'YOUR USERNAME'
315
+ config.password = 'YOUR PASSWORD'
316
+ end
317
+
318
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
319
+ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
320
+ opts = {
321
+ fields: 'fields_example', # String | A list of fields to include in the response.
322
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
323
+ }
324
+
325
+ begin
326
+ #Inspect a rpm repository
327
+ result = api_instance.read(rpm_repository_href, opts)
328
+ p result
329
+ rescue PulpRpmClient::ApiError => e
330
+ puts "Exception when calling RepositoriesRpmApi->read: #{e}"
331
+ end
332
+ ```
333
+
334
+ ### Parameters
335
+
336
+
337
+ Name | Type | Description | Notes
338
+ ------------- | ------------- | ------------- | -------------
339
+ **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
340
+ **fields** | **String**| A list of fields to include in the response. | [optional]
341
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
342
+
343
+ ### Return type
344
+
345
+ [**RpmRpmRepository**](RpmRpmRepository.md)
346
+
347
+ ### Authorization
348
+
349
+ [Basic](../README.md#Basic)
350
+
351
+ ### HTTP request headers
352
+
353
+ - **Content-Type**: Not defined
354
+ - **Accept**: application/json
355
+
356
+
357
+ ## sync
358
+
359
+ > AsyncOperationResponse sync(rpm_repository_href, data)
360
+
361
+ Sync from remote
362
+
363
+ Trigger an asynchronous task to sync RPM content.
364
+
365
+ ### Example
366
+
367
+ ```ruby
368
+ # load the gem
369
+ require 'pulp_rpm_client'
370
+ # setup authorization
371
+ PulpRpmClient.configure do |config|
372
+ # Configure HTTP basic authorization: Basic
373
+ config.username = 'YOUR USERNAME'
374
+ config.password = 'YOUR PASSWORD'
375
+ end
376
+
377
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
378
+ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
379
+ data = PulpRpmClient::RepositorySyncURL.new # RepositorySyncURL |
380
+
381
+ begin
382
+ #Sync from remote
383
+ result = api_instance.sync(rpm_repository_href, data)
384
+ p result
385
+ rescue PulpRpmClient::ApiError => e
386
+ puts "Exception when calling RepositoriesRpmApi->sync: #{e}"
387
+ end
388
+ ```
389
+
390
+ ### Parameters
391
+
392
+
393
+ Name | Type | Description | Notes
394
+ ------------- | ------------- | ------------- | -------------
395
+ **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
396
+ **data** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
397
+
398
+ ### Return type
399
+
400
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
401
+
402
+ ### Authorization
403
+
404
+ [Basic](../README.md#Basic)
405
+
406
+ ### HTTP request headers
407
+
408
+ - **Content-Type**: application/json
409
+ - **Accept**: application/json
410
+
411
+
412
+ ## update
413
+
414
+ > AsyncOperationResponse update(rpm_repository_href, data)
415
+
416
+ Update a rpm repository
417
+
418
+ Trigger an asynchronous task to update a repository.
419
+
420
+ ### Example
421
+
422
+ ```ruby
423
+ # load the gem
424
+ require 'pulp_rpm_client'
425
+ # setup authorization
426
+ PulpRpmClient.configure do |config|
427
+ # Configure HTTP basic authorization: Basic
428
+ config.username = 'YOUR USERNAME'
429
+ config.password = 'YOUR PASSWORD'
430
+ end
431
+
432
+ api_instance = PulpRpmClient::RepositoriesRpmApi.new
433
+ rpm_repository_href = 'rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
434
+ data = PulpRpmClient::RpmRpmRepository.new # RpmRpmRepository |
435
+
436
+ begin
437
+ #Update a rpm repository
438
+ result = api_instance.update(rpm_repository_href, data)
439
+ p result
440
+ rescue PulpRpmClient::ApiError => e
441
+ puts "Exception when calling RepositoriesRpmApi->update: #{e}"
442
+ end
443
+ ```
444
+
445
+ ### Parameters
446
+
447
+
448
+ Name | Type | Description | Notes
449
+ ------------- | ------------- | ------------- | -------------
450
+ **rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
451
+ **data** | [**RpmRpmRepository**](RpmRpmRepository.md)| |
452
+
453
+ ### Return type
454
+
455
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
456
+
457
+ ### Authorization
458
+
459
+ [Basic](../README.md#Basic)
460
+
461
+ ### HTTP request headers
462
+
463
+ - **Content-Type**: application/json
464
+ - **Accept**: application/json
465
+
@@ -0,0 +1,214 @@
1
+ # PulpRpmClient::RepositoriesRpmVersionsApi
2
+
3
+ All URIs are relative to *http://localhost:24817*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**delete**](RepositoriesRpmVersionsApi.md#delete) | **DELETE** {rpm_repository_version_href} | Delete a repository version
8
+ [**list**](RepositoriesRpmVersionsApi.md#list) | **GET** {rpm_repository_href}versions/ | List repository versions
9
+ [**read**](RepositoriesRpmVersionsApi.md#read) | **GET** {rpm_repository_version_href} | Inspect a repository version
10
+
11
+
12
+
13
+ ## delete
14
+
15
+ > AsyncOperationResponse delete(rpm_repository_version_href)
16
+
17
+ Delete a repository version
18
+
19
+ Trigger an asynchronous task to delete a repositroy version.
20
+
21
+ ### Example
22
+
23
+ ```ruby
24
+ # load the gem
25
+ require 'pulp_rpm_client'
26
+ # setup authorization
27
+ PulpRpmClient.configure do |config|
28
+ # Configure HTTP basic authorization: Basic
29
+ config.username = 'YOUR USERNAME'
30
+ config.password = 'YOUR PASSWORD'
31
+ end
32
+
33
+ api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
34
+ rpm_repository_version_href = 'rpm_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/versions/1/
35
+
36
+ begin
37
+ #Delete a repository version
38
+ result = api_instance.delete(rpm_repository_version_href)
39
+ p result
40
+ rescue PulpRpmClient::ApiError => e
41
+ puts "Exception when calling RepositoriesRpmVersionsApi->delete: #{e}"
42
+ end
43
+ ```
44
+
45
+ ### Parameters
46
+
47
+
48
+ Name | Type | Description | Notes
49
+ ------------- | ------------- | ------------- | -------------
50
+ **rpm_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/versions/1/ |
51
+
52
+ ### Return type
53
+
54
+ [**AsyncOperationResponse**](AsyncOperationResponse.md)
55
+
56
+ ### Authorization
57
+
58
+ [Basic](../README.md#Basic)
59
+
60
+ ### HTTP request headers
61
+
62
+ - **Content-Type**: Not defined
63
+ - **Accept**: application/json
64
+
65
+
66
+ ## list
67
+
68
+ > InlineResponse20014 list(rpm_rpm_repository_href, opts)
69
+
70
+ List repository versions
71
+
72
+ RpmRepositoryVersion represents a single rpm repository version.
73
+
74
+ ### Example
75
+
76
+ ```ruby
77
+ # load the gem
78
+ require 'pulp_rpm_client'
79
+ # setup authorization
80
+ PulpRpmClient.configure do |config|
81
+ # Configure HTTP basic authorization: Basic
82
+ config.username = 'YOUR USERNAME'
83
+ config.password = 'YOUR PASSWORD'
84
+ end
85
+
86
+ api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
87
+ rpm_rpm_repository_href = 'rpm_rpm_repository_href_example' # String | URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
88
+ opts = {
89
+ ordering: 'ordering_example', # String | Which field to use when ordering the results.
90
+ number: 3.4, # Float |
91
+ number__lt: 3.4, # Float | Filter results where number is less than value
92
+ number__lte: 3.4, # Float | Filter results where number is less than or equal to value
93
+ number__gt: 3.4, # Float | Filter results where number is greater than value
94
+ number__gte: 3.4, # Float | Filter results where number is greater than or equal to value
95
+ number__range: 3.4, # Float | Filter results where number is between two comma separated values
96
+ pulp_created__lt: 'pulp_created__lt_example', # String | Filter results where pulp_created is less than value
97
+ pulp_created__lte: 'pulp_created__lte_example', # String | Filter results where pulp_created is less than or equal to value
98
+ pulp_created__gt: 'pulp_created__gt_example', # String | Filter results where pulp_created is greater than value
99
+ pulp_created__gte: 'pulp_created__gte_example', # String | Filter results where pulp_created is greater than or equal to value
100
+ pulp_created__range: 'pulp_created__range_example', # String | Filter results where pulp_created is between two comma separated values
101
+ content: 'content_example', # String | Content Unit referenced by HREF
102
+ pulp_created: 'pulp_created_example', # String | ISO 8601 formatted dates are supported
103
+ limit: 56, # Integer | Number of results to return per page.
104
+ offset: 56, # Integer | The initial index from which to return the results.
105
+ fields: 'fields_example', # String | A list of fields to include in the response.
106
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
107
+ }
108
+
109
+ begin
110
+ #List repository versions
111
+ result = api_instance.list(rpm_rpm_repository_href, opts)
112
+ p result
113
+ rescue PulpRpmClient::ApiError => e
114
+ puts "Exception when calling RepositoriesRpmVersionsApi->list: #{e}"
115
+ end
116
+ ```
117
+
118
+ ### Parameters
119
+
120
+
121
+ Name | Type | Description | Notes
122
+ ------------- | ------------- | ------------- | -------------
123
+ **rpm_rpm_repository_href** | **String**| URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/ |
124
+ **ordering** | **String**| Which field to use when ordering the results. | [optional]
125
+ **number** | **Float**| | [optional]
126
+ **number__lt** | **Float**| Filter results where number is less than value | [optional]
127
+ **number__lte** | **Float**| Filter results where number is less than or equal to value | [optional]
128
+ **number__gt** | **Float**| Filter results where number is greater than value | [optional]
129
+ **number__gte** | **Float**| Filter results where number is greater than or equal to value | [optional]
130
+ **number__range** | **Float**| Filter results where number is between two comma separated values | [optional]
131
+ **pulp_created__lt** | **String**| Filter results where pulp_created is less than value | [optional]
132
+ **pulp_created__lte** | **String**| Filter results where pulp_created is less than or equal to value | [optional]
133
+ **pulp_created__gt** | **String**| Filter results where pulp_created is greater than value | [optional]
134
+ **pulp_created__gte** | **String**| Filter results where pulp_created is greater than or equal to value | [optional]
135
+ **pulp_created__range** | **String**| Filter results where pulp_created is between two comma separated values | [optional]
136
+ **content** | **String**| Content Unit referenced by HREF | [optional]
137
+ **pulp_created** | **String**| ISO 8601 formatted dates are supported | [optional]
138
+ **limit** | **Integer**| Number of results to return per page. | [optional]
139
+ **offset** | **Integer**| The initial index from which to return the results. | [optional]
140
+ **fields** | **String**| A list of fields to include in the response. | [optional]
141
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
142
+
143
+ ### Return type
144
+
145
+ [**InlineResponse20014**](InlineResponse20014.md)
146
+
147
+ ### Authorization
148
+
149
+ [Basic](../README.md#Basic)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
156
+
157
+ ## read
158
+
159
+ > RepositoryVersion read(rpm_repository_version_href, opts)
160
+
161
+ Inspect a repository version
162
+
163
+ RpmRepositoryVersion represents a single rpm repository version.
164
+
165
+ ### Example
166
+
167
+ ```ruby
168
+ # load the gem
169
+ require 'pulp_rpm_client'
170
+ # setup authorization
171
+ PulpRpmClient.configure do |config|
172
+ # Configure HTTP basic authorization: Basic
173
+ config.username = 'YOUR USERNAME'
174
+ config.password = 'YOUR PASSWORD'
175
+ end
176
+
177
+ api_instance = PulpRpmClient::RepositoriesRpmVersionsApi.new
178
+ rpm_repository_version_href = 'rpm_repository_version_href_example' # String | URI of Repository Version. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/versions/1/
179
+ opts = {
180
+ fields: 'fields_example', # String | A list of fields to include in the response.
181
+ exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
182
+ }
183
+
184
+ begin
185
+ #Inspect a repository version
186
+ result = api_instance.read(rpm_repository_version_href, opts)
187
+ p result
188
+ rescue PulpRpmClient::ApiError => e
189
+ puts "Exception when calling RepositoriesRpmVersionsApi->read: #{e}"
190
+ end
191
+ ```
192
+
193
+ ### Parameters
194
+
195
+
196
+ Name | Type | Description | Notes
197
+ ------------- | ------------- | ------------- | -------------
198
+ **rpm_repository_version_href** | **String**| URI of Repository Version. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/versions/1/ |
199
+ **fields** | **String**| A list of fields to include in the response. | [optional]
200
+ **exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
201
+
202
+ ### Return type
203
+
204
+ [**RepositoryVersion**](RepositoryVersion.md)
205
+
206
+ ### Authorization
207
+
208
+ [Basic](../README.md#Basic)
209
+
210
+ ### HTTP request headers
211
+
212
+ - **Content-Type**: Not defined
213
+ - **Accept**: application/json
214
+
@@ -0,0 +1,21 @@
1
+ # PulpRpmClient::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 'PulpRpmClient'
15
+
16
+ instance = PulpRpmClient::RepositoryAddRemoveContent.new(add_content_units: null,
17
+ remove_content_units: null,
18
+ base_version: null)
19
+ ```
20
+
21
+