pulp_rpm_client 3.13.1 → 3.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (298) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/PatchedrpmRpmRemote.md +7 -5
  4. data/docs/PatchedrpmUlnRemote.md +7 -5
  5. data/docs/RpmRpmRemote.md +7 -5
  6. data/docs/RpmRpmRemoteResponse.md +7 -5
  7. data/docs/RpmUlnRemote.md +7 -5
  8. data/docs/RpmUlnRemoteResponse.md +7 -5
  9. data/lib/pulp_rpm_client/api_client.rb +4 -2
  10. data/lib/pulp_rpm_client/configuration.rb +7 -0
  11. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +18 -6
  12. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +18 -6
  13. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +18 -6
  14. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +18 -6
  15. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +18 -6
  16. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +18 -6
  17. data/lib/pulp_rpm_client/version.rb +1 -1
  18. data/spec/models/patchedrpm_rpm_remote_spec.rb +6 -0
  19. data/spec/models/patchedrpm_uln_remote_spec.rb +6 -0
  20. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  21. data/spec/models/rpm_rpm_remote_spec.rb +6 -0
  22. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  23. data/spec/models/rpm_uln_remote_spec.rb +6 -0
  24. metadata +67 -341
  25. data/build/lib/pulpcore/__init__.py +0 -2
  26. data/build/lib/pulpcore/client/__init__.py +0 -2
  27. data/build/lib/pulpcore/client/pulp_rpm/__init__.py +0 -112
  28. data/build/lib/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
  29. data/build/lib/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
  30. data/build/lib/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
  31. data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
  32. data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
  33. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
  34. data/build/lib/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
  35. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
  36. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
  37. data/build/lib/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
  38. data/build/lib/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
  39. data/build/lib/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
  40. data/build/lib/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
  41. data/build/lib/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
  42. data/build/lib/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
  43. data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
  44. data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
  45. data/build/lib/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
  46. data/build/lib/pulpcore/client/pulp_rpm/api_client.py +0 -667
  47. data/build/lib/pulpcore/client/pulp_rpm/configuration.py +0 -427
  48. data/build/lib/pulpcore/client/pulp_rpm/exceptions.py +0 -121
  49. data/build/lib/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
  50. data/build/lib/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
  51. data/build/lib/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
  52. data/build/lib/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
  53. data/build/lib/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
  54. data/build/lib/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
  55. data/build/lib/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
  56. data/build/lib/pulpcore/client/pulp_rpm/models/copy.py +0 -152
  57. data/build/lib/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
  58. data/build/lib/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
  59. data/build/lib/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
  60. data/build/lib/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
  61. data/build/lib/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
  62. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
  63. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
  64. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
  65. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
  66. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
  67. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
  68. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
  69. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
  70. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
  71. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
  72. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
  73. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
  74. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
  75. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
  76. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
  77. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
  78. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
  79. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
  80. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
  81. data/build/lib/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
  82. data/build/lib/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
  83. data/build/lib/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
  84. data/build/lib/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
  85. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
  86. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
  87. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
  88. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
  89. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
  90. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
  91. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
  92. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
  93. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
  94. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
  95. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
  96. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
  97. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
  98. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
  99. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
  100. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
  101. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
  102. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
  103. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
  104. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
  105. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
  106. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
  107. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
  108. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
  109. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
  110. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
  111. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
  112. data/build/lib/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
  113. data/build/lib/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
  114. data/build/lib/pulpcore/client/pulp_rpm/rest.py +0 -292
  115. data/dist/pulp_rpm-client-3.13.1.tar.gz +0 -0
  116. data/dist/pulp_rpm_client-3.13.1-py3-none-any.whl +0 -0
  117. data/pulp_rpm_client.egg-info/PKG-INFO +0 -15
  118. data/pulp_rpm_client.egg-info/SOURCES.txt +0 -179
  119. data/pulp_rpm_client.egg-info/dependency_links.txt +0 -1
  120. data/pulp_rpm_client.egg-info/requires.txt +0 -4
  121. data/pulp_rpm_client.egg-info/top_level.txt +0 -1
  122. data/pulpcore/__init__.py +0 -2
  123. data/pulpcore/client/__init__.py +0 -2
  124. data/pulpcore/client/pulp_rpm/__init__.py +0 -112
  125. data/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
  126. data/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
  127. data/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
  128. data/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
  129. data/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
  130. data/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
  131. data/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
  132. data/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
  133. data/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
  134. data/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
  135. data/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
  136. data/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
  137. data/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
  138. data/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
  139. data/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
  140. data/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
  141. data/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
  142. data/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
  143. data/pulpcore/client/pulp_rpm/api_client.py +0 -667
  144. data/pulpcore/client/pulp_rpm/configuration.py +0 -427
  145. data/pulpcore/client/pulp_rpm/exceptions.py +0 -121
  146. data/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
  147. data/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
  148. data/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
  149. data/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
  150. data/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
  151. data/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
  152. data/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
  153. data/pulpcore/client/pulp_rpm/models/copy.py +0 -152
  154. data/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
  155. data/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
  156. data/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
  157. data/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
  158. data/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
  159. data/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
  160. data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
  161. data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
  162. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
  163. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
  164. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
  165. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
  166. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
  167. data/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
  168. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
  169. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
  170. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
  171. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
  172. data/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
  173. data/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
  174. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
  175. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
  176. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
  177. data/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
  178. data/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
  179. data/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
  180. data/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
  181. data/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
  182. data/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
  183. data/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
  184. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
  185. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
  186. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
  187. data/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
  188. data/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
  189. data/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
  190. data/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
  191. data/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
  192. data/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
  193. data/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
  194. data/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
  195. data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
  196. data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
  197. data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
  198. data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
  199. data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
  200. data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
  201. data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
  202. data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
  203. data/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
  204. data/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
  205. data/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
  206. data/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
  207. data/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
  208. data/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
  209. data/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
  210. data/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
  211. data/pulpcore/client/pulp_rpm/rest.py +0 -292
  212. data/requirements.txt +0 -6
  213. data/setup.cfg +0 -2
  214. data/setup.py +0 -42
  215. data/test-requirements.txt +0 -3
  216. data/test/__init__.py +0 -0
  217. data/test/test_addon_response.py +0 -62
  218. data/test/test_artifact_response.py +0 -63
  219. data/test/test_async_operation_response.py +0 -54
  220. data/test/test_checksum_response.py +0 -56
  221. data/test/test_content_advisories_api.py +0 -55
  222. data/test/test_content_distribution_trees_api.py +0 -48
  223. data/test/test_content_modulemd_defaults_api.py +0 -55
  224. data/test/test_content_modulemds_api.py +0 -55
  225. data/test/test_content_packagecategories_api.py +0 -48
  226. data/test/test_content_packageenvironments_api.py +0 -48
  227. data/test/test_content_packagegroups_api.py +0 -48
  228. data/test/test_content_packagelangpacks_api.py +0 -48
  229. data/test/test_content_packages_api.py +0 -55
  230. data/test/test_content_repo_metadata_files_api.py +0 -48
  231. data/test/test_content_summary.py +0 -70
  232. data/test/test_content_summary_response.py +0 -70
  233. data/test/test_copy.py +0 -55
  234. data/test/test_distributions_rpm_api.py +0 -76
  235. data/test/test_image_response.py +0 -60
  236. data/test/test_metadata_checksum_type_enum.py +0 -52
  237. data/test/test_null_enum.py +0 -52
  238. data/test/test_package_checksum_type_enum.py +0 -52
  239. data/test/test_paginated_repository_version_response_list.py +0 -64
  240. data/test/test_paginatedrpm_distribution_tree_response_list.py +0 -106
  241. data/test/test_paginatedrpm_modulemd_defaults_response_list.py +0 -70
  242. data/test/test_paginatedrpm_modulemd_response_list.py +0 -78
  243. data/test/test_paginatedrpm_package_category_response_list.py +0 -68
  244. data/test/test_paginatedrpm_package_environment_response_list.py +0 -69
  245. data/test/test_paginatedrpm_package_group_response_list.py +0 -71
  246. data/test/test_paginatedrpm_package_langpacks_response_list.py +0 -62
  247. data/test/test_paginatedrpm_package_response_list.py +0 -103
  248. data/test/test_paginatedrpm_repo_metadata_file_response_list.py +0 -71
  249. data/test/test_paginatedrpm_rpm_distribution_response_list.py +0 -67
  250. data/test/test_paginatedrpm_rpm_publication_response_list.py +0 -67
  251. data/test/test_paginatedrpm_rpm_remote_response_list.py +0 -79
  252. data/test/test_paginatedrpm_rpm_repository_response_list.py +0 -75
  253. data/test/test_paginatedrpm_uln_remote_response_list.py +0 -81
  254. data/test/test_paginatedrpm_update_record_response_list.py +0 -88
  255. data/test/test_patchedrpm_rpm_distribution.py +0 -58
  256. data/test/test_patchedrpm_rpm_remote.py +0 -75
  257. data/test/test_patchedrpm_rpm_repository.py +0 -65
  258. data/test/test_patchedrpm_uln_remote.py +0 -75
  259. data/test/test_policy_enum.py +0 -52
  260. data/test/test_publications_rpm_api.py +0 -62
  261. data/test/test_remotes_rpm_api.py +0 -76
  262. data/test/test_remotes_uln_api.py +0 -76
  263. data/test/test_repositories_rpm_api.py +0 -90
  264. data/test/test_repositories_rpm_versions_api.py +0 -61
  265. data/test/test_repository_add_remove_content.py +0 -59
  266. data/test/test_repository_version.py +0 -53
  267. data/test/test_repository_version_response.py +0 -58
  268. data/test/test_rpm_copy_api.py +0 -41
  269. data/test/test_rpm_distribution_tree_response.py +0 -147
  270. data/test/test_rpm_modulemd.py +0 -75
  271. data/test/test_rpm_modulemd_defaults.py +0 -63
  272. data/test/test_rpm_modulemd_defaults_response.py +0 -67
  273. data/test/test_rpm_modulemd_response.py +0 -79
  274. data/test/test_rpm_package.py +0 -57
  275. data/test/test_rpm_package_category_response.py +0 -70
  276. data/test/test_rpm_package_environment_response.py +0 -72
  277. data/test/test_rpm_package_group_response.py +0 -73
  278. data/test/test_rpm_package_langpacks_response.py +0 -58
  279. data/test/test_rpm_package_response.py +0 -97
  280. data/test/test_rpm_repo_metadata_file_response.py +0 -69
  281. data/test/test_rpm_repository_sync_url.py +0 -58
  282. data/test/test_rpm_rpm_distribution.py +0 -60
  283. data/test/test_rpm_rpm_distribution_response.py +0 -63
  284. data/test/test_rpm_rpm_publication.py +0 -59
  285. data/test/test_rpm_rpm_publication_response.py +0 -61
  286. data/test/test_rpm_rpm_remote.py +0 -77
  287. data/test/test_rpm_rpm_remote_response.py +0 -75
  288. data/test/test_rpm_rpm_repository.py +0 -66
  289. data/test/test_rpm_rpm_repository_response.py +0 -70
  290. data/test/test_rpm_uln_remote.py +0 -79
  291. data/test/test_rpm_uln_remote_response.py +0 -79
  292. data/test/test_rpm_update_collection.py +0 -58
  293. data/test/test_rpm_update_collection_response.py +0 -61
  294. data/test/test_rpm_update_record.py +0 -54
  295. data/test/test_rpm_update_record_response.py +0 -82
  296. data/test/test_skip_types_enum.py +0 -52
  297. data/test/test_variant_response.py +0 -72
  298. data/tox.ini +0 -9
@@ -1,295 +0,0 @@
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
- import pprint
15
- import re # noqa: F401
16
-
17
- import six
18
-
19
- from pulpcore.client.pulp_rpm.configuration import Configuration
20
-
21
-
22
- class RpmModulemdDefaults(object):
23
- """NOTE: This class is auto generated by OpenAPI Generator.
24
- Ref: https://openapi-generator.tech
25
-
26
- Do not edit the class manually.
27
- """
28
-
29
- """
30
- Attributes:
31
- openapi_types (dict): The key is attribute name
32
- and the value is attribute type.
33
- attribute_map (dict): The key is attribute name
34
- and the value is json key in definition.
35
- """
36
- openapi_types = {
37
- 'artifact': 'str',
38
- 'relative_path': 'str',
39
- 'file': 'file',
40
- 'repository': 'str',
41
- 'module': 'str',
42
- 'stream': 'str',
43
- 'profiles': 'object'
44
- }
45
-
46
- attribute_map = {
47
- 'artifact': 'artifact',
48
- 'relative_path': 'relative_path',
49
- 'file': 'file',
50
- 'repository': 'repository',
51
- 'module': 'module',
52
- 'stream': 'stream',
53
- 'profiles': 'profiles'
54
- }
55
-
56
- def __init__(self, artifact=None, relative_path=None, file=None, repository=None, module=None, stream=None, profiles=None, local_vars_configuration=None): # noqa: E501
57
- """RpmModulemdDefaults - a model defined in OpenAPI""" # noqa: E501
58
- if local_vars_configuration is None:
59
- local_vars_configuration = Configuration()
60
- self.local_vars_configuration = local_vars_configuration
61
-
62
- self._artifact = None
63
- self._relative_path = None
64
- self._file = None
65
- self._repository = None
66
- self._module = None
67
- self._stream = None
68
- self._profiles = None
69
- self.discriminator = None
70
-
71
- if artifact is not None:
72
- self.artifact = artifact
73
- self.relative_path = relative_path
74
- if file is not None:
75
- self.file = file
76
- if repository is not None:
77
- self.repository = repository
78
- self.module = module
79
- self.stream = stream
80
- self.profiles = profiles
81
-
82
- @property
83
- def artifact(self):
84
- """Gets the artifact of this RpmModulemdDefaults. # noqa: E501
85
-
86
- Artifact file representing the physical content # noqa: E501
87
-
88
- :return: The artifact of this RpmModulemdDefaults. # noqa: E501
89
- :rtype: str
90
- """
91
- return self._artifact
92
-
93
- @artifact.setter
94
- def artifact(self, artifact):
95
- """Sets the artifact of this RpmModulemdDefaults.
96
-
97
- Artifact file representing the physical content # noqa: E501
98
-
99
- :param artifact: The artifact of this RpmModulemdDefaults. # noqa: E501
100
- :type: str
101
- """
102
-
103
- self._artifact = artifact
104
-
105
- @property
106
- def relative_path(self):
107
- """Gets the relative_path of this RpmModulemdDefaults. # noqa: E501
108
-
109
- Path where the artifact is located relative to distributions base_path # noqa: E501
110
-
111
- :return: The relative_path of this RpmModulemdDefaults. # noqa: E501
112
- :rtype: str
113
- """
114
- return self._relative_path
115
-
116
- @relative_path.setter
117
- def relative_path(self, relative_path):
118
- """Sets the relative_path of this RpmModulemdDefaults.
119
-
120
- Path where the artifact is located relative to distributions base_path # noqa: E501
121
-
122
- :param relative_path: The relative_path of this RpmModulemdDefaults. # noqa: E501
123
- :type: str
124
- """
125
- if self.local_vars_configuration.client_side_validation and relative_path is None: # noqa: E501
126
- raise ValueError("Invalid value for `relative_path`, must not be `None`") # noqa: E501
127
-
128
- self._relative_path = relative_path
129
-
130
- @property
131
- def file(self):
132
- """Gets the file of this RpmModulemdDefaults. # noqa: E501
133
-
134
- An uploaded file that may be turned into the artifact of the content unit. # noqa: E501
135
-
136
- :return: The file of this RpmModulemdDefaults. # noqa: E501
137
- :rtype: file
138
- """
139
- return self._file
140
-
141
- @file.setter
142
- def file(self, file):
143
- """Sets the file of this RpmModulemdDefaults.
144
-
145
- An uploaded file that may be turned into the artifact of the content unit. # noqa: E501
146
-
147
- :param file: The file of this RpmModulemdDefaults. # noqa: E501
148
- :type: file
149
- """
150
-
151
- self._file = file
152
-
153
- @property
154
- def repository(self):
155
- """Gets the repository of this RpmModulemdDefaults. # noqa: E501
156
-
157
- A URI of a repository the new content unit should be associated with. # noqa: E501
158
-
159
- :return: The repository of this RpmModulemdDefaults. # noqa: E501
160
- :rtype: str
161
- """
162
- return self._repository
163
-
164
- @repository.setter
165
- def repository(self, repository):
166
- """Sets the repository of this RpmModulemdDefaults.
167
-
168
- A URI of a repository the new content unit should be associated with. # noqa: E501
169
-
170
- :param repository: The repository of this RpmModulemdDefaults. # noqa: E501
171
- :type: str
172
- """
173
-
174
- self._repository = repository
175
-
176
- @property
177
- def module(self):
178
- """Gets the module of this RpmModulemdDefaults. # noqa: E501
179
-
180
- Modulemd name. # noqa: E501
181
-
182
- :return: The module of this RpmModulemdDefaults. # noqa: E501
183
- :rtype: str
184
- """
185
- return self._module
186
-
187
- @module.setter
188
- def module(self, module):
189
- """Sets the module of this RpmModulemdDefaults.
190
-
191
- Modulemd name. # noqa: E501
192
-
193
- :param module: The module of this RpmModulemdDefaults. # noqa: E501
194
- :type: str
195
- """
196
- if self.local_vars_configuration.client_side_validation and module is None: # noqa: E501
197
- raise ValueError("Invalid value for `module`, must not be `None`") # noqa: E501
198
-
199
- self._module = module
200
-
201
- @property
202
- def stream(self):
203
- """Gets the stream of this RpmModulemdDefaults. # noqa: E501
204
-
205
- Modulemd default stream. # noqa: E501
206
-
207
- :return: The stream of this RpmModulemdDefaults. # noqa: E501
208
- :rtype: str
209
- """
210
- return self._stream
211
-
212
- @stream.setter
213
- def stream(self, stream):
214
- """Sets the stream of this RpmModulemdDefaults.
215
-
216
- Modulemd default stream. # noqa: E501
217
-
218
- :param stream: The stream of this RpmModulemdDefaults. # noqa: E501
219
- :type: str
220
- """
221
- if self.local_vars_configuration.client_side_validation and stream is None: # noqa: E501
222
- raise ValueError("Invalid value for `stream`, must not be `None`") # noqa: E501
223
-
224
- self._stream = stream
225
-
226
- @property
227
- def profiles(self):
228
- """Gets the profiles of this RpmModulemdDefaults. # noqa: E501
229
-
230
- Default profiles for modulemd streams. # noqa: E501
231
-
232
- :return: The profiles of this RpmModulemdDefaults. # noqa: E501
233
- :rtype: object
234
- """
235
- return self._profiles
236
-
237
- @profiles.setter
238
- def profiles(self, profiles):
239
- """Sets the profiles of this RpmModulemdDefaults.
240
-
241
- Default profiles for modulemd streams. # noqa: E501
242
-
243
- :param profiles: The profiles of this RpmModulemdDefaults. # noqa: E501
244
- :type: object
245
- """
246
- if self.local_vars_configuration.client_side_validation and profiles is None: # noqa: E501
247
- raise ValueError("Invalid value for `profiles`, must not be `None`") # noqa: E501
248
-
249
- self._profiles = profiles
250
-
251
- def to_dict(self):
252
- """Returns the model properties as a dict"""
253
- result = {}
254
-
255
- for attr, _ in six.iteritems(self.openapi_types):
256
- value = getattr(self, attr)
257
- if isinstance(value, list):
258
- result[attr] = list(map(
259
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
260
- value
261
- ))
262
- elif hasattr(value, "to_dict"):
263
- result[attr] = value.to_dict()
264
- elif isinstance(value, dict):
265
- result[attr] = dict(map(
266
- lambda item: (item[0], item[1].to_dict())
267
- if hasattr(item[1], "to_dict") else item,
268
- value.items()
269
- ))
270
- else:
271
- result[attr] = value
272
-
273
- return result
274
-
275
- def to_str(self):
276
- """Returns the string representation of the model"""
277
- return pprint.pformat(self.to_dict())
278
-
279
- def __repr__(self):
280
- """For `print` and `pprint`"""
281
- return self.to_str()
282
-
283
- def __eq__(self, other):
284
- """Returns true if both objects are equal"""
285
- if not isinstance(other, RpmModulemdDefaults):
286
- return False
287
-
288
- return self.to_dict() == other.to_dict()
289
-
290
- def __ne__(self, other):
291
- """Returns true if both objects are not equal"""
292
- if not isinstance(other, RpmModulemdDefaults):
293
- return True
294
-
295
- return self.to_dict() != other.to_dict()
@@ -1,432 +0,0 @@
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
- import pprint
15
- import re # noqa: F401
16
-
17
- import six
18
-
19
- from pulpcore.client.pulp_rpm.configuration import Configuration
20
-
21
-
22
- class RpmModulemdDefaultsResponse(object):
23
- """NOTE: This class is auto generated by OpenAPI Generator.
24
- Ref: https://openapi-generator.tech
25
-
26
- Do not edit the class manually.
27
- """
28
-
29
- """
30
- Attributes:
31
- openapi_types (dict): The key is attribute name
32
- and the value is attribute type.
33
- attribute_map (dict): The key is attribute name
34
- and the value is json key in definition.
35
- """
36
- openapi_types = {
37
- 'pulp_href': 'str',
38
- 'pulp_created': 'datetime',
39
- 'md5': 'str',
40
- 'sha1': 'str',
41
- 'sha224': 'str',
42
- 'sha256': 'str',
43
- 'sha384': 'str',
44
- 'sha512': 'str',
45
- 'artifact': 'str',
46
- 'module': 'str',
47
- 'stream': 'str',
48
- 'profiles': 'object'
49
- }
50
-
51
- attribute_map = {
52
- 'pulp_href': 'pulp_href',
53
- 'pulp_created': 'pulp_created',
54
- 'md5': 'md5',
55
- 'sha1': 'sha1',
56
- 'sha224': 'sha224',
57
- 'sha256': 'sha256',
58
- 'sha384': 'sha384',
59
- 'sha512': 'sha512',
60
- 'artifact': 'artifact',
61
- 'module': 'module',
62
- 'stream': 'stream',
63
- 'profiles': 'profiles'
64
- }
65
-
66
- def __init__(self, pulp_href=None, pulp_created=None, md5=None, sha1=None, sha224=None, sha256=None, sha384=None, sha512=None, artifact=None, module=None, stream=None, profiles=None, local_vars_configuration=None): # noqa: E501
67
- """RpmModulemdDefaultsResponse - a model defined in OpenAPI""" # noqa: E501
68
- if local_vars_configuration is None:
69
- local_vars_configuration = Configuration()
70
- self.local_vars_configuration = local_vars_configuration
71
-
72
- self._pulp_href = None
73
- self._pulp_created = None
74
- self._md5 = None
75
- self._sha1 = None
76
- self._sha224 = None
77
- self._sha256 = None
78
- self._sha384 = None
79
- self._sha512 = None
80
- self._artifact = None
81
- self._module = None
82
- self._stream = None
83
- self._profiles = None
84
- self.discriminator = None
85
-
86
- if pulp_href is not None:
87
- self.pulp_href = pulp_href
88
- if pulp_created is not None:
89
- self.pulp_created = pulp_created
90
- if md5 is not None:
91
- self.md5 = md5
92
- if sha1 is not None:
93
- self.sha1 = sha1
94
- if sha224 is not None:
95
- self.sha224 = sha224
96
- if sha256 is not None:
97
- self.sha256 = sha256
98
- if sha384 is not None:
99
- self.sha384 = sha384
100
- if sha512 is not None:
101
- self.sha512 = sha512
102
- if artifact is not None:
103
- self.artifact = artifact
104
- self.module = module
105
- self.stream = stream
106
- self.profiles = profiles
107
-
108
- @property
109
- def pulp_href(self):
110
- """Gets the pulp_href of this RpmModulemdDefaultsResponse. # noqa: E501
111
-
112
-
113
- :return: The pulp_href of this RpmModulemdDefaultsResponse. # noqa: E501
114
- :rtype: str
115
- """
116
- return self._pulp_href
117
-
118
- @pulp_href.setter
119
- def pulp_href(self, pulp_href):
120
- """Sets the pulp_href of this RpmModulemdDefaultsResponse.
121
-
122
-
123
- :param pulp_href: The pulp_href of this RpmModulemdDefaultsResponse. # noqa: E501
124
- :type: str
125
- """
126
-
127
- self._pulp_href = pulp_href
128
-
129
- @property
130
- def pulp_created(self):
131
- """Gets the pulp_created of this RpmModulemdDefaultsResponse. # noqa: E501
132
-
133
- Timestamp of creation. # noqa: E501
134
-
135
- :return: The pulp_created of this RpmModulemdDefaultsResponse. # noqa: E501
136
- :rtype: datetime
137
- """
138
- return self._pulp_created
139
-
140
- @pulp_created.setter
141
- def pulp_created(self, pulp_created):
142
- """Sets the pulp_created of this RpmModulemdDefaultsResponse.
143
-
144
- Timestamp of creation. # noqa: E501
145
-
146
- :param pulp_created: The pulp_created of this RpmModulemdDefaultsResponse. # noqa: E501
147
- :type: datetime
148
- """
149
-
150
- self._pulp_created = pulp_created
151
-
152
- @property
153
- def md5(self):
154
- """Gets the md5 of this RpmModulemdDefaultsResponse. # noqa: E501
155
-
156
- The MD5 checksum if available. # noqa: E501
157
-
158
- :return: The md5 of this RpmModulemdDefaultsResponse. # noqa: E501
159
- :rtype: str
160
- """
161
- return self._md5
162
-
163
- @md5.setter
164
- def md5(self, md5):
165
- """Sets the md5 of this RpmModulemdDefaultsResponse.
166
-
167
- The MD5 checksum if available. # noqa: E501
168
-
169
- :param md5: The md5 of this RpmModulemdDefaultsResponse. # noqa: E501
170
- :type: str
171
- """
172
-
173
- self._md5 = md5
174
-
175
- @property
176
- def sha1(self):
177
- """Gets the sha1 of this RpmModulemdDefaultsResponse. # noqa: E501
178
-
179
- The SHA-1 checksum if available. # noqa: E501
180
-
181
- :return: The sha1 of this RpmModulemdDefaultsResponse. # noqa: E501
182
- :rtype: str
183
- """
184
- return self._sha1
185
-
186
- @sha1.setter
187
- def sha1(self, sha1):
188
- """Sets the sha1 of this RpmModulemdDefaultsResponse.
189
-
190
- The SHA-1 checksum if available. # noqa: E501
191
-
192
- :param sha1: The sha1 of this RpmModulemdDefaultsResponse. # noqa: E501
193
- :type: str
194
- """
195
-
196
- self._sha1 = sha1
197
-
198
- @property
199
- def sha224(self):
200
- """Gets the sha224 of this RpmModulemdDefaultsResponse. # noqa: E501
201
-
202
- The SHA-224 checksum if available. # noqa: E501
203
-
204
- :return: The sha224 of this RpmModulemdDefaultsResponse. # noqa: E501
205
- :rtype: str
206
- """
207
- return self._sha224
208
-
209
- @sha224.setter
210
- def sha224(self, sha224):
211
- """Sets the sha224 of this RpmModulemdDefaultsResponse.
212
-
213
- The SHA-224 checksum if available. # noqa: E501
214
-
215
- :param sha224: The sha224 of this RpmModulemdDefaultsResponse. # noqa: E501
216
- :type: str
217
- """
218
-
219
- self._sha224 = sha224
220
-
221
- @property
222
- def sha256(self):
223
- """Gets the sha256 of this RpmModulemdDefaultsResponse. # noqa: E501
224
-
225
- The SHA-256 checksum if available. # noqa: E501
226
-
227
- :return: The sha256 of this RpmModulemdDefaultsResponse. # noqa: E501
228
- :rtype: str
229
- """
230
- return self._sha256
231
-
232
- @sha256.setter
233
- def sha256(self, sha256):
234
- """Sets the sha256 of this RpmModulemdDefaultsResponse.
235
-
236
- The SHA-256 checksum if available. # noqa: E501
237
-
238
- :param sha256: The sha256 of this RpmModulemdDefaultsResponse. # noqa: E501
239
- :type: str
240
- """
241
-
242
- self._sha256 = sha256
243
-
244
- @property
245
- def sha384(self):
246
- """Gets the sha384 of this RpmModulemdDefaultsResponse. # noqa: E501
247
-
248
- The SHA-384 checksum if available. # noqa: E501
249
-
250
- :return: The sha384 of this RpmModulemdDefaultsResponse. # noqa: E501
251
- :rtype: str
252
- """
253
- return self._sha384
254
-
255
- @sha384.setter
256
- def sha384(self, sha384):
257
- """Sets the sha384 of this RpmModulemdDefaultsResponse.
258
-
259
- The SHA-384 checksum if available. # noqa: E501
260
-
261
- :param sha384: The sha384 of this RpmModulemdDefaultsResponse. # noqa: E501
262
- :type: str
263
- """
264
-
265
- self._sha384 = sha384
266
-
267
- @property
268
- def sha512(self):
269
- """Gets the sha512 of this RpmModulemdDefaultsResponse. # noqa: E501
270
-
271
- The SHA-512 checksum if available. # noqa: E501
272
-
273
- :return: The sha512 of this RpmModulemdDefaultsResponse. # noqa: E501
274
- :rtype: str
275
- """
276
- return self._sha512
277
-
278
- @sha512.setter
279
- def sha512(self, sha512):
280
- """Sets the sha512 of this RpmModulemdDefaultsResponse.
281
-
282
- The SHA-512 checksum if available. # noqa: E501
283
-
284
- :param sha512: The sha512 of this RpmModulemdDefaultsResponse. # noqa: E501
285
- :type: str
286
- """
287
-
288
- self._sha512 = sha512
289
-
290
- @property
291
- def artifact(self):
292
- """Gets the artifact of this RpmModulemdDefaultsResponse. # noqa: E501
293
-
294
- Artifact file representing the physical content # noqa: E501
295
-
296
- :return: The artifact of this RpmModulemdDefaultsResponse. # noqa: E501
297
- :rtype: str
298
- """
299
- return self._artifact
300
-
301
- @artifact.setter
302
- def artifact(self, artifact):
303
- """Sets the artifact of this RpmModulemdDefaultsResponse.
304
-
305
- Artifact file representing the physical content # noqa: E501
306
-
307
- :param artifact: The artifact of this RpmModulemdDefaultsResponse. # noqa: E501
308
- :type: str
309
- """
310
-
311
- self._artifact = artifact
312
-
313
- @property
314
- def module(self):
315
- """Gets the module of this RpmModulemdDefaultsResponse. # noqa: E501
316
-
317
- Modulemd name. # noqa: E501
318
-
319
- :return: The module of this RpmModulemdDefaultsResponse. # noqa: E501
320
- :rtype: str
321
- """
322
- return self._module
323
-
324
- @module.setter
325
- def module(self, module):
326
- """Sets the module of this RpmModulemdDefaultsResponse.
327
-
328
- Modulemd name. # noqa: E501
329
-
330
- :param module: The module of this RpmModulemdDefaultsResponse. # noqa: E501
331
- :type: str
332
- """
333
- if self.local_vars_configuration.client_side_validation and module is None: # noqa: E501
334
- raise ValueError("Invalid value for `module`, must not be `None`") # noqa: E501
335
-
336
- self._module = module
337
-
338
- @property
339
- def stream(self):
340
- """Gets the stream of this RpmModulemdDefaultsResponse. # noqa: E501
341
-
342
- Modulemd default stream. # noqa: E501
343
-
344
- :return: The stream of this RpmModulemdDefaultsResponse. # noqa: E501
345
- :rtype: str
346
- """
347
- return self._stream
348
-
349
- @stream.setter
350
- def stream(self, stream):
351
- """Sets the stream of this RpmModulemdDefaultsResponse.
352
-
353
- Modulemd default stream. # noqa: E501
354
-
355
- :param stream: The stream of this RpmModulemdDefaultsResponse. # noqa: E501
356
- :type: str
357
- """
358
- if self.local_vars_configuration.client_side_validation and stream is None: # noqa: E501
359
- raise ValueError("Invalid value for `stream`, must not be `None`") # noqa: E501
360
-
361
- self._stream = stream
362
-
363
- @property
364
- def profiles(self):
365
- """Gets the profiles of this RpmModulemdDefaultsResponse. # noqa: E501
366
-
367
- Default profiles for modulemd streams. # noqa: E501
368
-
369
- :return: The profiles of this RpmModulemdDefaultsResponse. # noqa: E501
370
- :rtype: object
371
- """
372
- return self._profiles
373
-
374
- @profiles.setter
375
- def profiles(self, profiles):
376
- """Sets the profiles of this RpmModulemdDefaultsResponse.
377
-
378
- Default profiles for modulemd streams. # noqa: E501
379
-
380
- :param profiles: The profiles of this RpmModulemdDefaultsResponse. # noqa: E501
381
- :type: object
382
- """
383
- if self.local_vars_configuration.client_side_validation and profiles is None: # noqa: E501
384
- raise ValueError("Invalid value for `profiles`, must not be `None`") # noqa: E501
385
-
386
- self._profiles = profiles
387
-
388
- def to_dict(self):
389
- """Returns the model properties as a dict"""
390
- result = {}
391
-
392
- for attr, _ in six.iteritems(self.openapi_types):
393
- value = getattr(self, attr)
394
- if isinstance(value, list):
395
- result[attr] = list(map(
396
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
397
- value
398
- ))
399
- elif hasattr(value, "to_dict"):
400
- result[attr] = value.to_dict()
401
- elif isinstance(value, dict):
402
- result[attr] = dict(map(
403
- lambda item: (item[0], item[1].to_dict())
404
- if hasattr(item[1], "to_dict") else item,
405
- value.items()
406
- ))
407
- else:
408
- result[attr] = value
409
-
410
- return result
411
-
412
- def to_str(self):
413
- """Returns the string representation of the model"""
414
- return pprint.pformat(self.to_dict())
415
-
416
- def __repr__(self):
417
- """For `print` and `pprint`"""
418
- return self.to_str()
419
-
420
- def __eq__(self, other):
421
- """Returns true if both objects are equal"""
422
- if not isinstance(other, RpmModulemdDefaultsResponse):
423
- return False
424
-
425
- return self.to_dict() == other.to_dict()
426
-
427
- def __ne__(self, other):
428
- """Returns true if both objects are not equal"""
429
- if not isinstance(other, RpmModulemdDefaultsResponse):
430
- return True
431
-
432
- return self.to_dict() != other.to_dict()