pulp_rpm_client 3.13.1 → 3.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (298) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/PatchedrpmRpmRemote.md +7 -5
  4. data/docs/PatchedrpmUlnRemote.md +7 -5
  5. data/docs/RpmRpmRemote.md +7 -5
  6. data/docs/RpmRpmRemoteResponse.md +7 -5
  7. data/docs/RpmUlnRemote.md +7 -5
  8. data/docs/RpmUlnRemoteResponse.md +7 -5
  9. data/lib/pulp_rpm_client/api_client.rb +4 -2
  10. data/lib/pulp_rpm_client/configuration.rb +7 -0
  11. data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +18 -6
  12. data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +18 -6
  13. data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +18 -6
  14. data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +18 -6
  15. data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +18 -6
  16. data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +18 -6
  17. data/lib/pulp_rpm_client/version.rb +1 -1
  18. data/spec/models/patchedrpm_rpm_remote_spec.rb +6 -0
  19. data/spec/models/patchedrpm_uln_remote_spec.rb +6 -0
  20. data/spec/models/rpm_rpm_remote_response_spec.rb +6 -0
  21. data/spec/models/rpm_rpm_remote_spec.rb +6 -0
  22. data/spec/models/rpm_uln_remote_response_spec.rb +6 -0
  23. data/spec/models/rpm_uln_remote_spec.rb +6 -0
  24. metadata +67 -341
  25. data/build/lib/pulpcore/__init__.py +0 -2
  26. data/build/lib/pulpcore/client/__init__.py +0 -2
  27. data/build/lib/pulpcore/client/pulp_rpm/__init__.py +0 -112
  28. data/build/lib/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
  29. data/build/lib/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
  30. data/build/lib/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
  31. data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
  32. data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
  33. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
  34. data/build/lib/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
  35. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
  36. data/build/lib/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
  37. data/build/lib/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
  38. data/build/lib/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
  39. data/build/lib/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
  40. data/build/lib/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
  41. data/build/lib/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
  42. data/build/lib/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
  43. data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
  44. data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
  45. data/build/lib/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
  46. data/build/lib/pulpcore/client/pulp_rpm/api_client.py +0 -667
  47. data/build/lib/pulpcore/client/pulp_rpm/configuration.py +0 -427
  48. data/build/lib/pulpcore/client/pulp_rpm/exceptions.py +0 -121
  49. data/build/lib/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
  50. data/build/lib/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
  51. data/build/lib/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
  52. data/build/lib/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
  53. data/build/lib/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
  54. data/build/lib/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
  55. data/build/lib/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
  56. data/build/lib/pulpcore/client/pulp_rpm/models/copy.py +0 -152
  57. data/build/lib/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
  58. data/build/lib/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
  59. data/build/lib/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
  60. data/build/lib/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
  61. data/build/lib/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
  62. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
  63. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
  64. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
  65. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
  66. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
  67. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
  68. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
  69. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
  70. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
  71. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
  72. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
  73. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
  74. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
  75. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
  76. data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
  77. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
  78. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
  79. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
  80. data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
  81. data/build/lib/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
  82. data/build/lib/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
  83. data/build/lib/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
  84. data/build/lib/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
  85. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
  86. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
  87. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
  88. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
  89. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
  90. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
  91. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
  92. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
  93. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
  94. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
  95. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
  96. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
  97. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
  98. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
  99. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
  100. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
  101. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
  102. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
  103. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
  104. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
  105. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
  106. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
  107. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
  108. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
  109. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
  110. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
  111. data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
  112. data/build/lib/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
  113. data/build/lib/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
  114. data/build/lib/pulpcore/client/pulp_rpm/rest.py +0 -292
  115. data/dist/pulp_rpm-client-3.13.1.tar.gz +0 -0
  116. data/dist/pulp_rpm_client-3.13.1-py3-none-any.whl +0 -0
  117. data/pulp_rpm_client.egg-info/PKG-INFO +0 -15
  118. data/pulp_rpm_client.egg-info/SOURCES.txt +0 -179
  119. data/pulp_rpm_client.egg-info/dependency_links.txt +0 -1
  120. data/pulp_rpm_client.egg-info/requires.txt +0 -4
  121. data/pulp_rpm_client.egg-info/top_level.txt +0 -1
  122. data/pulpcore/__init__.py +0 -2
  123. data/pulpcore/client/__init__.py +0 -2
  124. data/pulpcore/client/pulp_rpm/__init__.py +0 -112
  125. data/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
  126. data/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
  127. data/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
  128. data/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
  129. data/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
  130. data/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
  131. data/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
  132. data/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
  133. data/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
  134. data/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
  135. data/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
  136. data/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
  137. data/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
  138. data/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
  139. data/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
  140. data/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
  141. data/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
  142. data/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
  143. data/pulpcore/client/pulp_rpm/api_client.py +0 -667
  144. data/pulpcore/client/pulp_rpm/configuration.py +0 -427
  145. data/pulpcore/client/pulp_rpm/exceptions.py +0 -121
  146. data/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
  147. data/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
  148. data/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
  149. data/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
  150. data/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
  151. data/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
  152. data/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
  153. data/pulpcore/client/pulp_rpm/models/copy.py +0 -152
  154. data/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
  155. data/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
  156. data/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
  157. data/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
  158. data/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
  159. data/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
  160. data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
  161. data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
  162. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
  163. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
  164. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
  165. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
  166. data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
  167. data/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
  168. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
  169. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
  170. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
  171. data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
  172. data/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
  173. data/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
  174. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
  175. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
  176. data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
  177. data/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
  178. data/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
  179. data/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
  180. data/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
  181. data/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
  182. data/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
  183. data/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
  184. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
  185. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
  186. data/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
  187. data/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
  188. data/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
  189. data/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
  190. data/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
  191. data/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
  192. data/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
  193. data/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
  194. data/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
  195. data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
  196. data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
  197. data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
  198. data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
  199. data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
  200. data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
  201. data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
  202. data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
  203. data/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
  204. data/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
  205. data/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
  206. data/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
  207. data/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
  208. data/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
  209. data/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
  210. data/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
  211. data/pulpcore/client/pulp_rpm/rest.py +0 -292
  212. data/requirements.txt +0 -6
  213. data/setup.cfg +0 -2
  214. data/setup.py +0 -42
  215. data/test-requirements.txt +0 -3
  216. data/test/__init__.py +0 -0
  217. data/test/test_addon_response.py +0 -62
  218. data/test/test_artifact_response.py +0 -63
  219. data/test/test_async_operation_response.py +0 -54
  220. data/test/test_checksum_response.py +0 -56
  221. data/test/test_content_advisories_api.py +0 -55
  222. data/test/test_content_distribution_trees_api.py +0 -48
  223. data/test/test_content_modulemd_defaults_api.py +0 -55
  224. data/test/test_content_modulemds_api.py +0 -55
  225. data/test/test_content_packagecategories_api.py +0 -48
  226. data/test/test_content_packageenvironments_api.py +0 -48
  227. data/test/test_content_packagegroups_api.py +0 -48
  228. data/test/test_content_packagelangpacks_api.py +0 -48
  229. data/test/test_content_packages_api.py +0 -55
  230. data/test/test_content_repo_metadata_files_api.py +0 -48
  231. data/test/test_content_summary.py +0 -70
  232. data/test/test_content_summary_response.py +0 -70
  233. data/test/test_copy.py +0 -55
  234. data/test/test_distributions_rpm_api.py +0 -76
  235. data/test/test_image_response.py +0 -60
  236. data/test/test_metadata_checksum_type_enum.py +0 -52
  237. data/test/test_null_enum.py +0 -52
  238. data/test/test_package_checksum_type_enum.py +0 -52
  239. data/test/test_paginated_repository_version_response_list.py +0 -64
  240. data/test/test_paginatedrpm_distribution_tree_response_list.py +0 -106
  241. data/test/test_paginatedrpm_modulemd_defaults_response_list.py +0 -70
  242. data/test/test_paginatedrpm_modulemd_response_list.py +0 -78
  243. data/test/test_paginatedrpm_package_category_response_list.py +0 -68
  244. data/test/test_paginatedrpm_package_environment_response_list.py +0 -69
  245. data/test/test_paginatedrpm_package_group_response_list.py +0 -71
  246. data/test/test_paginatedrpm_package_langpacks_response_list.py +0 -62
  247. data/test/test_paginatedrpm_package_response_list.py +0 -103
  248. data/test/test_paginatedrpm_repo_metadata_file_response_list.py +0 -71
  249. data/test/test_paginatedrpm_rpm_distribution_response_list.py +0 -67
  250. data/test/test_paginatedrpm_rpm_publication_response_list.py +0 -67
  251. data/test/test_paginatedrpm_rpm_remote_response_list.py +0 -79
  252. data/test/test_paginatedrpm_rpm_repository_response_list.py +0 -75
  253. data/test/test_paginatedrpm_uln_remote_response_list.py +0 -81
  254. data/test/test_paginatedrpm_update_record_response_list.py +0 -88
  255. data/test/test_patchedrpm_rpm_distribution.py +0 -58
  256. data/test/test_patchedrpm_rpm_remote.py +0 -75
  257. data/test/test_patchedrpm_rpm_repository.py +0 -65
  258. data/test/test_patchedrpm_uln_remote.py +0 -75
  259. data/test/test_policy_enum.py +0 -52
  260. data/test/test_publications_rpm_api.py +0 -62
  261. data/test/test_remotes_rpm_api.py +0 -76
  262. data/test/test_remotes_uln_api.py +0 -76
  263. data/test/test_repositories_rpm_api.py +0 -90
  264. data/test/test_repositories_rpm_versions_api.py +0 -61
  265. data/test/test_repository_add_remove_content.py +0 -59
  266. data/test/test_repository_version.py +0 -53
  267. data/test/test_repository_version_response.py +0 -58
  268. data/test/test_rpm_copy_api.py +0 -41
  269. data/test/test_rpm_distribution_tree_response.py +0 -147
  270. data/test/test_rpm_modulemd.py +0 -75
  271. data/test/test_rpm_modulemd_defaults.py +0 -63
  272. data/test/test_rpm_modulemd_defaults_response.py +0 -67
  273. data/test/test_rpm_modulemd_response.py +0 -79
  274. data/test/test_rpm_package.py +0 -57
  275. data/test/test_rpm_package_category_response.py +0 -70
  276. data/test/test_rpm_package_environment_response.py +0 -72
  277. data/test/test_rpm_package_group_response.py +0 -73
  278. data/test/test_rpm_package_langpacks_response.py +0 -58
  279. data/test/test_rpm_package_response.py +0 -97
  280. data/test/test_rpm_repo_metadata_file_response.py +0 -69
  281. data/test/test_rpm_repository_sync_url.py +0 -58
  282. data/test/test_rpm_rpm_distribution.py +0 -60
  283. data/test/test_rpm_rpm_distribution_response.py +0 -63
  284. data/test/test_rpm_rpm_publication.py +0 -59
  285. data/test/test_rpm_rpm_publication_response.py +0 -61
  286. data/test/test_rpm_rpm_remote.py +0 -77
  287. data/test/test_rpm_rpm_remote_response.py +0 -75
  288. data/test/test_rpm_rpm_repository.py +0 -66
  289. data/test/test_rpm_rpm_repository_response.py +0 -70
  290. data/test/test_rpm_uln_remote.py +0 -79
  291. data/test/test_rpm_uln_remote_response.py +0 -79
  292. data/test/test_rpm_update_collection.py +0 -58
  293. data/test/test_rpm_update_collection_response.py +0 -61
  294. data/test/test_rpm_update_record.py +0 -54
  295. data/test/test_rpm_update_record_response.py +0 -82
  296. data/test/test_skip_types_enum.py +0 -52
  297. data/test/test_variant_response.py +0 -72
  298. data/tox.ini +0 -9
@@ -1,258 +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 PatchedrpmRpmDistribution(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
- 'base_path': 'str',
38
- 'content_guard': 'str',
39
- 'pulp_labels': 'object',
40
- 'name': 'str',
41
- 'repository': 'str',
42
- 'publication': 'str'
43
- }
44
-
45
- attribute_map = {
46
- 'base_path': 'base_path',
47
- 'content_guard': 'content_guard',
48
- 'pulp_labels': 'pulp_labels',
49
- 'name': 'name',
50
- 'repository': 'repository',
51
- 'publication': 'publication'
52
- }
53
-
54
- def __init__(self, base_path=None, content_guard=None, pulp_labels=None, name=None, repository=None, publication=None, local_vars_configuration=None): # noqa: E501
55
- """PatchedrpmRpmDistribution - a model defined in OpenAPI""" # noqa: E501
56
- if local_vars_configuration is None:
57
- local_vars_configuration = Configuration()
58
- self.local_vars_configuration = local_vars_configuration
59
-
60
- self._base_path = None
61
- self._content_guard = None
62
- self._pulp_labels = None
63
- self._name = None
64
- self._repository = None
65
- self._publication = None
66
- self.discriminator = None
67
-
68
- if base_path is not None:
69
- self.base_path = base_path
70
- self.content_guard = content_guard
71
- if pulp_labels is not None:
72
- self.pulp_labels = pulp_labels
73
- if name is not None:
74
- self.name = name
75
- self.repository = repository
76
- self.publication = publication
77
-
78
- @property
79
- def base_path(self):
80
- """Gets the base_path of this PatchedrpmRpmDistribution. # noqa: E501
81
-
82
- The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") # noqa: E501
83
-
84
- :return: The base_path of this PatchedrpmRpmDistribution. # noqa: E501
85
- :rtype: str
86
- """
87
- return self._base_path
88
-
89
- @base_path.setter
90
- def base_path(self, base_path):
91
- """Sets the base_path of this PatchedrpmRpmDistribution.
92
-
93
- The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") # noqa: E501
94
-
95
- :param base_path: The base_path of this PatchedrpmRpmDistribution. # noqa: E501
96
- :type: str
97
- """
98
-
99
- self._base_path = base_path
100
-
101
- @property
102
- def content_guard(self):
103
- """Gets the content_guard of this PatchedrpmRpmDistribution. # noqa: E501
104
-
105
- An optional content-guard. # noqa: E501
106
-
107
- :return: The content_guard of this PatchedrpmRpmDistribution. # noqa: E501
108
- :rtype: str
109
- """
110
- return self._content_guard
111
-
112
- @content_guard.setter
113
- def content_guard(self, content_guard):
114
- """Sets the content_guard of this PatchedrpmRpmDistribution.
115
-
116
- An optional content-guard. # noqa: E501
117
-
118
- :param content_guard: The content_guard of this PatchedrpmRpmDistribution. # noqa: E501
119
- :type: str
120
- """
121
-
122
- self._content_guard = content_guard
123
-
124
- @property
125
- def pulp_labels(self):
126
- """Gets the pulp_labels of this PatchedrpmRpmDistribution. # noqa: E501
127
-
128
-
129
- :return: The pulp_labels of this PatchedrpmRpmDistribution. # noqa: E501
130
- :rtype: object
131
- """
132
- return self._pulp_labels
133
-
134
- @pulp_labels.setter
135
- def pulp_labels(self, pulp_labels):
136
- """Sets the pulp_labels of this PatchedrpmRpmDistribution.
137
-
138
-
139
- :param pulp_labels: The pulp_labels of this PatchedrpmRpmDistribution. # noqa: E501
140
- :type: object
141
- """
142
-
143
- self._pulp_labels = pulp_labels
144
-
145
- @property
146
- def name(self):
147
- """Gets the name of this PatchedrpmRpmDistribution. # noqa: E501
148
-
149
- A unique name. Ex, `rawhide` and `stable`. # noqa: E501
150
-
151
- :return: The name of this PatchedrpmRpmDistribution. # noqa: E501
152
- :rtype: str
153
- """
154
- return self._name
155
-
156
- @name.setter
157
- def name(self, name):
158
- """Sets the name of this PatchedrpmRpmDistribution.
159
-
160
- A unique name. Ex, `rawhide` and `stable`. # noqa: E501
161
-
162
- :param name: The name of this PatchedrpmRpmDistribution. # noqa: E501
163
- :type: str
164
- """
165
-
166
- self._name = name
167
-
168
- @property
169
- def repository(self):
170
- """Gets the repository of this PatchedrpmRpmDistribution. # noqa: E501
171
-
172
- The latest RepositoryVersion for this Repository will be served. # noqa: E501
173
-
174
- :return: The repository of this PatchedrpmRpmDistribution. # noqa: E501
175
- :rtype: str
176
- """
177
- return self._repository
178
-
179
- @repository.setter
180
- def repository(self, repository):
181
- """Sets the repository of this PatchedrpmRpmDistribution.
182
-
183
- The latest RepositoryVersion for this Repository will be served. # noqa: E501
184
-
185
- :param repository: The repository of this PatchedrpmRpmDistribution. # noqa: E501
186
- :type: str
187
- """
188
-
189
- self._repository = repository
190
-
191
- @property
192
- def publication(self):
193
- """Gets the publication of this PatchedrpmRpmDistribution. # noqa: E501
194
-
195
- Publication to be served # noqa: E501
196
-
197
- :return: The publication of this PatchedrpmRpmDistribution. # noqa: E501
198
- :rtype: str
199
- """
200
- return self._publication
201
-
202
- @publication.setter
203
- def publication(self, publication):
204
- """Sets the publication of this PatchedrpmRpmDistribution.
205
-
206
- Publication to be served # noqa: E501
207
-
208
- :param publication: The publication of this PatchedrpmRpmDistribution. # noqa: E501
209
- :type: str
210
- """
211
-
212
- self._publication = publication
213
-
214
- def to_dict(self):
215
- """Returns the model properties as a dict"""
216
- result = {}
217
-
218
- for attr, _ in six.iteritems(self.openapi_types):
219
- value = getattr(self, attr)
220
- if isinstance(value, list):
221
- result[attr] = list(map(
222
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
223
- value
224
- ))
225
- elif hasattr(value, "to_dict"):
226
- result[attr] = value.to_dict()
227
- elif isinstance(value, dict):
228
- result[attr] = dict(map(
229
- lambda item: (item[0], item[1].to_dict())
230
- if hasattr(item[1], "to_dict") else item,
231
- value.items()
232
- ))
233
- else:
234
- result[attr] = value
235
-
236
- return result
237
-
238
- def to_str(self):
239
- """Returns the string representation of the model"""
240
- return pprint.pformat(self.to_dict())
241
-
242
- def __repr__(self):
243
- """For `print` and `pprint`"""
244
- return self.to_str()
245
-
246
- def __eq__(self, other):
247
- """Returns true if both objects are equal"""
248
- if not isinstance(other, PatchedrpmRpmDistribution):
249
- return False
250
-
251
- return self.to_dict() == other.to_dict()
252
-
253
- def __ne__(self, other):
254
- """Returns true if both objects are not equal"""
255
- if not isinstance(other, PatchedrpmRpmDistribution):
256
- return True
257
-
258
- return self.to_dict() != other.to_dict()
@@ -1,682 +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 PatchedrpmRpmRemote(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
- 'name': 'str',
38
- 'url': 'str',
39
- 'ca_cert': 'str',
40
- 'client_cert': 'str',
41
- 'client_key': 'str',
42
- 'tls_validation': 'bool',
43
- 'proxy_url': 'str',
44
- 'proxy_username': 'str',
45
- 'proxy_password': 'str',
46
- 'username': 'str',
47
- 'password': 'str',
48
- 'pulp_labels': 'object',
49
- 'download_concurrency': 'int',
50
- 'policy': 'PolicyEnum',
51
- 'total_timeout': 'float',
52
- 'connect_timeout': 'float',
53
- 'sock_connect_timeout': 'float',
54
- 'sock_read_timeout': 'float',
55
- 'headers': 'list[object]',
56
- 'rate_limit': 'int',
57
- 'sles_auth_token': 'str'
58
- }
59
-
60
- attribute_map = {
61
- 'name': 'name',
62
- 'url': 'url',
63
- 'ca_cert': 'ca_cert',
64
- 'client_cert': 'client_cert',
65
- 'client_key': 'client_key',
66
- 'tls_validation': 'tls_validation',
67
- 'proxy_url': 'proxy_url',
68
- 'proxy_username': 'proxy_username',
69
- 'proxy_password': 'proxy_password',
70
- 'username': 'username',
71
- 'password': 'password',
72
- 'pulp_labels': 'pulp_labels',
73
- 'download_concurrency': 'download_concurrency',
74
- 'policy': 'policy',
75
- 'total_timeout': 'total_timeout',
76
- 'connect_timeout': 'connect_timeout',
77
- 'sock_connect_timeout': 'sock_connect_timeout',
78
- 'sock_read_timeout': 'sock_read_timeout',
79
- 'headers': 'headers',
80
- 'rate_limit': 'rate_limit',
81
- 'sles_auth_token': 'sles_auth_token'
82
- }
83
-
84
- def __init__(self, name=None, url=None, ca_cert=None, client_cert=None, client_key=None, tls_validation=None, proxy_url=None, proxy_username=None, proxy_password=None, username=None, password=None, pulp_labels=None, download_concurrency=None, policy=None, total_timeout=None, connect_timeout=None, sock_connect_timeout=None, sock_read_timeout=None, headers=None, rate_limit=None, sles_auth_token=None, local_vars_configuration=None): # noqa: E501
85
- """PatchedrpmRpmRemote - a model defined in OpenAPI""" # noqa: E501
86
- if local_vars_configuration is None:
87
- local_vars_configuration = Configuration()
88
- self.local_vars_configuration = local_vars_configuration
89
-
90
- self._name = None
91
- self._url = None
92
- self._ca_cert = None
93
- self._client_cert = None
94
- self._client_key = None
95
- self._tls_validation = None
96
- self._proxy_url = None
97
- self._proxy_username = None
98
- self._proxy_password = None
99
- self._username = None
100
- self._password = None
101
- self._pulp_labels = None
102
- self._download_concurrency = None
103
- self._policy = None
104
- self._total_timeout = None
105
- self._connect_timeout = None
106
- self._sock_connect_timeout = None
107
- self._sock_read_timeout = None
108
- self._headers = None
109
- self._rate_limit = None
110
- self._sles_auth_token = None
111
- self.discriminator = None
112
-
113
- if name is not None:
114
- self.name = name
115
- if url is not None:
116
- self.url = url
117
- self.ca_cert = ca_cert
118
- self.client_cert = client_cert
119
- self.client_key = client_key
120
- if tls_validation is not None:
121
- self.tls_validation = tls_validation
122
- self.proxy_url = proxy_url
123
- self.proxy_username = proxy_username
124
- self.proxy_password = proxy_password
125
- self.username = username
126
- self.password = password
127
- if pulp_labels is not None:
128
- self.pulp_labels = pulp_labels
129
- if download_concurrency is not None:
130
- self.download_concurrency = download_concurrency
131
- if policy is not None:
132
- self.policy = policy
133
- self.total_timeout = total_timeout
134
- self.connect_timeout = connect_timeout
135
- self.sock_connect_timeout = sock_connect_timeout
136
- self.sock_read_timeout = sock_read_timeout
137
- if headers is not None:
138
- self.headers = headers
139
- self.rate_limit = rate_limit
140
- self.sles_auth_token = sles_auth_token
141
-
142
- @property
143
- def name(self):
144
- """Gets the name of this PatchedrpmRpmRemote. # noqa: E501
145
-
146
- A unique name for this remote. # noqa: E501
147
-
148
- :return: The name of this PatchedrpmRpmRemote. # noqa: E501
149
- :rtype: str
150
- """
151
- return self._name
152
-
153
- @name.setter
154
- def name(self, name):
155
- """Sets the name of this PatchedrpmRpmRemote.
156
-
157
- A unique name for this remote. # noqa: E501
158
-
159
- :param name: The name of this PatchedrpmRpmRemote. # noqa: E501
160
- :type: str
161
- """
162
-
163
- self._name = name
164
-
165
- @property
166
- def url(self):
167
- """Gets the url of this PatchedrpmRpmRemote. # noqa: E501
168
-
169
- The URL of an external content source. # noqa: E501
170
-
171
- :return: The url of this PatchedrpmRpmRemote. # noqa: E501
172
- :rtype: str
173
- """
174
- return self._url
175
-
176
- @url.setter
177
- def url(self, url):
178
- """Sets the url of this PatchedrpmRpmRemote.
179
-
180
- The URL of an external content source. # noqa: E501
181
-
182
- :param url: The url of this PatchedrpmRpmRemote. # noqa: E501
183
- :type: str
184
- """
185
-
186
- self._url = url
187
-
188
- @property
189
- def ca_cert(self):
190
- """Gets the ca_cert of this PatchedrpmRpmRemote. # noqa: E501
191
-
192
- A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
193
-
194
- :return: The ca_cert of this PatchedrpmRpmRemote. # noqa: E501
195
- :rtype: str
196
- """
197
- return self._ca_cert
198
-
199
- @ca_cert.setter
200
- def ca_cert(self, ca_cert):
201
- """Sets the ca_cert of this PatchedrpmRpmRemote.
202
-
203
- A PEM encoded CA certificate used to validate the server certificate presented by the remote server. # noqa: E501
204
-
205
- :param ca_cert: The ca_cert of this PatchedrpmRpmRemote. # noqa: E501
206
- :type: str
207
- """
208
-
209
- self._ca_cert = ca_cert
210
-
211
- @property
212
- def client_cert(self):
213
- """Gets the client_cert of this PatchedrpmRpmRemote. # noqa: E501
214
-
215
- A PEM encoded client certificate used for authentication. # noqa: E501
216
-
217
- :return: The client_cert of this PatchedrpmRpmRemote. # noqa: E501
218
- :rtype: str
219
- """
220
- return self._client_cert
221
-
222
- @client_cert.setter
223
- def client_cert(self, client_cert):
224
- """Sets the client_cert of this PatchedrpmRpmRemote.
225
-
226
- A PEM encoded client certificate used for authentication. # noqa: E501
227
-
228
- :param client_cert: The client_cert of this PatchedrpmRpmRemote. # noqa: E501
229
- :type: str
230
- """
231
-
232
- self._client_cert = client_cert
233
-
234
- @property
235
- def client_key(self):
236
- """Gets the client_key of this PatchedrpmRpmRemote. # noqa: E501
237
-
238
- A PEM encoded private key used for authentication. # noqa: E501
239
-
240
- :return: The client_key of this PatchedrpmRpmRemote. # noqa: E501
241
- :rtype: str
242
- """
243
- return self._client_key
244
-
245
- @client_key.setter
246
- def client_key(self, client_key):
247
- """Sets the client_key of this PatchedrpmRpmRemote.
248
-
249
- A PEM encoded private key used for authentication. # noqa: E501
250
-
251
- :param client_key: The client_key of this PatchedrpmRpmRemote. # noqa: E501
252
- :type: str
253
- """
254
-
255
- self._client_key = client_key
256
-
257
- @property
258
- def tls_validation(self):
259
- """Gets the tls_validation of this PatchedrpmRpmRemote. # noqa: E501
260
-
261
- If True, TLS peer validation must be performed. # noqa: E501
262
-
263
- :return: The tls_validation of this PatchedrpmRpmRemote. # noqa: E501
264
- :rtype: bool
265
- """
266
- return self._tls_validation
267
-
268
- @tls_validation.setter
269
- def tls_validation(self, tls_validation):
270
- """Sets the tls_validation of this PatchedrpmRpmRemote.
271
-
272
- If True, TLS peer validation must be performed. # noqa: E501
273
-
274
- :param tls_validation: The tls_validation of this PatchedrpmRpmRemote. # noqa: E501
275
- :type: bool
276
- """
277
-
278
- self._tls_validation = tls_validation
279
-
280
- @property
281
- def proxy_url(self):
282
- """Gets the proxy_url of this PatchedrpmRpmRemote. # noqa: E501
283
-
284
- The proxy URL. Format: scheme://host:port # noqa: E501
285
-
286
- :return: The proxy_url of this PatchedrpmRpmRemote. # noqa: E501
287
- :rtype: str
288
- """
289
- return self._proxy_url
290
-
291
- @proxy_url.setter
292
- def proxy_url(self, proxy_url):
293
- """Sets the proxy_url of this PatchedrpmRpmRemote.
294
-
295
- The proxy URL. Format: scheme://host:port # noqa: E501
296
-
297
- :param proxy_url: The proxy_url of this PatchedrpmRpmRemote. # noqa: E501
298
- :type: str
299
- """
300
-
301
- self._proxy_url = proxy_url
302
-
303
- @property
304
- def proxy_username(self):
305
- """Gets the proxy_username of this PatchedrpmRpmRemote. # noqa: E501
306
-
307
- The username to authenticte to the proxy. # noqa: E501
308
-
309
- :return: The proxy_username of this PatchedrpmRpmRemote. # noqa: E501
310
- :rtype: str
311
- """
312
- return self._proxy_username
313
-
314
- @proxy_username.setter
315
- def proxy_username(self, proxy_username):
316
- """Sets the proxy_username of this PatchedrpmRpmRemote.
317
-
318
- The username to authenticte to the proxy. # noqa: E501
319
-
320
- :param proxy_username: The proxy_username of this PatchedrpmRpmRemote. # noqa: E501
321
- :type: str
322
- """
323
-
324
- self._proxy_username = proxy_username
325
-
326
- @property
327
- def proxy_password(self):
328
- """Gets the proxy_password of this PatchedrpmRpmRemote. # noqa: E501
329
-
330
- The password to authenticte to the proxy. # noqa: E501
331
-
332
- :return: The proxy_password of this PatchedrpmRpmRemote. # noqa: E501
333
- :rtype: str
334
- """
335
- return self._proxy_password
336
-
337
- @proxy_password.setter
338
- def proxy_password(self, proxy_password):
339
- """Sets the proxy_password of this PatchedrpmRpmRemote.
340
-
341
- The password to authenticte to the proxy. # noqa: E501
342
-
343
- :param proxy_password: The proxy_password of this PatchedrpmRpmRemote. # noqa: E501
344
- :type: str
345
- """
346
-
347
- self._proxy_password = proxy_password
348
-
349
- @property
350
- def username(self):
351
- """Gets the username of this PatchedrpmRpmRemote. # noqa: E501
352
-
353
- The username to be used for authentication when syncing. # noqa: E501
354
-
355
- :return: The username of this PatchedrpmRpmRemote. # noqa: E501
356
- :rtype: str
357
- """
358
- return self._username
359
-
360
- @username.setter
361
- def username(self, username):
362
- """Sets the username of this PatchedrpmRpmRemote.
363
-
364
- The username to be used for authentication when syncing. # noqa: E501
365
-
366
- :param username: The username of this PatchedrpmRpmRemote. # noqa: E501
367
- :type: str
368
- """
369
-
370
- self._username = username
371
-
372
- @property
373
- def password(self):
374
- """Gets the password of this PatchedrpmRpmRemote. # noqa: E501
375
-
376
- The password to be used for authentication when syncing. # noqa: E501
377
-
378
- :return: The password of this PatchedrpmRpmRemote. # noqa: E501
379
- :rtype: str
380
- """
381
- return self._password
382
-
383
- @password.setter
384
- def password(self, password):
385
- """Sets the password of this PatchedrpmRpmRemote.
386
-
387
- The password to be used for authentication when syncing. # noqa: E501
388
-
389
- :param password: The password of this PatchedrpmRpmRemote. # noqa: E501
390
- :type: str
391
- """
392
-
393
- self._password = password
394
-
395
- @property
396
- def pulp_labels(self):
397
- """Gets the pulp_labels of this PatchedrpmRpmRemote. # noqa: E501
398
-
399
-
400
- :return: The pulp_labels of this PatchedrpmRpmRemote. # noqa: E501
401
- :rtype: object
402
- """
403
- return self._pulp_labels
404
-
405
- @pulp_labels.setter
406
- def pulp_labels(self, pulp_labels):
407
- """Sets the pulp_labels of this PatchedrpmRpmRemote.
408
-
409
-
410
- :param pulp_labels: The pulp_labels of this PatchedrpmRpmRemote. # noqa: E501
411
- :type: object
412
- """
413
-
414
- self._pulp_labels = pulp_labels
415
-
416
- @property
417
- def download_concurrency(self):
418
- """Gets the download_concurrency of this PatchedrpmRpmRemote. # noqa: E501
419
-
420
- Total number of simultaneous connections. # noqa: E501
421
-
422
- :return: The download_concurrency of this PatchedrpmRpmRemote. # noqa: E501
423
- :rtype: int
424
- """
425
- return self._download_concurrency
426
-
427
- @download_concurrency.setter
428
- def download_concurrency(self, download_concurrency):
429
- """Sets the download_concurrency of this PatchedrpmRpmRemote.
430
-
431
- Total number of simultaneous connections. # noqa: E501
432
-
433
- :param download_concurrency: The download_concurrency of this PatchedrpmRpmRemote. # noqa: E501
434
- :type: int
435
- """
436
- if (self.local_vars_configuration.client_side_validation and
437
- download_concurrency is not None and download_concurrency < 1): # noqa: E501
438
- raise ValueError("Invalid value for `download_concurrency`, must be a value greater than or equal to `1`") # noqa: E501
439
-
440
- self._download_concurrency = download_concurrency
441
-
442
- @property
443
- def policy(self):
444
- """Gets the policy of this PatchedrpmRpmRemote. # noqa: E501
445
-
446
- The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. # noqa: E501
447
-
448
- :return: The policy of this PatchedrpmRpmRemote. # noqa: E501
449
- :rtype: PolicyEnum
450
- """
451
- return self._policy
452
-
453
- @policy.setter
454
- def policy(self, policy):
455
- """Sets the policy of this PatchedrpmRpmRemote.
456
-
457
- The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'immediate' is the default. # noqa: E501
458
-
459
- :param policy: The policy of this PatchedrpmRpmRemote. # noqa: E501
460
- :type: PolicyEnum
461
- """
462
-
463
- self._policy = policy
464
-
465
- @property
466
- def total_timeout(self):
467
- """Gets the total_timeout of this PatchedrpmRpmRemote. # noqa: E501
468
-
469
- aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
470
-
471
- :return: The total_timeout of this PatchedrpmRpmRemote. # noqa: E501
472
- :rtype: float
473
- """
474
- return self._total_timeout
475
-
476
- @total_timeout.setter
477
- def total_timeout(self, total_timeout):
478
- """Sets the total_timeout of this PatchedrpmRpmRemote.
479
-
480
- aiohttp.ClientTimeout.total (q.v.) for download-connections. # noqa: E501
481
-
482
- :param total_timeout: The total_timeout of this PatchedrpmRpmRemote. # noqa: E501
483
- :type: float
484
- """
485
- if (self.local_vars_configuration.client_side_validation and
486
- total_timeout is not None and total_timeout < 0.0): # noqa: E501
487
- raise ValueError("Invalid value for `total_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
488
-
489
- self._total_timeout = total_timeout
490
-
491
- @property
492
- def connect_timeout(self):
493
- """Gets the connect_timeout of this PatchedrpmRpmRemote. # noqa: E501
494
-
495
- aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
496
-
497
- :return: The connect_timeout of this PatchedrpmRpmRemote. # noqa: E501
498
- :rtype: float
499
- """
500
- return self._connect_timeout
501
-
502
- @connect_timeout.setter
503
- def connect_timeout(self, connect_timeout):
504
- """Sets the connect_timeout of this PatchedrpmRpmRemote.
505
-
506
- aiohttp.ClientTimeout.connect (q.v.) for download-connections. # noqa: E501
507
-
508
- :param connect_timeout: The connect_timeout of this PatchedrpmRpmRemote. # noqa: E501
509
- :type: float
510
- """
511
- if (self.local_vars_configuration.client_side_validation and
512
- connect_timeout is not None and connect_timeout < 0.0): # noqa: E501
513
- raise ValueError("Invalid value for `connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
514
-
515
- self._connect_timeout = connect_timeout
516
-
517
- @property
518
- def sock_connect_timeout(self):
519
- """Gets the sock_connect_timeout of this PatchedrpmRpmRemote. # noqa: E501
520
-
521
- aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
522
-
523
- :return: The sock_connect_timeout of this PatchedrpmRpmRemote. # noqa: E501
524
- :rtype: float
525
- """
526
- return self._sock_connect_timeout
527
-
528
- @sock_connect_timeout.setter
529
- def sock_connect_timeout(self, sock_connect_timeout):
530
- """Sets the sock_connect_timeout of this PatchedrpmRpmRemote.
531
-
532
- aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. # noqa: E501
533
-
534
- :param sock_connect_timeout: The sock_connect_timeout of this PatchedrpmRpmRemote. # noqa: E501
535
- :type: float
536
- """
537
- if (self.local_vars_configuration.client_side_validation and
538
- sock_connect_timeout is not None and sock_connect_timeout < 0.0): # noqa: E501
539
- raise ValueError("Invalid value for `sock_connect_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
540
-
541
- self._sock_connect_timeout = sock_connect_timeout
542
-
543
- @property
544
- def sock_read_timeout(self):
545
- """Gets the sock_read_timeout of this PatchedrpmRpmRemote. # noqa: E501
546
-
547
- aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
548
-
549
- :return: The sock_read_timeout of this PatchedrpmRpmRemote. # noqa: E501
550
- :rtype: float
551
- """
552
- return self._sock_read_timeout
553
-
554
- @sock_read_timeout.setter
555
- def sock_read_timeout(self, sock_read_timeout):
556
- """Sets the sock_read_timeout of this PatchedrpmRpmRemote.
557
-
558
- aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. # noqa: E501
559
-
560
- :param sock_read_timeout: The sock_read_timeout of this PatchedrpmRpmRemote. # noqa: E501
561
- :type: float
562
- """
563
- if (self.local_vars_configuration.client_side_validation and
564
- sock_read_timeout is not None and sock_read_timeout < 0.0): # noqa: E501
565
- raise ValueError("Invalid value for `sock_read_timeout`, must be a value greater than or equal to `0.0`") # noqa: E501
566
-
567
- self._sock_read_timeout = sock_read_timeout
568
-
569
- @property
570
- def headers(self):
571
- """Gets the headers of this PatchedrpmRpmRemote. # noqa: E501
572
-
573
- Headers for aiohttp.Clientsession # noqa: E501
574
-
575
- :return: The headers of this PatchedrpmRpmRemote. # noqa: E501
576
- :rtype: list[object]
577
- """
578
- return self._headers
579
-
580
- @headers.setter
581
- def headers(self, headers):
582
- """Sets the headers of this PatchedrpmRpmRemote.
583
-
584
- Headers for aiohttp.Clientsession # noqa: E501
585
-
586
- :param headers: The headers of this PatchedrpmRpmRemote. # noqa: E501
587
- :type: list[object]
588
- """
589
-
590
- self._headers = headers
591
-
592
- @property
593
- def rate_limit(self):
594
- """Gets the rate_limit of this PatchedrpmRpmRemote. # noqa: E501
595
-
596
- Limits total download rate in requests per second # noqa: E501
597
-
598
- :return: The rate_limit of this PatchedrpmRpmRemote. # noqa: E501
599
- :rtype: int
600
- """
601
- return self._rate_limit
602
-
603
- @rate_limit.setter
604
- def rate_limit(self, rate_limit):
605
- """Sets the rate_limit of this PatchedrpmRpmRemote.
606
-
607
- Limits total download rate in requests per second # noqa: E501
608
-
609
- :param rate_limit: The rate_limit of this PatchedrpmRpmRemote. # noqa: E501
610
- :type: int
611
- """
612
-
613
- self._rate_limit = rate_limit
614
-
615
- @property
616
- def sles_auth_token(self):
617
- """Gets the sles_auth_token of this PatchedrpmRpmRemote. # noqa: E501
618
-
619
- Authentication token for SLES repositories. # noqa: E501
620
-
621
- :return: The sles_auth_token of this PatchedrpmRpmRemote. # noqa: E501
622
- :rtype: str
623
- """
624
- return self._sles_auth_token
625
-
626
- @sles_auth_token.setter
627
- def sles_auth_token(self, sles_auth_token):
628
- """Sets the sles_auth_token of this PatchedrpmRpmRemote.
629
-
630
- Authentication token for SLES repositories. # noqa: E501
631
-
632
- :param sles_auth_token: The sles_auth_token of this PatchedrpmRpmRemote. # noqa: E501
633
- :type: str
634
- """
635
-
636
- self._sles_auth_token = sles_auth_token
637
-
638
- def to_dict(self):
639
- """Returns the model properties as a dict"""
640
- result = {}
641
-
642
- for attr, _ in six.iteritems(self.openapi_types):
643
- value = getattr(self, attr)
644
- if isinstance(value, list):
645
- result[attr] = list(map(
646
- lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
647
- value
648
- ))
649
- elif hasattr(value, "to_dict"):
650
- result[attr] = value.to_dict()
651
- elif isinstance(value, dict):
652
- result[attr] = dict(map(
653
- lambda item: (item[0], item[1].to_dict())
654
- if hasattr(item[1], "to_dict") else item,
655
- value.items()
656
- ))
657
- else:
658
- result[attr] = value
659
-
660
- return result
661
-
662
- def to_str(self):
663
- """Returns the string representation of the model"""
664
- return pprint.pformat(self.to_dict())
665
-
666
- def __repr__(self):
667
- """For `print` and `pprint`"""
668
- return self.to_str()
669
-
670
- def __eq__(self, other):
671
- """Returns true if both objects are equal"""
672
- if not isinstance(other, PatchedrpmRpmRemote):
673
- return False
674
-
675
- return self.to_dict() == other.to_dict()
676
-
677
- def __ne__(self, other):
678
- """Returns true if both objects are not equal"""
679
- if not isinstance(other, PatchedrpmRpmRemote):
680
- return True
681
-
682
- return self.to_dict() != other.to_dict()