pulp_rpm_client 3.13.2 → 3.13.3

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