pulp_rpm_client 3.12.0 → 3.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/README.md +5 -4
  4. data/build/lib/pulpcore/__init__.py +2 -0
  5. data/build/lib/pulpcore/client/__init__.py +2 -0
  6. data/build/lib/pulpcore/client/pulp_rpm/__init__.py +112 -0
  7. data/build/lib/pulpcore/client/pulp_rpm/api/__init__.py +22 -0
  8. data/build/lib/pulpcore/client/pulp_rpm/api/content_advisories_api.py +485 -0
  9. data/build/lib/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +307 -0
  10. data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +494 -0
  11. data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +533 -0
  12. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +307 -0
  13. data/build/lib/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +307 -0
  14. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +307 -0
  15. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +307 -0
  16. data/build/lib/pulpcore/client/pulp_rpm/api/content_packages_api.py +552 -0
  17. data/build/lib/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +307 -0
  18. data/build/lib/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +830 -0
  19. data/build/lib/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +566 -0
  20. data/build/lib/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +840 -0
  21. data/build/lib/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +840 -0
  22. data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +1063 -0
  23. data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +614 -0
  24. data/build/lib/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +156 -0
  25. data/build/lib/pulpcore/client/pulp_rpm/api_client.py +667 -0
  26. data/build/lib/pulpcore/client/pulp_rpm/configuration.py +427 -0
  27. data/build/lib/pulpcore/client/pulp_rpm/exceptions.py +121 -0
  28. data/build/lib/pulpcore/client/pulp_rpm/models/__init__.py +81 -0
  29. data/build/lib/pulpcore/client/pulp_rpm/models/addon_response.py +240 -0
  30. data/build/lib/pulpcore/client/pulp_rpm/models/artifact_response.py +368 -0
  31. data/build/lib/pulpcore/client/pulp_rpm/models/async_operation_response.py +124 -0
  32. data/build/lib/pulpcore/client/pulp_rpm/models/checksum_response.py +153 -0
  33. data/build/lib/pulpcore/client/pulp_rpm/models/content_summary.py +176 -0
  34. data/build/lib/pulpcore/client/pulp_rpm/models/content_summary_response.py +176 -0
  35. data/build/lib/pulpcore/client/pulp_rpm/models/copy.py +152 -0
  36. data/build/lib/pulpcore/client/pulp_rpm/models/image_response.py +207 -0
  37. data/build/lib/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +106 -0
  38. data/build/lib/pulpcore/client/pulp_rpm/models/null_enum.py +100 -0
  39. data/build/lib/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +106 -0
  40. data/build/lib/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +197 -0
  41. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +197 -0
  42. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +197 -0
  43. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +197 -0
  44. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +197 -0
  45. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +197 -0
  46. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +197 -0
  47. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +197 -0
  48. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +197 -0
  49. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +197 -0
  50. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +197 -0
  51. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +197 -0
  52. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +197 -0
  53. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +197 -0
  54. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +197 -0
  55. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +197 -0
  56. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +258 -0
  57. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +682 -0
  58. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +467 -0
  59. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +684 -0
  60. data/build/lib/pulpcore/client/pulp_rpm/models/policy_enum.py +102 -0
  61. data/build/lib/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +179 -0
  62. data/build/lib/pulpcore/client/pulp_rpm/models/repository_version.py +123 -0
  63. data/build/lib/pulpcore/client/pulp_rpm/models/repository_version_response.py +257 -0
  64. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +621 -0
  65. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +463 -0
  66. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +295 -0
  67. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +432 -0
  68. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +600 -0
  69. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package.py +208 -0
  70. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +373 -0
  71. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +400 -0
  72. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +457 -0
  73. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +203 -0
  74. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_response.py +1353 -0
  75. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +461 -0
  76. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +207 -0
  77. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +260 -0
  78. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +342 -0
  79. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +301 -0
  80. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +355 -0
  81. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +684 -0
  82. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +631 -0
  83. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +468 -0
  84. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +574 -0
  85. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +688 -0
  86. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +689 -0
  87. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +176 -0
  88. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +204 -0
  89. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record.py +151 -0
  90. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +653 -0
  91. data/build/lib/pulpcore/client/pulp_rpm/models/skip_types_enum.py +100 -0
  92. data/build/lib/pulpcore/client/pulp_rpm/models/variant_response.py +375 -0
  93. data/build/lib/pulpcore/client/pulp_rpm/rest.py +292 -0
  94. data/dist/pulp_rpm-client-3.13.2.tar.gz +0 -0
  95. data/dist/pulp_rpm_client-3.13.2-py3-none-any.whl +0 -0
  96. data/docs/ContentModulemdsApi.md +4 -4
  97. data/docs/NullEnum.md +16 -0
  98. data/docs/PatchedrpmRpmRepository.md +2 -2
  99. data/docs/RepositoryAddRemoveContent.md +2 -2
  100. data/docs/RpmModulemd.md +1 -1
  101. data/docs/RpmModulemdResponse.md +1 -1
  102. data/docs/RpmRpmRepository.md +2 -2
  103. data/docs/RpmRpmRepositoryResponse.md +2 -2
  104. data/lib/pulp_rpm_client.rb +2 -1
  105. data/lib/pulp_rpm_client/api/content_advisories_api.rb +1 -1
  106. data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +1 -1
  107. data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +1 -1
  108. data/lib/pulp_rpm_client/api/content_modulemds_api.rb +7 -11
  109. data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +1 -1
  110. data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +1 -1
  111. data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +1 -1
  112. data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +1 -1
  113. data/lib/pulp_rpm_client/api/content_packages_api.rb +1 -1
  114. data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +1 -1
  115. data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +1 -1
  116. data/lib/pulp_rpm_client/api/publications_rpm_api.rb +1 -1
  117. data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +1 -1
  118. data/lib/pulp_rpm_client/api/remotes_uln_api.rb +1 -1
  119. data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +1 -1
  120. data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +1 -1
  121. data/lib/pulp_rpm_client/api/rpm_copy_api.rb +1 -1
  122. data/lib/pulp_rpm_client/api_client.rb +8 -6
  123. data/lib/pulp_rpm_client/api_error.rb +1 -1
  124. data/lib/pulp_rpm_client/configuration.rb +1 -1
  125. data/lib/pulp_rpm_client/models/addon_response.rb +1 -1
  126. data/lib/pulp_rpm_client/models/artifact_response.rb +1 -1
  127. data/lib/pulp_rpm_client/models/async_operation_response.rb +1 -1
  128. data/lib/pulp_rpm_client/models/checksum_response.rb +1 -1
  129. data/lib/pulp_rpm_client/models/content_summary.rb +1 -1
  130. data/lib/pulp_rpm_client/models/content_summary_response.rb +1 -1
  131. data/lib/pulp_rpm_client/models/copy.rb +1 -1
  132. data/lib/pulp_rpm_client/models/image_response.rb +1 -1
  133. data/lib/pulp_rpm_client/models/metadata_checksum_type_enum.rb +1 -1
  134. data/lib/pulp_rpm_client/models/null_enum.rb +35 -0
  135. data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +1 -1
  136. data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +1 -1
  137. data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +1 -1
  138. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +1 -1
  139. data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +1 -1
  140. data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +1 -1
  141. data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +1 -1
  142. data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +1 -1
  143. data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +1 -1
  144. data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +1 -1
  145. data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +1 -1
  146. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +1 -1
  147. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +1 -1
  148. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +1 -1
  149. data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +1 -1
  150. data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +1 -1
  151. data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +1 -1
  152. data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +1 -1
  153. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +1 -1
  154. data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +5 -3
  155. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +1 -1
  156. data/lib/pulp_rpm_client/models/policy_enum.rb +1 -1
  157. data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +3 -3
  158. data/lib/pulp_rpm_client/models/repository_version.rb +1 -1
  159. data/lib/pulp_rpm_client/models/repository_version_response.rb +1 -1
  160. data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +1 -1
  161. data/lib/pulp_rpm_client/models/rpm_modulemd.rb +1 -6
  162. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +1 -1
  163. data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +1 -1
  164. data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +1 -6
  165. data/lib/pulp_rpm_client/models/rpm_package.rb +1 -1
  166. data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +1 -1
  167. data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +1 -1
  168. data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +1 -1
  169. data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +1 -1
  170. data/lib/pulp_rpm_client/models/rpm_package_response.rb +1 -1
  171. data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +1 -1
  172. data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +1 -1
  173. data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +1 -1
  174. data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +1 -1
  175. data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +1 -1
  176. data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +1 -1
  177. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +1 -1
  178. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +1 -1
  179. data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +5 -3
  180. data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +5 -3
  181. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +1 -1
  182. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +1 -1
  183. data/lib/pulp_rpm_client/models/rpm_update_collection.rb +1 -1
  184. data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +1 -1
  185. data/lib/pulp_rpm_client/models/rpm_update_record.rb +1 -1
  186. data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +1 -1
  187. data/lib/pulp_rpm_client/models/skip_types_enum.rb +1 -1
  188. data/lib/pulp_rpm_client/models/variant_response.rb +1 -1
  189. data/lib/pulp_rpm_client/version.rb +2 -2
  190. data/pulp_rpm_client.egg-info/PKG-INFO +15 -0
  191. data/pulp_rpm_client.egg-info/SOURCES.txt +179 -0
  192. data/pulp_rpm_client.egg-info/dependency_links.txt +1 -0
  193. data/pulp_rpm_client.egg-info/requires.txt +4 -0
  194. data/pulp_rpm_client.egg-info/top_level.txt +1 -0
  195. data/pulp_rpm_client.gemspec +1 -1
  196. data/pulpcore/__init__.py +2 -0
  197. data/pulpcore/client/__init__.py +2 -0
  198. data/pulpcore/client/pulp_rpm/__init__.py +112 -0
  199. data/pulpcore/client/pulp_rpm/api/__init__.py +22 -0
  200. data/pulpcore/client/pulp_rpm/api/content_advisories_api.py +485 -0
  201. data/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +307 -0
  202. data/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +494 -0
  203. data/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +533 -0
  204. data/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +307 -0
  205. data/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +307 -0
  206. data/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +307 -0
  207. data/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +307 -0
  208. data/pulpcore/client/pulp_rpm/api/content_packages_api.py +552 -0
  209. data/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +307 -0
  210. data/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +830 -0
  211. data/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +566 -0
  212. data/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +840 -0
  213. data/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +840 -0
  214. data/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +1063 -0
  215. data/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +614 -0
  216. data/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +156 -0
  217. data/pulpcore/client/pulp_rpm/api_client.py +667 -0
  218. data/pulpcore/client/pulp_rpm/configuration.py +427 -0
  219. data/pulpcore/client/pulp_rpm/exceptions.py +121 -0
  220. data/pulpcore/client/pulp_rpm/models/__init__.py +81 -0
  221. data/pulpcore/client/pulp_rpm/models/addon_response.py +240 -0
  222. data/pulpcore/client/pulp_rpm/models/artifact_response.py +368 -0
  223. data/pulpcore/client/pulp_rpm/models/async_operation_response.py +124 -0
  224. data/pulpcore/client/pulp_rpm/models/checksum_response.py +153 -0
  225. data/pulpcore/client/pulp_rpm/models/content_summary.py +176 -0
  226. data/pulpcore/client/pulp_rpm/models/content_summary_response.py +176 -0
  227. data/pulpcore/client/pulp_rpm/models/copy.py +152 -0
  228. data/pulpcore/client/pulp_rpm/models/image_response.py +207 -0
  229. data/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +106 -0
  230. data/pulpcore/client/pulp_rpm/models/null_enum.py +100 -0
  231. data/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +106 -0
  232. data/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +197 -0
  233. data/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +197 -0
  234. data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +197 -0
  235. data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +197 -0
  236. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +197 -0
  237. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +197 -0
  238. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +197 -0
  239. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +197 -0
  240. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +197 -0
  241. data/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +197 -0
  242. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +197 -0
  243. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +197 -0
  244. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +197 -0
  245. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +197 -0
  246. data/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +197 -0
  247. data/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +197 -0
  248. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +258 -0
  249. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +682 -0
  250. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +467 -0
  251. data/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +684 -0
  252. data/pulpcore/client/pulp_rpm/models/policy_enum.py +102 -0
  253. data/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +179 -0
  254. data/pulpcore/client/pulp_rpm/models/repository_version.py +123 -0
  255. data/pulpcore/client/pulp_rpm/models/repository_version_response.py +257 -0
  256. data/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +621 -0
  257. data/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +463 -0
  258. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +295 -0
  259. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +432 -0
  260. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +600 -0
  261. data/pulpcore/client/pulp_rpm/models/rpm_package.py +208 -0
  262. data/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +373 -0
  263. data/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +400 -0
  264. data/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +457 -0
  265. data/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +203 -0
  266. data/pulpcore/client/pulp_rpm/models/rpm_package_response.py +1353 -0
  267. data/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +461 -0
  268. data/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +207 -0
  269. data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +260 -0
  270. data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +342 -0
  271. data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +301 -0
  272. data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +355 -0
  273. data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +684 -0
  274. data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +631 -0
  275. data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +468 -0
  276. data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +574 -0
  277. data/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +688 -0
  278. data/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +689 -0
  279. data/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +176 -0
  280. data/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +204 -0
  281. data/pulpcore/client/pulp_rpm/models/rpm_update_record.py +151 -0
  282. data/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +653 -0
  283. data/pulpcore/client/pulp_rpm/models/skip_types_enum.py +100 -0
  284. data/pulpcore/client/pulp_rpm/models/variant_response.py +375 -0
  285. data/pulpcore/client/pulp_rpm/rest.py +292 -0
  286. data/requirements.txt +6 -0
  287. data/setup.cfg +2 -0
  288. data/setup.py +42 -0
  289. data/spec/api/content_advisories_api_spec.rb +1 -1
  290. data/spec/api/content_distribution_trees_api_spec.rb +1 -1
  291. data/spec/api/content_modulemd_defaults_api_spec.rb +1 -1
  292. data/spec/api/content_modulemds_api_spec.rb +2 -2
  293. data/spec/api/content_packagecategories_api_spec.rb +1 -1
  294. data/spec/api/content_packageenvironments_api_spec.rb +1 -1
  295. data/spec/api/content_packagegroups_api_spec.rb +1 -1
  296. data/spec/api/content_packagelangpacks_api_spec.rb +1 -1
  297. data/spec/api/content_packages_api_spec.rb +1 -1
  298. data/spec/api/content_repo_metadata_files_api_spec.rb +1 -1
  299. data/spec/api/distributions_rpm_api_spec.rb +1 -1
  300. data/spec/api/publications_rpm_api_spec.rb +1 -1
  301. data/spec/api/remotes_rpm_api_spec.rb +1 -1
  302. data/spec/api/remotes_uln_api_spec.rb +1 -1
  303. data/spec/api/repositories_rpm_api_spec.rb +1 -1
  304. data/spec/api/repositories_rpm_versions_api_spec.rb +1 -1
  305. data/spec/api/rpm_copy_api_spec.rb +1 -1
  306. data/spec/api_client_spec.rb +2 -2
  307. data/spec/configuration_spec.rb +1 -1
  308. data/spec/models/addon_response_spec.rb +1 -1
  309. data/spec/models/artifact_response_spec.rb +1 -1
  310. data/spec/models/async_operation_response_spec.rb +1 -1
  311. data/spec/models/checksum_response_spec.rb +1 -1
  312. data/spec/models/content_summary_response_spec.rb +1 -1
  313. data/spec/models/content_summary_spec.rb +1 -1
  314. data/spec/models/copy_spec.rb +1 -1
  315. data/spec/models/image_response_spec.rb +1 -1
  316. data/spec/models/metadata_checksum_type_enum_spec.rb +1 -1
  317. data/spec/models/null_enum_spec.rb +35 -0
  318. data/spec/models/package_checksum_type_enum_spec.rb +1 -1
  319. data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
  320. data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +1 -1
  321. data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +1 -1
  322. data/spec/models/paginatedrpm_modulemd_response_list_spec.rb +1 -1
  323. data/spec/models/paginatedrpm_package_category_response_list_spec.rb +1 -1
  324. data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +1 -1
  325. data/spec/models/paginatedrpm_package_group_response_list_spec.rb +1 -1
  326. data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +1 -1
  327. data/spec/models/paginatedrpm_package_response_list_spec.rb +1 -1
  328. data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +1 -1
  329. data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +1 -1
  330. data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +1 -1
  331. data/spec/models/paginatedrpm_rpm_remote_response_list_spec.rb +1 -1
  332. data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +1 -1
  333. data/spec/models/paginatedrpm_uln_remote_response_list_spec.rb +1 -1
  334. data/spec/models/paginatedrpm_update_record_response_list_spec.rb +1 -1
  335. data/spec/models/patchedrpm_rpm_distribution_spec.rb +1 -1
  336. data/spec/models/patchedrpm_rpm_remote_spec.rb +1 -1
  337. data/spec/models/patchedrpm_rpm_repository_spec.rb +1 -1
  338. data/spec/models/patchedrpm_uln_remote_spec.rb +1 -1
  339. data/spec/models/policy_enum_spec.rb +1 -1
  340. data/spec/models/repository_add_remove_content_spec.rb +1 -1
  341. data/spec/models/repository_version_response_spec.rb +1 -1
  342. data/spec/models/repository_version_spec.rb +1 -1
  343. data/spec/models/rpm_distribution_tree_response_spec.rb +1 -1
  344. data/spec/models/rpm_modulemd_defaults_response_spec.rb +1 -1
  345. data/spec/models/rpm_modulemd_defaults_spec.rb +1 -1
  346. data/spec/models/rpm_modulemd_response_spec.rb +1 -1
  347. data/spec/models/rpm_modulemd_spec.rb +1 -1
  348. data/spec/models/rpm_package_category_response_spec.rb +1 -1
  349. data/spec/models/rpm_package_environment_response_spec.rb +1 -1
  350. data/spec/models/rpm_package_group_response_spec.rb +1 -1
  351. data/spec/models/rpm_package_langpacks_response_spec.rb +1 -1
  352. data/spec/models/rpm_package_response_spec.rb +1 -1
  353. data/spec/models/rpm_package_spec.rb +1 -1
  354. data/spec/models/rpm_repo_metadata_file_response_spec.rb +1 -1
  355. data/spec/models/rpm_repository_sync_url_spec.rb +1 -1
  356. data/spec/models/rpm_rpm_distribution_response_spec.rb +1 -1
  357. data/spec/models/rpm_rpm_distribution_spec.rb +1 -1
  358. data/spec/models/rpm_rpm_publication_response_spec.rb +1 -1
  359. data/spec/models/rpm_rpm_publication_spec.rb +1 -1
  360. data/spec/models/rpm_rpm_remote_response_spec.rb +1 -1
  361. data/spec/models/rpm_rpm_remote_spec.rb +1 -1
  362. data/spec/models/rpm_rpm_repository_response_spec.rb +1 -1
  363. data/spec/models/rpm_rpm_repository_spec.rb +1 -1
  364. data/spec/models/rpm_uln_remote_response_spec.rb +1 -1
  365. data/spec/models/rpm_uln_remote_spec.rb +1 -1
  366. data/spec/models/rpm_update_collection_response_spec.rb +1 -1
  367. data/spec/models/rpm_update_collection_spec.rb +1 -1
  368. data/spec/models/rpm_update_record_response_spec.rb +1 -1
  369. data/spec/models/rpm_update_record_spec.rb +1 -1
  370. data/spec/models/skip_types_enum_spec.rb +1 -1
  371. data/spec/models/variant_response_spec.rb +1 -1
  372. data/spec/spec_helper.rb +1 -1
  373. data/test-requirements.txt +3 -0
  374. data/test/__init__.py +0 -0
  375. data/test/test_addon_response.py +62 -0
  376. data/test/test_artifact_response.py +63 -0
  377. data/test/test_async_operation_response.py +54 -0
  378. data/test/test_checksum_response.py +56 -0
  379. data/test/test_content_advisories_api.py +55 -0
  380. data/test/test_content_distribution_trees_api.py +48 -0
  381. data/test/test_content_modulemd_defaults_api.py +55 -0
  382. data/test/test_content_modulemds_api.py +55 -0
  383. data/test/test_content_packagecategories_api.py +48 -0
  384. data/test/test_content_packageenvironments_api.py +48 -0
  385. data/test/test_content_packagegroups_api.py +48 -0
  386. data/test/test_content_packagelangpacks_api.py +48 -0
  387. data/test/test_content_packages_api.py +55 -0
  388. data/test/test_content_repo_metadata_files_api.py +48 -0
  389. data/test/test_content_summary.py +70 -0
  390. data/test/test_content_summary_response.py +70 -0
  391. data/test/test_copy.py +55 -0
  392. data/test/test_distributions_rpm_api.py +76 -0
  393. data/test/test_image_response.py +60 -0
  394. data/test/test_metadata_checksum_type_enum.py +52 -0
  395. data/test/test_null_enum.py +52 -0
  396. data/test/test_package_checksum_type_enum.py +52 -0
  397. data/test/test_paginated_repository_version_response_list.py +64 -0
  398. data/test/test_paginatedrpm_distribution_tree_response_list.py +106 -0
  399. data/test/test_paginatedrpm_modulemd_defaults_response_list.py +70 -0
  400. data/test/test_paginatedrpm_modulemd_response_list.py +78 -0
  401. data/test/test_paginatedrpm_package_category_response_list.py +68 -0
  402. data/test/test_paginatedrpm_package_environment_response_list.py +69 -0
  403. data/test/test_paginatedrpm_package_group_response_list.py +71 -0
  404. data/test/test_paginatedrpm_package_langpacks_response_list.py +62 -0
  405. data/test/test_paginatedrpm_package_response_list.py +103 -0
  406. data/test/test_paginatedrpm_repo_metadata_file_response_list.py +71 -0
  407. data/test/test_paginatedrpm_rpm_distribution_response_list.py +67 -0
  408. data/test/test_paginatedrpm_rpm_publication_response_list.py +67 -0
  409. data/test/test_paginatedrpm_rpm_remote_response_list.py +79 -0
  410. data/test/test_paginatedrpm_rpm_repository_response_list.py +75 -0
  411. data/test/test_paginatedrpm_uln_remote_response_list.py +81 -0
  412. data/test/test_paginatedrpm_update_record_response_list.py +88 -0
  413. data/test/test_patchedrpm_rpm_distribution.py +58 -0
  414. data/test/test_patchedrpm_rpm_remote.py +75 -0
  415. data/test/test_patchedrpm_rpm_repository.py +65 -0
  416. data/test/test_patchedrpm_uln_remote.py +75 -0
  417. data/test/test_policy_enum.py +52 -0
  418. data/test/test_publications_rpm_api.py +62 -0
  419. data/test/test_remotes_rpm_api.py +76 -0
  420. data/test/test_remotes_uln_api.py +76 -0
  421. data/test/test_repositories_rpm_api.py +90 -0
  422. data/test/test_repositories_rpm_versions_api.py +61 -0
  423. data/test/test_repository_add_remove_content.py +59 -0
  424. data/test/test_repository_version.py +53 -0
  425. data/test/test_repository_version_response.py +58 -0
  426. data/test/test_rpm_copy_api.py +41 -0
  427. data/test/test_rpm_distribution_tree_response.py +147 -0
  428. data/test/test_rpm_modulemd.py +75 -0
  429. data/test/test_rpm_modulemd_defaults.py +63 -0
  430. data/test/test_rpm_modulemd_defaults_response.py +67 -0
  431. data/test/test_rpm_modulemd_response.py +79 -0
  432. data/test/test_rpm_package.py +57 -0
  433. data/test/test_rpm_package_category_response.py +70 -0
  434. data/test/test_rpm_package_environment_response.py +72 -0
  435. data/test/test_rpm_package_group_response.py +73 -0
  436. data/test/test_rpm_package_langpacks_response.py +58 -0
  437. data/test/test_rpm_package_response.py +97 -0
  438. data/test/test_rpm_repo_metadata_file_response.py +69 -0
  439. data/test/test_rpm_repository_sync_url.py +58 -0
  440. data/test/test_rpm_rpm_distribution.py +60 -0
  441. data/test/test_rpm_rpm_distribution_response.py +63 -0
  442. data/test/test_rpm_rpm_publication.py +59 -0
  443. data/test/test_rpm_rpm_publication_response.py +61 -0
  444. data/test/test_rpm_rpm_remote.py +77 -0
  445. data/test/test_rpm_rpm_remote_response.py +75 -0
  446. data/test/test_rpm_rpm_repository.py +66 -0
  447. data/test/test_rpm_rpm_repository_response.py +70 -0
  448. data/test/test_rpm_uln_remote.py +79 -0
  449. data/test/test_rpm_uln_remote_response.py +79 -0
  450. data/test/test_rpm_update_collection.py +58 -0
  451. data/test/test_rpm_update_collection_response.py +61 -0
  452. data/test/test_rpm_update_record.py +54 -0
  453. data/test/test_rpm_update_record_response.py +82 -0
  454. data/test/test_skip_types_enum.py +52 -0
  455. data/test/test_variant_response.py +72 -0
  456. data/tox.ini +9 -0
  457. metadata +341 -63
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcd4d2969c4a8f7f05b3c9b3f1c0f89680382f581465701e3353fe8b9dc8f348
4
- data.tar.gz: 1600498b9c4106a11f24d6ad1043553e898da07ccfda113ff3662e6d3ae11a9a
3
+ metadata.gz: d9ebae42136adb5650c05a462f23194267a80c23dd0bc4b2b212a2d646f5670d
4
+ data.tar.gz: 909868caddb0cafc7981816eab5d8787caca0342f7e745f17bc178da34ce36fa
5
5
  SHA512:
6
- metadata.gz: de8afdebf323354d4f215963a6bda991b617fd3b2df9e6ecac633b4813cef8d84a264a694ccabe2fe00aa4f7045b5e161e895fd4ea1ad8731a9ecf1e86060d06
7
- data.tar.gz: '078decb4ca8fd7101bc5f8a62e548da1f4255c41bd5f5c2b6ee43b020336726d31580ad60f515fd15d2edfe4ae657ea88579bf8c03ecaa3ef15fa552d0348d2a'
6
+ metadata.gz: 131c740ab6be625936773a7a36e2546a0dcbaddaa9ca0fa0240ad0b61cf92cdad961d8026c843d71ad9f05fe0a2905705eee7937c8eef75f67da17f8d7a74dc6
7
+ data.tar.gz: ff7c36c85dbd925006771f7d15b2d7ce335af6c76208dafb2178e215b81ee3f7d5f521e6b2e1ebe8767a7ec86fc30dff2107b1eac62287ab68d8eefe765ad84a
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  gem 'pry-byebug'
8
8
  gem 'rubocop', '~> 0.66.0'
9
9
  end
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.12.0
10
+ - Package version: 3.13.2
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_rpm_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_rpm_client-3.12.0.gem
27
+ gem install ./pulp_rpm_client-3.13.2.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_rpm_client-3.12.0.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_rpm_client-3.13.2.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_rpm_client', '~> 3.12.0'
36
+ gem 'pulp_rpm_client', '~> 3.13.2'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -158,6 +158,7 @@ Class | Method | HTTP request | Description
158
158
  - [PulpRpmClient::Copy](docs/Copy.md)
159
159
  - [PulpRpmClient::ImageResponse](docs/ImageResponse.md)
160
160
  - [PulpRpmClient::MetadataChecksumTypeEnum](docs/MetadataChecksumTypeEnum.md)
161
+ - [PulpRpmClient::NullEnum](docs/NullEnum.md)
161
162
  - [PulpRpmClient::PackageChecksumTypeEnum](docs/PackageChecksumTypeEnum.md)
162
163
  - [PulpRpmClient::PaginatedRepositoryVersionResponseList](docs/PaginatedRepositoryVersionResponseList.md)
163
164
  - [PulpRpmClient::PaginatedrpmDistributionTreeResponseList](docs/PaginatedrpmDistributionTreeResponseList.md)
@@ -0,0 +1,2 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
@@ -0,0 +1,2 @@
1
+ from pkgutil import extend_path
2
+ __path__ = extend_path(__path__, __name__)
@@ -0,0 +1,112 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ Pulp 3 API
7
+
8
+ Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
9
+
10
+ The version of the OpenAPI document: v3
11
+ Contact: pulp-list@redhat.com
12
+ Generated by: https://openapi-generator.tech
13
+ """
14
+
15
+
16
+ from __future__ import absolute_import
17
+
18
+ __version__ = "3.13.2"
19
+
20
+ # import apis into sdk package
21
+ from pulpcore.client.pulp_rpm.api.content_advisories_api import ContentAdvisoriesApi
22
+ from pulpcore.client.pulp_rpm.api.content_distribution_trees_api import ContentDistributionTreesApi
23
+ from pulpcore.client.pulp_rpm.api.content_modulemd_defaults_api import ContentModulemdDefaultsApi
24
+ from pulpcore.client.pulp_rpm.api.content_modulemds_api import ContentModulemdsApi
25
+ from pulpcore.client.pulp_rpm.api.content_packagecategories_api import ContentPackagecategoriesApi
26
+ from pulpcore.client.pulp_rpm.api.content_packageenvironments_api import ContentPackageenvironmentsApi
27
+ from pulpcore.client.pulp_rpm.api.content_packagegroups_api import ContentPackagegroupsApi
28
+ from pulpcore.client.pulp_rpm.api.content_packagelangpacks_api import ContentPackagelangpacksApi
29
+ from pulpcore.client.pulp_rpm.api.content_packages_api import ContentPackagesApi
30
+ from pulpcore.client.pulp_rpm.api.content_repo_metadata_files_api import ContentRepoMetadataFilesApi
31
+ from pulpcore.client.pulp_rpm.api.distributions_rpm_api import DistributionsRpmApi
32
+ from pulpcore.client.pulp_rpm.api.publications_rpm_api import PublicationsRpmApi
33
+ from pulpcore.client.pulp_rpm.api.remotes_rpm_api import RemotesRpmApi
34
+ from pulpcore.client.pulp_rpm.api.remotes_uln_api import RemotesUlnApi
35
+ from pulpcore.client.pulp_rpm.api.repositories_rpm_api import RepositoriesRpmApi
36
+ from pulpcore.client.pulp_rpm.api.repositories_rpm_versions_api import RepositoriesRpmVersionsApi
37
+ from pulpcore.client.pulp_rpm.api.rpm_copy_api import RpmCopyApi
38
+
39
+ # import ApiClient
40
+ from pulpcore.client.pulp_rpm.api_client import ApiClient
41
+ from pulpcore.client.pulp_rpm.configuration import Configuration
42
+ from pulpcore.client.pulp_rpm.exceptions import OpenApiException
43
+ from pulpcore.client.pulp_rpm.exceptions import ApiTypeError
44
+ from pulpcore.client.pulp_rpm.exceptions import ApiValueError
45
+ from pulpcore.client.pulp_rpm.exceptions import ApiKeyError
46
+ from pulpcore.client.pulp_rpm.exceptions import ApiException
47
+ # import models into sdk package
48
+ from pulpcore.client.pulp_rpm.models.addon_response import AddonResponse
49
+ from pulpcore.client.pulp_rpm.models.artifact_response import ArtifactResponse
50
+ from pulpcore.client.pulp_rpm.models.async_operation_response import AsyncOperationResponse
51
+ from pulpcore.client.pulp_rpm.models.checksum_response import ChecksumResponse
52
+ from pulpcore.client.pulp_rpm.models.content_summary import ContentSummary
53
+ from pulpcore.client.pulp_rpm.models.content_summary_response import ContentSummaryResponse
54
+ from pulpcore.client.pulp_rpm.models.copy import Copy
55
+ from pulpcore.client.pulp_rpm.models.image_response import ImageResponse
56
+ from pulpcore.client.pulp_rpm.models.metadata_checksum_type_enum import MetadataChecksumTypeEnum
57
+ from pulpcore.client.pulp_rpm.models.null_enum import NullEnum
58
+ from pulpcore.client.pulp_rpm.models.package_checksum_type_enum import PackageChecksumTypeEnum
59
+ from pulpcore.client.pulp_rpm.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
60
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_distribution_tree_response_list import PaginatedrpmDistributionTreeResponseList
61
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_modulemd_defaults_response_list import PaginatedrpmModulemdDefaultsResponseList
62
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_modulemd_response_list import PaginatedrpmModulemdResponseList
63
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_package_category_response_list import PaginatedrpmPackageCategoryResponseList
64
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_package_environment_response_list import PaginatedrpmPackageEnvironmentResponseList
65
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_package_group_response_list import PaginatedrpmPackageGroupResponseList
66
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_package_langpacks_response_list import PaginatedrpmPackageLangpacksResponseList
67
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_package_response_list import PaginatedrpmPackageResponseList
68
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_repo_metadata_file_response_list import PaginatedrpmRepoMetadataFileResponseList
69
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_distribution_response_list import PaginatedrpmRpmDistributionResponseList
70
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_publication_response_list import PaginatedrpmRpmPublicationResponseList
71
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_remote_response_list import PaginatedrpmRpmRemoteResponseList
72
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_rpm_repository_response_list import PaginatedrpmRpmRepositoryResponseList
73
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_uln_remote_response_list import PaginatedrpmUlnRemoteResponseList
74
+ from pulpcore.client.pulp_rpm.models.paginatedrpm_update_record_response_list import PaginatedrpmUpdateRecordResponseList
75
+ from pulpcore.client.pulp_rpm.models.patchedrpm_rpm_distribution import PatchedrpmRpmDistribution
76
+ from pulpcore.client.pulp_rpm.models.patchedrpm_rpm_remote import PatchedrpmRpmRemote
77
+ from pulpcore.client.pulp_rpm.models.patchedrpm_rpm_repository import PatchedrpmRpmRepository
78
+ from pulpcore.client.pulp_rpm.models.patchedrpm_uln_remote import PatchedrpmUlnRemote
79
+ from pulpcore.client.pulp_rpm.models.policy_enum import PolicyEnum
80
+ from pulpcore.client.pulp_rpm.models.repository_add_remove_content import RepositoryAddRemoveContent
81
+ from pulpcore.client.pulp_rpm.models.repository_version import RepositoryVersion
82
+ from pulpcore.client.pulp_rpm.models.repository_version_response import RepositoryVersionResponse
83
+ from pulpcore.client.pulp_rpm.models.rpm_distribution_tree_response import RpmDistributionTreeResponse
84
+ from pulpcore.client.pulp_rpm.models.rpm_modulemd import RpmModulemd
85
+ from pulpcore.client.pulp_rpm.models.rpm_modulemd_defaults import RpmModulemdDefaults
86
+ from pulpcore.client.pulp_rpm.models.rpm_modulemd_defaults_response import RpmModulemdDefaultsResponse
87
+ from pulpcore.client.pulp_rpm.models.rpm_modulemd_response import RpmModulemdResponse
88
+ from pulpcore.client.pulp_rpm.models.rpm_package import RpmPackage
89
+ from pulpcore.client.pulp_rpm.models.rpm_package_category_response import RpmPackageCategoryResponse
90
+ from pulpcore.client.pulp_rpm.models.rpm_package_environment_response import RpmPackageEnvironmentResponse
91
+ from pulpcore.client.pulp_rpm.models.rpm_package_group_response import RpmPackageGroupResponse
92
+ from pulpcore.client.pulp_rpm.models.rpm_package_langpacks_response import RpmPackageLangpacksResponse
93
+ from pulpcore.client.pulp_rpm.models.rpm_package_response import RpmPackageResponse
94
+ from pulpcore.client.pulp_rpm.models.rpm_repo_metadata_file_response import RpmRepoMetadataFileResponse
95
+ from pulpcore.client.pulp_rpm.models.rpm_repository_sync_url import RpmRepositorySyncURL
96
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_distribution import RpmRpmDistribution
97
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_distribution_response import RpmRpmDistributionResponse
98
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_publication import RpmRpmPublication
99
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_publication_response import RpmRpmPublicationResponse
100
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_remote import RpmRpmRemote
101
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_remote_response import RpmRpmRemoteResponse
102
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_repository import RpmRpmRepository
103
+ from pulpcore.client.pulp_rpm.models.rpm_rpm_repository_response import RpmRpmRepositoryResponse
104
+ from pulpcore.client.pulp_rpm.models.rpm_uln_remote import RpmUlnRemote
105
+ from pulpcore.client.pulp_rpm.models.rpm_uln_remote_response import RpmUlnRemoteResponse
106
+ from pulpcore.client.pulp_rpm.models.rpm_update_collection import RpmUpdateCollection
107
+ from pulpcore.client.pulp_rpm.models.rpm_update_collection_response import RpmUpdateCollectionResponse
108
+ from pulpcore.client.pulp_rpm.models.rpm_update_record import RpmUpdateRecord
109
+ from pulpcore.client.pulp_rpm.models.rpm_update_record_response import RpmUpdateRecordResponse
110
+ from pulpcore.client.pulp_rpm.models.skip_types_enum import SkipTypesEnum
111
+ from pulpcore.client.pulp_rpm.models.variant_response import VariantResponse
112
+
@@ -0,0 +1,22 @@
1
+ from __future__ import absolute_import
2
+
3
+ # flake8: noqa
4
+
5
+ # import apis into api package
6
+ from pulpcore.client.pulp_rpm.api.content_advisories_api import ContentAdvisoriesApi
7
+ from pulpcore.client.pulp_rpm.api.content_distribution_trees_api import ContentDistributionTreesApi
8
+ from pulpcore.client.pulp_rpm.api.content_modulemd_defaults_api import ContentModulemdDefaultsApi
9
+ from pulpcore.client.pulp_rpm.api.content_modulemds_api import ContentModulemdsApi
10
+ from pulpcore.client.pulp_rpm.api.content_packagecategories_api import ContentPackagecategoriesApi
11
+ from pulpcore.client.pulp_rpm.api.content_packageenvironments_api import ContentPackageenvironmentsApi
12
+ from pulpcore.client.pulp_rpm.api.content_packagegroups_api import ContentPackagegroupsApi
13
+ from pulpcore.client.pulp_rpm.api.content_packagelangpacks_api import ContentPackagelangpacksApi
14
+ from pulpcore.client.pulp_rpm.api.content_packages_api import ContentPackagesApi
15
+ from pulpcore.client.pulp_rpm.api.content_repo_metadata_files_api import ContentRepoMetadataFilesApi
16
+ from pulpcore.client.pulp_rpm.api.distributions_rpm_api import DistributionsRpmApi
17
+ from pulpcore.client.pulp_rpm.api.publications_rpm_api import PublicationsRpmApi
18
+ from pulpcore.client.pulp_rpm.api.remotes_rpm_api import RemotesRpmApi
19
+ from pulpcore.client.pulp_rpm.api.remotes_uln_api import RemotesUlnApi
20
+ from pulpcore.client.pulp_rpm.api.repositories_rpm_api import RepositoriesRpmApi
21
+ from pulpcore.client.pulp_rpm.api.repositories_rpm_versions_api import RepositoriesRpmVersionsApi
22
+ from pulpcore.client.pulp_rpm.api.rpm_copy_api import RpmCopyApi
@@ -0,0 +1,485 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Pulp 3 API
5
+
6
+ Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
7
+
8
+ The version of the OpenAPI document: v3
9
+ Contact: pulp-list@redhat.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ from __future__ import absolute_import
15
+
16
+ import re # noqa: F401
17
+
18
+ # python 2 and python 3 compatibility library
19
+ import six
20
+
21
+ from pulpcore.client.pulp_rpm.api_client import ApiClient
22
+ from pulpcore.client.pulp_rpm.exceptions import ( # noqa: F401
23
+ ApiTypeError,
24
+ ApiValueError
25
+ )
26
+
27
+
28
+ class ContentAdvisoriesApi(object):
29
+ """NOTE: This class is auto generated by OpenAPI Generator
30
+ Ref: https://openapi-generator.tech
31
+
32
+ Do not edit the class manually.
33
+ """
34
+
35
+ def __init__(self, api_client=None):
36
+ if api_client is None:
37
+ api_client = ApiClient()
38
+ self.api_client = api_client
39
+
40
+ def create(self, **kwargs): # noqa: E501
41
+ """Create an update record # noqa: E501
42
+
43
+ Trigger an asynchronous task to create content,optionally create new repository version. # noqa: E501
44
+ This method makes a synchronous HTTP request by default. To make an
45
+ asynchronous HTTP request, please pass async_req=True
46
+ >>> thread = api.create(async_req=True)
47
+ >>> result = thread.get()
48
+
49
+ :param async_req bool: execute request asynchronously
50
+ :param file file: An uploaded file that may be turned into the artifact of the content unit.
51
+ :param str repository: A URI of a repository the new content unit should be associated with.
52
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
53
+ be returned without reading/decoding response
54
+ data. Default is True.
55
+ :param _request_timeout: timeout setting for this request. If one
56
+ number provided, it will be total request
57
+ timeout. It can also be a pair (tuple) of
58
+ (connection, read) timeouts.
59
+ :return: AsyncOperationResponse
60
+ If the method is called asynchronously,
61
+ returns the request thread.
62
+ """
63
+ kwargs['_return_http_data_only'] = True
64
+ return self.create_with_http_info(**kwargs) # noqa: E501
65
+
66
+ def create_with_http_info(self, **kwargs): # noqa: E501
67
+ """Create an update record # noqa: E501
68
+
69
+ Trigger an asynchronous task to create content,optionally create new repository version. # noqa: E501
70
+ This method makes a synchronous HTTP request by default. To make an
71
+ asynchronous HTTP request, please pass async_req=True
72
+ >>> thread = api.create_with_http_info(async_req=True)
73
+ >>> result = thread.get()
74
+
75
+ :param async_req bool: execute request asynchronously
76
+ :param file file: An uploaded file that may be turned into the artifact of the content unit.
77
+ :param str repository: A URI of a repository the new content unit should be associated with.
78
+ :param _return_http_data_only: response data without head status code
79
+ and headers
80
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
81
+ be returned without reading/decoding response
82
+ data. Default is True.
83
+ :param _request_timeout: timeout setting for this request. If one
84
+ number provided, it will be total request
85
+ timeout. It can also be a pair (tuple) of
86
+ (connection, read) timeouts.
87
+ :return: tuple(AsyncOperationResponse, status_code(int), headers(HTTPHeaderDict))
88
+ If the method is called asynchronously,
89
+ returns the request thread.
90
+ """
91
+
92
+ local_var_params = locals()
93
+
94
+ all_params = [
95
+ 'file',
96
+ 'repository'
97
+ ]
98
+ all_params.extend(
99
+ [
100
+ 'async_req',
101
+ '_return_http_data_only',
102
+ '_preload_content',
103
+ '_request_timeout'
104
+ ]
105
+ )
106
+
107
+ for key, val in six.iteritems(local_var_params['kwargs']):
108
+ if key not in all_params:
109
+ raise ApiTypeError(
110
+ "Got an unexpected keyword argument '%s'"
111
+ " to method create" % key
112
+ )
113
+ local_var_params[key] = val
114
+ del local_var_params['kwargs']
115
+
116
+ collection_formats = {}
117
+
118
+ path_params = {}
119
+
120
+ query_params = []
121
+
122
+ header_params = {}
123
+
124
+ form_params = []
125
+ local_var_files = {}
126
+ if 'file' in local_var_params:
127
+ local_var_files['file'] = local_var_params['file'] # noqa: E501
128
+ if 'repository' in local_var_params:
129
+ form_params.append(('repository', local_var_params['repository'])) # noqa: E501
130
+
131
+ body_params = None
132
+ # HTTP header `Accept`
133
+ header_params['Accept'] = self.api_client.select_header_accept(
134
+ ['application/json']) # noqa: E501
135
+
136
+ # HTTP header `Content-Type`
137
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
138
+ ['multipart/form-data', 'application/x-www-form-urlencoded']) # noqa: E501
139
+
140
+ # Authentication setting
141
+ auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501
142
+
143
+ return self.api_client.call_api(
144
+ '/pulp/api/v3/content/rpm/advisories/', 'POST',
145
+ path_params,
146
+ query_params,
147
+ header_params,
148
+ body=body_params,
149
+ post_params=form_params,
150
+ files=local_var_files,
151
+ response_type='AsyncOperationResponse', # noqa: E501
152
+ auth_settings=auth_settings,
153
+ async_req=local_var_params.get('async_req'),
154
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
155
+ _preload_content=local_var_params.get('_preload_content', True),
156
+ _request_timeout=local_var_params.get('_request_timeout'),
157
+ collection_formats=collection_formats)
158
+
159
+ def list(self, **kwargs): # noqa: E501
160
+ """List update records # noqa: E501
161
+
162
+ A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
163
+ This method makes a synchronous HTTP request by default. To make an
164
+ asynchronous HTTP request, please pass async_req=True
165
+ >>> thread = api.list(async_req=True)
166
+ >>> result = thread.get()
167
+
168
+ :param async_req bool: execute request asynchronously
169
+ :param str id: Filter results where id matches value
170
+ :param list[str] id__in: Filter results where id is in a comma-separated list of values
171
+ :param int limit: Number of results to return per page.
172
+ :param int offset: The initial index from which to return the results.
173
+ :param str ordering: Which field to use when ordering the results.
174
+ :param str repository_version: Repository Version referenced by HREF
175
+ :param str repository_version_added: Repository Version referenced by HREF
176
+ :param str repository_version_removed: Repository Version referenced by HREF
177
+ :param str severity: Filter results where severity matches value
178
+ :param list[str] severity__in: Filter results where severity is in a comma-separated list of values
179
+ :param str severity__ne: Filter results where severity not equal to value
180
+ :param str status: Filter results where status matches value
181
+ :param list[str] status__in: Filter results where status is in a comma-separated list of values
182
+ :param str status__ne: Filter results where status not equal to value
183
+ :param str type: Filter results where type matches value
184
+ :param list[str] type__in: Filter results where type is in a comma-separated list of values
185
+ :param str type__ne: Filter results where type not equal to value
186
+ :param str fields: A list of fields to include in the response.
187
+ :param str exclude_fields: A list of fields to exclude from the response.
188
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
189
+ be returned without reading/decoding response
190
+ data. Default is True.
191
+ :param _request_timeout: timeout setting for this request. If one
192
+ number provided, it will be total request
193
+ timeout. It can also be a pair (tuple) of
194
+ (connection, read) timeouts.
195
+ :return: PaginatedrpmUpdateRecordResponseList
196
+ If the method is called asynchronously,
197
+ returns the request thread.
198
+ """
199
+ kwargs['_return_http_data_only'] = True
200
+ return self.list_with_http_info(**kwargs) # noqa: E501
201
+
202
+ def list_with_http_info(self, **kwargs): # noqa: E501
203
+ """List update records # noqa: E501
204
+
205
+ A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
206
+ This method makes a synchronous HTTP request by default. To make an
207
+ asynchronous HTTP request, please pass async_req=True
208
+ >>> thread = api.list_with_http_info(async_req=True)
209
+ >>> result = thread.get()
210
+
211
+ :param async_req bool: execute request asynchronously
212
+ :param str id: Filter results where id matches value
213
+ :param list[str] id__in: Filter results where id is in a comma-separated list of values
214
+ :param int limit: Number of results to return per page.
215
+ :param int offset: The initial index from which to return the results.
216
+ :param str ordering: Which field to use when ordering the results.
217
+ :param str repository_version: Repository Version referenced by HREF
218
+ :param str repository_version_added: Repository Version referenced by HREF
219
+ :param str repository_version_removed: Repository Version referenced by HREF
220
+ :param str severity: Filter results where severity matches value
221
+ :param list[str] severity__in: Filter results where severity is in a comma-separated list of values
222
+ :param str severity__ne: Filter results where severity not equal to value
223
+ :param str status: Filter results where status matches value
224
+ :param list[str] status__in: Filter results where status is in a comma-separated list of values
225
+ :param str status__ne: Filter results where status not equal to value
226
+ :param str type: Filter results where type matches value
227
+ :param list[str] type__in: Filter results where type is in a comma-separated list of values
228
+ :param str type__ne: Filter results where type not equal to value
229
+ :param str fields: A list of fields to include in the response.
230
+ :param str exclude_fields: A list of fields to exclude from the response.
231
+ :param _return_http_data_only: response data without head status code
232
+ and headers
233
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
234
+ be returned without reading/decoding response
235
+ data. Default is True.
236
+ :param _request_timeout: timeout setting for this request. If one
237
+ number provided, it will be total request
238
+ timeout. It can also be a pair (tuple) of
239
+ (connection, read) timeouts.
240
+ :return: tuple(PaginatedrpmUpdateRecordResponseList, status_code(int), headers(HTTPHeaderDict))
241
+ If the method is called asynchronously,
242
+ returns the request thread.
243
+ """
244
+
245
+ local_var_params = locals()
246
+
247
+ all_params = [
248
+ 'id',
249
+ 'id__in',
250
+ 'limit',
251
+ 'offset',
252
+ 'ordering',
253
+ 'repository_version',
254
+ 'repository_version_added',
255
+ 'repository_version_removed',
256
+ 'severity',
257
+ 'severity__in',
258
+ 'severity__ne',
259
+ 'status',
260
+ 'status__in',
261
+ 'status__ne',
262
+ 'type',
263
+ 'type__in',
264
+ 'type__ne',
265
+ 'fields',
266
+ 'exclude_fields'
267
+ ]
268
+ all_params.extend(
269
+ [
270
+ 'async_req',
271
+ '_return_http_data_only',
272
+ '_preload_content',
273
+ '_request_timeout'
274
+ ]
275
+ )
276
+
277
+ for key, val in six.iteritems(local_var_params['kwargs']):
278
+ if key not in all_params:
279
+ raise ApiTypeError(
280
+ "Got an unexpected keyword argument '%s'"
281
+ " to method list" % key
282
+ )
283
+ local_var_params[key] = val
284
+ del local_var_params['kwargs']
285
+
286
+ collection_formats = {}
287
+
288
+ path_params = {}
289
+
290
+ query_params = []
291
+ if 'id' in local_var_params and local_var_params['id'] is not None: # noqa: E501
292
+ query_params.append(('id', local_var_params['id'])) # noqa: E501
293
+ if 'id__in' in local_var_params and local_var_params['id__in'] is not None: # noqa: E501
294
+ query_params.append(('id__in', local_var_params['id__in'])) # noqa: E501
295
+ collection_formats['id__in'] = 'csv' # noqa: E501
296
+ if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
297
+ query_params.append(('limit', local_var_params['limit'])) # noqa: E501
298
+ if 'offset' in local_var_params and local_var_params['offset'] is not None: # noqa: E501
299
+ query_params.append(('offset', local_var_params['offset'])) # noqa: E501
300
+ if 'ordering' in local_var_params and local_var_params['ordering'] is not None: # noqa: E501
301
+ query_params.append(('ordering', local_var_params['ordering'])) # noqa: E501
302
+ if 'repository_version' in local_var_params and local_var_params['repository_version'] is not None: # noqa: E501
303
+ query_params.append(('repository_version', local_var_params['repository_version'])) # noqa: E501
304
+ if 'repository_version_added' in local_var_params and local_var_params['repository_version_added'] is not None: # noqa: E501
305
+ query_params.append(('repository_version_added', local_var_params['repository_version_added'])) # noqa: E501
306
+ if 'repository_version_removed' in local_var_params and local_var_params['repository_version_removed'] is not None: # noqa: E501
307
+ query_params.append(('repository_version_removed', local_var_params['repository_version_removed'])) # noqa: E501
308
+ if 'severity' in local_var_params and local_var_params['severity'] is not None: # noqa: E501
309
+ query_params.append(('severity', local_var_params['severity'])) # noqa: E501
310
+ if 'severity__in' in local_var_params and local_var_params['severity__in'] is not None: # noqa: E501
311
+ query_params.append(('severity__in', local_var_params['severity__in'])) # noqa: E501
312
+ collection_formats['severity__in'] = 'csv' # noqa: E501
313
+ if 'severity__ne' in local_var_params and local_var_params['severity__ne'] is not None: # noqa: E501
314
+ query_params.append(('severity__ne', local_var_params['severity__ne'])) # noqa: E501
315
+ if 'status' in local_var_params and local_var_params['status'] is not None: # noqa: E501
316
+ query_params.append(('status', local_var_params['status'])) # noqa: E501
317
+ if 'status__in' in local_var_params and local_var_params['status__in'] is not None: # noqa: E501
318
+ query_params.append(('status__in', local_var_params['status__in'])) # noqa: E501
319
+ collection_formats['status__in'] = 'csv' # noqa: E501
320
+ if 'status__ne' in local_var_params and local_var_params['status__ne'] is not None: # noqa: E501
321
+ query_params.append(('status__ne', local_var_params['status__ne'])) # noqa: E501
322
+ if 'type' in local_var_params and local_var_params['type'] is not None: # noqa: E501
323
+ query_params.append(('type', local_var_params['type'])) # noqa: E501
324
+ if 'type__in' in local_var_params and local_var_params['type__in'] is not None: # noqa: E501
325
+ query_params.append(('type__in', local_var_params['type__in'])) # noqa: E501
326
+ collection_formats['type__in'] = 'csv' # noqa: E501
327
+ if 'type__ne' in local_var_params and local_var_params['type__ne'] is not None: # noqa: E501
328
+ query_params.append(('type__ne', local_var_params['type__ne'])) # noqa: E501
329
+ if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
330
+ query_params.append(('fields', local_var_params['fields'])) # noqa: E501
331
+ if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
332
+ query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
333
+
334
+ header_params = {}
335
+
336
+ form_params = []
337
+ local_var_files = {}
338
+
339
+ body_params = None
340
+ # HTTP header `Accept`
341
+ header_params['Accept'] = self.api_client.select_header_accept(
342
+ ['application/json']) # noqa: E501
343
+
344
+ # Authentication setting
345
+ auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501
346
+
347
+ return self.api_client.call_api(
348
+ '/pulp/api/v3/content/rpm/advisories/', 'GET',
349
+ path_params,
350
+ query_params,
351
+ header_params,
352
+ body=body_params,
353
+ post_params=form_params,
354
+ files=local_var_files,
355
+ response_type='PaginatedrpmUpdateRecordResponseList', # noqa: E501
356
+ auth_settings=auth_settings,
357
+ async_req=local_var_params.get('async_req'),
358
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
359
+ _preload_content=local_var_params.get('_preload_content', True),
360
+ _request_timeout=local_var_params.get('_request_timeout'),
361
+ collection_formats=collection_formats)
362
+
363
+ def read(self, rpm_update_record_href, **kwargs): # noqa: E501
364
+ """Inspect an update record # noqa: E501
365
+
366
+ A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
367
+ This method makes a synchronous HTTP request by default. To make an
368
+ asynchronous HTTP request, please pass async_req=True
369
+ >>> thread = api.read(rpm_update_record_href, async_req=True)
370
+ >>> result = thread.get()
371
+
372
+ :param async_req bool: execute request asynchronously
373
+ :param str rpm_update_record_href: (required)
374
+ :param str fields: A list of fields to include in the response.
375
+ :param str exclude_fields: A list of fields to exclude from the response.
376
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
377
+ be returned without reading/decoding response
378
+ data. Default is True.
379
+ :param _request_timeout: timeout setting for this request. If one
380
+ number provided, it will be total request
381
+ timeout. It can also be a pair (tuple) of
382
+ (connection, read) timeouts.
383
+ :return: RpmUpdateRecordResponse
384
+ If the method is called asynchronously,
385
+ returns the request thread.
386
+ """
387
+ kwargs['_return_http_data_only'] = True
388
+ return self.read_with_http_info(rpm_update_record_href, **kwargs) # noqa: E501
389
+
390
+ def read_with_http_info(self, rpm_update_record_href, **kwargs): # noqa: E501
391
+ """Inspect an update record # noqa: E501
392
+
393
+ A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord. # noqa: E501
394
+ This method makes a synchronous HTTP request by default. To make an
395
+ asynchronous HTTP request, please pass async_req=True
396
+ >>> thread = api.read_with_http_info(rpm_update_record_href, async_req=True)
397
+ >>> result = thread.get()
398
+
399
+ :param async_req bool: execute request asynchronously
400
+ :param str rpm_update_record_href: (required)
401
+ :param str fields: A list of fields to include in the response.
402
+ :param str exclude_fields: A list of fields to exclude from the response.
403
+ :param _return_http_data_only: response data without head status code
404
+ and headers
405
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
406
+ be returned without reading/decoding response
407
+ data. Default is True.
408
+ :param _request_timeout: timeout setting for this request. If one
409
+ number provided, it will be total request
410
+ timeout. It can also be a pair (tuple) of
411
+ (connection, read) timeouts.
412
+ :return: tuple(RpmUpdateRecordResponse, status_code(int), headers(HTTPHeaderDict))
413
+ If the method is called asynchronously,
414
+ returns the request thread.
415
+ """
416
+
417
+ local_var_params = locals()
418
+
419
+ all_params = [
420
+ 'rpm_update_record_href',
421
+ 'fields',
422
+ 'exclude_fields'
423
+ ]
424
+ all_params.extend(
425
+ [
426
+ 'async_req',
427
+ '_return_http_data_only',
428
+ '_preload_content',
429
+ '_request_timeout'
430
+ ]
431
+ )
432
+
433
+ for key, val in six.iteritems(local_var_params['kwargs']):
434
+ if key not in all_params:
435
+ raise ApiTypeError(
436
+ "Got an unexpected keyword argument '%s'"
437
+ " to method read" % key
438
+ )
439
+ local_var_params[key] = val
440
+ del local_var_params['kwargs']
441
+ # verify the required parameter 'rpm_update_record_href' is set
442
+ if self.api_client.client_side_validation and ('rpm_update_record_href' not in local_var_params or # noqa: E501
443
+ local_var_params['rpm_update_record_href'] is None): # noqa: E501
444
+ raise ApiValueError("Missing the required parameter `rpm_update_record_href` when calling `read`") # noqa: E501
445
+
446
+ collection_formats = {}
447
+
448
+ path_params = {}
449
+ if 'rpm_update_record_href' in local_var_params:
450
+ path_params['rpm_update_record_href'] = local_var_params['rpm_update_record_href'] # noqa: E501
451
+
452
+ query_params = []
453
+ if 'fields' in local_var_params and local_var_params['fields'] is not None: # noqa: E501
454
+ query_params.append(('fields', local_var_params['fields'])) # noqa: E501
455
+ if 'exclude_fields' in local_var_params and local_var_params['exclude_fields'] is not None: # noqa: E501
456
+ query_params.append(('exclude_fields', local_var_params['exclude_fields'])) # noqa: E501
457
+
458
+ header_params = {}
459
+
460
+ form_params = []
461
+ local_var_files = {}
462
+
463
+ body_params = None
464
+ # HTTP header `Accept`
465
+ header_params['Accept'] = self.api_client.select_header_accept(
466
+ ['application/json']) # noqa: E501
467
+
468
+ # Authentication setting
469
+ auth_settings = ['basicAuth', 'cookieAuth'] # noqa: E501
470
+
471
+ return self.api_client.call_api(
472
+ '{rpm_update_record_href}', 'GET',
473
+ path_params,
474
+ query_params,
475
+ header_params,
476
+ body=body_params,
477
+ post_params=form_params,
478
+ files=local_var_files,
479
+ response_type='RpmUpdateRecordResponse', # noqa: E501
480
+ auth_settings=auth_settings,
481
+ async_req=local_var_params.get('async_req'),
482
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
483
+ _preload_content=local_var_params.get('_preload_content', True),
484
+ _request_timeout=local_var_params.get('_request_timeout'),
485
+ collection_formats=collection_formats)