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,203 +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 RpmPackageLangpacksResponse(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
- 'matches': 'object',
40
- 'digest': 'str'
41
- }
42
-
43
- attribute_map = {
44
- 'pulp_href': 'pulp_href',
45
- 'pulp_created': 'pulp_created',
46
- 'matches': 'matches',
47
- 'digest': 'digest'
48
- }
49
-
50
- def __init__(self, pulp_href=None, pulp_created=None, matches=None, digest=None, local_vars_configuration=None): # noqa: E501
51
- """RpmPackageLangpacksResponse - a model defined in OpenAPI""" # noqa: E501
52
- if local_vars_configuration is None:
53
- local_vars_configuration = Configuration()
54
- self.local_vars_configuration = local_vars_configuration
55
-
56
- self._pulp_href = None
57
- self._pulp_created = None
58
- self._matches = None
59
- self._digest = None
60
- self.discriminator = None
61
-
62
- if pulp_href is not None:
63
- self.pulp_href = pulp_href
64
- if pulp_created is not None:
65
- self.pulp_created = pulp_created
66
- self.matches = matches
67
- self.digest = digest
68
-
69
- @property
70
- def pulp_href(self):
71
- """Gets the pulp_href of this RpmPackageLangpacksResponse. # noqa: E501
72
-
73
-
74
- :return: The pulp_href of this RpmPackageLangpacksResponse. # noqa: E501
75
- :rtype: str
76
- """
77
- return self._pulp_href
78
-
79
- @pulp_href.setter
80
- def pulp_href(self, pulp_href):
81
- """Sets the pulp_href of this RpmPackageLangpacksResponse.
82
-
83
-
84
- :param pulp_href: The pulp_href of this RpmPackageLangpacksResponse. # noqa: E501
85
- :type: str
86
- """
87
-
88
- self._pulp_href = pulp_href
89
-
90
- @property
91
- def pulp_created(self):
92
- """Gets the pulp_created of this RpmPackageLangpacksResponse. # noqa: E501
93
-
94
- Timestamp of creation. # noqa: E501
95
-
96
- :return: The pulp_created of this RpmPackageLangpacksResponse. # noqa: E501
97
- :rtype: datetime
98
- """
99
- return self._pulp_created
100
-
101
- @pulp_created.setter
102
- def pulp_created(self, pulp_created):
103
- """Sets the pulp_created of this RpmPackageLangpacksResponse.
104
-
105
- Timestamp of creation. # noqa: E501
106
-
107
- :param pulp_created: The pulp_created of this RpmPackageLangpacksResponse. # noqa: E501
108
- :type: datetime
109
- """
110
-
111
- self._pulp_created = pulp_created
112
-
113
- @property
114
- def matches(self):
115
- """Gets the matches of this RpmPackageLangpacksResponse. # noqa: E501
116
-
117
- Langpacks matches. # noqa: E501
118
-
119
- :return: The matches of this RpmPackageLangpacksResponse. # noqa: E501
120
- :rtype: object
121
- """
122
- return self._matches
123
-
124
- @matches.setter
125
- def matches(self, matches):
126
- """Sets the matches of this RpmPackageLangpacksResponse.
127
-
128
- Langpacks matches. # noqa: E501
129
-
130
- :param matches: The matches of this RpmPackageLangpacksResponse. # noqa: E501
131
- :type: object
132
- """
133
-
134
- self._matches = matches
135
-
136
- @property
137
- def digest(self):
138
- """Gets the digest of this RpmPackageLangpacksResponse. # noqa: E501
139
-
140
- Langpacks digest. # noqa: E501
141
-
142
- :return: The digest of this RpmPackageLangpacksResponse. # noqa: E501
143
- :rtype: str
144
- """
145
- return self._digest
146
-
147
- @digest.setter
148
- def digest(self, digest):
149
- """Sets the digest of this RpmPackageLangpacksResponse.
150
-
151
- Langpacks digest. # noqa: E501
152
-
153
- :param digest: The digest of this RpmPackageLangpacksResponse. # noqa: E501
154
- :type: str
155
- """
156
-
157
- self._digest = digest
158
-
159
- def to_dict(self):
160
- """Returns the model properties as a dict"""
161
- result = {}
162
-
163
- for attr, _ in six.iteritems(self.openapi_types):
164
- value = getattr(self, attr)
165
- if isinstance(value, list):
166
- result[attr] = list(map(
167
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
168
- value
169
- ))
170
- elif hasattr(value, "to_dict"):
171
- result[attr] = value.to_dict()
172
- elif isinstance(value, dict):
173
- result[attr] = dict(map(
174
- lambda item: (item[0], item[1].to_dict())
175
- if hasattr(item[1], "to_dict") else item,
176
- value.items()
177
- ))
178
- else:
179
- result[attr] = value
180
-
181
- return result
182
-
183
- def to_str(self):
184
- """Returns the string representation of the model"""
185
- return pprint.pformat(self.to_dict())
186
-
187
- def __repr__(self):
188
- """For `print` and `pprint`"""
189
- return self.to_str()
190
-
191
- def __eq__(self, other):
192
- """Returns true if both objects are equal"""
193
- if not isinstance(other, RpmPackageLangpacksResponse):
194
- return False
195
-
196
- return self.to_dict() == other.to_dict()
197
-
198
- def __ne__(self, other):
199
- """Returns true if both objects are not equal"""
200
- if not isinstance(other, RpmPackageLangpacksResponse):
201
- return True
202
-
203
- return self.to_dict() != other.to_dict()
@@ -1,1353 +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 RpmPackageResponse(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
- 'name': 'str',
47
- 'epoch': 'str',
48
- 'version': 'str',
49
- 'release': 'str',
50
- 'arch': 'str',
51
- 'pkg_id': 'str',
52
- 'checksum_type': 'str',
53
- 'summary': 'str',
54
- 'description': 'str',
55
- 'url': 'str',
56
- 'changelogs': 'object',
57
- 'files': 'object',
58
- 'requires': 'object',
59
- 'provides': 'object',
60
- 'conflicts': 'object',
61
- 'obsoletes': 'object',
62
- 'suggests': 'object',
63
- 'enhances': 'object',
64
- 'recommends': 'object',
65
- 'supplements': 'object',
66
- 'location_base': 'str',
67
- 'location_href': 'str',
68
- 'rpm_buildhost': 'str',
69
- 'rpm_group': 'str',
70
- 'rpm_license': 'str',
71
- 'rpm_packager': 'str',
72
- 'rpm_sourcerpm': 'str',
73
- 'rpm_vendor': 'str',
74
- 'rpm_header_start': 'int',
75
- 'rpm_header_end': 'int',
76
- 'is_modular': 'bool',
77
- 'size_archive': 'int',
78
- 'size_installed': 'int',
79
- 'size_package': 'int',
80
- 'time_build': 'int',
81
- 'time_file': 'int'
82
- }
83
-
84
- attribute_map = {
85
- 'pulp_href': 'pulp_href',
86
- 'pulp_created': 'pulp_created',
87
- 'md5': 'md5',
88
- 'sha1': 'sha1',
89
- 'sha224': 'sha224',
90
- 'sha256': 'sha256',
91
- 'sha384': 'sha384',
92
- 'sha512': 'sha512',
93
- 'artifact': 'artifact',
94
- 'name': 'name',
95
- 'epoch': 'epoch',
96
- 'version': 'version',
97
- 'release': 'release',
98
- 'arch': 'arch',
99
- 'pkg_id': 'pkgId',
100
- 'checksum_type': 'checksum_type',
101
- 'summary': 'summary',
102
- 'description': 'description',
103
- 'url': 'url',
104
- 'changelogs': 'changelogs',
105
- 'files': 'files',
106
- 'requires': 'requires',
107
- 'provides': 'provides',
108
- 'conflicts': 'conflicts',
109
- 'obsoletes': 'obsoletes',
110
- 'suggests': 'suggests',
111
- 'enhances': 'enhances',
112
- 'recommends': 'recommends',
113
- 'supplements': 'supplements',
114
- 'location_base': 'location_base',
115
- 'location_href': 'location_href',
116
- 'rpm_buildhost': 'rpm_buildhost',
117
- 'rpm_group': 'rpm_group',
118
- 'rpm_license': 'rpm_license',
119
- 'rpm_packager': 'rpm_packager',
120
- 'rpm_sourcerpm': 'rpm_sourcerpm',
121
- 'rpm_vendor': 'rpm_vendor',
122
- 'rpm_header_start': 'rpm_header_start',
123
- 'rpm_header_end': 'rpm_header_end',
124
- 'is_modular': 'is_modular',
125
- 'size_archive': 'size_archive',
126
- 'size_installed': 'size_installed',
127
- 'size_package': 'size_package',
128
- 'time_build': 'time_build',
129
- 'time_file': 'time_file'
130
- }
131
-
132
- def __init__(self, pulp_href=None, pulp_created=None, md5=None, sha1=None, sha224=None, sha256=None, sha384=None, sha512=None, artifact=None, name=None, epoch=None, version=None, release=None, arch=None, pkg_id=None, checksum_type=None, summary=None, description=None, url=None, changelogs=None, files=None, requires=None, provides=None, conflicts=None, obsoletes=None, suggests=None, enhances=None, recommends=None, supplements=None, location_base=None, location_href=None, rpm_buildhost=None, rpm_group=None, rpm_license=None, rpm_packager=None, rpm_sourcerpm=None, rpm_vendor=None, rpm_header_start=None, rpm_header_end=None, is_modular=None, size_archive=None, size_installed=None, size_package=None, time_build=None, time_file=None, local_vars_configuration=None): # noqa: E501
133
- """RpmPackageResponse - a model defined in OpenAPI""" # noqa: E501
134
- if local_vars_configuration is None:
135
- local_vars_configuration = Configuration()
136
- self.local_vars_configuration = local_vars_configuration
137
-
138
- self._pulp_href = None
139
- self._pulp_created = None
140
- self._md5 = None
141
- self._sha1 = None
142
- self._sha224 = None
143
- self._sha256 = None
144
- self._sha384 = None
145
- self._sha512 = None
146
- self._artifact = None
147
- self._name = None
148
- self._epoch = None
149
- self._version = None
150
- self._release = None
151
- self._arch = None
152
- self._pkg_id = None
153
- self._checksum_type = None
154
- self._summary = None
155
- self._description = None
156
- self._url = None
157
- self._changelogs = None
158
- self._files = None
159
- self._requires = None
160
- self._provides = None
161
- self._conflicts = None
162
- self._obsoletes = None
163
- self._suggests = None
164
- self._enhances = None
165
- self._recommends = None
166
- self._supplements = None
167
- self._location_base = None
168
- self._location_href = None
169
- self._rpm_buildhost = None
170
- self._rpm_group = None
171
- self._rpm_license = None
172
- self._rpm_packager = None
173
- self._rpm_sourcerpm = None
174
- self._rpm_vendor = None
175
- self._rpm_header_start = None
176
- self._rpm_header_end = None
177
- self._is_modular = None
178
- self._size_archive = None
179
- self._size_installed = None
180
- self._size_package = None
181
- self._time_build = None
182
- self._time_file = None
183
- self.discriminator = None
184
-
185
- if pulp_href is not None:
186
- self.pulp_href = pulp_href
187
- if pulp_created is not None:
188
- self.pulp_created = pulp_created
189
- if md5 is not None:
190
- self.md5 = md5
191
- if sha1 is not None:
192
- self.sha1 = sha1
193
- if sha224 is not None:
194
- self.sha224 = sha224
195
- if sha256 is not None:
196
- self.sha256 = sha256
197
- if sha384 is not None:
198
- self.sha384 = sha384
199
- if sha512 is not None:
200
- self.sha512 = sha512
201
- if artifact is not None:
202
- self.artifact = artifact
203
- if name is not None:
204
- self.name = name
205
- if epoch is not None:
206
- self.epoch = epoch
207
- if version is not None:
208
- self.version = version
209
- if release is not None:
210
- self.release = release
211
- if arch is not None:
212
- self.arch = arch
213
- if pkg_id is not None:
214
- self.pkg_id = pkg_id
215
- if checksum_type is not None:
216
- self.checksum_type = checksum_type
217
- if summary is not None:
218
- self.summary = summary
219
- if description is not None:
220
- self.description = description
221
- if url is not None:
222
- self.url = url
223
- if changelogs is not None:
224
- self.changelogs = changelogs
225
- if files is not None:
226
- self.files = files
227
- if requires is not None:
228
- self.requires = requires
229
- if provides is not None:
230
- self.provides = provides
231
- if conflicts is not None:
232
- self.conflicts = conflicts
233
- if obsoletes is not None:
234
- self.obsoletes = obsoletes
235
- if suggests is not None:
236
- self.suggests = suggests
237
- if enhances is not None:
238
- self.enhances = enhances
239
- if recommends is not None:
240
- self.recommends = recommends
241
- if supplements is not None:
242
- self.supplements = supplements
243
- if location_base is not None:
244
- self.location_base = location_base
245
- if location_href is not None:
246
- self.location_href = location_href
247
- if rpm_buildhost is not None:
248
- self.rpm_buildhost = rpm_buildhost
249
- if rpm_group is not None:
250
- self.rpm_group = rpm_group
251
- if rpm_license is not None:
252
- self.rpm_license = rpm_license
253
- if rpm_packager is not None:
254
- self.rpm_packager = rpm_packager
255
- if rpm_sourcerpm is not None:
256
- self.rpm_sourcerpm = rpm_sourcerpm
257
- if rpm_vendor is not None:
258
- self.rpm_vendor = rpm_vendor
259
- if rpm_header_start is not None:
260
- self.rpm_header_start = rpm_header_start
261
- if rpm_header_end is not None:
262
- self.rpm_header_end = rpm_header_end
263
- if is_modular is not None:
264
- self.is_modular = is_modular
265
- if size_archive is not None:
266
- self.size_archive = size_archive
267
- if size_installed is not None:
268
- self.size_installed = size_installed
269
- if size_package is not None:
270
- self.size_package = size_package
271
- if time_build is not None:
272
- self.time_build = time_build
273
- if time_file is not None:
274
- self.time_file = time_file
275
-
276
- @property
277
- def pulp_href(self):
278
- """Gets the pulp_href of this RpmPackageResponse. # noqa: E501
279
-
280
-
281
- :return: The pulp_href of this RpmPackageResponse. # noqa: E501
282
- :rtype: str
283
- """
284
- return self._pulp_href
285
-
286
- @pulp_href.setter
287
- def pulp_href(self, pulp_href):
288
- """Sets the pulp_href of this RpmPackageResponse.
289
-
290
-
291
- :param pulp_href: The pulp_href of this RpmPackageResponse. # noqa: E501
292
- :type: str
293
- """
294
-
295
- self._pulp_href = pulp_href
296
-
297
- @property
298
- def pulp_created(self):
299
- """Gets the pulp_created of this RpmPackageResponse. # noqa: E501
300
-
301
- Timestamp of creation. # noqa: E501
302
-
303
- :return: The pulp_created of this RpmPackageResponse. # noqa: E501
304
- :rtype: datetime
305
- """
306
- return self._pulp_created
307
-
308
- @pulp_created.setter
309
- def pulp_created(self, pulp_created):
310
- """Sets the pulp_created of this RpmPackageResponse.
311
-
312
- Timestamp of creation. # noqa: E501
313
-
314
- :param pulp_created: The pulp_created of this RpmPackageResponse. # noqa: E501
315
- :type: datetime
316
- """
317
-
318
- self._pulp_created = pulp_created
319
-
320
- @property
321
- def md5(self):
322
- """Gets the md5 of this RpmPackageResponse. # noqa: E501
323
-
324
- The MD5 checksum if available. # noqa: E501
325
-
326
- :return: The md5 of this RpmPackageResponse. # noqa: E501
327
- :rtype: str
328
- """
329
- return self._md5
330
-
331
- @md5.setter
332
- def md5(self, md5):
333
- """Sets the md5 of this RpmPackageResponse.
334
-
335
- The MD5 checksum if available. # noqa: E501
336
-
337
- :param md5: The md5 of this RpmPackageResponse. # noqa: E501
338
- :type: str
339
- """
340
-
341
- self._md5 = md5
342
-
343
- @property
344
- def sha1(self):
345
- """Gets the sha1 of this RpmPackageResponse. # noqa: E501
346
-
347
- The SHA-1 checksum if available. # noqa: E501
348
-
349
- :return: The sha1 of this RpmPackageResponse. # noqa: E501
350
- :rtype: str
351
- """
352
- return self._sha1
353
-
354
- @sha1.setter
355
- def sha1(self, sha1):
356
- """Sets the sha1 of this RpmPackageResponse.
357
-
358
- The SHA-1 checksum if available. # noqa: E501
359
-
360
- :param sha1: The sha1 of this RpmPackageResponse. # noqa: E501
361
- :type: str
362
- """
363
-
364
- self._sha1 = sha1
365
-
366
- @property
367
- def sha224(self):
368
- """Gets the sha224 of this RpmPackageResponse. # noqa: E501
369
-
370
- The SHA-224 checksum if available. # noqa: E501
371
-
372
- :return: The sha224 of this RpmPackageResponse. # noqa: E501
373
- :rtype: str
374
- """
375
- return self._sha224
376
-
377
- @sha224.setter
378
- def sha224(self, sha224):
379
- """Sets the sha224 of this RpmPackageResponse.
380
-
381
- The SHA-224 checksum if available. # noqa: E501
382
-
383
- :param sha224: The sha224 of this RpmPackageResponse. # noqa: E501
384
- :type: str
385
- """
386
-
387
- self._sha224 = sha224
388
-
389
- @property
390
- def sha256(self):
391
- """Gets the sha256 of this RpmPackageResponse. # noqa: E501
392
-
393
- The SHA-256 checksum if available. # noqa: E501
394
-
395
- :return: The sha256 of this RpmPackageResponse. # noqa: E501
396
- :rtype: str
397
- """
398
- return self._sha256
399
-
400
- @sha256.setter
401
- def sha256(self, sha256):
402
- """Sets the sha256 of this RpmPackageResponse.
403
-
404
- The SHA-256 checksum if available. # noqa: E501
405
-
406
- :param sha256: The sha256 of this RpmPackageResponse. # noqa: E501
407
- :type: str
408
- """
409
-
410
- self._sha256 = sha256
411
-
412
- @property
413
- def sha384(self):
414
- """Gets the sha384 of this RpmPackageResponse. # noqa: E501
415
-
416
- The SHA-384 checksum if available. # noqa: E501
417
-
418
- :return: The sha384 of this RpmPackageResponse. # noqa: E501
419
- :rtype: str
420
- """
421
- return self._sha384
422
-
423
- @sha384.setter
424
- def sha384(self, sha384):
425
- """Sets the sha384 of this RpmPackageResponse.
426
-
427
- The SHA-384 checksum if available. # noqa: E501
428
-
429
- :param sha384: The sha384 of this RpmPackageResponse. # noqa: E501
430
- :type: str
431
- """
432
-
433
- self._sha384 = sha384
434
-
435
- @property
436
- def sha512(self):
437
- """Gets the sha512 of this RpmPackageResponse. # noqa: E501
438
-
439
- The SHA-512 checksum if available. # noqa: E501
440
-
441
- :return: The sha512 of this RpmPackageResponse. # noqa: E501
442
- :rtype: str
443
- """
444
- return self._sha512
445
-
446
- @sha512.setter
447
- def sha512(self, sha512):
448
- """Sets the sha512 of this RpmPackageResponse.
449
-
450
- The SHA-512 checksum if available. # noqa: E501
451
-
452
- :param sha512: The sha512 of this RpmPackageResponse. # noqa: E501
453
- :type: str
454
- """
455
-
456
- self._sha512 = sha512
457
-
458
- @property
459
- def artifact(self):
460
- """Gets the artifact of this RpmPackageResponse. # noqa: E501
461
-
462
- Artifact file representing the physical content # noqa: E501
463
-
464
- :return: The artifact of this RpmPackageResponse. # noqa: E501
465
- :rtype: str
466
- """
467
- return self._artifact
468
-
469
- @artifact.setter
470
- def artifact(self, artifact):
471
- """Sets the artifact of this RpmPackageResponse.
472
-
473
- Artifact file representing the physical content # noqa: E501
474
-
475
- :param artifact: The artifact of this RpmPackageResponse. # noqa: E501
476
- :type: str
477
- """
478
-
479
- self._artifact = artifact
480
-
481
- @property
482
- def name(self):
483
- """Gets the name of this RpmPackageResponse. # noqa: E501
484
-
485
- Name of the package # noqa: E501
486
-
487
- :return: The name of this RpmPackageResponse. # noqa: E501
488
- :rtype: str
489
- """
490
- return self._name
491
-
492
- @name.setter
493
- def name(self, name):
494
- """Sets the name of this RpmPackageResponse.
495
-
496
- Name of the package # noqa: E501
497
-
498
- :param name: The name of this RpmPackageResponse. # noqa: E501
499
- :type: str
500
- """
501
-
502
- self._name = name
503
-
504
- @property
505
- def epoch(self):
506
- """Gets the epoch of this RpmPackageResponse. # noqa: E501
507
-
508
- The package's epoch # noqa: E501
509
-
510
- :return: The epoch of this RpmPackageResponse. # noqa: E501
511
- :rtype: str
512
- """
513
- return self._epoch
514
-
515
- @epoch.setter
516
- def epoch(self, epoch):
517
- """Sets the epoch of this RpmPackageResponse.
518
-
519
- The package's epoch # noqa: E501
520
-
521
- :param epoch: The epoch of this RpmPackageResponse. # noqa: E501
522
- :type: str
523
- """
524
-
525
- self._epoch = epoch
526
-
527
- @property
528
- def version(self):
529
- """Gets the version of this RpmPackageResponse. # noqa: E501
530
-
531
- The version of the package. For example, '2.8.0' # noqa: E501
532
-
533
- :return: The version of this RpmPackageResponse. # noqa: E501
534
- :rtype: str
535
- """
536
- return self._version
537
-
538
- @version.setter
539
- def version(self, version):
540
- """Sets the version of this RpmPackageResponse.
541
-
542
- The version of the package. For example, '2.8.0' # noqa: E501
543
-
544
- :param version: The version of this RpmPackageResponse. # noqa: E501
545
- :type: str
546
- """
547
-
548
- self._version = version
549
-
550
- @property
551
- def release(self):
552
- """Gets the release of this RpmPackageResponse. # noqa: E501
553
-
554
- The release of a particular version of the package. e.g. '1.el7' or '3.f24' # noqa: E501
555
-
556
- :return: The release of this RpmPackageResponse. # noqa: E501
557
- :rtype: str
558
- """
559
- return self._release
560
-
561
- @release.setter
562
- def release(self, release):
563
- """Sets the release of this RpmPackageResponse.
564
-
565
- The release of a particular version of the package. e.g. '1.el7' or '3.f24' # noqa: E501
566
-
567
- :param release: The release of this RpmPackageResponse. # noqa: E501
568
- :type: str
569
- """
570
-
571
- self._release = release
572
-
573
- @property
574
- def arch(self):
575
- """Gets the arch of this RpmPackageResponse. # noqa: E501
576
-
577
- The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' # noqa: E501
578
-
579
- :return: The arch of this RpmPackageResponse. # noqa: E501
580
- :rtype: str
581
- """
582
- return self._arch
583
-
584
- @arch.setter
585
- def arch(self, arch):
586
- """Sets the arch of this RpmPackageResponse.
587
-
588
- The target architecture for a package.For example, 'x86_64', 'i686', or 'noarch' # noqa: E501
589
-
590
- :param arch: The arch of this RpmPackageResponse. # noqa: E501
591
- :type: str
592
- """
593
-
594
- self._arch = arch
595
-
596
- @property
597
- def pkg_id(self):
598
- """Gets the pkg_id of this RpmPackageResponse. # noqa: E501
599
-
600
- Checksum of the package file # noqa: E501
601
-
602
- :return: The pkg_id of this RpmPackageResponse. # noqa: E501
603
- :rtype: str
604
- """
605
- return self._pkg_id
606
-
607
- @pkg_id.setter
608
- def pkg_id(self, pkg_id):
609
- """Sets the pkg_id of this RpmPackageResponse.
610
-
611
- Checksum of the package file # noqa: E501
612
-
613
- :param pkg_id: The pkg_id of this RpmPackageResponse. # noqa: E501
614
- :type: str
615
- """
616
-
617
- self._pkg_id = pkg_id
618
-
619
- @property
620
- def checksum_type(self):
621
- """Gets the checksum_type of this RpmPackageResponse. # noqa: E501
622
-
623
- Type of checksum, e.g. 'sha256', 'md5' # noqa: E501
624
-
625
- :return: The checksum_type of this RpmPackageResponse. # noqa: E501
626
- :rtype: str
627
- """
628
- return self._checksum_type
629
-
630
- @checksum_type.setter
631
- def checksum_type(self, checksum_type):
632
- """Sets the checksum_type of this RpmPackageResponse.
633
-
634
- Type of checksum, e.g. 'sha256', 'md5' # noqa: E501
635
-
636
- :param checksum_type: The checksum_type of this RpmPackageResponse. # noqa: E501
637
- :type: str
638
- """
639
-
640
- self._checksum_type = checksum_type
641
-
642
- @property
643
- def summary(self):
644
- """Gets the summary of this RpmPackageResponse. # noqa: E501
645
-
646
- Short description of the packaged software # noqa: E501
647
-
648
- :return: The summary of this RpmPackageResponse. # noqa: E501
649
- :rtype: str
650
- """
651
- return self._summary
652
-
653
- @summary.setter
654
- def summary(self, summary):
655
- """Sets the summary of this RpmPackageResponse.
656
-
657
- Short description of the packaged software # noqa: E501
658
-
659
- :param summary: The summary of this RpmPackageResponse. # noqa: E501
660
- :type: str
661
- """
662
-
663
- self._summary = summary
664
-
665
- @property
666
- def description(self):
667
- """Gets the description of this RpmPackageResponse. # noqa: E501
668
-
669
- In-depth description of the packaged software # noqa: E501
670
-
671
- :return: The description of this RpmPackageResponse. # noqa: E501
672
- :rtype: str
673
- """
674
- return self._description
675
-
676
- @description.setter
677
- def description(self, description):
678
- """Sets the description of this RpmPackageResponse.
679
-
680
- In-depth description of the packaged software # noqa: E501
681
-
682
- :param description: The description of this RpmPackageResponse. # noqa: E501
683
- :type: str
684
- """
685
-
686
- self._description = description
687
-
688
- @property
689
- def url(self):
690
- """Gets the url of this RpmPackageResponse. # noqa: E501
691
-
692
- URL with more information about the packaged software # noqa: E501
693
-
694
- :return: The url of this RpmPackageResponse. # noqa: E501
695
- :rtype: str
696
- """
697
- return self._url
698
-
699
- @url.setter
700
- def url(self, url):
701
- """Sets the url of this RpmPackageResponse.
702
-
703
- URL with more information about the packaged software # noqa: E501
704
-
705
- :param url: The url of this RpmPackageResponse. # noqa: E501
706
- :type: str
707
- """
708
-
709
- self._url = url
710
-
711
- @property
712
- def changelogs(self):
713
- """Gets the changelogs of this RpmPackageResponse. # noqa: E501
714
-
715
- Changelogs that package contains # noqa: E501
716
-
717
- :return: The changelogs of this RpmPackageResponse. # noqa: E501
718
- :rtype: object
719
- """
720
- return self._changelogs
721
-
722
- @changelogs.setter
723
- def changelogs(self, changelogs):
724
- """Sets the changelogs of this RpmPackageResponse.
725
-
726
- Changelogs that package contains # noqa: E501
727
-
728
- :param changelogs: The changelogs of this RpmPackageResponse. # noqa: E501
729
- :type: object
730
- """
731
-
732
- self._changelogs = changelogs
733
-
734
- @property
735
- def files(self):
736
- """Gets the files of this RpmPackageResponse. # noqa: E501
737
-
738
- Files that package contains # noqa: E501
739
-
740
- :return: The files of this RpmPackageResponse. # noqa: E501
741
- :rtype: object
742
- """
743
- return self._files
744
-
745
- @files.setter
746
- def files(self, files):
747
- """Sets the files of this RpmPackageResponse.
748
-
749
- Files that package contains # noqa: E501
750
-
751
- :param files: The files of this RpmPackageResponse. # noqa: E501
752
- :type: object
753
- """
754
-
755
- self._files = files
756
-
757
- @property
758
- def requires(self):
759
- """Gets the requires of this RpmPackageResponse. # noqa: E501
760
-
761
- Capabilities the package requires # noqa: E501
762
-
763
- :return: The requires of this RpmPackageResponse. # noqa: E501
764
- :rtype: object
765
- """
766
- return self._requires
767
-
768
- @requires.setter
769
- def requires(self, requires):
770
- """Sets the requires of this RpmPackageResponse.
771
-
772
- Capabilities the package requires # noqa: E501
773
-
774
- :param requires: The requires of this RpmPackageResponse. # noqa: E501
775
- :type: object
776
- """
777
-
778
- self._requires = requires
779
-
780
- @property
781
- def provides(self):
782
- """Gets the provides of this RpmPackageResponse. # noqa: E501
783
-
784
- Capabilities the package provides # noqa: E501
785
-
786
- :return: The provides of this RpmPackageResponse. # noqa: E501
787
- :rtype: object
788
- """
789
- return self._provides
790
-
791
- @provides.setter
792
- def provides(self, provides):
793
- """Sets the provides of this RpmPackageResponse.
794
-
795
- Capabilities the package provides # noqa: E501
796
-
797
- :param provides: The provides of this RpmPackageResponse. # noqa: E501
798
- :type: object
799
- """
800
-
801
- self._provides = provides
802
-
803
- @property
804
- def conflicts(self):
805
- """Gets the conflicts of this RpmPackageResponse. # noqa: E501
806
-
807
- Capabilities the package conflicts # noqa: E501
808
-
809
- :return: The conflicts of this RpmPackageResponse. # noqa: E501
810
- :rtype: object
811
- """
812
- return self._conflicts
813
-
814
- @conflicts.setter
815
- def conflicts(self, conflicts):
816
- """Sets the conflicts of this RpmPackageResponse.
817
-
818
- Capabilities the package conflicts # noqa: E501
819
-
820
- :param conflicts: The conflicts of this RpmPackageResponse. # noqa: E501
821
- :type: object
822
- """
823
-
824
- self._conflicts = conflicts
825
-
826
- @property
827
- def obsoletes(self):
828
- """Gets the obsoletes of this RpmPackageResponse. # noqa: E501
829
-
830
- Capabilities the package obsoletes # noqa: E501
831
-
832
- :return: The obsoletes of this RpmPackageResponse. # noqa: E501
833
- :rtype: object
834
- """
835
- return self._obsoletes
836
-
837
- @obsoletes.setter
838
- def obsoletes(self, obsoletes):
839
- """Sets the obsoletes of this RpmPackageResponse.
840
-
841
- Capabilities the package obsoletes # noqa: E501
842
-
843
- :param obsoletes: The obsoletes of this RpmPackageResponse. # noqa: E501
844
- :type: object
845
- """
846
-
847
- self._obsoletes = obsoletes
848
-
849
- @property
850
- def suggests(self):
851
- """Gets the suggests of this RpmPackageResponse. # noqa: E501
852
-
853
- Capabilities the package suggests # noqa: E501
854
-
855
- :return: The suggests of this RpmPackageResponse. # noqa: E501
856
- :rtype: object
857
- """
858
- return self._suggests
859
-
860
- @suggests.setter
861
- def suggests(self, suggests):
862
- """Sets the suggests of this RpmPackageResponse.
863
-
864
- Capabilities the package suggests # noqa: E501
865
-
866
- :param suggests: The suggests of this RpmPackageResponse. # noqa: E501
867
- :type: object
868
- """
869
-
870
- self._suggests = suggests
871
-
872
- @property
873
- def enhances(self):
874
- """Gets the enhances of this RpmPackageResponse. # noqa: E501
875
-
876
- Capabilities the package enhances # noqa: E501
877
-
878
- :return: The enhances of this RpmPackageResponse. # noqa: E501
879
- :rtype: object
880
- """
881
- return self._enhances
882
-
883
- @enhances.setter
884
- def enhances(self, enhances):
885
- """Sets the enhances of this RpmPackageResponse.
886
-
887
- Capabilities the package enhances # noqa: E501
888
-
889
- :param enhances: The enhances of this RpmPackageResponse. # noqa: E501
890
- :type: object
891
- """
892
-
893
- self._enhances = enhances
894
-
895
- @property
896
- def recommends(self):
897
- """Gets the recommends of this RpmPackageResponse. # noqa: E501
898
-
899
- Capabilities the package recommends # noqa: E501
900
-
901
- :return: The recommends of this RpmPackageResponse. # noqa: E501
902
- :rtype: object
903
- """
904
- return self._recommends
905
-
906
- @recommends.setter
907
- def recommends(self, recommends):
908
- """Sets the recommends of this RpmPackageResponse.
909
-
910
- Capabilities the package recommends # noqa: E501
911
-
912
- :param recommends: The recommends of this RpmPackageResponse. # noqa: E501
913
- :type: object
914
- """
915
-
916
- self._recommends = recommends
917
-
918
- @property
919
- def supplements(self):
920
- """Gets the supplements of this RpmPackageResponse. # noqa: E501
921
-
922
- Capabilities the package supplements # noqa: E501
923
-
924
- :return: The supplements of this RpmPackageResponse. # noqa: E501
925
- :rtype: object
926
- """
927
- return self._supplements
928
-
929
- @supplements.setter
930
- def supplements(self, supplements):
931
- """Sets the supplements of this RpmPackageResponse.
932
-
933
- Capabilities the package supplements # noqa: E501
934
-
935
- :param supplements: The supplements of this RpmPackageResponse. # noqa: E501
936
- :type: object
937
- """
938
-
939
- self._supplements = supplements
940
-
941
- @property
942
- def location_base(self):
943
- """Gets the location_base of this RpmPackageResponse. # noqa: E501
944
-
945
- Base location of this package # noqa: E501
946
-
947
- :return: The location_base of this RpmPackageResponse. # noqa: E501
948
- :rtype: str
949
- """
950
- return self._location_base
951
-
952
- @location_base.setter
953
- def location_base(self, location_base):
954
- """Sets the location_base of this RpmPackageResponse.
955
-
956
- Base location of this package # noqa: E501
957
-
958
- :param location_base: The location_base of this RpmPackageResponse. # noqa: E501
959
- :type: str
960
- """
961
-
962
- self._location_base = location_base
963
-
964
- @property
965
- def location_href(self):
966
- """Gets the location_href of this RpmPackageResponse. # noqa: E501
967
-
968
- Relative location of package to the repodata # noqa: E501
969
-
970
- :return: The location_href of this RpmPackageResponse. # noqa: E501
971
- :rtype: str
972
- """
973
- return self._location_href
974
-
975
- @location_href.setter
976
- def location_href(self, location_href):
977
- """Sets the location_href of this RpmPackageResponse.
978
-
979
- Relative location of package to the repodata # noqa: E501
980
-
981
- :param location_href: The location_href of this RpmPackageResponse. # noqa: E501
982
- :type: str
983
- """
984
-
985
- self._location_href = location_href
986
-
987
- @property
988
- def rpm_buildhost(self):
989
- """Gets the rpm_buildhost of this RpmPackageResponse. # noqa: E501
990
-
991
- Hostname of the system that built the package # noqa: E501
992
-
993
- :return: The rpm_buildhost of this RpmPackageResponse. # noqa: E501
994
- :rtype: str
995
- """
996
- return self._rpm_buildhost
997
-
998
- @rpm_buildhost.setter
999
- def rpm_buildhost(self, rpm_buildhost):
1000
- """Sets the rpm_buildhost of this RpmPackageResponse.
1001
-
1002
- Hostname of the system that built the package # noqa: E501
1003
-
1004
- :param rpm_buildhost: The rpm_buildhost of this RpmPackageResponse. # noqa: E501
1005
- :type: str
1006
- """
1007
-
1008
- self._rpm_buildhost = rpm_buildhost
1009
-
1010
- @property
1011
- def rpm_group(self):
1012
- """Gets the rpm_group of this RpmPackageResponse. # noqa: E501
1013
-
1014
- RPM group (See: http://fedoraproject.org/wiki/RPMGroups) # noqa: E501
1015
-
1016
- :return: The rpm_group of this RpmPackageResponse. # noqa: E501
1017
- :rtype: str
1018
- """
1019
- return self._rpm_group
1020
-
1021
- @rpm_group.setter
1022
- def rpm_group(self, rpm_group):
1023
- """Sets the rpm_group of this RpmPackageResponse.
1024
-
1025
- RPM group (See: http://fedoraproject.org/wiki/RPMGroups) # noqa: E501
1026
-
1027
- :param rpm_group: The rpm_group of this RpmPackageResponse. # noqa: E501
1028
- :type: str
1029
- """
1030
-
1031
- self._rpm_group = rpm_group
1032
-
1033
- @property
1034
- def rpm_license(self):
1035
- """Gets the rpm_license of this RpmPackageResponse. # noqa: E501
1036
-
1037
- License term applicable to the package software (GPLv2, etc.) # noqa: E501
1038
-
1039
- :return: The rpm_license of this RpmPackageResponse. # noqa: E501
1040
- :rtype: str
1041
- """
1042
- return self._rpm_license
1043
-
1044
- @rpm_license.setter
1045
- def rpm_license(self, rpm_license):
1046
- """Sets the rpm_license of this RpmPackageResponse.
1047
-
1048
- License term applicable to the package software (GPLv2, etc.) # noqa: E501
1049
-
1050
- :param rpm_license: The rpm_license of this RpmPackageResponse. # noqa: E501
1051
- :type: str
1052
- """
1053
-
1054
- self._rpm_license = rpm_license
1055
-
1056
- @property
1057
- def rpm_packager(self):
1058
- """Gets the rpm_packager of this RpmPackageResponse. # noqa: E501
1059
-
1060
- Person or persons responsible for creating the package # noqa: E501
1061
-
1062
- :return: The rpm_packager of this RpmPackageResponse. # noqa: E501
1063
- :rtype: str
1064
- """
1065
- return self._rpm_packager
1066
-
1067
- @rpm_packager.setter
1068
- def rpm_packager(self, rpm_packager):
1069
- """Sets the rpm_packager of this RpmPackageResponse.
1070
-
1071
- Person or persons responsible for creating the package # noqa: E501
1072
-
1073
- :param rpm_packager: The rpm_packager of this RpmPackageResponse. # noqa: E501
1074
- :type: str
1075
- """
1076
-
1077
- self._rpm_packager = rpm_packager
1078
-
1079
- @property
1080
- def rpm_sourcerpm(self):
1081
- """Gets the rpm_sourcerpm of this RpmPackageResponse. # noqa: E501
1082
-
1083
- Name of the source package (srpm) the package was built from # noqa: E501
1084
-
1085
- :return: The rpm_sourcerpm of this RpmPackageResponse. # noqa: E501
1086
- :rtype: str
1087
- """
1088
- return self._rpm_sourcerpm
1089
-
1090
- @rpm_sourcerpm.setter
1091
- def rpm_sourcerpm(self, rpm_sourcerpm):
1092
- """Sets the rpm_sourcerpm of this RpmPackageResponse.
1093
-
1094
- Name of the source package (srpm) the package was built from # noqa: E501
1095
-
1096
- :param rpm_sourcerpm: The rpm_sourcerpm of this RpmPackageResponse. # noqa: E501
1097
- :type: str
1098
- """
1099
-
1100
- self._rpm_sourcerpm = rpm_sourcerpm
1101
-
1102
- @property
1103
- def rpm_vendor(self):
1104
- """Gets the rpm_vendor of this RpmPackageResponse. # noqa: E501
1105
-
1106
- Name of the organization that produced the package # noqa: E501
1107
-
1108
- :return: The rpm_vendor of this RpmPackageResponse. # noqa: E501
1109
- :rtype: str
1110
- """
1111
- return self._rpm_vendor
1112
-
1113
- @rpm_vendor.setter
1114
- def rpm_vendor(self, rpm_vendor):
1115
- """Sets the rpm_vendor of this RpmPackageResponse.
1116
-
1117
- Name of the organization that produced the package # noqa: E501
1118
-
1119
- :param rpm_vendor: The rpm_vendor of this RpmPackageResponse. # noqa: E501
1120
- :type: str
1121
- """
1122
-
1123
- self._rpm_vendor = rpm_vendor
1124
-
1125
- @property
1126
- def rpm_header_start(self):
1127
- """Gets the rpm_header_start of this RpmPackageResponse. # noqa: E501
1128
-
1129
- First byte of the header # noqa: E501
1130
-
1131
- :return: The rpm_header_start of this RpmPackageResponse. # noqa: E501
1132
- :rtype: int
1133
- """
1134
- return self._rpm_header_start
1135
-
1136
- @rpm_header_start.setter
1137
- def rpm_header_start(self, rpm_header_start):
1138
- """Sets the rpm_header_start of this RpmPackageResponse.
1139
-
1140
- First byte of the header # noqa: E501
1141
-
1142
- :param rpm_header_start: The rpm_header_start of this RpmPackageResponse. # noqa: E501
1143
- :type: int
1144
- """
1145
-
1146
- self._rpm_header_start = rpm_header_start
1147
-
1148
- @property
1149
- def rpm_header_end(self):
1150
- """Gets the rpm_header_end of this RpmPackageResponse. # noqa: E501
1151
-
1152
- Last byte of the header # noqa: E501
1153
-
1154
- :return: The rpm_header_end of this RpmPackageResponse. # noqa: E501
1155
- :rtype: int
1156
- """
1157
- return self._rpm_header_end
1158
-
1159
- @rpm_header_end.setter
1160
- def rpm_header_end(self, rpm_header_end):
1161
- """Sets the rpm_header_end of this RpmPackageResponse.
1162
-
1163
- Last byte of the header # noqa: E501
1164
-
1165
- :param rpm_header_end: The rpm_header_end of this RpmPackageResponse. # noqa: E501
1166
- :type: int
1167
- """
1168
-
1169
- self._rpm_header_end = rpm_header_end
1170
-
1171
- @property
1172
- def is_modular(self):
1173
- """Gets the is_modular of this RpmPackageResponse. # noqa: E501
1174
-
1175
- Flag to identify if the package is modular # noqa: E501
1176
-
1177
- :return: The is_modular of this RpmPackageResponse. # noqa: E501
1178
- :rtype: bool
1179
- """
1180
- return self._is_modular
1181
-
1182
- @is_modular.setter
1183
- def is_modular(self, is_modular):
1184
- """Sets the is_modular of this RpmPackageResponse.
1185
-
1186
- Flag to identify if the package is modular # noqa: E501
1187
-
1188
- :param is_modular: The is_modular of this RpmPackageResponse. # noqa: E501
1189
- :type: bool
1190
- """
1191
-
1192
- self._is_modular = is_modular
1193
-
1194
- @property
1195
- def size_archive(self):
1196
- """Gets the size_archive of this RpmPackageResponse. # noqa: E501
1197
-
1198
- Size, in bytes, of the archive portion of the original package file # noqa: E501
1199
-
1200
- :return: The size_archive of this RpmPackageResponse. # noqa: E501
1201
- :rtype: int
1202
- """
1203
- return self._size_archive
1204
-
1205
- @size_archive.setter
1206
- def size_archive(self, size_archive):
1207
- """Sets the size_archive of this RpmPackageResponse.
1208
-
1209
- Size, in bytes, of the archive portion of the original package file # noqa: E501
1210
-
1211
- :param size_archive: The size_archive of this RpmPackageResponse. # noqa: E501
1212
- :type: int
1213
- """
1214
-
1215
- self._size_archive = size_archive
1216
-
1217
- @property
1218
- def size_installed(self):
1219
- """Gets the size_installed of this RpmPackageResponse. # noqa: E501
1220
-
1221
- Total size, in bytes, of every file installed by this package # noqa: E501
1222
-
1223
- :return: The size_installed of this RpmPackageResponse. # noqa: E501
1224
- :rtype: int
1225
- """
1226
- return self._size_installed
1227
-
1228
- @size_installed.setter
1229
- def size_installed(self, size_installed):
1230
- """Sets the size_installed of this RpmPackageResponse.
1231
-
1232
- Total size, in bytes, of every file installed by this package # noqa: E501
1233
-
1234
- :param size_installed: The size_installed of this RpmPackageResponse. # noqa: E501
1235
- :type: int
1236
- """
1237
-
1238
- self._size_installed = size_installed
1239
-
1240
- @property
1241
- def size_package(self):
1242
- """Gets the size_package of this RpmPackageResponse. # noqa: E501
1243
-
1244
- Size, in bytes, of the package # noqa: E501
1245
-
1246
- :return: The size_package of this RpmPackageResponse. # noqa: E501
1247
- :rtype: int
1248
- """
1249
- return self._size_package
1250
-
1251
- @size_package.setter
1252
- def size_package(self, size_package):
1253
- """Sets the size_package of this RpmPackageResponse.
1254
-
1255
- Size, in bytes, of the package # noqa: E501
1256
-
1257
- :param size_package: The size_package of this RpmPackageResponse. # noqa: E501
1258
- :type: int
1259
- """
1260
-
1261
- self._size_package = size_package
1262
-
1263
- @property
1264
- def time_build(self):
1265
- """Gets the time_build of this RpmPackageResponse. # noqa: E501
1266
-
1267
- Time the package was built in seconds since the epoch # noqa: E501
1268
-
1269
- :return: The time_build of this RpmPackageResponse. # noqa: E501
1270
- :rtype: int
1271
- """
1272
- return self._time_build
1273
-
1274
- @time_build.setter
1275
- def time_build(self, time_build):
1276
- """Sets the time_build of this RpmPackageResponse.
1277
-
1278
- Time the package was built in seconds since the epoch # noqa: E501
1279
-
1280
- :param time_build: The time_build of this RpmPackageResponse. # noqa: E501
1281
- :type: int
1282
- """
1283
-
1284
- self._time_build = time_build
1285
-
1286
- @property
1287
- def time_file(self):
1288
- """Gets the time_file of this RpmPackageResponse. # noqa: E501
1289
-
1290
- The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. # noqa: E501
1291
-
1292
- :return: The time_file of this RpmPackageResponse. # noqa: E501
1293
- :rtype: int
1294
- """
1295
- return self._time_file
1296
-
1297
- @time_file.setter
1298
- def time_file(self, time_file):
1299
- """Sets the time_file of this RpmPackageResponse.
1300
-
1301
- The 'file' time attribute in the primary XML - file mtime in seconds since the epoch. # noqa: E501
1302
-
1303
- :param time_file: The time_file of this RpmPackageResponse. # noqa: E501
1304
- :type: int
1305
- """
1306
-
1307
- self._time_file = time_file
1308
-
1309
- def to_dict(self):
1310
- """Returns the model properties as a dict"""
1311
- result = {}
1312
-
1313
- for attr, _ in six.iteritems(self.openapi_types):
1314
- value = getattr(self, attr)
1315
- if isinstance(value, list):
1316
- result[attr] = list(map(
1317
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
1318
- value
1319
- ))
1320
- elif hasattr(value, "to_dict"):
1321
- result[attr] = value.to_dict()
1322
- elif isinstance(value, dict):
1323
- result[attr] = dict(map(
1324
- lambda item: (item[0], item[1].to_dict())
1325
- if hasattr(item[1], "to_dict") else item,
1326
- value.items()
1327
- ))
1328
- else:
1329
- result[attr] = value
1330
-
1331
- return result
1332
-
1333
- def to_str(self):
1334
- """Returns the string representation of the model"""
1335
- return pprint.pformat(self.to_dict())
1336
-
1337
- def __repr__(self):
1338
- """For `print` and `pprint`"""
1339
- return self.to_str()
1340
-
1341
- def __eq__(self, other):
1342
- """Returns true if both objects are equal"""
1343
- if not isinstance(other, RpmPackageResponse):
1344
- return False
1345
-
1346
- return self.to_dict() == other.to_dict()
1347
-
1348
- def __ne__(self, other):
1349
- """Returns true if both objects are not equal"""
1350
- if not isinstance(other, RpmPackageResponse):
1351
- return True
1352
-
1353
- return self.to_dict() != other.to_dict()