pulp_rpm_client 3.3.2 → 3.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -16
  3. data/docs/ContentAdvisoriesApi.md +5 -5
  4. data/docs/ContentDistributionTreesApi.md +3 -3
  5. data/docs/ContentModulemdDefaultsApi.md +5 -5
  6. data/docs/ContentModulemdsApi.md +5 -5
  7. data/docs/ContentPackagecategoriesApi.md +3 -3
  8. data/docs/ContentPackageenvironmentsApi.md +3 -3
  9. data/docs/ContentPackagegroupsApi.md +3 -3
  10. data/docs/ContentPackagelangpacksApi.md +3 -3
  11. data/docs/ContentPackagesApi.md +5 -5
  12. data/docs/ContentRepoMetadataFilesApi.md +3 -3
  13. data/docs/DistributionsRpmApi.md +3 -3
  14. data/docs/InlineResponse200.md +1 -1
  15. data/docs/InlineResponse2001.md +1 -1
  16. data/docs/InlineResponse20010.md +1 -1
  17. data/docs/InlineResponse20011.md +1 -1
  18. data/docs/InlineResponse20012.md +1 -1
  19. data/docs/InlineResponse20013.md +1 -1
  20. data/docs/InlineResponse20014.md +1 -1
  21. data/docs/InlineResponse2002.md +1 -1
  22. data/docs/InlineResponse2003.md +1 -1
  23. data/docs/InlineResponse2004.md +1 -1
  24. data/docs/InlineResponse2005.md +1 -1
  25. data/docs/InlineResponse2006.md +1 -1
  26. data/docs/InlineResponse2007.md +1 -1
  27. data/docs/InlineResponse2008.md +1 -1
  28. data/docs/InlineResponse2009.md +1 -1
  29. data/docs/PublicationsRpmApi.md +3 -3
  30. data/docs/RemotesRpmApi.md +5 -5
  31. data/docs/RepositoriesRpmApi.md +10 -10
  32. data/docs/RepositoriesRpmVersionsApi.md +3 -3
  33. data/docs/RepositoryVersionRead.md +25 -0
  34. data/docs/RpmCopyApi.md +1 -1
  35. data/docs/{RpmDistributionTree.md → RpmDistributionTreeRead.md} +2 -2
  36. data/docs/{RpmModulemdDefaults.md → RpmModulemdDefaultsRead.md} +2 -2
  37. data/docs/{RpmModulemd.md → RpmModulemdRead.md} +2 -2
  38. data/docs/{RpmPackageCategory.md → RpmPackageCategoryRead.md} +2 -2
  39. data/docs/{RpmPackageEnvironment.md → RpmPackageEnvironmentRead.md} +2 -2
  40. data/docs/{RpmPackageGroup.md → RpmPackageGroupRead.md} +2 -2
  41. data/docs/{RpmPackageLangpacks.md → RpmPackageLangpacksRead.md} +2 -2
  42. data/docs/{RpmPackage.md → RpmPackageRead.md} +2 -2
  43. data/docs/{RpmRepoMetadataFile.md → RpmRepoMetadataFileRead.md} +2 -2
  44. data/docs/RpmRpmDistributionRead.md +29 -0
  45. data/docs/RpmRpmPublicationRead.md +27 -0
  46. data/docs/RpmRpmRemote.md +7 -3
  47. data/docs/RpmRpmRemoteRead.md +43 -0
  48. data/docs/RpmRpmRepositoryRead.md +29 -0
  49. data/docs/{RpmUpdateRecord.md → RpmUpdateRecordRead.md} +2 -2
  50. data/lib/pulp_rpm_client/api/content_advisories_api.rb +5 -5
  51. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +3 -3
  52. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +5 -5
  53. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +5 -5
  54. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +3 -3
  55. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +3 -3
  56. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +3 -3
  57. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +3 -3
  58. data/lib/pulp_rpm_client/api/content_packages_api.rb +5 -5
  59. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +3 -3
  60. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +3 -3
  61. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +3 -3
  62. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +6 -6
  63. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +15 -15
  64. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +3 -3
  65. data/lib/pulp_rpm_client/configuration.rb +2 -2
  66. data/lib/pulp_rpm_client/models/inline_response200.rb +1 -1
  67. data/lib/pulp_rpm_client/models/inline_response2001.rb +1 -1
  68. data/lib/pulp_rpm_client/models/inline_response20010.rb +1 -1
  69. data/lib/pulp_rpm_client/models/inline_response20011.rb +1 -1
  70. data/lib/pulp_rpm_client/models/inline_response20012.rb +1 -1
  71. data/lib/pulp_rpm_client/models/inline_response20013.rb +1 -1
  72. data/lib/pulp_rpm_client/models/inline_response20014.rb +1 -1
  73. data/lib/pulp_rpm_client/models/inline_response2002.rb +1 -1
  74. data/lib/pulp_rpm_client/models/inline_response2003.rb +1 -1
  75. data/lib/pulp_rpm_client/models/inline_response2004.rb +1 -1
  76. data/lib/pulp_rpm_client/models/inline_response2005.rb +1 -1
  77. data/lib/pulp_rpm_client/models/inline_response2006.rb +1 -1
  78. data/lib/pulp_rpm_client/models/inline_response2007.rb +1 -1
  79. data/lib/pulp_rpm_client/models/inline_response2008.rb +1 -1
  80. data/lib/pulp_rpm_client/models/inline_response2009.rb +1 -1
  81. data/lib/pulp_rpm_client/models/repository_version_read.rb +244 -0
  82. data/lib/pulp_rpm_client/models/{rpm_distribution_tree.rb → rpm_distribution_tree_read.rb} +3 -3
  83. data/lib/pulp_rpm_client/models/{rpm_modulemd_defaults.rb → rpm_modulemd_defaults_read.rb} +3 -3
  84. data/lib/pulp_rpm_client/models/{rpm_modulemd.rb → rpm_modulemd_read.rb} +3 -3
  85. data/lib/pulp_rpm_client/models/{rpm_package_category.rb → rpm_package_category_read.rb} +3 -3
  86. data/lib/pulp_rpm_client/models/{rpm_package_environment.rb → rpm_package_environment_read.rb} +3 -3
  87. data/lib/pulp_rpm_client/models/{rpm_package_group.rb → rpm_package_group_read.rb} +3 -3
  88. data/lib/pulp_rpm_client/models/{rpm_package_langpacks.rb → rpm_package_langpacks_read.rb} +3 -3
  89. data/lib/pulp_rpm_client/models/{rpm_package.rb → rpm_package_read.rb} +3 -3
  90. data/lib/pulp_rpm_client/models/{rpm_repo_metadata_file.rb → rpm_repo_metadata_file_read.rb} +3 -3
  91. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_read.rb +331 -0
  92. data/lib/pulp_rpm_client/models/rpm_rpm_publication_read.rb +305 -0
  93. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +56 -4
  94. data/lib/pulp_rpm_client/models/rpm_rpm_remote_read.rb +531 -0
  95. data/lib/pulp_rpm_client/models/rpm_rpm_repository_read.rb +305 -0
  96. data/lib/pulp_rpm_client/models/{rpm_update_record.rb → rpm_update_record_read.rb} +3 -3
  97. data/lib/pulp_rpm_client/version.rb +1 -1
  98. data/lib/pulp_rpm_client.rb +15 -10
  99. data/spec/api/content_advisories_api_spec.rb +2 -2
  100. data/spec/api/content_distribution_trees_api_spec.rb +1 -1
  101. data/spec/api/content_modulemd_defaults_api_spec.rb +2 -2
  102. data/spec/api/content_modulemds_api_spec.rb +2 -2
  103. data/spec/api/content_packagecategories_api_spec.rb +1 -1
  104. data/spec/api/content_packageenvironments_api_spec.rb +1 -1
  105. data/spec/api/content_packagegroups_api_spec.rb +1 -1
  106. data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
  107. data/spec/api/content_packages_api_spec.rb +2 -2
  108. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
  109. data/spec/api/distributions_rpm_api_spec.rb +1 -1
  110. data/spec/api/publications_rpm_api_spec.rb +1 -1
  111. data/spec/api/remotes_rpm_api_spec.rb +2 -2
  112. data/spec/api/repositories_rpm_api_spec.rb +6 -6
  113. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
  114. data/spec/configuration_spec.rb +3 -3
  115. data/spec/models/repository_version_read_spec.rb +65 -0
  116. data/spec/models/{rpm_distribution_tree_spec.rb → rpm_distribution_tree_read_spec.rb} +6 -6
  117. data/spec/models/{rpm_modulemd_defaults_spec.rb → rpm_modulemd_defaults_read_spec.rb} +6 -6
  118. data/spec/models/{rpm_modulemd_spec.rb → rpm_modulemd_read_spec.rb} +6 -6
  119. data/spec/models/{rpm_package_category_spec.rb → rpm_package_category_read_spec.rb} +6 -6
  120. data/spec/models/{rpm_package_environment_spec.rb → rpm_package_environment_read_spec.rb} +6 -6
  121. data/spec/models/{rpm_package_group_spec.rb → rpm_package_group_read_spec.rb} +6 -6
  122. data/spec/models/{rpm_package_langpacks_spec.rb → rpm_package_langpacks_read_spec.rb} +6 -6
  123. data/spec/models/{rpm_package_spec.rb → rpm_package_read_spec.rb} +6 -6
  124. data/spec/models/{rpm_repo_metadata_file_spec.rb → rpm_repo_metadata_file_read_spec.rb} +6 -6
  125. data/spec/models/rpm_rpm_distribution_read_spec.rb +77 -0
  126. data/spec/models/rpm_rpm_publication_read_spec.rb +79 -0
  127. data/spec/models/rpm_rpm_remote_read_spec.rb +123 -0
  128. data/spec/models/rpm_rpm_remote_spec.rb +12 -0
  129. data/spec/models/rpm_rpm_repository_read_spec.rb +77 -0
  130. data/spec/models/{rpm_update_record_spec.rb → rpm_update_record_read_spec.rb} +6 -6
  131. metadata +62 -42
@@ -31,7 +31,7 @@ module PulpRpmClient
31
31
  # @param dependencies [String] Modulemd dependencies.
32
32
  # @param [Hash] opts the optional parameters
33
33
  # @option opts [String] :artifact Artifact file representing the physical content
34
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
34
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
35
35
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
36
36
  # @option opts [Array<String>] :packages Modulemd artifacts&#39; packages.
37
37
  # @return [AsyncOperationResponse]
@@ -52,7 +52,7 @@ module PulpRpmClient
52
52
  # @param dependencies [String] Modulemd dependencies.
53
53
  # @param [Hash] opts the optional parameters
54
54
  # @option opts [String] :artifact Artifact file representing the physical content
55
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
55
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
56
56
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
57
57
  # @option opts [Array<String>] :packages Modulemd artifacts&#39; packages.
58
58
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
@@ -270,7 +270,7 @@ module PulpRpmClient
270
270
  # @param [Hash] opts the optional parameters
271
271
  # @option opts [String] :fields A list of fields to include in the response.
272
272
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
273
- # @return [RpmModulemd]
273
+ # @return [RpmModulemdRead]
274
274
  def read(modulemd_href, opts = {})
275
275
  data, _status_code, _headers = read_with_http_info(modulemd_href, opts)
276
276
  data
@@ -282,7 +282,7 @@ module PulpRpmClient
282
282
  # @param [Hash] opts the optional parameters
283
283
  # @option opts [String] :fields A list of fields to include in the response.
284
284
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
285
- # @return [Array<(RpmModulemd, Integer, Hash)>] RpmModulemd data, response status code and response headers
285
+ # @return [Array<(RpmModulemdRead, Integer, Hash)>] RpmModulemdRead data, response status code and response headers
286
286
  def read_with_http_info(modulemd_href, opts = {})
287
287
  if @api_client.config.debugging
288
288
  @api_client.config.logger.debug 'Calling API: ContentModulemdsApi.read ...'
@@ -311,7 +311,7 @@ module PulpRpmClient
311
311
  post_body = opts[:body]
312
312
 
313
313
  # return_type
314
- return_type = opts[:return_type] || 'RpmModulemd'
314
+ return_type = opts[:return_type] || 'RpmModulemdRead'
315
315
 
316
316
  # auth_names
317
317
  auth_names = opts[:auth_names] || ['Basic']
@@ -165,7 +165,7 @@ module PulpRpmClient
165
165
  # @param [Hash] opts the optional parameters
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 [RpmPackageCategory]
168
+ # @return [RpmPackageCategoryRead]
169
169
  def read(package_category_href, opts = {})
170
170
  data, _status_code, _headers = read_with_http_info(package_category_href, opts)
171
171
  data
@@ -177,7 +177,7 @@ module PulpRpmClient
177
177
  # @param [Hash] opts the optional parameters
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<(RpmPackageCategory, Integer, Hash)>] RpmPackageCategory data, response status code and response headers
180
+ # @return [Array<(RpmPackageCategoryRead, Integer, Hash)>] RpmPackageCategoryRead data, response status code and response headers
181
181
  def read_with_http_info(package_category_href, opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ContentPackagecategoriesApi.read ...'
@@ -206,7 +206,7 @@ module PulpRpmClient
206
206
  post_body = opts[:body]
207
207
 
208
208
  # return_type
209
- return_type = opts[:return_type] || 'RpmPackageCategory'
209
+ return_type = opts[:return_type] || 'RpmPackageCategoryRead'
210
210
 
211
211
  # auth_names
212
212
  auth_names = opts[:auth_names] || ['Basic']
@@ -165,7 +165,7 @@ module PulpRpmClient
165
165
  # @param [Hash] opts the optional parameters
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 [RpmPackageEnvironment]
168
+ # @return [RpmPackageEnvironmentRead]
169
169
  def read(package_environment_href, opts = {})
170
170
  data, _status_code, _headers = read_with_http_info(package_environment_href, opts)
171
171
  data
@@ -177,7 +177,7 @@ module PulpRpmClient
177
177
  # @param [Hash] opts the optional parameters
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<(RpmPackageEnvironment, Integer, Hash)>] RpmPackageEnvironment data, response status code and response headers
180
+ # @return [Array<(RpmPackageEnvironmentRead, Integer, Hash)>] RpmPackageEnvironmentRead data, response status code and response headers
181
181
  def read_with_http_info(package_environment_href, opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ContentPackageenvironmentsApi.read ...'
@@ -206,7 +206,7 @@ module PulpRpmClient
206
206
  post_body = opts[:body]
207
207
 
208
208
  # return_type
209
- return_type = opts[:return_type] || 'RpmPackageEnvironment'
209
+ return_type = opts[:return_type] || 'RpmPackageEnvironmentRead'
210
210
 
211
211
  # auth_names
212
212
  auth_names = opts[:auth_names] || ['Basic']
@@ -165,7 +165,7 @@ module PulpRpmClient
165
165
  # @param [Hash] opts the optional parameters
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 [RpmPackageGroup]
168
+ # @return [RpmPackageGroupRead]
169
169
  def read(package_group_href, opts = {})
170
170
  data, _status_code, _headers = read_with_http_info(package_group_href, opts)
171
171
  data
@@ -177,7 +177,7 @@ module PulpRpmClient
177
177
  # @param [Hash] opts the optional parameters
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<(RpmPackageGroup, Integer, Hash)>] RpmPackageGroup data, response status code and response headers
180
+ # @return [Array<(RpmPackageGroupRead, Integer, Hash)>] RpmPackageGroupRead data, response status code and response headers
181
181
  def read_with_http_info(package_group_href, opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ContentPackagegroupsApi.read ...'
@@ -206,7 +206,7 @@ module PulpRpmClient
206
206
  post_body = opts[:body]
207
207
 
208
208
  # return_type
209
- return_type = opts[:return_type] || 'RpmPackageGroup'
209
+ return_type = opts[:return_type] || 'RpmPackageGroupRead'
210
210
 
211
211
  # auth_names
212
212
  auth_names = opts[:auth_names] || ['Basic']
@@ -165,7 +165,7 @@ module PulpRpmClient
165
165
  # @param [Hash] opts the optional parameters
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 [RpmPackageLangpacks]
168
+ # @return [RpmPackageLangpacksRead]
169
169
  def read(package_langpacks_href, opts = {})
170
170
  data, _status_code, _headers = read_with_http_info(package_langpacks_href, opts)
171
171
  data
@@ -177,7 +177,7 @@ module PulpRpmClient
177
177
  # @param [Hash] opts the optional parameters
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<(RpmPackageLangpacks, Integer, Hash)>] RpmPackageLangpacks data, response status code and response headers
180
+ # @return [Array<(RpmPackageLangpacksRead, Integer, Hash)>] RpmPackageLangpacksRead data, response status code and response headers
181
181
  def read_with_http_info(package_langpacks_href, opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ContentPackagelangpacksApi.read ...'
@@ -206,7 +206,7 @@ module PulpRpmClient
206
206
  post_body = opts[:body]
207
207
 
208
208
  # return_type
209
- return_type = opts[:return_type] || 'RpmPackageLangpacks'
209
+ return_type = opts[:return_type] || 'RpmPackageLangpacksRead'
210
210
 
211
211
  # auth_names
212
212
  auth_names = opts[:auth_names] || ['Basic']
@@ -24,7 +24,7 @@ module PulpRpmClient
24
24
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :artifact Artifact file representing the physical content
27
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
27
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
28
28
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
29
29
  # @return [AsyncOperationResponse]
30
30
  def create(relative_path, opts = {})
@@ -37,7 +37,7 @@ module PulpRpmClient
37
37
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :artifact Artifact file representing the physical content
40
- # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit.
40
+ # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
41
41
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
42
42
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
43
43
  def create_with_http_info(relative_path, opts = {})
@@ -246,7 +246,7 @@ module PulpRpmClient
246
246
  # @param [Hash] opts the optional parameters
247
247
  # @option opts [String] :fields A list of fields to include in the response.
248
248
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
249
- # @return [RpmPackage]
249
+ # @return [RpmPackageRead]
250
250
  def read(package_href, opts = {})
251
251
  data, _status_code, _headers = read_with_http_info(package_href, opts)
252
252
  data
@@ -258,7 +258,7 @@ module PulpRpmClient
258
258
  # @param [Hash] opts the optional parameters
259
259
  # @option opts [String] :fields A list of fields to include in the response.
260
260
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
261
- # @return [Array<(RpmPackage, Integer, Hash)>] RpmPackage data, response status code and response headers
261
+ # @return [Array<(RpmPackageRead, Integer, Hash)>] RpmPackageRead data, response status code and response headers
262
262
  def read_with_http_info(package_href, opts = {})
263
263
  if @api_client.config.debugging
264
264
  @api_client.config.logger.debug 'Calling API: ContentPackagesApi.read ...'
@@ -287,7 +287,7 @@ module PulpRpmClient
287
287
  post_body = opts[:body]
288
288
 
289
289
  # return_type
290
- return_type = opts[:return_type] || 'RpmPackage'
290
+ return_type = opts[:return_type] || 'RpmPackageRead'
291
291
 
292
292
  # auth_names
293
293
  auth_names = opts[:auth_names] || ['Basic']
@@ -165,7 +165,7 @@ module PulpRpmClient
165
165
  # @param [Hash] opts the optional parameters
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 [RpmRepoMetadataFile]
168
+ # @return [RpmRepoMetadataFileRead]
169
169
  def read(repo_metadata_file_href, opts = {})
170
170
  data, _status_code, _headers = read_with_http_info(repo_metadata_file_href, opts)
171
171
  data
@@ -177,7 +177,7 @@ module PulpRpmClient
177
177
  # @param [Hash] opts the optional parameters
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<(RpmRepoMetadataFile, Integer, Hash)>] RpmRepoMetadataFile data, response status code and response headers
180
+ # @return [Array<(RpmRepoMetadataFileRead, Integer, Hash)>] RpmRepoMetadataFileRead data, response status code and response headers
181
181
  def read_with_http_info(repo_metadata_file_href, opts = {})
182
182
  if @api_client.config.debugging
183
183
  @api_client.config.logger.debug 'Calling API: ContentRepoMetadataFilesApi.read ...'
@@ -206,7 +206,7 @@ module PulpRpmClient
206
206
  post_body = opts[:body]
207
207
 
208
208
  # return_type
209
- return_type = opts[:return_type] || 'RpmRepoMetadataFile'
209
+ return_type = opts[:return_type] || 'RpmRepoMetadataFileRead'
210
210
 
211
211
  # auth_names
212
212
  auth_names = opts[:auth_names] || ['Basic']
@@ -310,7 +310,7 @@ module PulpRpmClient
310
310
  # @param [Hash] opts the optional parameters
311
311
  # @option opts [String] :fields A list of fields to include in the response.
312
312
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
313
- # @return [RpmRpmDistribution]
313
+ # @return [RpmRpmDistributionRead]
314
314
  def read(rpm_distribution_href, opts = {})
315
315
  data, _status_code, _headers = read_with_http_info(rpm_distribution_href, opts)
316
316
  data
@@ -322,7 +322,7 @@ module PulpRpmClient
322
322
  # @param [Hash] opts the optional parameters
323
323
  # @option opts [String] :fields A list of fields to include in the response.
324
324
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
325
- # @return [Array<(RpmRpmDistribution, Integer, Hash)>] RpmRpmDistribution data, response status code and response headers
325
+ # @return [Array<(RpmRpmDistributionRead, Integer, Hash)>] RpmRpmDistributionRead data, response status code and response headers
326
326
  def read_with_http_info(rpm_distribution_href, opts = {})
327
327
  if @api_client.config.debugging
328
328
  @api_client.config.logger.debug 'Calling API: DistributionsRpmApi.read ...'
@@ -351,7 +351,7 @@ module PulpRpmClient
351
351
  post_body = opts[:body]
352
352
 
353
353
  # return_type
354
- return_type = opts[:return_type] || 'RpmRpmDistribution'
354
+ return_type = opts[:return_type] || 'RpmRpmDistributionRead'
355
355
 
356
356
  # auth_names
357
357
  auth_names = opts[:auth_names] || ['Basic']
@@ -241,7 +241,7 @@ module PulpRpmClient
241
241
  # @param [Hash] opts the optional parameters
242
242
  # @option opts [String] :fields A list of fields to include in the response.
243
243
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
244
- # @return [RpmRpmPublication]
244
+ # @return [RpmRpmPublicationRead]
245
245
  def read(rpm_publication_href, opts = {})
246
246
  data, _status_code, _headers = read_with_http_info(rpm_publication_href, opts)
247
247
  data
@@ -253,7 +253,7 @@ module PulpRpmClient
253
253
  # @param [Hash] opts the optional parameters
254
254
  # @option opts [String] :fields A list of fields to include in the response.
255
255
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
256
- # @return [Array<(RpmRpmPublication, Integer, Hash)>] RpmRpmPublication data, response status code and response headers
256
+ # @return [Array<(RpmRpmPublicationRead, Integer, Hash)>] RpmRpmPublicationRead data, response status code and response headers
257
257
  def read_with_http_info(rpm_publication_href, opts = {})
258
258
  if @api_client.config.debugging
259
259
  @api_client.config.logger.debug 'Calling API: PublicationsRpmApi.read ...'
@@ -282,7 +282,7 @@ module PulpRpmClient
282
282
  post_body = opts[:body]
283
283
 
284
284
  # return_type
285
- return_type = opts[:return_type] || 'RpmRpmPublication'
285
+ return_type = opts[:return_type] || 'RpmRpmPublicationRead'
286
286
 
287
287
  # auth_names
288
288
  auth_names = opts[:auth_names] || ['Basic']
@@ -23,7 +23,7 @@ module PulpRpmClient
23
23
  # A ViewSet for RpmRemote.
24
24
  # @param data [RpmRpmRemote]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [RpmRpmRemote]
26
+ # @return [RpmRpmRemoteRead]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -33,7 +33,7 @@ module PulpRpmClient
33
33
  # A ViewSet for RpmRemote.
34
34
  # @param data [RpmRpmRemote]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(RpmRpmRemote, Integer, Hash)>] RpmRpmRemote data, response status code and response headers
36
+ # @return [Array<(RpmRpmRemoteRead, Integer, Hash)>] RpmRpmRemoteRead 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] || 'RpmRpmRemote'
65
+ return_type = opts[:return_type] || 'RpmRpmRemoteRead'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -316,7 +316,7 @@ module PulpRpmClient
316
316
  # @param [Hash] opts the optional parameters
317
317
  # @option opts [String] :fields A list of fields to include in the response.
318
318
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
319
- # @return [RpmRpmRemote]
319
+ # @return [RpmRpmRemoteRead]
320
320
  def read(rpm_remote_href, opts = {})
321
321
  data, _status_code, _headers = read_with_http_info(rpm_remote_href, opts)
322
322
  data
@@ -328,7 +328,7 @@ module PulpRpmClient
328
328
  # @param [Hash] opts the optional parameters
329
329
  # @option opts [String] :fields A list of fields to include in the response.
330
330
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
331
- # @return [Array<(RpmRpmRemote, Integer, Hash)>] RpmRpmRemote data, response status code and response headers
331
+ # @return [Array<(RpmRpmRemoteRead, Integer, Hash)>] RpmRpmRemoteRead data, response status code and response headers
332
332
  def read_with_http_info(rpm_remote_href, opts = {})
333
333
  if @api_client.config.debugging
334
334
  @api_client.config.logger.debug 'Calling API: RemotesRpmApi.read ...'
@@ -357,7 +357,7 @@ module PulpRpmClient
357
357
  post_body = opts[:body]
358
358
 
359
359
  # return_type
360
- return_type = opts[:return_type] || 'RpmRpmRemote'
360
+ return_type = opts[:return_type] || 'RpmRpmRemoteRead'
361
361
 
362
362
  # auth_names
363
363
  auth_names = opts[:auth_names] || ['Basic']
@@ -23,7 +23,7 @@ module PulpRpmClient
23
23
  # A ViewSet for RpmRepository.
24
24
  # @param data [RpmRpmRepository]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [RpmRpmRepository]
26
+ # @return [RpmRpmRepositoryRead]
27
27
  def create(data, opts = {})
28
28
  data, _status_code, _headers = create_with_http_info(data, opts)
29
29
  data
@@ -33,7 +33,7 @@ module PulpRpmClient
33
33
  # A ViewSet for RpmRepository.
34
34
  # @param data [RpmRpmRepository]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(RpmRpmRepository, Integer, Hash)>] RpmRpmRepository data, response status code and response headers
36
+ # @return [Array<(RpmRpmRepositoryRead, Integer, Hash)>] RpmRpmRepositoryRead 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: RepositoriesRpmApi.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] || 'RpmRpmRepository'
65
+ return_type = opts[:return_type] || 'RpmRpmRepositoryRead'
66
66
 
67
67
  # auth_names
68
68
  auth_names = opts[:auth_names] || ['Basic']
@@ -84,7 +84,7 @@ module PulpRpmClient
84
84
  end
85
85
 
86
86
  # Delete a rpm repository
87
- # Trigger an asynchronous task to delete a repository.
87
+ # Trigger an asynchronous delete task
88
88
  # @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
89
89
  # @param [Hash] opts the optional parameters
90
90
  # @return [AsyncOperationResponse]
@@ -94,7 +94,7 @@ module PulpRpmClient
94
94
  end
95
95
 
96
96
  # Delete a rpm repository
97
- # Trigger an asynchronous task to delete a repository.
97
+ # Trigger an asynchronous delete task
98
98
  # @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
99
99
  # @param [Hash] opts the optional parameters
100
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
@@ -293,22 +293,22 @@ module PulpRpmClient
293
293
  end
294
294
 
295
295
  # Partially update a rpm repository
296
- # A ViewSet for RpmRepository.
296
+ # Trigger an asynchronous partial update task
297
297
  # @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
298
298
  # @param data [RpmRpmRepository]
299
299
  # @param [Hash] opts the optional parameters
300
- # @return [RpmRpmRepository]
300
+ # @return [AsyncOperationResponse]
301
301
  def partial_update(rpm_repository_href, data, opts = {})
302
302
  data, _status_code, _headers = partial_update_with_http_info(rpm_repository_href, data, opts)
303
303
  data
304
304
  end
305
305
 
306
306
  # Partially update a rpm repository
307
- # A ViewSet for RpmRepository.
307
+ # Trigger an asynchronous partial update task
308
308
  # @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
309
309
  # @param data [RpmRpmRepository]
310
310
  # @param [Hash] opts the optional parameters
311
- # @return [Array<(RpmRpmRepository, Integer, Hash)>] RpmRpmRepository data, response status code and response headers
311
+ # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
312
312
  def partial_update_with_http_info(rpm_repository_href, data, opts = {})
313
313
  if @api_client.config.debugging
314
314
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.partial_update ...'
@@ -341,7 +341,7 @@ module PulpRpmClient
341
341
  post_body = opts[:body] || @api_client.object_to_http_body(data)
342
342
 
343
343
  # return_type
344
- return_type = opts[:return_type] || 'RpmRpmRepository'
344
+ return_type = opts[:return_type] || 'AsyncOperationResponse'
345
345
 
346
346
  # auth_names
347
347
  auth_names = opts[:auth_names] || ['Basic']
@@ -368,7 +368,7 @@ module PulpRpmClient
368
368
  # @param [Hash] opts the optional parameters
369
369
  # @option opts [String] :fields A list of fields to include in the response.
370
370
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
371
- # @return [RpmRpmRepository]
371
+ # @return [RpmRpmRepositoryRead]
372
372
  def read(rpm_repository_href, opts = {})
373
373
  data, _status_code, _headers = read_with_http_info(rpm_repository_href, opts)
374
374
  data
@@ -380,7 +380,7 @@ module PulpRpmClient
380
380
  # @param [Hash] opts the optional parameters
381
381
  # @option opts [String] :fields A list of fields to include in the response.
382
382
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
383
- # @return [Array<(RpmRpmRepository, Integer, Hash)>] RpmRpmRepository data, response status code and response headers
383
+ # @return [Array<(RpmRpmRepositoryRead, Integer, Hash)>] RpmRpmRepositoryRead data, response status code and response headers
384
384
  def read_with_http_info(rpm_repository_href, opts = {})
385
385
  if @api_client.config.debugging
386
386
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmApi.read ...'
@@ -409,7 +409,7 @@ module PulpRpmClient
409
409
  post_body = opts[:body]
410
410
 
411
411
  # return_type
412
- return_type = opts[:return_type] || 'RpmRpmRepository'
412
+ return_type = opts[:return_type] || 'RpmRpmRepositoryRead'
413
413
 
414
414
  # auth_names
415
415
  auth_names = opts[:auth_names] || ['Basic']
@@ -501,7 +501,7 @@ module PulpRpmClient
501
501
  end
502
502
 
503
503
  # Update a rpm repository
504
- # Trigger an asynchronous task to update a repository.
504
+ # Trigger an asynchronous update task
505
505
  # @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
506
506
  # @param data [RpmRpmRepository]
507
507
  # @param [Hash] opts the optional parameters
@@ -512,7 +512,7 @@ module PulpRpmClient
512
512
  end
513
513
 
514
514
  # Update a rpm repository
515
- # Trigger an asynchronous task to update a repository.
515
+ # Trigger an asynchronous update task
516
516
  # @param rpm_repository_href [String] URI of Rpm Repository. e.g.: /pulp/api/v3/repositories/rpm/rpm/1/
517
517
  # @param data [RpmRpmRepository]
518
518
  # @param [Hash] opts the optional parameters
@@ -203,7 +203,7 @@ module PulpRpmClient
203
203
  # @param [Hash] opts the optional parameters
204
204
  # @option opts [String] :fields A list of fields to include in the response.
205
205
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
206
- # @return [RepositoryVersion]
206
+ # @return [RepositoryVersionRead]
207
207
  def read(rpm_repository_version_href, opts = {})
208
208
  data, _status_code, _headers = read_with_http_info(rpm_repository_version_href, opts)
209
209
  data
@@ -215,7 +215,7 @@ module PulpRpmClient
215
215
  # @param [Hash] opts the optional parameters
216
216
  # @option opts [String] :fields A list of fields to include in the response.
217
217
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
218
- # @return [Array<(RepositoryVersion, Integer, Hash)>] RepositoryVersion data, response status code and response headers
218
+ # @return [Array<(RepositoryVersionRead, Integer, Hash)>] RepositoryVersionRead data, response status code and response headers
219
219
  def read_with_http_info(rpm_repository_version_href, opts = {})
220
220
  if @api_client.config.debugging
221
221
  @api_client.config.logger.debug 'Calling API: RepositoriesRpmVersionsApi.read ...'
@@ -244,7 +244,7 @@ module PulpRpmClient
244
244
  post_body = opts[:body]
245
245
 
246
246
  # return_type
247
- return_type = opts[:return_type] || 'RepositoryVersion'
247
+ return_type = opts[:return_type] || 'RepositoryVersionRead'
248
248
 
249
249
  # auth_names
250
250
  auth_names = opts[:auth_names] || ['Basic']
@@ -122,7 +122,7 @@ module PulpRpmClient
122
122
 
123
123
  def initialize
124
124
  @scheme = 'http'
125
- @host = 'localhost'
125
+ @host = 'pulp'
126
126
  @base_path = ''
127
127
  @api_key = {}
128
128
  @api_key_prefix = {}
@@ -202,7 +202,7 @@ module PulpRpmClient
202
202
  def server_settings
203
203
  [
204
204
  {
205
- url: "http://localhost:24817/",
205
+ url: "http://pulp/",
206
206
  description: "No description provided",
207
207
  }
208
208
  ]
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmUpdateRecord>'
41
+ :'results' => :'Array<RpmUpdateRecordRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmDistributionTree>'
41
+ :'results' => :'Array<RpmDistributionTreeRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmRpmDistribution>'
41
+ :'results' => :'Array<RpmRpmDistributionRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmRpmPublication>'
41
+ :'results' => :'Array<RpmRpmPublicationRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmRpmRemote>'
41
+ :'results' => :'Array<RpmRpmRemoteRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmRpmRepository>'
41
+ :'results' => :'Array<RpmRpmRepositoryRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RepositoryVersion>'
41
+ :'results' => :'Array<RepositoryVersionRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmModulemdDefaults>'
41
+ :'results' => :'Array<RpmModulemdDefaultsRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmModulemd>'
41
+ :'results' => :'Array<RpmModulemdRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmPackageCategory>'
41
+ :'results' => :'Array<RpmPackageCategoryRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmPackageEnvironment>'
41
+ :'results' => :'Array<RpmPackageEnvironmentRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmPackageGroup>'
41
+ :'results' => :'Array<RpmPackageGroupRead>'
42
42
  }
43
43
  end
44
44
 
@@ -38,7 +38,7 @@ module PulpRpmClient
38
38
  :'count' => :'Integer',
39
39
  :'_next' => :'String',
40
40
  :'previous' => :'String',
41
- :'results' => :'Array<RpmPackageLangpacks>'
41
+ :'results' => :'Array<RpmPackageLangpacksRead>'
42
42
  }
43
43
  end
44
44