crc-pulpcore-client 20250819.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of crc-pulpcore-client might be problematic. Click here for more details.

Files changed (464) hide show
  1. crc-pulpcore-client/__init__.py +2 -0
  2. crc-pulpcore-client/api/__init__.py +53 -0
  3. crc-pulpcore-client/api/access_policies_api.py +1864 -0
  4. crc-pulpcore-client/api/artifacts_api.py +1615 -0
  5. crc-pulpcore-client/api/content_api.py +598 -0
  6. crc-pulpcore-client/api/content_openpgp_publickey_api.py +1887 -0
  7. crc-pulpcore-client/api/content_openpgp_publicsubkey_api.py +1518 -0
  8. crc-pulpcore-client/api/content_openpgp_signature_api.py +1518 -0
  9. crc-pulpcore-client/api/content_openpgp_userattribute_api.py +1518 -0
  10. crc-pulpcore-client/api/content_openpgp_userid_api.py +1655 -0
  11. crc-pulpcore-client/api/contentguards_api.py +667 -0
  12. crc-pulpcore-client/api/contentguards_composite_api.py +3401 -0
  13. crc-pulpcore-client/api/contentguards_content_redirect_api.py +3401 -0
  14. crc-pulpcore-client/api/contentguards_header_api.py +3401 -0
  15. crc-pulpcore-client/api/contentguards_rbac_api.py +3401 -0
  16. crc-pulpcore-client/api/distributions_api.py +822 -0
  17. crc-pulpcore-client/api/distributions_artifacts_api.py +1103 -0
  18. crc-pulpcore-client/api/distributions_openpgp_api.py +2676 -0
  19. crc-pulpcore-client/api/domains_api.py +3106 -0
  20. crc-pulpcore-client/api/exporters_filesystem_api.py +2157 -0
  21. crc-pulpcore-client/api/exporters_filesystem_exports_api.py +1288 -0
  22. crc-pulpcore-client/api/exporters_pulp_api.py +2157 -0
  23. crc-pulpcore-client/api/exporters_pulp_exports_api.py +1288 -0
  24. crc-pulpcore-client/api/groups_api.py +3368 -0
  25. crc-pulpcore-client/api/groups_roles_api.py +1496 -0
  26. crc-pulpcore-client/api/groups_users_api.py +972 -0
  27. crc-pulpcore-client/api/importers_pulp_api.py +2149 -0
  28. crc-pulpcore-client/api/importers_pulp_import_check_api.py +350 -0
  29. crc-pulpcore-client/api/importers_pulp_imports_api.py +1288 -0
  30. crc-pulpcore-client/api/livez_api.py +329 -0
  31. crc-pulpcore-client/api/login_api.py +897 -0
  32. crc-pulpcore-client/api/orphans_api.py +319 -0
  33. crc-pulpcore-client/api/orphans_cleanup_api.py +350 -0
  34. crc-pulpcore-client/api/publications_api.py +765 -0
  35. crc-pulpcore-client/api/remotes_api.py +850 -0
  36. crc-pulpcore-client/api/repair_api.py +350 -0
  37. crc-pulpcore-client/api/repositories_api.py +872 -0
  38. crc-pulpcore-client/api/repositories_openpgp_keyring_api.py +4546 -0
  39. crc-pulpcore-client/api/repositories_reclaim_space_api.py +350 -0
  40. crc-pulpcore-client/api/repository_versions_api.py +764 -0
  41. crc-pulpcore-client/api/roles_api.py +2269 -0
  42. crc-pulpcore-client/api/signing_services_api.py +811 -0
  43. crc-pulpcore-client/api/status_api.py +337 -0
  44. crc-pulpcore-client/api/task_groups_api.py +1012 -0
  45. crc-pulpcore-client/api/task_schedules_api.py +2114 -0
  46. crc-pulpcore-client/api/tasks_api.py +4299 -0
  47. crc-pulpcore-client/api/uploads_api.py +3346 -0
  48. crc-pulpcore-client/api/upstream_pulps_api.py +4001 -0
  49. crc-pulpcore-client/api/users_api.py +2373 -0
  50. crc-pulpcore-client/api/users_roles_api.py +1496 -0
  51. crc-pulpcore-client/api/workers_api.py +1148 -0
  52. crc-pulpcore-client/api_client.py +798 -0
  53. crc-pulpcore-client/api_response.py +21 -0
  54. crc-pulpcore-client/configuration.py +628 -0
  55. crc-pulpcore-client/exceptions.py +200 -0
  56. crc-pulpcore-client/models/__init__.py +189 -0
  57. crc-pulpcore-client/models/access_policy.py +94 -0
  58. crc-pulpcore-client/models/access_policy_response.py +119 -0
  59. crc-pulpcore-client/models/api_app_status_response.py +99 -0
  60. crc-pulpcore-client/models/artifact_distribution_response.py +126 -0
  61. crc-pulpcore-client/models/artifact_response.py +149 -0
  62. crc-pulpcore-client/models/async_operation_response.py +88 -0
  63. crc-pulpcore-client/models/composite_content_guard.py +98 -0
  64. crc-pulpcore-client/models/composite_content_guard_response.py +114 -0
  65. crc-pulpcore-client/models/content_app_status_response.py +99 -0
  66. crc-pulpcore-client/models/content_guard_response.py +112 -0
  67. crc-pulpcore-client/models/content_redirect_content_guard.py +96 -0
  68. crc-pulpcore-client/models/content_redirect_content_guard_response.py +112 -0
  69. crc-pulpcore-client/models/content_settings_response.py +95 -0
  70. crc-pulpcore-client/models/content_summary_response.py +92 -0
  71. crc-pulpcore-client/models/database_connection_response.py +88 -0
  72. crc-pulpcore-client/models/distribution_response.py +133 -0
  73. crc-pulpcore-client/models/domain.py +114 -0
  74. crc-pulpcore-client/models/domain_backend_migrator.py +91 -0
  75. crc-pulpcore-client/models/domain_response.py +131 -0
  76. crc-pulpcore-client/models/evaluation_response.py +92 -0
  77. crc-pulpcore-client/models/filesystem_export.py +99 -0
  78. crc-pulpcore-client/models/filesystem_export_response.py +118 -0
  79. crc-pulpcore-client/models/filesystem_exporter.py +94 -0
  80. crc-pulpcore-client/models/filesystem_exporter_response.py +110 -0
  81. crc-pulpcore-client/models/generic_remote_response.py +199 -0
  82. crc-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +90 -0
  83. crc-pulpcore-client/models/generic_remote_response_policy_enum.py +39 -0
  84. crc-pulpcore-client/models/group.py +89 -0
  85. crc-pulpcore-client/models/group_progress_report_response.py +111 -0
  86. crc-pulpcore-client/models/group_response.py +101 -0
  87. crc-pulpcore-client/models/group_role.py +110 -0
  88. crc-pulpcore-client/models/group_role_response.py +134 -0
  89. crc-pulpcore-client/models/group_user.py +89 -0
  90. crc-pulpcore-client/models/group_user_response.py +97 -0
  91. crc-pulpcore-client/models/header_content_guard.py +107 -0
  92. crc-pulpcore-client/models/header_content_guard_response.py +123 -0
  93. crc-pulpcore-client/models/import_response.py +107 -0
  94. crc-pulpcore-client/models/login_response.py +98 -0
  95. crc-pulpcore-client/models/method_enum.py +39 -0
  96. crc-pulpcore-client/models/minimal_task_response.py +125 -0
  97. crc-pulpcore-client/models/multiple_artifact_content_response.py +107 -0
  98. crc-pulpcore-client/models/my_permissions_response.py +88 -0
  99. crc-pulpcore-client/models/nested_open_pgp_public_subkey.py +92 -0
  100. crc-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +104 -0
  101. crc-pulpcore-client/models/nested_open_pgp_signature.py +120 -0
  102. crc-pulpcore-client/models/nested_open_pgp_signature_response.py +124 -0
  103. crc-pulpcore-client/models/nested_open_pgp_user_attribute.py +89 -0
  104. crc-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +101 -0
  105. crc-pulpcore-client/models/nested_open_pgp_user_id.py +89 -0
  106. crc-pulpcore-client/models/nested_open_pgp_user_id_response.py +100 -0
  107. crc-pulpcore-client/models/nested_role.py +93 -0
  108. crc-pulpcore-client/models/nested_role_response.py +92 -0
  109. crc-pulpcore-client/models/object_roles_response.py +96 -0
  110. crc-pulpcore-client/models/open_pgp_distribution.py +116 -0
  111. crc-pulpcore-client/models/open_pgp_distribution_response.py +140 -0
  112. crc-pulpcore-client/models/open_pgp_keyring.py +112 -0
  113. crc-pulpcore-client/models/open_pgp_keyring_response.py +137 -0
  114. crc-pulpcore-client/models/open_pgp_public_key_response.py +150 -0
  115. crc-pulpcore-client/models/open_pgp_public_subkey_response.py +126 -0
  116. crc-pulpcore-client/models/open_pgp_signature_response.py +146 -0
  117. crc-pulpcore-client/models/open_pgp_user_attribute_response.py +124 -0
  118. crc-pulpcore-client/models/open_pgp_user_id_response.py +123 -0
  119. crc-pulpcore-client/models/orphans_cleanup.py +96 -0
  120. crc-pulpcore-client/models/paginated_access_policy_response_list.py +112 -0
  121. crc-pulpcore-client/models/paginated_artifact_distribution_response_list.py +112 -0
  122. crc-pulpcore-client/models/paginated_artifact_response_list.py +112 -0
  123. crc-pulpcore-client/models/paginated_composite_content_guard_response_list.py +112 -0
  124. crc-pulpcore-client/models/paginated_content_guard_response_list.py +112 -0
  125. crc-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +112 -0
  126. crc-pulpcore-client/models/paginated_distribution_response_list.py +112 -0
  127. crc-pulpcore-client/models/paginated_domain_response_list.py +112 -0
  128. crc-pulpcore-client/models/paginated_filesystem_export_response_list.py +112 -0
  129. crc-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +112 -0
  130. crc-pulpcore-client/models/paginated_generic_remote_response_list.py +112 -0
  131. crc-pulpcore-client/models/paginated_group_response_list.py +112 -0
  132. crc-pulpcore-client/models/paginated_group_role_response_list.py +112 -0
  133. crc-pulpcore-client/models/paginated_group_user_response_list.py +112 -0
  134. crc-pulpcore-client/models/paginated_header_content_guard_response_list.py +112 -0
  135. crc-pulpcore-client/models/paginated_import_response_list.py +112 -0
  136. crc-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +112 -0
  137. crc-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +112 -0
  138. crc-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +112 -0
  139. crc-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +112 -0
  140. crc-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +112 -0
  141. crc-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +112 -0
  142. crc-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +112 -0
  143. crc-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +112 -0
  144. crc-pulpcore-client/models/paginated_publication_response_list.py +112 -0
  145. crc-pulpcore-client/models/paginated_pulp_export_response_list.py +112 -0
  146. crc-pulpcore-client/models/paginated_pulp_exporter_response_list.py +112 -0
  147. crc-pulpcore-client/models/paginated_pulp_importer_response_list.py +112 -0
  148. crc-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +112 -0
  149. crc-pulpcore-client/models/paginated_repository_response_list.py +112 -0
  150. crc-pulpcore-client/models/paginated_repository_version_response_list.py +112 -0
  151. crc-pulpcore-client/models/paginated_role_response_list.py +112 -0
  152. crc-pulpcore-client/models/paginated_signing_service_response_list.py +112 -0
  153. crc-pulpcore-client/models/paginated_task_group_response_list.py +112 -0
  154. crc-pulpcore-client/models/paginated_task_response_list.py +112 -0
  155. crc-pulpcore-client/models/paginated_task_schedule_response_list.py +112 -0
  156. crc-pulpcore-client/models/paginated_upload_response_list.py +112 -0
  157. crc-pulpcore-client/models/paginated_upstream_pulp_response_list.py +112 -0
  158. crc-pulpcore-client/models/paginated_user_response_list.py +112 -0
  159. crc-pulpcore-client/models/paginated_user_role_response_list.py +112 -0
  160. crc-pulpcore-client/models/paginated_worker_response_list.py +112 -0
  161. crc-pulpcore-client/models/patched_access_policy.py +94 -0
  162. crc-pulpcore-client/models/patched_composite_content_guard.py +98 -0
  163. crc-pulpcore-client/models/patched_content_redirect_content_guard.py +96 -0
  164. crc-pulpcore-client/models/patched_domain.py +117 -0
  165. crc-pulpcore-client/models/patched_filesystem_exporter.py +94 -0
  166. crc-pulpcore-client/models/patched_group.py +89 -0
  167. crc-pulpcore-client/models/patched_header_content_guard.py +107 -0
  168. crc-pulpcore-client/models/patched_open_pgp_distribution.py +116 -0
  169. crc-pulpcore-client/models/patched_open_pgp_keyring.py +112 -0
  170. crc-pulpcore-client/models/patched_pulp_exporter.py +100 -0
  171. crc-pulpcore-client/models/patched_pulp_importer.py +91 -0
  172. crc-pulpcore-client/models/patched_rbac_content_guard.py +96 -0
  173. crc-pulpcore-client/models/patched_role.py +98 -0
  174. crc-pulpcore-client/models/patched_task_cancel.py +89 -0
  175. crc-pulpcore-client/models/patched_upstream_pulp.py +147 -0
  176. crc-pulpcore-client/models/patched_user.py +106 -0
  177. crc-pulpcore-client/models/policy357_enum.py +39 -0
  178. crc-pulpcore-client/models/profile_artifact_response.py +88 -0
  179. crc-pulpcore-client/models/progress_report_response.py +115 -0
  180. crc-pulpcore-client/models/publication_response.py +107 -0
  181. crc-pulpcore-client/models/pulp_export.py +104 -0
  182. crc-pulpcore-client/models/pulp_export_response.py +126 -0
  183. crc-pulpcore-client/models/pulp_exporter.py +100 -0
  184. crc-pulpcore-client/models/pulp_exporter_response.py +116 -0
  185. crc-pulpcore-client/models/pulp_import.py +93 -0
  186. crc-pulpcore-client/models/pulp_import_check.py +93 -0
  187. crc-pulpcore-client/models/pulp_import_check_response.py +102 -0
  188. crc-pulpcore-client/models/pulp_importer.py +91 -0
  189. crc-pulpcore-client/models/pulp_importer_response.py +107 -0
  190. crc-pulpcore-client/models/purge.py +92 -0
  191. crc-pulpcore-client/models/rbac_content_guard.py +96 -0
  192. crc-pulpcore-client/models/rbac_content_guard_response.py +136 -0
  193. crc-pulpcore-client/models/reclaim_space.py +90 -0
  194. crc-pulpcore-client/models/redis_connection_response.py +88 -0
  195. crc-pulpcore-client/models/repair.py +88 -0
  196. crc-pulpcore-client/models/repository_add_remove_content.py +93 -0
  197. crc-pulpcore-client/models/repository_response.py +137 -0
  198. crc-pulpcore-client/models/repository_version_response.py +121 -0
  199. crc-pulpcore-client/models/role.py +98 -0
  200. crc-pulpcore-client/models/role_response.py +118 -0
  201. crc-pulpcore-client/models/set_label.py +103 -0
  202. crc-pulpcore-client/models/set_label_response.py +103 -0
  203. crc-pulpcore-client/models/signing_service_response.py +111 -0
  204. crc-pulpcore-client/models/states_enum.py +40 -0
  205. crc-pulpcore-client/models/status_response.py +152 -0
  206. crc-pulpcore-client/models/storage_class_enum.py +40 -0
  207. crc-pulpcore-client/models/storage_response.py +108 -0
  208. crc-pulpcore-client/models/task_group_operation_response.py +88 -0
  209. crc-pulpcore-client/models/task_group_response.py +150 -0
  210. crc-pulpcore-client/models/task_response.py +167 -0
  211. crc-pulpcore-client/models/task_schedule_response.py +127 -0
  212. crc-pulpcore-client/models/unset_label.py +96 -0
  213. crc-pulpcore-client/models/unset_label_response.py +100 -0
  214. crc-pulpcore-client/models/upload.py +88 -0
  215. crc-pulpcore-client/models/upload_chunk_response.py +94 -0
  216. crc-pulpcore-client/models/upload_commit.py +89 -0
  217. crc-pulpcore-client/models/upload_detail_response.py +121 -0
  218. crc-pulpcore-client/models/upload_response.py +109 -0
  219. crc-pulpcore-client/models/upstream_pulp.py +147 -0
  220. crc-pulpcore-client/models/upstream_pulp_response.py +158 -0
  221. crc-pulpcore-client/models/user.py +106 -0
  222. crc-pulpcore-client/models/user_group.py +89 -0
  223. crc-pulpcore-client/models/user_group_response.py +97 -0
  224. crc-pulpcore-client/models/user_response.py +140 -0
  225. crc-pulpcore-client/models/user_role.py +110 -0
  226. crc-pulpcore-client/models/user_role_response.py +134 -0
  227. crc-pulpcore-client/models/version_response.py +96 -0
  228. crc-pulpcore-client/models/worker_response.py +119 -0
  229. crc-pulpcore-client/py.typed +0 -0
  230. crc-pulpcore-client/rest.py +258 -0
  231. crc_pulpcore_client-20250819.1.dist-info/METADATA +25 -0
  232. crc_pulpcore_client-20250819.1.dist-info/RECORD +464 -0
  233. crc_pulpcore_client-20250819.1.dist-info/WHEEL +5 -0
  234. crc_pulpcore_client-20250819.1.dist-info/top_level.txt +2 -0
  235. services-pulpcore-client/__init__.py +2 -0
  236. services-pulpcore-client/api/__init__.py +53 -0
  237. services-pulpcore-client/api/access_policies_api.py +1864 -0
  238. services-pulpcore-client/api/artifacts_api.py +1615 -0
  239. services-pulpcore-client/api/content_api.py +598 -0
  240. services-pulpcore-client/api/content_openpgp_publickey_api.py +1887 -0
  241. services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +1518 -0
  242. services-pulpcore-client/api/content_openpgp_signature_api.py +1518 -0
  243. services-pulpcore-client/api/content_openpgp_userattribute_api.py +1518 -0
  244. services-pulpcore-client/api/content_openpgp_userid_api.py +1655 -0
  245. services-pulpcore-client/api/contentguards_api.py +667 -0
  246. services-pulpcore-client/api/contentguards_composite_api.py +3401 -0
  247. services-pulpcore-client/api/contentguards_content_redirect_api.py +3401 -0
  248. services-pulpcore-client/api/contentguards_header_api.py +3401 -0
  249. services-pulpcore-client/api/contentguards_rbac_api.py +3401 -0
  250. services-pulpcore-client/api/distributions_api.py +822 -0
  251. services-pulpcore-client/api/distributions_artifacts_api.py +1103 -0
  252. services-pulpcore-client/api/distributions_openpgp_api.py +2676 -0
  253. services-pulpcore-client/api/domains_api.py +3106 -0
  254. services-pulpcore-client/api/exporters_filesystem_api.py +2157 -0
  255. services-pulpcore-client/api/exporters_filesystem_exports_api.py +1288 -0
  256. services-pulpcore-client/api/exporters_pulp_api.py +2157 -0
  257. services-pulpcore-client/api/exporters_pulp_exports_api.py +1288 -0
  258. services-pulpcore-client/api/groups_api.py +3368 -0
  259. services-pulpcore-client/api/groups_roles_api.py +1496 -0
  260. services-pulpcore-client/api/groups_users_api.py +972 -0
  261. services-pulpcore-client/api/importers_pulp_api.py +2149 -0
  262. services-pulpcore-client/api/importers_pulp_import_check_api.py +350 -0
  263. services-pulpcore-client/api/importers_pulp_imports_api.py +1288 -0
  264. services-pulpcore-client/api/livez_api.py +329 -0
  265. services-pulpcore-client/api/login_api.py +897 -0
  266. services-pulpcore-client/api/orphans_api.py +319 -0
  267. services-pulpcore-client/api/orphans_cleanup_api.py +350 -0
  268. services-pulpcore-client/api/publications_api.py +765 -0
  269. services-pulpcore-client/api/remotes_api.py +850 -0
  270. services-pulpcore-client/api/repair_api.py +350 -0
  271. services-pulpcore-client/api/repositories_api.py +872 -0
  272. services-pulpcore-client/api/repositories_openpgp_keyring_api.py +4546 -0
  273. services-pulpcore-client/api/repositories_reclaim_space_api.py +350 -0
  274. services-pulpcore-client/api/repository_versions_api.py +764 -0
  275. services-pulpcore-client/api/roles_api.py +2269 -0
  276. services-pulpcore-client/api/signing_services_api.py +811 -0
  277. services-pulpcore-client/api/status_api.py +337 -0
  278. services-pulpcore-client/api/task_groups_api.py +1012 -0
  279. services-pulpcore-client/api/task_schedules_api.py +2114 -0
  280. services-pulpcore-client/api/tasks_api.py +4299 -0
  281. services-pulpcore-client/api/uploads_api.py +3346 -0
  282. services-pulpcore-client/api/upstream_pulps_api.py +4001 -0
  283. services-pulpcore-client/api/users_api.py +2373 -0
  284. services-pulpcore-client/api/users_roles_api.py +1496 -0
  285. services-pulpcore-client/api/workers_api.py +1148 -0
  286. services-pulpcore-client/api_client.py +798 -0
  287. services-pulpcore-client/api_response.py +21 -0
  288. services-pulpcore-client/configuration.py +628 -0
  289. services-pulpcore-client/exceptions.py +200 -0
  290. services-pulpcore-client/models/__init__.py +189 -0
  291. services-pulpcore-client/models/access_policy.py +94 -0
  292. services-pulpcore-client/models/access_policy_response.py +119 -0
  293. services-pulpcore-client/models/api_app_status_response.py +99 -0
  294. services-pulpcore-client/models/artifact_distribution_response.py +126 -0
  295. services-pulpcore-client/models/artifact_response.py +149 -0
  296. services-pulpcore-client/models/async_operation_response.py +88 -0
  297. services-pulpcore-client/models/composite_content_guard.py +98 -0
  298. services-pulpcore-client/models/composite_content_guard_response.py +114 -0
  299. services-pulpcore-client/models/content_app_status_response.py +99 -0
  300. services-pulpcore-client/models/content_guard_response.py +112 -0
  301. services-pulpcore-client/models/content_redirect_content_guard.py +96 -0
  302. services-pulpcore-client/models/content_redirect_content_guard_response.py +112 -0
  303. services-pulpcore-client/models/content_settings_response.py +95 -0
  304. services-pulpcore-client/models/content_summary_response.py +92 -0
  305. services-pulpcore-client/models/database_connection_response.py +88 -0
  306. services-pulpcore-client/models/distribution_response.py +133 -0
  307. services-pulpcore-client/models/domain.py +114 -0
  308. services-pulpcore-client/models/domain_backend_migrator.py +91 -0
  309. services-pulpcore-client/models/domain_response.py +131 -0
  310. services-pulpcore-client/models/evaluation_response.py +92 -0
  311. services-pulpcore-client/models/filesystem_export.py +99 -0
  312. services-pulpcore-client/models/filesystem_export_response.py +118 -0
  313. services-pulpcore-client/models/filesystem_exporter.py +94 -0
  314. services-pulpcore-client/models/filesystem_exporter_response.py +110 -0
  315. services-pulpcore-client/models/generic_remote_response.py +199 -0
  316. services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +90 -0
  317. services-pulpcore-client/models/generic_remote_response_policy_enum.py +39 -0
  318. services-pulpcore-client/models/group.py +89 -0
  319. services-pulpcore-client/models/group_progress_report_response.py +111 -0
  320. services-pulpcore-client/models/group_response.py +101 -0
  321. services-pulpcore-client/models/group_role.py +110 -0
  322. services-pulpcore-client/models/group_role_response.py +134 -0
  323. services-pulpcore-client/models/group_user.py +89 -0
  324. services-pulpcore-client/models/group_user_response.py +97 -0
  325. services-pulpcore-client/models/header_content_guard.py +107 -0
  326. services-pulpcore-client/models/header_content_guard_response.py +123 -0
  327. services-pulpcore-client/models/import_response.py +107 -0
  328. services-pulpcore-client/models/login_response.py +98 -0
  329. services-pulpcore-client/models/method_enum.py +39 -0
  330. services-pulpcore-client/models/minimal_task_response.py +125 -0
  331. services-pulpcore-client/models/multiple_artifact_content_response.py +107 -0
  332. services-pulpcore-client/models/my_permissions_response.py +88 -0
  333. services-pulpcore-client/models/nested_open_pgp_public_subkey.py +92 -0
  334. services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +104 -0
  335. services-pulpcore-client/models/nested_open_pgp_signature.py +120 -0
  336. services-pulpcore-client/models/nested_open_pgp_signature_response.py +124 -0
  337. services-pulpcore-client/models/nested_open_pgp_user_attribute.py +89 -0
  338. services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +101 -0
  339. services-pulpcore-client/models/nested_open_pgp_user_id.py +89 -0
  340. services-pulpcore-client/models/nested_open_pgp_user_id_response.py +100 -0
  341. services-pulpcore-client/models/nested_role.py +93 -0
  342. services-pulpcore-client/models/nested_role_response.py +92 -0
  343. services-pulpcore-client/models/object_roles_response.py +96 -0
  344. services-pulpcore-client/models/open_pgp_distribution.py +116 -0
  345. services-pulpcore-client/models/open_pgp_distribution_response.py +140 -0
  346. services-pulpcore-client/models/open_pgp_keyring.py +112 -0
  347. services-pulpcore-client/models/open_pgp_keyring_response.py +137 -0
  348. services-pulpcore-client/models/open_pgp_public_key_response.py +150 -0
  349. services-pulpcore-client/models/open_pgp_public_subkey_response.py +126 -0
  350. services-pulpcore-client/models/open_pgp_signature_response.py +146 -0
  351. services-pulpcore-client/models/open_pgp_user_attribute_response.py +124 -0
  352. services-pulpcore-client/models/open_pgp_user_id_response.py +123 -0
  353. services-pulpcore-client/models/orphans_cleanup.py +96 -0
  354. services-pulpcore-client/models/paginated_access_policy_response_list.py +112 -0
  355. services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +112 -0
  356. services-pulpcore-client/models/paginated_artifact_response_list.py +112 -0
  357. services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +112 -0
  358. services-pulpcore-client/models/paginated_content_guard_response_list.py +112 -0
  359. services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +112 -0
  360. services-pulpcore-client/models/paginated_distribution_response_list.py +112 -0
  361. services-pulpcore-client/models/paginated_domain_response_list.py +112 -0
  362. services-pulpcore-client/models/paginated_filesystem_export_response_list.py +112 -0
  363. services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +112 -0
  364. services-pulpcore-client/models/paginated_generic_remote_response_list.py +112 -0
  365. services-pulpcore-client/models/paginated_group_response_list.py +112 -0
  366. services-pulpcore-client/models/paginated_group_role_response_list.py +112 -0
  367. services-pulpcore-client/models/paginated_group_user_response_list.py +112 -0
  368. services-pulpcore-client/models/paginated_header_content_guard_response_list.py +112 -0
  369. services-pulpcore-client/models/paginated_import_response_list.py +112 -0
  370. services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +112 -0
  371. services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +112 -0
  372. services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +112 -0
  373. services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +112 -0
  374. services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +112 -0
  375. services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +112 -0
  376. services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +112 -0
  377. services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +112 -0
  378. services-pulpcore-client/models/paginated_publication_response_list.py +112 -0
  379. services-pulpcore-client/models/paginated_pulp_export_response_list.py +112 -0
  380. services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +112 -0
  381. services-pulpcore-client/models/paginated_pulp_importer_response_list.py +112 -0
  382. services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +112 -0
  383. services-pulpcore-client/models/paginated_repository_response_list.py +112 -0
  384. services-pulpcore-client/models/paginated_repository_version_response_list.py +112 -0
  385. services-pulpcore-client/models/paginated_role_response_list.py +112 -0
  386. services-pulpcore-client/models/paginated_signing_service_response_list.py +112 -0
  387. services-pulpcore-client/models/paginated_task_group_response_list.py +112 -0
  388. services-pulpcore-client/models/paginated_task_response_list.py +112 -0
  389. services-pulpcore-client/models/paginated_task_schedule_response_list.py +112 -0
  390. services-pulpcore-client/models/paginated_upload_response_list.py +112 -0
  391. services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +112 -0
  392. services-pulpcore-client/models/paginated_user_response_list.py +112 -0
  393. services-pulpcore-client/models/paginated_user_role_response_list.py +112 -0
  394. services-pulpcore-client/models/paginated_worker_response_list.py +112 -0
  395. services-pulpcore-client/models/patched_access_policy.py +94 -0
  396. services-pulpcore-client/models/patched_composite_content_guard.py +98 -0
  397. services-pulpcore-client/models/patched_content_redirect_content_guard.py +96 -0
  398. services-pulpcore-client/models/patched_domain.py +117 -0
  399. services-pulpcore-client/models/patched_filesystem_exporter.py +94 -0
  400. services-pulpcore-client/models/patched_group.py +89 -0
  401. services-pulpcore-client/models/patched_header_content_guard.py +107 -0
  402. services-pulpcore-client/models/patched_open_pgp_distribution.py +116 -0
  403. services-pulpcore-client/models/patched_open_pgp_keyring.py +112 -0
  404. services-pulpcore-client/models/patched_pulp_exporter.py +100 -0
  405. services-pulpcore-client/models/patched_pulp_importer.py +91 -0
  406. services-pulpcore-client/models/patched_rbac_content_guard.py +96 -0
  407. services-pulpcore-client/models/patched_role.py +98 -0
  408. services-pulpcore-client/models/patched_task_cancel.py +89 -0
  409. services-pulpcore-client/models/patched_upstream_pulp.py +147 -0
  410. services-pulpcore-client/models/patched_user.py +106 -0
  411. services-pulpcore-client/models/policy357_enum.py +39 -0
  412. services-pulpcore-client/models/profile_artifact_response.py +88 -0
  413. services-pulpcore-client/models/progress_report_response.py +115 -0
  414. services-pulpcore-client/models/publication_response.py +107 -0
  415. services-pulpcore-client/models/pulp_export.py +104 -0
  416. services-pulpcore-client/models/pulp_export_response.py +126 -0
  417. services-pulpcore-client/models/pulp_exporter.py +100 -0
  418. services-pulpcore-client/models/pulp_exporter_response.py +116 -0
  419. services-pulpcore-client/models/pulp_import.py +93 -0
  420. services-pulpcore-client/models/pulp_import_check.py +93 -0
  421. services-pulpcore-client/models/pulp_import_check_response.py +102 -0
  422. services-pulpcore-client/models/pulp_importer.py +91 -0
  423. services-pulpcore-client/models/pulp_importer_response.py +107 -0
  424. services-pulpcore-client/models/purge.py +92 -0
  425. services-pulpcore-client/models/rbac_content_guard.py +96 -0
  426. services-pulpcore-client/models/rbac_content_guard_response.py +136 -0
  427. services-pulpcore-client/models/reclaim_space.py +90 -0
  428. services-pulpcore-client/models/redis_connection_response.py +88 -0
  429. services-pulpcore-client/models/repair.py +88 -0
  430. services-pulpcore-client/models/repository_add_remove_content.py +93 -0
  431. services-pulpcore-client/models/repository_response.py +137 -0
  432. services-pulpcore-client/models/repository_version_response.py +121 -0
  433. services-pulpcore-client/models/role.py +98 -0
  434. services-pulpcore-client/models/role_response.py +118 -0
  435. services-pulpcore-client/models/set_label.py +103 -0
  436. services-pulpcore-client/models/set_label_response.py +103 -0
  437. services-pulpcore-client/models/signing_service_response.py +111 -0
  438. services-pulpcore-client/models/states_enum.py +40 -0
  439. services-pulpcore-client/models/status_response.py +152 -0
  440. services-pulpcore-client/models/storage_class_enum.py +40 -0
  441. services-pulpcore-client/models/storage_response.py +108 -0
  442. services-pulpcore-client/models/task_group_operation_response.py +88 -0
  443. services-pulpcore-client/models/task_group_response.py +150 -0
  444. services-pulpcore-client/models/task_response.py +167 -0
  445. services-pulpcore-client/models/task_schedule_response.py +127 -0
  446. services-pulpcore-client/models/unset_label.py +96 -0
  447. services-pulpcore-client/models/unset_label_response.py +100 -0
  448. services-pulpcore-client/models/upload.py +88 -0
  449. services-pulpcore-client/models/upload_chunk_response.py +94 -0
  450. services-pulpcore-client/models/upload_commit.py +89 -0
  451. services-pulpcore-client/models/upload_detail_response.py +121 -0
  452. services-pulpcore-client/models/upload_response.py +109 -0
  453. services-pulpcore-client/models/upstream_pulp.py +147 -0
  454. services-pulpcore-client/models/upstream_pulp_response.py +158 -0
  455. services-pulpcore-client/models/user.py +106 -0
  456. services-pulpcore-client/models/user_group.py +89 -0
  457. services-pulpcore-client/models/user_group_response.py +97 -0
  458. services-pulpcore-client/models/user_response.py +140 -0
  459. services-pulpcore-client/models/user_role.py +110 -0
  460. services-pulpcore-client/models/user_role_response.py +134 -0
  461. services-pulpcore-client/models/version_response.py +96 -0
  462. services-pulpcore-client/models/worker_response.py +119 -0
  463. services-pulpcore-client/py.typed +0 -0
  464. services-pulpcore-client/rest.py +258 -0
@@ -0,0 +1,1103 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Pulp 3 API
5
+
6
+ Fetch, Upload, Organize, and Distribute Software Packages
7
+
8
+ The version of the OpenAPI document: v3
9
+ Contact: pulp-list@redhat.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+ import warnings
16
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
+ from typing import Any, Dict, List, Optional, Tuple, Union
18
+ from typing_extensions import Annotated
19
+
20
+ from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
23
+ from crc-pulpcore-client.models.artifact_distribution_response import ArtifactDistributionResponse
24
+ from crc-pulpcore-client.models.paginated_artifact_distribution_response_list import PaginatedArtifactDistributionResponseList
25
+
26
+ from crc-pulpcore-client.api_client import ApiClient, RequestSerialized
27
+ from crc-pulpcore-client.api_response import ApiResponse
28
+ from crc-pulpcore-client.rest import RESTResponseType
29
+
30
+
31
+ class DistributionsArtifactsApi:
32
+ """NOTE: This class is auto generated by OpenAPI Generator
33
+ Ref: https://openapi-generator.tech
34
+
35
+ Do not edit the class manually.
36
+ """
37
+
38
+ def __init__(self, api_client=None) -> None:
39
+ if api_client is None:
40
+ api_client = ApiClient.get_default()
41
+ self.api_client = api_client
42
+
43
+
44
+ @validate_call
45
+ def list(
46
+ self,
47
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
48
+ base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
49
+ base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
50
+ base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
51
+ base_path__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where base_path is in a comma-separated list of values")] = None,
52
+ checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
53
+ limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
54
+ name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
55
+ name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
56
+ name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
57
+ name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
58
+ name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
59
+ name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
60
+ name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
61
+ name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
62
+ name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
63
+ offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
64
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
65
+ prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
66
+ pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
67
+ pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
68
+ pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
69
+ q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
70
+ repository: Annotated[Optional[StrictStr], Field(description="Filter results where repository matches value")] = None,
71
+ repository__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where repository is in a comma-separated list of values")] = None,
72
+ with_content: Annotated[Optional[StrictStr], Field(description="Filter distributions based on the content served by them")] = None,
73
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
74
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
75
+ pulp_domain: StrictStr = "default",
76
+ _request_timeout: Union[
77
+ None,
78
+ Annotated[StrictFloat, Field(gt=0)],
79
+ Tuple[
80
+ Annotated[StrictFloat, Field(gt=0)],
81
+ Annotated[StrictFloat, Field(gt=0)]
82
+ ]
83
+ ] = None,
84
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
85
+ _content_type: Optional[StrictStr] = None,
86
+ _headers: Optional[Dict[StrictStr, Any]] = None,
87
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
88
+ ) -> PaginatedArtifactDistributionResponseList:
89
+ """List artifact distributions
90
+
91
+ ViewSet for ArtifactDistribution.
92
+
93
+ :param pulp_domain: (required)
94
+ :type pulp_domain: str
95
+ :param x_task_diagnostics: List of profilers to use on tasks.
96
+ :type x_task_diagnostics: List[str]
97
+ :param base_path: Filter results where base_path matches value
98
+ :type base_path: str
99
+ :param base_path__contains: Filter results where base_path contains value
100
+ :type base_path__contains: str
101
+ :param base_path__icontains: Filter results where base_path contains value
102
+ :type base_path__icontains: str
103
+ :param base_path__in: Filter results where base_path is in a comma-separated list of values
104
+ :type base_path__in: List[str]
105
+ :param checkpoint: Filter results where checkpoint matches value
106
+ :type checkpoint: bool
107
+ :param limit: Number of results to return per page.
108
+ :type limit: int
109
+ :param name: Filter results where name matches value
110
+ :type name: str
111
+ :param name__contains: Filter results where name contains value
112
+ :type name__contains: str
113
+ :param name__icontains: Filter results where name contains value
114
+ :type name__icontains: str
115
+ :param name__iexact: Filter results where name matches value
116
+ :type name__iexact: str
117
+ :param name__in: Filter results where name is in a comma-separated list of values
118
+ :type name__in: List[str]
119
+ :param name__iregex: Filter results where name matches regex value
120
+ :type name__iregex: str
121
+ :param name__istartswith: Filter results where name starts with value
122
+ :type name__istartswith: str
123
+ :param name__regex: Filter results where name matches regex value
124
+ :type name__regex: str
125
+ :param name__startswith: Filter results where name starts with value
126
+ :type name__startswith: str
127
+ :param offset: The initial index from which to return the results.
128
+ :type offset: int
129
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
130
+ :type ordering: List[str]
131
+ :param prn__in: Multiple values may be separated by commas.
132
+ :type prn__in: List[str]
133
+ :param pulp_href__in: Multiple values may be separated by commas.
134
+ :type pulp_href__in: List[str]
135
+ :param pulp_id__in: Multiple values may be separated by commas.
136
+ :type pulp_id__in: List[str]
137
+ :param pulp_label_select: Filter labels by search string
138
+ :type pulp_label_select: str
139
+ :param q: Filter results by using NOT, AND and OR operations on other filters
140
+ :type q: str
141
+ :param repository: Filter results where repository matches value
142
+ :type repository: str
143
+ :param repository__in: Filter results where repository is in a comma-separated list of values
144
+ :type repository__in: List[str]
145
+ :param with_content: Filter distributions based on the content served by them
146
+ :type with_content: str
147
+ :param fields: A list of fields to include in the response.
148
+ :type fields: List[str]
149
+ :param exclude_fields: A list of fields to exclude from the response.
150
+ :type exclude_fields: List[str]
151
+ :param _request_timeout: timeout setting for this request. If one
152
+ number provided, it will be total request
153
+ timeout. It can also be a pair (tuple) of
154
+ (connection, read) timeouts.
155
+ :type _request_timeout: int, tuple(int, int), optional
156
+ :param _request_auth: set to override the auth_settings for an a single
157
+ request; this effectively ignores the
158
+ authentication in the spec for a single request.
159
+ :type _request_auth: dict, optional
160
+ :param _content_type: force content-type for the request.
161
+ :type _content_type: str, Optional
162
+ :param _headers: set to override the headers for a single
163
+ request; this effectively ignores the headers
164
+ in the spec for a single request.
165
+ :type _headers: dict, optional
166
+ :param _host_index: set to override the host_index for a single
167
+ request; this effectively ignores the host_index
168
+ in the spec for a single request.
169
+ :type _host_index: int, optional
170
+ :return: Returns the result object.
171
+ """ # noqa: E501
172
+
173
+ _param = self._list_serialize(
174
+ pulp_domain=pulp_domain,
175
+ x_task_diagnostics=x_task_diagnostics,
176
+ base_path=base_path,
177
+ base_path__contains=base_path__contains,
178
+ base_path__icontains=base_path__icontains,
179
+ base_path__in=base_path__in,
180
+ checkpoint=checkpoint,
181
+ limit=limit,
182
+ name=name,
183
+ name__contains=name__contains,
184
+ name__icontains=name__icontains,
185
+ name__iexact=name__iexact,
186
+ name__in=name__in,
187
+ name__iregex=name__iregex,
188
+ name__istartswith=name__istartswith,
189
+ name__regex=name__regex,
190
+ name__startswith=name__startswith,
191
+ offset=offset,
192
+ ordering=ordering,
193
+ prn__in=prn__in,
194
+ pulp_href__in=pulp_href__in,
195
+ pulp_id__in=pulp_id__in,
196
+ pulp_label_select=pulp_label_select,
197
+ q=q,
198
+ repository=repository,
199
+ repository__in=repository__in,
200
+ with_content=with_content,
201
+ fields=fields,
202
+ exclude_fields=exclude_fields,
203
+ _request_auth=_request_auth,
204
+ _content_type=_content_type,
205
+ _headers=_headers,
206
+ _host_index=_host_index
207
+ )
208
+
209
+ _response_types_map: Dict[str, Optional[str]] = {
210
+ '200': "PaginatedArtifactDistributionResponseList",
211
+ }
212
+ response_data = self.api_client.call_api(
213
+ *_param,
214
+ _request_timeout=_request_timeout
215
+ )
216
+ response_data.read()
217
+ return self.api_client.response_deserialize(
218
+ response_data=response_data,
219
+ response_types_map=_response_types_map,
220
+ ).data
221
+
222
+
223
+ @validate_call
224
+ def list_with_http_info(
225
+ self,
226
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
227
+ base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
228
+ base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
229
+ base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
230
+ base_path__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where base_path is in a comma-separated list of values")] = None,
231
+ checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
232
+ limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
233
+ name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
234
+ name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
235
+ name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
236
+ name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
237
+ name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
238
+ name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
239
+ name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
240
+ name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
241
+ name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
242
+ offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
243
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
244
+ prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
245
+ pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
246
+ pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
247
+ pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
248
+ q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
249
+ repository: Annotated[Optional[StrictStr], Field(description="Filter results where repository matches value")] = None,
250
+ repository__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where repository is in a comma-separated list of values")] = None,
251
+ with_content: Annotated[Optional[StrictStr], Field(description="Filter distributions based on the content served by them")] = None,
252
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
253
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
254
+ pulp_domain: StrictStr = "default",
255
+ _request_timeout: Union[
256
+ None,
257
+ Annotated[StrictFloat, Field(gt=0)],
258
+ Tuple[
259
+ Annotated[StrictFloat, Field(gt=0)],
260
+ Annotated[StrictFloat, Field(gt=0)]
261
+ ]
262
+ ] = None,
263
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
264
+ _content_type: Optional[StrictStr] = None,
265
+ _headers: Optional[Dict[StrictStr, Any]] = None,
266
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
267
+ ) -> ApiResponse[PaginatedArtifactDistributionResponseList]:
268
+ """List artifact distributions
269
+
270
+ ViewSet for ArtifactDistribution.
271
+
272
+ :param pulp_domain: (required)
273
+ :type pulp_domain: str
274
+ :param x_task_diagnostics: List of profilers to use on tasks.
275
+ :type x_task_diagnostics: List[str]
276
+ :param base_path: Filter results where base_path matches value
277
+ :type base_path: str
278
+ :param base_path__contains: Filter results where base_path contains value
279
+ :type base_path__contains: str
280
+ :param base_path__icontains: Filter results where base_path contains value
281
+ :type base_path__icontains: str
282
+ :param base_path__in: Filter results where base_path is in a comma-separated list of values
283
+ :type base_path__in: List[str]
284
+ :param checkpoint: Filter results where checkpoint matches value
285
+ :type checkpoint: bool
286
+ :param limit: Number of results to return per page.
287
+ :type limit: int
288
+ :param name: Filter results where name matches value
289
+ :type name: str
290
+ :param name__contains: Filter results where name contains value
291
+ :type name__contains: str
292
+ :param name__icontains: Filter results where name contains value
293
+ :type name__icontains: str
294
+ :param name__iexact: Filter results where name matches value
295
+ :type name__iexact: str
296
+ :param name__in: Filter results where name is in a comma-separated list of values
297
+ :type name__in: List[str]
298
+ :param name__iregex: Filter results where name matches regex value
299
+ :type name__iregex: str
300
+ :param name__istartswith: Filter results where name starts with value
301
+ :type name__istartswith: str
302
+ :param name__regex: Filter results where name matches regex value
303
+ :type name__regex: str
304
+ :param name__startswith: Filter results where name starts with value
305
+ :type name__startswith: str
306
+ :param offset: The initial index from which to return the results.
307
+ :type offset: int
308
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
309
+ :type ordering: List[str]
310
+ :param prn__in: Multiple values may be separated by commas.
311
+ :type prn__in: List[str]
312
+ :param pulp_href__in: Multiple values may be separated by commas.
313
+ :type pulp_href__in: List[str]
314
+ :param pulp_id__in: Multiple values may be separated by commas.
315
+ :type pulp_id__in: List[str]
316
+ :param pulp_label_select: Filter labels by search string
317
+ :type pulp_label_select: str
318
+ :param q: Filter results by using NOT, AND and OR operations on other filters
319
+ :type q: str
320
+ :param repository: Filter results where repository matches value
321
+ :type repository: str
322
+ :param repository__in: Filter results where repository is in a comma-separated list of values
323
+ :type repository__in: List[str]
324
+ :param with_content: Filter distributions based on the content served by them
325
+ :type with_content: str
326
+ :param fields: A list of fields to include in the response.
327
+ :type fields: List[str]
328
+ :param exclude_fields: A list of fields to exclude from the response.
329
+ :type exclude_fields: List[str]
330
+ :param _request_timeout: timeout setting for this request. If one
331
+ number provided, it will be total request
332
+ timeout. It can also be a pair (tuple) of
333
+ (connection, read) timeouts.
334
+ :type _request_timeout: int, tuple(int, int), optional
335
+ :param _request_auth: set to override the auth_settings for an a single
336
+ request; this effectively ignores the
337
+ authentication in the spec for a single request.
338
+ :type _request_auth: dict, optional
339
+ :param _content_type: force content-type for the request.
340
+ :type _content_type: str, Optional
341
+ :param _headers: set to override the headers for a single
342
+ request; this effectively ignores the headers
343
+ in the spec for a single request.
344
+ :type _headers: dict, optional
345
+ :param _host_index: set to override the host_index for a single
346
+ request; this effectively ignores the host_index
347
+ in the spec for a single request.
348
+ :type _host_index: int, optional
349
+ :return: Returns the result object.
350
+ """ # noqa: E501
351
+
352
+ _param = self._list_serialize(
353
+ pulp_domain=pulp_domain,
354
+ x_task_diagnostics=x_task_diagnostics,
355
+ base_path=base_path,
356
+ base_path__contains=base_path__contains,
357
+ base_path__icontains=base_path__icontains,
358
+ base_path__in=base_path__in,
359
+ checkpoint=checkpoint,
360
+ limit=limit,
361
+ name=name,
362
+ name__contains=name__contains,
363
+ name__icontains=name__icontains,
364
+ name__iexact=name__iexact,
365
+ name__in=name__in,
366
+ name__iregex=name__iregex,
367
+ name__istartswith=name__istartswith,
368
+ name__regex=name__regex,
369
+ name__startswith=name__startswith,
370
+ offset=offset,
371
+ ordering=ordering,
372
+ prn__in=prn__in,
373
+ pulp_href__in=pulp_href__in,
374
+ pulp_id__in=pulp_id__in,
375
+ pulp_label_select=pulp_label_select,
376
+ q=q,
377
+ repository=repository,
378
+ repository__in=repository__in,
379
+ with_content=with_content,
380
+ fields=fields,
381
+ exclude_fields=exclude_fields,
382
+ _request_auth=_request_auth,
383
+ _content_type=_content_type,
384
+ _headers=_headers,
385
+ _host_index=_host_index
386
+ )
387
+
388
+ _response_types_map: Dict[str, Optional[str]] = {
389
+ '200': "PaginatedArtifactDistributionResponseList",
390
+ }
391
+ response_data = self.api_client.call_api(
392
+ *_param,
393
+ _request_timeout=_request_timeout
394
+ )
395
+ response_data.read()
396
+ return self.api_client.response_deserialize(
397
+ response_data=response_data,
398
+ response_types_map=_response_types_map,
399
+ )
400
+
401
+
402
+ @validate_call
403
+ def list_without_preload_content(
404
+ self,
405
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
406
+ base_path: Annotated[Optional[StrictStr], Field(description="Filter results where base_path matches value")] = None,
407
+ base_path__contains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
408
+ base_path__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where base_path contains value")] = None,
409
+ base_path__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where base_path is in a comma-separated list of values")] = None,
410
+ checkpoint: Annotated[Optional[StrictBool], Field(description="Filter results where checkpoint matches value")] = None,
411
+ limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
412
+ name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
413
+ name__contains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
414
+ name__icontains: Annotated[Optional[StrictStr], Field(description="Filter results where name contains value")] = None,
415
+ name__iexact: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
416
+ name__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where name is in a comma-separated list of values")] = None,
417
+ name__iregex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
418
+ name__istartswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
419
+ name__regex: Annotated[Optional[StrictStr], Field(description="Filter results where name matches regex value")] = None,
420
+ name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
421
+ offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
422
+ ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
423
+ prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
424
+ pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
425
+ pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
426
+ pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
427
+ q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
428
+ repository: Annotated[Optional[StrictStr], Field(description="Filter results where repository matches value")] = None,
429
+ repository__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where repository is in a comma-separated list of values")] = None,
430
+ with_content: Annotated[Optional[StrictStr], Field(description="Filter distributions based on the content served by them")] = None,
431
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
432
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
433
+ pulp_domain: StrictStr = "default",
434
+ _request_timeout: Union[
435
+ None,
436
+ Annotated[StrictFloat, Field(gt=0)],
437
+ Tuple[
438
+ Annotated[StrictFloat, Field(gt=0)],
439
+ Annotated[StrictFloat, Field(gt=0)]
440
+ ]
441
+ ] = None,
442
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
443
+ _content_type: Optional[StrictStr] = None,
444
+ _headers: Optional[Dict[StrictStr, Any]] = None,
445
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
446
+ ) -> RESTResponseType:
447
+ """List artifact distributions
448
+
449
+ ViewSet for ArtifactDistribution.
450
+
451
+ :param pulp_domain: (required)
452
+ :type pulp_domain: str
453
+ :param x_task_diagnostics: List of profilers to use on tasks.
454
+ :type x_task_diagnostics: List[str]
455
+ :param base_path: Filter results where base_path matches value
456
+ :type base_path: str
457
+ :param base_path__contains: Filter results where base_path contains value
458
+ :type base_path__contains: str
459
+ :param base_path__icontains: Filter results where base_path contains value
460
+ :type base_path__icontains: str
461
+ :param base_path__in: Filter results where base_path is in a comma-separated list of values
462
+ :type base_path__in: List[str]
463
+ :param checkpoint: Filter results where checkpoint matches value
464
+ :type checkpoint: bool
465
+ :param limit: Number of results to return per page.
466
+ :type limit: int
467
+ :param name: Filter results where name matches value
468
+ :type name: str
469
+ :param name__contains: Filter results where name contains value
470
+ :type name__contains: str
471
+ :param name__icontains: Filter results where name contains value
472
+ :type name__icontains: str
473
+ :param name__iexact: Filter results where name matches value
474
+ :type name__iexact: str
475
+ :param name__in: Filter results where name is in a comma-separated list of values
476
+ :type name__in: List[str]
477
+ :param name__iregex: Filter results where name matches regex value
478
+ :type name__iregex: str
479
+ :param name__istartswith: Filter results where name starts with value
480
+ :type name__istartswith: str
481
+ :param name__regex: Filter results where name matches regex value
482
+ :type name__regex: str
483
+ :param name__startswith: Filter results where name starts with value
484
+ :type name__startswith: str
485
+ :param offset: The initial index from which to return the results.
486
+ :type offset: int
487
+ :param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
488
+ :type ordering: List[str]
489
+ :param prn__in: Multiple values may be separated by commas.
490
+ :type prn__in: List[str]
491
+ :param pulp_href__in: Multiple values may be separated by commas.
492
+ :type pulp_href__in: List[str]
493
+ :param pulp_id__in: Multiple values may be separated by commas.
494
+ :type pulp_id__in: List[str]
495
+ :param pulp_label_select: Filter labels by search string
496
+ :type pulp_label_select: str
497
+ :param q: Filter results by using NOT, AND and OR operations on other filters
498
+ :type q: str
499
+ :param repository: Filter results where repository matches value
500
+ :type repository: str
501
+ :param repository__in: Filter results where repository is in a comma-separated list of values
502
+ :type repository__in: List[str]
503
+ :param with_content: Filter distributions based on the content served by them
504
+ :type with_content: str
505
+ :param fields: A list of fields to include in the response.
506
+ :type fields: List[str]
507
+ :param exclude_fields: A list of fields to exclude from the response.
508
+ :type exclude_fields: List[str]
509
+ :param _request_timeout: timeout setting for this request. If one
510
+ number provided, it will be total request
511
+ timeout. It can also be a pair (tuple) of
512
+ (connection, read) timeouts.
513
+ :type _request_timeout: int, tuple(int, int), optional
514
+ :param _request_auth: set to override the auth_settings for an a single
515
+ request; this effectively ignores the
516
+ authentication in the spec for a single request.
517
+ :type _request_auth: dict, optional
518
+ :param _content_type: force content-type for the request.
519
+ :type _content_type: str, Optional
520
+ :param _headers: set to override the headers for a single
521
+ request; this effectively ignores the headers
522
+ in the spec for a single request.
523
+ :type _headers: dict, optional
524
+ :param _host_index: set to override the host_index for a single
525
+ request; this effectively ignores the host_index
526
+ in the spec for a single request.
527
+ :type _host_index: int, optional
528
+ :return: Returns the result object.
529
+ """ # noqa: E501
530
+
531
+ _param = self._list_serialize(
532
+ pulp_domain=pulp_domain,
533
+ x_task_diagnostics=x_task_diagnostics,
534
+ base_path=base_path,
535
+ base_path__contains=base_path__contains,
536
+ base_path__icontains=base_path__icontains,
537
+ base_path__in=base_path__in,
538
+ checkpoint=checkpoint,
539
+ limit=limit,
540
+ name=name,
541
+ name__contains=name__contains,
542
+ name__icontains=name__icontains,
543
+ name__iexact=name__iexact,
544
+ name__in=name__in,
545
+ name__iregex=name__iregex,
546
+ name__istartswith=name__istartswith,
547
+ name__regex=name__regex,
548
+ name__startswith=name__startswith,
549
+ offset=offset,
550
+ ordering=ordering,
551
+ prn__in=prn__in,
552
+ pulp_href__in=pulp_href__in,
553
+ pulp_id__in=pulp_id__in,
554
+ pulp_label_select=pulp_label_select,
555
+ q=q,
556
+ repository=repository,
557
+ repository__in=repository__in,
558
+ with_content=with_content,
559
+ fields=fields,
560
+ exclude_fields=exclude_fields,
561
+ _request_auth=_request_auth,
562
+ _content_type=_content_type,
563
+ _headers=_headers,
564
+ _host_index=_host_index
565
+ )
566
+
567
+ _response_types_map: Dict[str, Optional[str]] = {
568
+ '200': "PaginatedArtifactDistributionResponseList",
569
+ }
570
+ response_data = self.api_client.call_api(
571
+ *_param,
572
+ _request_timeout=_request_timeout
573
+ )
574
+ return response_data.response
575
+
576
+
577
+ def _list_serialize(
578
+ self,
579
+ pulp_domain,
580
+ x_task_diagnostics,
581
+ base_path,
582
+ base_path__contains,
583
+ base_path__icontains,
584
+ base_path__in,
585
+ checkpoint,
586
+ limit,
587
+ name,
588
+ name__contains,
589
+ name__icontains,
590
+ name__iexact,
591
+ name__in,
592
+ name__iregex,
593
+ name__istartswith,
594
+ name__regex,
595
+ name__startswith,
596
+ offset,
597
+ ordering,
598
+ prn__in,
599
+ pulp_href__in,
600
+ pulp_id__in,
601
+ pulp_label_select,
602
+ q,
603
+ repository,
604
+ repository__in,
605
+ with_content,
606
+ fields,
607
+ exclude_fields,
608
+ _request_auth,
609
+ _content_type,
610
+ _headers,
611
+ _host_index,
612
+ ) -> RequestSerialized:
613
+
614
+ _host = None
615
+
616
+ _collection_formats: Dict[str, str] = {
617
+ 'X-Task-Diagnostics': 'csv',
618
+ 'base_path__in': 'csv',
619
+ 'name__in': 'csv',
620
+ 'ordering': 'csv',
621
+ 'prn__in': 'csv',
622
+ 'pulp_href__in': 'csv',
623
+ 'pulp_id__in': 'csv',
624
+ 'repository__in': 'csv',
625
+ 'fields': 'multi',
626
+ 'exclude_fields': 'multi',
627
+ }
628
+
629
+ _path_params: Dict[str, str] = {}
630
+ _query_params: List[Tuple[str, str]] = []
631
+ _header_params: Dict[str, Optional[str]] = _headers or {}
632
+ _form_params: List[Tuple[str, str]] = []
633
+ _files: Dict[
634
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
635
+ ] = {}
636
+ _body_params: Optional[bytes] = None
637
+
638
+ # process the path parameters
639
+ if pulp_domain is not None:
640
+ _path_params['pulp_domain'] = pulp_domain
641
+ # process the query parameters
642
+ if base_path is not None:
643
+
644
+ _query_params.append(('base_path', base_path))
645
+
646
+ if base_path__contains is not None:
647
+
648
+ _query_params.append(('base_path__contains', base_path__contains))
649
+
650
+ if base_path__icontains is not None:
651
+
652
+ _query_params.append(('base_path__icontains', base_path__icontains))
653
+
654
+ if base_path__in is not None:
655
+
656
+ _query_params.append(('base_path__in', base_path__in))
657
+
658
+ if checkpoint is not None:
659
+
660
+ _query_params.append(('checkpoint', checkpoint))
661
+
662
+ if limit is not None:
663
+
664
+ _query_params.append(('limit', limit))
665
+
666
+ if name is not None:
667
+
668
+ _query_params.append(('name', name))
669
+
670
+ if name__contains is not None:
671
+
672
+ _query_params.append(('name__contains', name__contains))
673
+
674
+ if name__icontains is not None:
675
+
676
+ _query_params.append(('name__icontains', name__icontains))
677
+
678
+ if name__iexact is not None:
679
+
680
+ _query_params.append(('name__iexact', name__iexact))
681
+
682
+ if name__in is not None:
683
+
684
+ _query_params.append(('name__in', name__in))
685
+
686
+ if name__iregex is not None:
687
+
688
+ _query_params.append(('name__iregex', name__iregex))
689
+
690
+ if name__istartswith is not None:
691
+
692
+ _query_params.append(('name__istartswith', name__istartswith))
693
+
694
+ if name__regex is not None:
695
+
696
+ _query_params.append(('name__regex', name__regex))
697
+
698
+ if name__startswith is not None:
699
+
700
+ _query_params.append(('name__startswith', name__startswith))
701
+
702
+ if offset is not None:
703
+
704
+ _query_params.append(('offset', offset))
705
+
706
+ if ordering is not None:
707
+
708
+ _query_params.append(('ordering', ordering))
709
+
710
+ if prn__in is not None:
711
+
712
+ _query_params.append(('prn__in', prn__in))
713
+
714
+ if pulp_href__in is not None:
715
+
716
+ _query_params.append(('pulp_href__in', pulp_href__in))
717
+
718
+ if pulp_id__in is not None:
719
+
720
+ _query_params.append(('pulp_id__in', pulp_id__in))
721
+
722
+ if pulp_label_select is not None:
723
+
724
+ _query_params.append(('pulp_label_select', pulp_label_select))
725
+
726
+ if q is not None:
727
+
728
+ _query_params.append(('q', q))
729
+
730
+ if repository is not None:
731
+
732
+ _query_params.append(('repository', repository))
733
+
734
+ if repository__in is not None:
735
+
736
+ _query_params.append(('repository__in', repository__in))
737
+
738
+ if with_content is not None:
739
+
740
+ _query_params.append(('with_content', with_content))
741
+
742
+ if fields is not None:
743
+
744
+ _query_params.append(('fields', fields))
745
+
746
+ if exclude_fields is not None:
747
+
748
+ _query_params.append(('exclude_fields', exclude_fields))
749
+
750
+ # process the header parameters
751
+ if x_task_diagnostics is not None:
752
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
753
+ # process the form parameters
754
+ # process the body parameter
755
+
756
+
757
+ # set the HTTP header `Accept`
758
+ if 'Accept' not in _header_params:
759
+ _header_params['Accept'] = self.api_client.select_header_accept(
760
+ [
761
+ 'application/json'
762
+ ]
763
+ )
764
+
765
+
766
+ # authentication setting
767
+ _auth_settings: List[str] = [
768
+ 'json_header_remote_authentication',
769
+ 'basicAuth',
770
+ 'cookieAuth'
771
+ ]
772
+
773
+ return self.api_client.param_serialize(
774
+ method='GET',
775
+ resource_path='/api/pulp/{pulp_domain}/api/v3/distributions/core/artifacts/',
776
+ path_params=_path_params,
777
+ query_params=_query_params,
778
+ header_params=_header_params,
779
+ body=_body_params,
780
+ post_params=_form_params,
781
+ files=_files,
782
+ auth_settings=_auth_settings,
783
+ collection_formats=_collection_formats,
784
+ _host=_host,
785
+ _request_auth=_request_auth
786
+ )
787
+
788
+
789
+
790
+
791
+ @validate_call
792
+ def read(
793
+ self,
794
+ artifact_distribution_href: StrictStr,
795
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
796
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
797
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
798
+ _request_timeout: Union[
799
+ None,
800
+ Annotated[StrictFloat, Field(gt=0)],
801
+ Tuple[
802
+ Annotated[StrictFloat, Field(gt=0)],
803
+ Annotated[StrictFloat, Field(gt=0)]
804
+ ]
805
+ ] = None,
806
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
807
+ _content_type: Optional[StrictStr] = None,
808
+ _headers: Optional[Dict[StrictStr, Any]] = None,
809
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
810
+ ) -> ArtifactDistributionResponse:
811
+ """Inspect an artifact distribution
812
+
813
+ ViewSet for ArtifactDistribution.
814
+
815
+ :param artifact_distribution_href: (required)
816
+ :type artifact_distribution_href: str
817
+ :param x_task_diagnostics: List of profilers to use on tasks.
818
+ :type x_task_diagnostics: List[str]
819
+ :param fields: A list of fields to include in the response.
820
+ :type fields: List[str]
821
+ :param exclude_fields: A list of fields to exclude from the response.
822
+ :type exclude_fields: List[str]
823
+ :param _request_timeout: timeout setting for this request. If one
824
+ number provided, it will be total request
825
+ timeout. It can also be a pair (tuple) of
826
+ (connection, read) timeouts.
827
+ :type _request_timeout: int, tuple(int, int), optional
828
+ :param _request_auth: set to override the auth_settings for an a single
829
+ request; this effectively ignores the
830
+ authentication in the spec for a single request.
831
+ :type _request_auth: dict, optional
832
+ :param _content_type: force content-type for the request.
833
+ :type _content_type: str, Optional
834
+ :param _headers: set to override the headers for a single
835
+ request; this effectively ignores the headers
836
+ in the spec for a single request.
837
+ :type _headers: dict, optional
838
+ :param _host_index: set to override the host_index for a single
839
+ request; this effectively ignores the host_index
840
+ in the spec for a single request.
841
+ :type _host_index: int, optional
842
+ :return: Returns the result object.
843
+ """ # noqa: E501
844
+
845
+ _param = self._read_serialize(
846
+ artifact_distribution_href=artifact_distribution_href,
847
+ x_task_diagnostics=x_task_diagnostics,
848
+ fields=fields,
849
+ exclude_fields=exclude_fields,
850
+ _request_auth=_request_auth,
851
+ _content_type=_content_type,
852
+ _headers=_headers,
853
+ _host_index=_host_index
854
+ )
855
+
856
+ _response_types_map: Dict[str, Optional[str]] = {
857
+ '200': "ArtifactDistributionResponse",
858
+ }
859
+ response_data = self.api_client.call_api(
860
+ *_param,
861
+ _request_timeout=_request_timeout
862
+ )
863
+ response_data.read()
864
+ return self.api_client.response_deserialize(
865
+ response_data=response_data,
866
+ response_types_map=_response_types_map,
867
+ ).data
868
+
869
+
870
+ @validate_call
871
+ def read_with_http_info(
872
+ self,
873
+ artifact_distribution_href: StrictStr,
874
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
875
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
876
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
877
+ _request_timeout: Union[
878
+ None,
879
+ Annotated[StrictFloat, Field(gt=0)],
880
+ Tuple[
881
+ Annotated[StrictFloat, Field(gt=0)],
882
+ Annotated[StrictFloat, Field(gt=0)]
883
+ ]
884
+ ] = None,
885
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
886
+ _content_type: Optional[StrictStr] = None,
887
+ _headers: Optional[Dict[StrictStr, Any]] = None,
888
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
889
+ ) -> ApiResponse[ArtifactDistributionResponse]:
890
+ """Inspect an artifact distribution
891
+
892
+ ViewSet for ArtifactDistribution.
893
+
894
+ :param artifact_distribution_href: (required)
895
+ :type artifact_distribution_href: str
896
+ :param x_task_diagnostics: List of profilers to use on tasks.
897
+ :type x_task_diagnostics: List[str]
898
+ :param fields: A list of fields to include in the response.
899
+ :type fields: List[str]
900
+ :param exclude_fields: A list of fields to exclude from the response.
901
+ :type exclude_fields: List[str]
902
+ :param _request_timeout: timeout setting for this request. If one
903
+ number provided, it will be total request
904
+ timeout. It can also be a pair (tuple) of
905
+ (connection, read) timeouts.
906
+ :type _request_timeout: int, tuple(int, int), optional
907
+ :param _request_auth: set to override the auth_settings for an a single
908
+ request; this effectively ignores the
909
+ authentication in the spec for a single request.
910
+ :type _request_auth: dict, optional
911
+ :param _content_type: force content-type for the request.
912
+ :type _content_type: str, Optional
913
+ :param _headers: set to override the headers for a single
914
+ request; this effectively ignores the headers
915
+ in the spec for a single request.
916
+ :type _headers: dict, optional
917
+ :param _host_index: set to override the host_index for a single
918
+ request; this effectively ignores the host_index
919
+ in the spec for a single request.
920
+ :type _host_index: int, optional
921
+ :return: Returns the result object.
922
+ """ # noqa: E501
923
+
924
+ _param = self._read_serialize(
925
+ artifact_distribution_href=artifact_distribution_href,
926
+ x_task_diagnostics=x_task_diagnostics,
927
+ fields=fields,
928
+ exclude_fields=exclude_fields,
929
+ _request_auth=_request_auth,
930
+ _content_type=_content_type,
931
+ _headers=_headers,
932
+ _host_index=_host_index
933
+ )
934
+
935
+ _response_types_map: Dict[str, Optional[str]] = {
936
+ '200': "ArtifactDistributionResponse",
937
+ }
938
+ response_data = self.api_client.call_api(
939
+ *_param,
940
+ _request_timeout=_request_timeout
941
+ )
942
+ response_data.read()
943
+ return self.api_client.response_deserialize(
944
+ response_data=response_data,
945
+ response_types_map=_response_types_map,
946
+ )
947
+
948
+
949
+ @validate_call
950
+ def read_without_preload_content(
951
+ self,
952
+ artifact_distribution_href: StrictStr,
953
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
954
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
955
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
956
+ _request_timeout: Union[
957
+ None,
958
+ Annotated[StrictFloat, Field(gt=0)],
959
+ Tuple[
960
+ Annotated[StrictFloat, Field(gt=0)],
961
+ Annotated[StrictFloat, Field(gt=0)]
962
+ ]
963
+ ] = None,
964
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
965
+ _content_type: Optional[StrictStr] = None,
966
+ _headers: Optional[Dict[StrictStr, Any]] = None,
967
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
968
+ ) -> RESTResponseType:
969
+ """Inspect an artifact distribution
970
+
971
+ ViewSet for ArtifactDistribution.
972
+
973
+ :param artifact_distribution_href: (required)
974
+ :type artifact_distribution_href: str
975
+ :param x_task_diagnostics: List of profilers to use on tasks.
976
+ :type x_task_diagnostics: List[str]
977
+ :param fields: A list of fields to include in the response.
978
+ :type fields: List[str]
979
+ :param exclude_fields: A list of fields to exclude from the response.
980
+ :type exclude_fields: List[str]
981
+ :param _request_timeout: timeout setting for this request. If one
982
+ number provided, it will be total request
983
+ timeout. It can also be a pair (tuple) of
984
+ (connection, read) timeouts.
985
+ :type _request_timeout: int, tuple(int, int), optional
986
+ :param _request_auth: set to override the auth_settings for an a single
987
+ request; this effectively ignores the
988
+ authentication in the spec for a single request.
989
+ :type _request_auth: dict, optional
990
+ :param _content_type: force content-type for the request.
991
+ :type _content_type: str, Optional
992
+ :param _headers: set to override the headers for a single
993
+ request; this effectively ignores the headers
994
+ in the spec for a single request.
995
+ :type _headers: dict, optional
996
+ :param _host_index: set to override the host_index for a single
997
+ request; this effectively ignores the host_index
998
+ in the spec for a single request.
999
+ :type _host_index: int, optional
1000
+ :return: Returns the result object.
1001
+ """ # noqa: E501
1002
+
1003
+ _param = self._read_serialize(
1004
+ artifact_distribution_href=artifact_distribution_href,
1005
+ x_task_diagnostics=x_task_diagnostics,
1006
+ fields=fields,
1007
+ exclude_fields=exclude_fields,
1008
+ _request_auth=_request_auth,
1009
+ _content_type=_content_type,
1010
+ _headers=_headers,
1011
+ _host_index=_host_index
1012
+ )
1013
+
1014
+ _response_types_map: Dict[str, Optional[str]] = {
1015
+ '200': "ArtifactDistributionResponse",
1016
+ }
1017
+ response_data = self.api_client.call_api(
1018
+ *_param,
1019
+ _request_timeout=_request_timeout
1020
+ )
1021
+ return response_data.response
1022
+
1023
+
1024
+ def _read_serialize(
1025
+ self,
1026
+ artifact_distribution_href,
1027
+ x_task_diagnostics,
1028
+ fields,
1029
+ exclude_fields,
1030
+ _request_auth,
1031
+ _content_type,
1032
+ _headers,
1033
+ _host_index,
1034
+ ) -> RequestSerialized:
1035
+
1036
+ _host = None
1037
+
1038
+ _collection_formats: Dict[str, str] = {
1039
+ 'X-Task-Diagnostics': 'csv',
1040
+ 'fields': 'multi',
1041
+ 'exclude_fields': 'multi',
1042
+ }
1043
+
1044
+ _path_params: Dict[str, str] = {}
1045
+ _query_params: List[Tuple[str, str]] = []
1046
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1047
+ _form_params: List[Tuple[str, str]] = []
1048
+ _files: Dict[
1049
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1050
+ ] = {}
1051
+ _body_params: Optional[bytes] = None
1052
+
1053
+ # process the path parameters
1054
+ if artifact_distribution_href is not None:
1055
+ _path_params['artifact_distribution_href'] = artifact_distribution_href
1056
+ # process the query parameters
1057
+ if fields is not None:
1058
+
1059
+ _query_params.append(('fields', fields))
1060
+
1061
+ if exclude_fields is not None:
1062
+
1063
+ _query_params.append(('exclude_fields', exclude_fields))
1064
+
1065
+ # process the header parameters
1066
+ if x_task_diagnostics is not None:
1067
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
1068
+ # process the form parameters
1069
+ # process the body parameter
1070
+
1071
+
1072
+ # set the HTTP header `Accept`
1073
+ if 'Accept' not in _header_params:
1074
+ _header_params['Accept'] = self.api_client.select_header_accept(
1075
+ [
1076
+ 'application/json'
1077
+ ]
1078
+ )
1079
+
1080
+
1081
+ # authentication setting
1082
+ _auth_settings: List[str] = [
1083
+ 'json_header_remote_authentication',
1084
+ 'basicAuth',
1085
+ 'cookieAuth'
1086
+ ]
1087
+
1088
+ return self.api_client.param_serialize(
1089
+ method='GET',
1090
+ resource_path='{artifact_distribution_href}',
1091
+ path_params=_path_params,
1092
+ query_params=_query_params,
1093
+ header_params=_header_params,
1094
+ body=_body_params,
1095
+ post_params=_form_params,
1096
+ files=_files,
1097
+ auth_settings=_auth_settings,
1098
+ collection_formats=_collection_formats,
1099
+ _host=_host,
1100
+ _request_auth=_request_auth
1101
+ )
1102
+
1103
+