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
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -121,7 +121,7 @@ module PulpRpmClient
121
121
  # @option opts [Integer] :offset The initial index from which to return the results.
122
122
  # @option opts [String] :fields A list of fields to include in the response.
123
123
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
124
- # @return [InlineResponse2004]
124
+ # @return [InlineResponse2008]
125
125
  def list(opts = {})
126
126
  data, _status_code, _headers = list_with_http_info(opts)
127
127
  data
@@ -151,7 +151,7 @@ module PulpRpmClient
151
151
  # @option opts [Integer] :offset The initial index from which to return the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
153
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
- # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
154
+ # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
155
155
  def list_with_http_info(opts = {})
156
156
  if @api_client.config.debugging
157
157
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.list ...'
@@ -195,7 +195,7 @@ module PulpRpmClient
195
195
  post_body = opts[:body]
196
196
 
197
197
  # return_type
198
- return_type = opts[:return_type] || 'InlineResponse2004'
198
+ return_type = opts[:return_type] || 'InlineResponse2008'
199
199
 
200
200
  # auth_names
201
201
  auth_names = opts[:auth_names] || ['Basic']
@@ -222,7 +222,7 @@ module PulpRpmClient
222
222
  # @param [Hash] opts the optional parameters
223
223
  # @option opts [String] :fields A list of fields to include in the response.
224
224
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
225
- # @return [Package]
225
+ # @return [RpmPackage]
226
226
  def read(package_href, opts = {})
227
227
  data, _status_code, _headers = read_with_http_info(package_href, opts)
228
228
  data
@@ -234,7 +234,7 @@ module PulpRpmClient
234
234
  # @param [Hash] opts the optional parameters
235
235
  # @option opts [String] :fields A list of fields to include in the response.
236
236
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
237
- # @return [Array<(Package, Integer, Hash)>] Package data, response status code and response headers
237
+ # @return [Array<(RpmPackage, Integer, Hash)>] RpmPackage data, response status code and response headers
238
238
  def read_with_http_info(package_href, opts = {})
239
239
  if @api_client.config.debugging
240
240
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
@@ -263,7 +263,7 @@ module PulpRpmClient
263
263
  post_body = opts[:body]
264
264
 
265
265
  # return_type
266
- return_type = opts[:return_type] || 'Package'
266
+ return_type = opts[:return_type] || 'RpmPackage'
267
267
 
268
268
  # auth_names
269
269
  auth_names = opts[:auth_names] || ['Basic']
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -89,7 +89,7 @@ module PulpRpmClient
89
89
  # @option opts [Integer] :offset The initial index from which to return the results.
90
90
  # @option opts [String] :fields A list of fields to include in the response.
91
91
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
92
- # @return [InlineResponse2005]
92
+ # @return [InlineResponse2009]
93
93
  def list(opts = {})
94
94
  data, _status_code, _headers = list_with_http_info(opts)
95
95
  data
@@ -105,7 +105,7 @@ module PulpRpmClient
105
105
  # @option opts [Integer] :offset The initial index from which to return the results.
106
106
  # @option opts [String] :fields A list of fields to include in the response.
107
107
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
108
- # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
108
+ # @return [Array<(InlineResponse2009, Integer, Hash)>] InlineResponse2009 data, response status code and response headers
109
109
  def list_with_http_info(opts = {})
110
110
  if @api_client.config.debugging
111
111
  @api_client.config.logger.debug 'Calling API: ContentRepoMetadataFilesApi.list ...'
@@ -135,7 +135,7 @@ module PulpRpmClient
135
135
  post_body = opts[:body]
136
136
 
137
137
  # return_type
138
- return_type = opts[:return_type] || 'InlineResponse2005'
138
+ return_type = opts[:return_type] || 'InlineResponse2009'
139
139
 
140
140
  # auth_names
141
141
  auth_names = opts[:auth_names] || ['Basic']
@@ -162,7 +162,7 @@ module PulpRpmClient
162
162
  # @param [Hash] opts the optional parameters
163
163
  # @option opts [String] :fields A list of fields to include in the response.
164
164
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
165
- # @return [RepoMetadataFile]
165
+ # @return [RpmRepoMetadataFile]
166
166
  def read(repo_metadata_file_href, opts = {})
167
167
  data, _status_code, _headers = read_with_http_info(repo_metadata_file_href, opts)
168
168
  data
@@ -174,7 +174,7 @@ module PulpRpmClient
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @option opts [String] :fields A list of fields to include in the response.
176
176
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
177
- # @return [Array<(RepoMetadataFile, Integer, Hash)>] RepoMetadataFile data, response status code and response headers
177
+ # @return [Array<(RpmRepoMetadataFile, Integer, Hash)>] RpmRepoMetadataFile data, response status code and response headers
178
178
  def read_with_http_info(repo_metadata_file_href, opts = {})
179
179
  if @api_client.config.debugging
180
180
  @api_client.config.logger.debug 'Calling API: ContentRepoMetadataFilesApi.read ...'
@@ -203,7 +203,7 @@ module PulpRpmClient
203
203
  post_body = opts[:body]
204
204
 
205
205
  # return_type
206
- return_type = opts[:return_type] || 'RepoMetadataFile'
206
+ return_type = opts[:return_type] || 'RpmRepoMetadataFile'
207
207
 
208
208
  # auth_names
209
209
  auth_names = opts[:auth_names] || ['Basic']
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,7 @@ module PulpRpmClient
21
21
  end
22
22
  # Create a rpm distribution
23
23
  # Trigger an asynchronous create task
24
- # @param data [RpmDistribution]
24
+ # @param data [RpmRpmDistribution]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
27
  def create(data, opts = {})
@@ -31,7 +31,7 @@ module PulpRpmClient
31
31
 
32
32
  # Create a rpm distribution
33
33
  # Trigger an asynchronous create task
34
- # @param data [RpmDistribution]
34
+ # @param data [RpmRpmDistribution]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
@@ -158,7 +158,7 @@ module PulpRpmClient
158
158
  # @option opts [Integer] :offset The initial index from which to return the results.
159
159
  # @option opts [String] :fields A list of fields to include in the response.
160
160
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
161
- # @return [InlineResponse2006]
161
+ # @return [InlineResponse20010]
162
162
  def list(opts = {})
163
163
  data, _status_code, _headers = list_with_http_info(opts)
164
164
  data
@@ -177,7 +177,7 @@ module PulpRpmClient
177
177
  # @option opts [Integer] :offset The initial index from which to return the results.
178
178
  # @option opts [String] :fields A list of fields to include in the response.
179
179
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
180
- # @return [Array<(InlineResponse2006, Integer, Hash)>] InlineResponse2006 data, response status code and response headers
180
+ # @return [Array<(InlineResponse20010, Integer, Hash)>] InlineResponse20010 data, response status code and response headers
181
181
  def list_with_http_info(opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.list ...'
@@ -210,7 +210,7 @@ module PulpRpmClient
210
210
  post_body = opts[:body]
211
211
 
212
212
  # return_type
213
- return_type = opts[:return_type] || 'InlineResponse2006'
213
+ return_type = opts[:return_type] || 'InlineResponse20010'
214
214
 
215
215
  # auth_names
216
216
  auth_names = opts[:auth_names] || ['Basic']
@@ -234,7 +234,7 @@ module PulpRpmClient
234
234
  # Partially update a rpm distribution
235
235
  # Trigger an asynchronous partial update task
236
236
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
237
- # @param data [RpmDistribution]
237
+ # @param data [RpmRpmDistribution]
238
238
  # @param [Hash] opts the optional parameters
239
239
  # @return [AsyncOperationResponse]
240
240
  def partial_update(rpm_distribution_href, data, opts = {})
@@ -245,7 +245,7 @@ module PulpRpmClient
245
245
  # Partially update a rpm distribution
246
246
  # Trigger an asynchronous partial update task
247
247
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
248
- # @param data [RpmDistribution]
248
+ # @param data [RpmRpmDistribution]
249
249
  # @param [Hash] opts the optional parameters
250
250
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
251
251
  def partial_update_with_http_info(rpm_distribution_href, data, opts = {})
@@ -307,7 +307,7 @@ module PulpRpmClient
307
307
  # @param [Hash] opts the optional parameters
308
308
  # @option opts [String] :fields A list of fields to include in the response.
309
309
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
310
- # @return [RpmDistribution]
310
+ # @return [RpmRpmDistribution]
311
311
  def read(rpm_distribution_href, opts = {})
312
312
  data, _status_code, _headers = read_with_http_info(rpm_distribution_href, opts)
313
313
  data
@@ -319,7 +319,7 @@ module PulpRpmClient
319
319
  # @param [Hash] opts the optional parameters
320
320
  # @option opts [String] :fields A list of fields to include in the response.
321
321
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
322
- # @return [Array<(RpmDistribution, Integer, Hash)>] RpmDistribution data, response status code and response headers
322
+ # @return [Array<(RpmRpmDistribution, Integer, Hash)>] RpmRpmDistribution data, response status code and response headers
323
323
  def read_with_http_info(rpm_distribution_href, opts = {})
324
324
  if @api_client.config.debugging
325
325
  @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.read ...'
@@ -348,7 +348,7 @@ module PulpRpmClient
348
348
  post_body = opts[:body]
349
349
 
350
350
  # return_type
351
- return_type = opts[:return_type] || 'RpmDistribution'
351
+ return_type = opts[:return_type] || 'RpmRpmDistribution'
352
352
 
353
353
  # auth_names
354
354
  auth_names = opts[:auth_names] || ['Basic']
@@ -372,7 +372,7 @@ module PulpRpmClient
372
372
  # Update a rpm distribution
373
373
  # Trigger an asynchronous update task
374
374
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
375
- # @param data [RpmDistribution]
375
+ # @param data [RpmRpmDistribution]
376
376
  # @param [Hash] opts the optional parameters
377
377
  # @return [AsyncOperationResponse]
378
378
  def update(rpm_distribution_href, data, opts = {})
@@ -383,7 +383,7 @@ module PulpRpmClient
383
383
  # Update a rpm distribution
384
384
  # Trigger an asynchronous update task
385
385
  # @param rpm_distribution_href [String] URI of Rpm Distribution. e.g.: /pulp/api/v3/distributions/rpm/rpm/1/
386
- # @param data [RpmDistribution]
386
+ # @param data [RpmRpmDistribution]
387
387
  # @param [Hash] opts the optional parameters
388
388
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
389
389
  def update_with_http_info(rpm_distribution_href, data, opts = {})
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,7 @@ module PulpRpmClient
21
21
  end
22
22
  # Create a rpm publication
23
23
  # Trigger an asynchronous task to create a new RPM content publication.
24
- # @param data [RpmPublication]
24
+ # @param data [RpmRpmPublication]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AsyncOperationResponse]
27
27
  def create(data, opts = {})
@@ -31,7 +31,7 @@ module PulpRpmClient
31
31
 
32
32
  # Create a rpm publication
33
33
  # Trigger an asynchronous task to create a new RPM content publication.
34
- # @param data [RpmPublication]
34
+ # @param data [RpmRpmPublication]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
@@ -151,7 +151,7 @@ module PulpRpmClient
151
151
  # @option opts [Integer] :offset The initial index from which to return the results.
152
152
  # @option opts [String] :fields A list of fields to include in the response.
153
153
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
154
- # @return [InlineResponse2007]
154
+ # @return [InlineResponse20011]
155
155
  def list(opts = {})
156
156
  data, _status_code, _headers = list_with_http_info(opts)
157
157
  data
@@ -165,7 +165,7 @@ module PulpRpmClient
165
165
  # @option opts [Integer] :offset The initial index from which to return the results.
166
166
  # @option opts [String] :fields A list of fields to include in the response.
167
167
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
168
- # @return [Array<(InlineResponse2007, Integer, Hash)>] InlineResponse2007 data, response status code and response headers
168
+ # @return [Array<(InlineResponse20011, Integer, Hash)>] InlineResponse20011 data, response status code and response headers
169
169
  def list_with_http_info(opts = {})
170
170
  if @api_client.config.debugging
171
171
  @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.list ...'
@@ -193,7 +193,7 @@ module PulpRpmClient
193
193
  post_body = opts[:body]
194
194
 
195
195
  # return_type
196
- return_type = opts[:return_type] || 'InlineResponse2007'
196
+ return_type = opts[:return_type] || 'InlineResponse20011'
197
197
 
198
198
  # auth_names
199
199
  auth_names = opts[:auth_names] || ['Basic']
@@ -220,7 +220,7 @@ module PulpRpmClient
220
220
  # @param [Hash] opts the optional parameters
221
221
  # @option opts [String] :fields A list of fields to include in the response.
222
222
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
223
- # @return [RpmPublication]
223
+ # @return [RpmRpmPublication]
224
224
  def read(rpm_publication_href, opts = {})
225
225
  data, _status_code, _headers = read_with_http_info(rpm_publication_href, opts)
226
226
  data
@@ -232,7 +232,7 @@ module PulpRpmClient
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @option opts [String] :fields A list of fields to include in the response.
234
234
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
235
- # @return [Array<(RpmPublication, Integer, Hash)>] RpmPublication data, response status code and response headers
235
+ # @return [Array<(RpmRpmPublication, Integer, Hash)>] RpmRpmPublication data, response status code and response headers
236
236
  def read_with_http_info(rpm_publication_href, opts = {})
237
237
  if @api_client.config.debugging
238
238
  @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.read ...'
@@ -261,7 +261,7 @@ module PulpRpmClient
261
261
  post_body = opts[:body]
262
262
 
263
263
  # return_type
264
- return_type = opts[:return_type] || 'RpmPublication'
264
+ return_type = opts[:return_type] || 'RpmRpmPublication'
265
265
 
266
266
  # auth_names
267
267
  auth_names = opts[:auth_names] || ['Basic']
@@ -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.1-SNAPSHOT
9
+ OpenAPI Generator version: 4.2.2-SNAPSHOT
10
10
 
11
11
  =end
12
12
 
@@ -21,9 +21,9 @@ module PulpRpmClient
21
21
  end
22
22
  # Create a rpm remote
23
23
  # A ViewSet for RpmRemote.
24
- # @param data [RpmRemote]
24
+ # @param data [RpmRpmRemote]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [RpmRemote]
26
+ # @return [RpmRpmRemote]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -31,9 +31,9 @@ module PulpRpmClient
31
31
 
32
32
  # Create a rpm remote
33
33
  # A ViewSet for RpmRemote.
34
- # @param data [RpmRemote]
34
+ # @param data [RpmRpmRemote]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(RpmRemote, Integer, Hash)>] RpmRemote data, response status code and response headers
36
+ # @return [Array<(RpmRpmRemote, Integer, Hash)>] RpmRpmRemote data, response status code and response headers
37
37
  def create_with_http_info(data, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.create ...'
@@ -62,7 +62,7 @@ module PulpRpmClient
62
62
  post_body = opts[:body] || @api_client.object_to_http_body(data)
63
63
 
64
64
  # return_type
65
- return_type = opts[:return_type] || 'RpmRemote'
65
+ return_type = opts[:return_type] || 'RpmRpmRemote'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -160,7 +160,7 @@ module PulpRpmClient
160
160
  # @option opts [Integer] :offset The initial index from which to return the results.
161
161
  # @option opts [String] :fields A list of fields to include in the response.
162
162
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
163
- # @return [InlineResponse2008]
163
+ # @return [InlineResponse20012]
164
164
  def list(opts = {})
165
165
  data, _status_code, _headers = list_with_http_info(opts)
166
166
  data
@@ -181,7 +181,7 @@ module PulpRpmClient
181
181
  # @option opts [Integer] :offset The initial index from which to return the results.
182
182
  # @option opts [String] :fields A list of fields to include in the response.
183
183
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
184
- # @return [Array<(InlineResponse2008, Integer, Hash)>] InlineResponse2008 data, response status code and response headers
184
+ # @return [Array<(InlineResponse20012, Integer, Hash)>] InlineResponse20012 data, response status code and response headers
185
185
  def list_with_http_info(opts = {})
186
186
  if @api_client.config.debugging
187
187
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.list ...'
@@ -216,7 +216,7 @@ module PulpRpmClient
216
216
  post_body = opts[:body]
217
217
 
218
218
  # return_type
219
- return_type = opts[:return_type] || 'InlineResponse2008'
219
+ return_type = opts[:return_type] || 'InlineResponse20012'
220
220
 
221
221
  # auth_names
222
222
  auth_names = opts[:auth_names] || ['Basic']
@@ -240,7 +240,7 @@ module PulpRpmClient
240
240
  # Partially update a rpm remote
241
241
  # Trigger an asynchronous partial update task
242
242
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
243
- # @param data [RpmRemote]
243
+ # @param data [RpmRpmRemote]
244
244
  # @param [Hash] opts the optional parameters
245
245
  # @return [AsyncOperationResponse]
246
246
  def partial_update(rpm_remote_href, data, opts = {})
@@ -251,7 +251,7 @@ module PulpRpmClient
251
251
  # Partially update a rpm remote
252
252
  # Trigger an asynchronous partial update task
253
253
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
254
- # @param data [RpmRemote]
254
+ # @param data [RpmRpmRemote]
255
255
  # @param [Hash] opts the optional parameters
256
256
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
257
257
  def partial_update_with_http_info(rpm_remote_href, data, opts = {})
@@ -313,7 +313,7 @@ module PulpRpmClient
313
313
  # @param [Hash] opts the optional parameters
314
314
  # @option opts [String] :fields A list of fields to include in the response.
315
315
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
316
- # @return [RpmRemote]
316
+ # @return [RpmRpmRemote]
317
317
  def read(rpm_remote_href, opts = {})
318
318
  data, _status_code, _headers = read_with_http_info(rpm_remote_href, opts)
319
319
  data
@@ -325,7 +325,7 @@ module PulpRpmClient
325
325
  # @param [Hash] opts the optional parameters
326
326
  # @option opts [String] :fields A list of fields to include in the response.
327
327
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
328
- # @return [Array<(RpmRemote, Integer, Hash)>] RpmRemote data, response status code and response headers
328
+ # @return [Array<(RpmRpmRemote, Integer, Hash)>] RpmRpmRemote data, response status code and response headers
329
329
  def read_with_http_info(rpm_remote_href, opts = {})
330
330
  if @api_client.config.debugging
331
331
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.read ...'
@@ -354,7 +354,7 @@ module PulpRpmClient
354
354
  post_body = opts[:body]
355
355
 
356
356
  # return_type
357
- return_type = opts[:return_type] || 'RpmRemote'
357
+ return_type = opts[:return_type] || 'RpmRpmRemote'
358
358
 
359
359
  # auth_names
360
360
  auth_names = opts[:auth_names] || ['Basic']
@@ -375,80 +375,10 @@ module PulpRpmClient
375
375
  return data, status_code, headers
376
376
  end
377
377
 
378
- # Sync from remote
379
- # Trigger an asynchronous task to sync RPM content.
380
- # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
381
- # @param data [RepositorySyncURL]
382
- # @param [Hash] opts the optional parameters
383
- # @return [AsyncOperationResponse]
384
- def sync(rpm_remote_href, data, opts = {})
385
- data, _status_code, _headers = sync_with_http_info(rpm_remote_href, data, opts)
386
- data
387
- end
388
-
389
- # Sync from remote
390
- # Trigger an asynchronous task to sync RPM content.
391
- # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
392
- # @param data [RepositorySyncURL]
393
- # @param [Hash] opts the optional parameters
394
- # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
395
- def sync_with_http_info(rpm_remote_href, data, opts = {})
396
- if @api_client.config.debugging
397
- @api_client.config.logger.debug 'Calling API: RemotesRpmApi.sync ...'
398
- end
399
- # verify the required parameter 'rpm_remote_href' is set
400
- if @api_client.config.client_side_validation && rpm_remote_href.nil?
401
- fail ArgumentError, "Missing the required parameter 'rpm_remote_href' when calling RemotesRpmApi.sync"
402
- end
403
- # verify the required parameter 'data' is set
404
- if @api_client.config.client_side_validation && data.nil?
405
- fail ArgumentError, "Missing the required parameter 'data' when calling RemotesRpmApi.sync"
406
- end
407
- # resource path
408
- local_var_path = '{rpm_remote_href}sync/'.sub('{' + 'rpm_remote_href' + '}', CGI.escape(rpm_remote_href.to_s).gsub('%2F', '/'))
409
-
410
- # query parameters
411
- query_params = opts[:query_params] || {}
412
-
413
- # header parameters
414
- header_params = opts[:header_params] || {}
415
- # HTTP header 'Accept' (if needed)
416
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
417
- # HTTP header 'Content-Type'
418
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
419
-
420
- # form parameters
421
- form_params = opts[:form_params] || {}
422
-
423
- # http body (model)
424
- post_body = opts[:body] || @api_client.object_to_http_body(data)
425
-
426
- # return_type
427
- return_type = opts[:return_type] || 'AsyncOperationResponse'
428
-
429
- # auth_names
430
- auth_names = opts[:auth_names] || ['Basic']
431
-
432
- new_options = opts.merge(
433
- :header_params => header_params,
434
- :query_params => query_params,
435
- :form_params => form_params,
436
- :body => post_body,
437
- :auth_names => auth_names,
438
- :return_type => return_type
439
- )
440
-
441
- data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
442
- if @api_client.config.debugging
443
- @api_client.config.logger.debug "API called: RemotesRpmApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
444
- end
445
- return data, status_code, headers
446
- end
447
-
448
378
  # Update a rpm remote
449
379
  # Trigger an asynchronous update task
450
380
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
451
- # @param data [RpmRemote]
381
+ # @param data [RpmRpmRemote]
452
382
  # @param [Hash] opts the optional parameters
453
383
  # @return [AsyncOperationResponse]
454
384
  def update(rpm_remote_href, data, opts = {})
@@ -459,7 +389,7 @@ module PulpRpmClient
459
389
  # Update a rpm remote
460
390
  # Trigger an asynchronous update task
461
391
  # @param rpm_remote_href [String] URI of Rpm Remote. e.g.: /pulp/api/v3/remotes/rpm/rpm/1/
462
- # @param data [RpmRemote]
392
+ # @param data [RpmRpmRemote]
463
393
  # @param [Hash] opts the optional parameters
464
394
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
465
395
  def update_with_http_info(rpm_remote_href, data, opts = {})