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,972 @@
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, StrictInt, StrictStr
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
23
+ from crc-pulpcore-client.models.group_user import GroupUser
24
+ from crc-pulpcore-client.models.group_user_response import GroupUserResponse
25
+ from crc-pulpcore-client.models.paginated_group_user_response_list import PaginatedGroupUserResponseList
26
+
27
+ from crc-pulpcore-client.api_client import ApiClient, RequestSerialized
28
+ from crc-pulpcore-client.api_response import ApiResponse
29
+ from crc-pulpcore-client.rest import RESTResponseType
30
+
31
+
32
+ class GroupsUsersApi:
33
+ """NOTE: This class is auto generated by OpenAPI Generator
34
+ Ref: https://openapi-generator.tech
35
+
36
+ Do not edit the class manually.
37
+ """
38
+
39
+ def __init__(self, api_client=None) -> None:
40
+ if api_client is None:
41
+ api_client = ApiClient.get_default()
42
+ self.api_client = api_client
43
+
44
+
45
+ @validate_call
46
+ def create(
47
+ self,
48
+ group_href: StrictStr,
49
+ group_user: GroupUser,
50
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
51
+ _request_timeout: Union[
52
+ None,
53
+ Annotated[StrictFloat, Field(gt=0)],
54
+ Tuple[
55
+ Annotated[StrictFloat, Field(gt=0)],
56
+ Annotated[StrictFloat, Field(gt=0)]
57
+ ]
58
+ ] = None,
59
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
60
+ _content_type: Optional[StrictStr] = None,
61
+ _headers: Optional[Dict[StrictStr, Any]] = None,
62
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
63
+ ) -> GroupUserResponse:
64
+ """Create an user
65
+
66
+ Add a user to a group.
67
+
68
+ :param group_href: (required)
69
+ :type group_href: str
70
+ :param group_user: (required)
71
+ :type group_user: GroupUser
72
+ :param x_task_diagnostics: List of profilers to use on tasks.
73
+ :type x_task_diagnostics: List[str]
74
+ :param _request_timeout: timeout setting for this request. If one
75
+ number provided, it will be total request
76
+ timeout. It can also be a pair (tuple) of
77
+ (connection, read) timeouts.
78
+ :type _request_timeout: int, tuple(int, int), optional
79
+ :param _request_auth: set to override the auth_settings for an a single
80
+ request; this effectively ignores the
81
+ authentication in the spec for a single request.
82
+ :type _request_auth: dict, optional
83
+ :param _content_type: force content-type for the request.
84
+ :type _content_type: str, Optional
85
+ :param _headers: set to override the headers for a single
86
+ request; this effectively ignores the headers
87
+ in the spec for a single request.
88
+ :type _headers: dict, optional
89
+ :param _host_index: set to override the host_index for a single
90
+ request; this effectively ignores the host_index
91
+ in the spec for a single request.
92
+ :type _host_index: int, optional
93
+ :return: Returns the result object.
94
+ """ # noqa: E501
95
+
96
+ _param = self._create_serialize(
97
+ group_href=group_href,
98
+ group_user=group_user,
99
+ x_task_diagnostics=x_task_diagnostics,
100
+ _request_auth=_request_auth,
101
+ _content_type=_content_type,
102
+ _headers=_headers,
103
+ _host_index=_host_index
104
+ )
105
+
106
+ _response_types_map: Dict[str, Optional[str]] = {
107
+ '201': "GroupUserResponse",
108
+ }
109
+ response_data = self.api_client.call_api(
110
+ *_param,
111
+ _request_timeout=_request_timeout
112
+ )
113
+ response_data.read()
114
+ return self.api_client.response_deserialize(
115
+ response_data=response_data,
116
+ response_types_map=_response_types_map,
117
+ ).data
118
+
119
+
120
+ @validate_call
121
+ def create_with_http_info(
122
+ self,
123
+ group_href: StrictStr,
124
+ group_user: GroupUser,
125
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
126
+ _request_timeout: Union[
127
+ None,
128
+ Annotated[StrictFloat, Field(gt=0)],
129
+ Tuple[
130
+ Annotated[StrictFloat, Field(gt=0)],
131
+ Annotated[StrictFloat, Field(gt=0)]
132
+ ]
133
+ ] = None,
134
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
135
+ _content_type: Optional[StrictStr] = None,
136
+ _headers: Optional[Dict[StrictStr, Any]] = None,
137
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
138
+ ) -> ApiResponse[GroupUserResponse]:
139
+ """Create an user
140
+
141
+ Add a user to a group.
142
+
143
+ :param group_href: (required)
144
+ :type group_href: str
145
+ :param group_user: (required)
146
+ :type group_user: GroupUser
147
+ :param x_task_diagnostics: List of profilers to use on tasks.
148
+ :type x_task_diagnostics: List[str]
149
+ :param _request_timeout: timeout setting for this request. If one
150
+ number provided, it will be total request
151
+ timeout. It can also be a pair (tuple) of
152
+ (connection, read) timeouts.
153
+ :type _request_timeout: int, tuple(int, int), optional
154
+ :param _request_auth: set to override the auth_settings for an a single
155
+ request; this effectively ignores the
156
+ authentication in the spec for a single request.
157
+ :type _request_auth: dict, optional
158
+ :param _content_type: force content-type for the request.
159
+ :type _content_type: str, Optional
160
+ :param _headers: set to override the headers for a single
161
+ request; this effectively ignores the headers
162
+ in the spec for a single request.
163
+ :type _headers: dict, optional
164
+ :param _host_index: set to override the host_index for a single
165
+ request; this effectively ignores the host_index
166
+ in the spec for a single request.
167
+ :type _host_index: int, optional
168
+ :return: Returns the result object.
169
+ """ # noqa: E501
170
+
171
+ _param = self._create_serialize(
172
+ group_href=group_href,
173
+ group_user=group_user,
174
+ x_task_diagnostics=x_task_diagnostics,
175
+ _request_auth=_request_auth,
176
+ _content_type=_content_type,
177
+ _headers=_headers,
178
+ _host_index=_host_index
179
+ )
180
+
181
+ _response_types_map: Dict[str, Optional[str]] = {
182
+ '201': "GroupUserResponse",
183
+ }
184
+ response_data = self.api_client.call_api(
185
+ *_param,
186
+ _request_timeout=_request_timeout
187
+ )
188
+ response_data.read()
189
+ return self.api_client.response_deserialize(
190
+ response_data=response_data,
191
+ response_types_map=_response_types_map,
192
+ )
193
+
194
+
195
+ @validate_call
196
+ def create_without_preload_content(
197
+ self,
198
+ group_href: StrictStr,
199
+ group_user: GroupUser,
200
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
201
+ _request_timeout: Union[
202
+ None,
203
+ Annotated[StrictFloat, Field(gt=0)],
204
+ Tuple[
205
+ Annotated[StrictFloat, Field(gt=0)],
206
+ Annotated[StrictFloat, Field(gt=0)]
207
+ ]
208
+ ] = None,
209
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
210
+ _content_type: Optional[StrictStr] = None,
211
+ _headers: Optional[Dict[StrictStr, Any]] = None,
212
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
213
+ ) -> RESTResponseType:
214
+ """Create an user
215
+
216
+ Add a user to a group.
217
+
218
+ :param group_href: (required)
219
+ :type group_href: str
220
+ :param group_user: (required)
221
+ :type group_user: GroupUser
222
+ :param x_task_diagnostics: List of profilers to use on tasks.
223
+ :type x_task_diagnostics: List[str]
224
+ :param _request_timeout: timeout setting for this request. If one
225
+ number provided, it will be total request
226
+ timeout. It can also be a pair (tuple) of
227
+ (connection, read) timeouts.
228
+ :type _request_timeout: int, tuple(int, int), optional
229
+ :param _request_auth: set to override the auth_settings for an a single
230
+ request; this effectively ignores the
231
+ authentication in the spec for a single request.
232
+ :type _request_auth: dict, optional
233
+ :param _content_type: force content-type for the request.
234
+ :type _content_type: str, Optional
235
+ :param _headers: set to override the headers for a single
236
+ request; this effectively ignores the headers
237
+ in the spec for a single request.
238
+ :type _headers: dict, optional
239
+ :param _host_index: set to override the host_index for a single
240
+ request; this effectively ignores the host_index
241
+ in the spec for a single request.
242
+ :type _host_index: int, optional
243
+ :return: Returns the result object.
244
+ """ # noqa: E501
245
+
246
+ _param = self._create_serialize(
247
+ group_href=group_href,
248
+ group_user=group_user,
249
+ x_task_diagnostics=x_task_diagnostics,
250
+ _request_auth=_request_auth,
251
+ _content_type=_content_type,
252
+ _headers=_headers,
253
+ _host_index=_host_index
254
+ )
255
+
256
+ _response_types_map: Dict[str, Optional[str]] = {
257
+ '201': "GroupUserResponse",
258
+ }
259
+ response_data = self.api_client.call_api(
260
+ *_param,
261
+ _request_timeout=_request_timeout
262
+ )
263
+ return response_data.response
264
+
265
+
266
+ def _create_serialize(
267
+ self,
268
+ group_href,
269
+ group_user,
270
+ x_task_diagnostics,
271
+ _request_auth,
272
+ _content_type,
273
+ _headers,
274
+ _host_index,
275
+ ) -> RequestSerialized:
276
+
277
+ _host = None
278
+
279
+ _collection_formats: Dict[str, str] = {
280
+ 'X-Task-Diagnostics': 'csv',
281
+ }
282
+
283
+ _path_params: Dict[str, str] = {}
284
+ _query_params: List[Tuple[str, str]] = []
285
+ _header_params: Dict[str, Optional[str]] = _headers or {}
286
+ _form_params: List[Tuple[str, str]] = []
287
+ _files: Dict[
288
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
289
+ ] = {}
290
+ _body_params: Optional[bytes] = None
291
+
292
+ # process the path parameters
293
+ if group_href is not None:
294
+ _path_params['group_href'] = group_href
295
+ # process the query parameters
296
+ # process the header parameters
297
+ if x_task_diagnostics is not None:
298
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
299
+ # process the form parameters
300
+ # process the body parameter
301
+ if group_user is not None:
302
+ _body_params = group_user
303
+
304
+
305
+ # set the HTTP header `Accept`
306
+ if 'Accept' not in _header_params:
307
+ _header_params['Accept'] = self.api_client.select_header_accept(
308
+ [
309
+ 'application/json'
310
+ ]
311
+ )
312
+
313
+ # set the HTTP header `Content-Type`
314
+ if _content_type:
315
+ _header_params['Content-Type'] = _content_type
316
+ else:
317
+ _default_content_type = (
318
+ self.api_client.select_header_content_type(
319
+ [
320
+ 'application/json',
321
+ 'application/x-www-form-urlencoded',
322
+ 'multipart/form-data'
323
+ ]
324
+ )
325
+ )
326
+ if _default_content_type is not None:
327
+ _header_params['Content-Type'] = _default_content_type
328
+
329
+ # authentication setting
330
+ _auth_settings: List[str] = [
331
+ 'json_header_remote_authentication',
332
+ 'basicAuth',
333
+ 'cookieAuth'
334
+ ]
335
+
336
+ return self.api_client.param_serialize(
337
+ method='POST',
338
+ resource_path='{group_href}users/',
339
+ path_params=_path_params,
340
+ query_params=_query_params,
341
+ header_params=_header_params,
342
+ body=_body_params,
343
+ post_params=_form_params,
344
+ files=_files,
345
+ auth_settings=_auth_settings,
346
+ collection_formats=_collection_formats,
347
+ _host=_host,
348
+ _request_auth=_request_auth
349
+ )
350
+
351
+
352
+
353
+
354
+ @validate_call
355
+ def delete(
356
+ self,
357
+ groups_user_href: StrictStr,
358
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
359
+ _request_timeout: Union[
360
+ None,
361
+ Annotated[StrictFloat, Field(gt=0)],
362
+ Tuple[
363
+ Annotated[StrictFloat, Field(gt=0)],
364
+ Annotated[StrictFloat, Field(gt=0)]
365
+ ]
366
+ ] = None,
367
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
368
+ _content_type: Optional[StrictStr] = None,
369
+ _headers: Optional[Dict[StrictStr, Any]] = None,
370
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
371
+ ) -> None:
372
+ """Delete an user
373
+
374
+ Remove a user from a group.
375
+
376
+ :param groups_user_href: (required)
377
+ :type groups_user_href: str
378
+ :param x_task_diagnostics: List of profilers to use on tasks.
379
+ :type x_task_diagnostics: List[str]
380
+ :param _request_timeout: timeout setting for this request. If one
381
+ number provided, it will be total request
382
+ timeout. It can also be a pair (tuple) of
383
+ (connection, read) timeouts.
384
+ :type _request_timeout: int, tuple(int, int), optional
385
+ :param _request_auth: set to override the auth_settings for an a single
386
+ request; this effectively ignores the
387
+ authentication in the spec for a single request.
388
+ :type _request_auth: dict, optional
389
+ :param _content_type: force content-type for the request.
390
+ :type _content_type: str, Optional
391
+ :param _headers: set to override the headers for a single
392
+ request; this effectively ignores the headers
393
+ in the spec for a single request.
394
+ :type _headers: dict, optional
395
+ :param _host_index: set to override the host_index for a single
396
+ request; this effectively ignores the host_index
397
+ in the spec for a single request.
398
+ :type _host_index: int, optional
399
+ :return: Returns the result object.
400
+ """ # noqa: E501
401
+
402
+ _param = self._delete_serialize(
403
+ groups_user_href=groups_user_href,
404
+ x_task_diagnostics=x_task_diagnostics,
405
+ _request_auth=_request_auth,
406
+ _content_type=_content_type,
407
+ _headers=_headers,
408
+ _host_index=_host_index
409
+ )
410
+
411
+ _response_types_map: Dict[str, Optional[str]] = {
412
+ '204': None,
413
+ }
414
+ response_data = self.api_client.call_api(
415
+ *_param,
416
+ _request_timeout=_request_timeout
417
+ )
418
+ response_data.read()
419
+ return self.api_client.response_deserialize(
420
+ response_data=response_data,
421
+ response_types_map=_response_types_map,
422
+ ).data
423
+
424
+
425
+ @validate_call
426
+ def delete_with_http_info(
427
+ self,
428
+ groups_user_href: StrictStr,
429
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
430
+ _request_timeout: Union[
431
+ None,
432
+ Annotated[StrictFloat, Field(gt=0)],
433
+ Tuple[
434
+ Annotated[StrictFloat, Field(gt=0)],
435
+ Annotated[StrictFloat, Field(gt=0)]
436
+ ]
437
+ ] = None,
438
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
439
+ _content_type: Optional[StrictStr] = None,
440
+ _headers: Optional[Dict[StrictStr, Any]] = None,
441
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
442
+ ) -> ApiResponse[None]:
443
+ """Delete an user
444
+
445
+ Remove a user from a group.
446
+
447
+ :param groups_user_href: (required)
448
+ :type groups_user_href: str
449
+ :param x_task_diagnostics: List of profilers to use on tasks.
450
+ :type x_task_diagnostics: List[str]
451
+ :param _request_timeout: timeout setting for this request. If one
452
+ number provided, it will be total request
453
+ timeout. It can also be a pair (tuple) of
454
+ (connection, read) timeouts.
455
+ :type _request_timeout: int, tuple(int, int), optional
456
+ :param _request_auth: set to override the auth_settings for an a single
457
+ request; this effectively ignores the
458
+ authentication in the spec for a single request.
459
+ :type _request_auth: dict, optional
460
+ :param _content_type: force content-type for the request.
461
+ :type _content_type: str, Optional
462
+ :param _headers: set to override the headers for a single
463
+ request; this effectively ignores the headers
464
+ in the spec for a single request.
465
+ :type _headers: dict, optional
466
+ :param _host_index: set to override the host_index for a single
467
+ request; this effectively ignores the host_index
468
+ in the spec for a single request.
469
+ :type _host_index: int, optional
470
+ :return: Returns the result object.
471
+ """ # noqa: E501
472
+
473
+ _param = self._delete_serialize(
474
+ groups_user_href=groups_user_href,
475
+ x_task_diagnostics=x_task_diagnostics,
476
+ _request_auth=_request_auth,
477
+ _content_type=_content_type,
478
+ _headers=_headers,
479
+ _host_index=_host_index
480
+ )
481
+
482
+ _response_types_map: Dict[str, Optional[str]] = {
483
+ '204': None,
484
+ }
485
+ response_data = self.api_client.call_api(
486
+ *_param,
487
+ _request_timeout=_request_timeout
488
+ )
489
+ response_data.read()
490
+ return self.api_client.response_deserialize(
491
+ response_data=response_data,
492
+ response_types_map=_response_types_map,
493
+ )
494
+
495
+
496
+ @validate_call
497
+ def delete_without_preload_content(
498
+ self,
499
+ groups_user_href: StrictStr,
500
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
501
+ _request_timeout: Union[
502
+ None,
503
+ Annotated[StrictFloat, Field(gt=0)],
504
+ Tuple[
505
+ Annotated[StrictFloat, Field(gt=0)],
506
+ Annotated[StrictFloat, Field(gt=0)]
507
+ ]
508
+ ] = None,
509
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
510
+ _content_type: Optional[StrictStr] = None,
511
+ _headers: Optional[Dict[StrictStr, Any]] = None,
512
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
513
+ ) -> RESTResponseType:
514
+ """Delete an user
515
+
516
+ Remove a user from a group.
517
+
518
+ :param groups_user_href: (required)
519
+ :type groups_user_href: str
520
+ :param x_task_diagnostics: List of profilers to use on tasks.
521
+ :type x_task_diagnostics: List[str]
522
+ :param _request_timeout: timeout setting for this request. If one
523
+ number provided, it will be total request
524
+ timeout. It can also be a pair (tuple) of
525
+ (connection, read) timeouts.
526
+ :type _request_timeout: int, tuple(int, int), optional
527
+ :param _request_auth: set to override the auth_settings for an a single
528
+ request; this effectively ignores the
529
+ authentication in the spec for a single request.
530
+ :type _request_auth: dict, optional
531
+ :param _content_type: force content-type for the request.
532
+ :type _content_type: str, Optional
533
+ :param _headers: set to override the headers for a single
534
+ request; this effectively ignores the headers
535
+ in the spec for a single request.
536
+ :type _headers: dict, optional
537
+ :param _host_index: set to override the host_index for a single
538
+ request; this effectively ignores the host_index
539
+ in the spec for a single request.
540
+ :type _host_index: int, optional
541
+ :return: Returns the result object.
542
+ """ # noqa: E501
543
+
544
+ _param = self._delete_serialize(
545
+ groups_user_href=groups_user_href,
546
+ x_task_diagnostics=x_task_diagnostics,
547
+ _request_auth=_request_auth,
548
+ _content_type=_content_type,
549
+ _headers=_headers,
550
+ _host_index=_host_index
551
+ )
552
+
553
+ _response_types_map: Dict[str, Optional[str]] = {
554
+ '204': None,
555
+ }
556
+ response_data = self.api_client.call_api(
557
+ *_param,
558
+ _request_timeout=_request_timeout
559
+ )
560
+ return response_data.response
561
+
562
+
563
+ def _delete_serialize(
564
+ self,
565
+ groups_user_href,
566
+ x_task_diagnostics,
567
+ _request_auth,
568
+ _content_type,
569
+ _headers,
570
+ _host_index,
571
+ ) -> RequestSerialized:
572
+
573
+ _host = None
574
+
575
+ _collection_formats: Dict[str, str] = {
576
+ 'X-Task-Diagnostics': 'csv',
577
+ }
578
+
579
+ _path_params: Dict[str, str] = {}
580
+ _query_params: List[Tuple[str, str]] = []
581
+ _header_params: Dict[str, Optional[str]] = _headers or {}
582
+ _form_params: List[Tuple[str, str]] = []
583
+ _files: Dict[
584
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
585
+ ] = {}
586
+ _body_params: Optional[bytes] = None
587
+
588
+ # process the path parameters
589
+ if groups_user_href is not None:
590
+ _path_params['groups_user_href'] = groups_user_href
591
+ # process the query parameters
592
+ # process the header parameters
593
+ if x_task_diagnostics is not None:
594
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
595
+ # process the form parameters
596
+ # process the body parameter
597
+
598
+
599
+
600
+
601
+ # authentication setting
602
+ _auth_settings: List[str] = [
603
+ 'json_header_remote_authentication',
604
+ 'basicAuth',
605
+ 'cookieAuth'
606
+ ]
607
+
608
+ return self.api_client.param_serialize(
609
+ method='DELETE',
610
+ resource_path='{groups_user_href}',
611
+ path_params=_path_params,
612
+ query_params=_query_params,
613
+ header_params=_header_params,
614
+ body=_body_params,
615
+ post_params=_form_params,
616
+ files=_files,
617
+ auth_settings=_auth_settings,
618
+ collection_formats=_collection_formats,
619
+ _host=_host,
620
+ _request_auth=_request_auth
621
+ )
622
+
623
+
624
+
625
+
626
+ @validate_call
627
+ def list(
628
+ self,
629
+ group_href: StrictStr,
630
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
631
+ limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
632
+ offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
633
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
634
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
635
+ _request_timeout: Union[
636
+ None,
637
+ Annotated[StrictFloat, Field(gt=0)],
638
+ Tuple[
639
+ Annotated[StrictFloat, Field(gt=0)],
640
+ Annotated[StrictFloat, Field(gt=0)]
641
+ ]
642
+ ] = None,
643
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
644
+ _content_type: Optional[StrictStr] = None,
645
+ _headers: Optional[Dict[StrictStr, Any]] = None,
646
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
647
+ ) -> PaginatedGroupUserResponseList:
648
+ """List users
649
+
650
+ List group users.
651
+
652
+ :param group_href: (required)
653
+ :type group_href: str
654
+ :param x_task_diagnostics: List of profilers to use on tasks.
655
+ :type x_task_diagnostics: List[str]
656
+ :param limit: Number of results to return per page.
657
+ :type limit: int
658
+ :param offset: The initial index from which to return the results.
659
+ :type offset: int
660
+ :param fields: A list of fields to include in the response.
661
+ :type fields: List[str]
662
+ :param exclude_fields: A list of fields to exclude from the response.
663
+ :type exclude_fields: List[str]
664
+ :param _request_timeout: timeout setting for this request. If one
665
+ number provided, it will be total request
666
+ timeout. It can also be a pair (tuple) of
667
+ (connection, read) timeouts.
668
+ :type _request_timeout: int, tuple(int, int), optional
669
+ :param _request_auth: set to override the auth_settings for an a single
670
+ request; this effectively ignores the
671
+ authentication in the spec for a single request.
672
+ :type _request_auth: dict, optional
673
+ :param _content_type: force content-type for the request.
674
+ :type _content_type: str, Optional
675
+ :param _headers: set to override the headers for a single
676
+ request; this effectively ignores the headers
677
+ in the spec for a single request.
678
+ :type _headers: dict, optional
679
+ :param _host_index: set to override the host_index for a single
680
+ request; this effectively ignores the host_index
681
+ in the spec for a single request.
682
+ :type _host_index: int, optional
683
+ :return: Returns the result object.
684
+ """ # noqa: E501
685
+
686
+ _param = self._list_serialize(
687
+ group_href=group_href,
688
+ x_task_diagnostics=x_task_diagnostics,
689
+ limit=limit,
690
+ offset=offset,
691
+ fields=fields,
692
+ exclude_fields=exclude_fields,
693
+ _request_auth=_request_auth,
694
+ _content_type=_content_type,
695
+ _headers=_headers,
696
+ _host_index=_host_index
697
+ )
698
+
699
+ _response_types_map: Dict[str, Optional[str]] = {
700
+ '200': "PaginatedGroupUserResponseList",
701
+ }
702
+ response_data = self.api_client.call_api(
703
+ *_param,
704
+ _request_timeout=_request_timeout
705
+ )
706
+ response_data.read()
707
+ return self.api_client.response_deserialize(
708
+ response_data=response_data,
709
+ response_types_map=_response_types_map,
710
+ ).data
711
+
712
+
713
+ @validate_call
714
+ def list_with_http_info(
715
+ self,
716
+ group_href: StrictStr,
717
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
718
+ limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
719
+ offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
720
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
721
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
722
+ _request_timeout: Union[
723
+ None,
724
+ Annotated[StrictFloat, Field(gt=0)],
725
+ Tuple[
726
+ Annotated[StrictFloat, Field(gt=0)],
727
+ Annotated[StrictFloat, Field(gt=0)]
728
+ ]
729
+ ] = None,
730
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
731
+ _content_type: Optional[StrictStr] = None,
732
+ _headers: Optional[Dict[StrictStr, Any]] = None,
733
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
734
+ ) -> ApiResponse[PaginatedGroupUserResponseList]:
735
+ """List users
736
+
737
+ List group users.
738
+
739
+ :param group_href: (required)
740
+ :type group_href: str
741
+ :param x_task_diagnostics: List of profilers to use on tasks.
742
+ :type x_task_diagnostics: List[str]
743
+ :param limit: Number of results to return per page.
744
+ :type limit: int
745
+ :param offset: The initial index from which to return the results.
746
+ :type offset: int
747
+ :param fields: A list of fields to include in the response.
748
+ :type fields: List[str]
749
+ :param exclude_fields: A list of fields to exclude from the response.
750
+ :type exclude_fields: List[str]
751
+ :param _request_timeout: timeout setting for this request. If one
752
+ number provided, it will be total request
753
+ timeout. It can also be a pair (tuple) of
754
+ (connection, read) timeouts.
755
+ :type _request_timeout: int, tuple(int, int), optional
756
+ :param _request_auth: set to override the auth_settings for an a single
757
+ request; this effectively ignores the
758
+ authentication in the spec for a single request.
759
+ :type _request_auth: dict, optional
760
+ :param _content_type: force content-type for the request.
761
+ :type _content_type: str, Optional
762
+ :param _headers: set to override the headers for a single
763
+ request; this effectively ignores the headers
764
+ in the spec for a single request.
765
+ :type _headers: dict, optional
766
+ :param _host_index: set to override the host_index for a single
767
+ request; this effectively ignores the host_index
768
+ in the spec for a single request.
769
+ :type _host_index: int, optional
770
+ :return: Returns the result object.
771
+ """ # noqa: E501
772
+
773
+ _param = self._list_serialize(
774
+ group_href=group_href,
775
+ x_task_diagnostics=x_task_diagnostics,
776
+ limit=limit,
777
+ offset=offset,
778
+ fields=fields,
779
+ exclude_fields=exclude_fields,
780
+ _request_auth=_request_auth,
781
+ _content_type=_content_type,
782
+ _headers=_headers,
783
+ _host_index=_host_index
784
+ )
785
+
786
+ _response_types_map: Dict[str, Optional[str]] = {
787
+ '200': "PaginatedGroupUserResponseList",
788
+ }
789
+ response_data = self.api_client.call_api(
790
+ *_param,
791
+ _request_timeout=_request_timeout
792
+ )
793
+ response_data.read()
794
+ return self.api_client.response_deserialize(
795
+ response_data=response_data,
796
+ response_types_map=_response_types_map,
797
+ )
798
+
799
+
800
+ @validate_call
801
+ def list_without_preload_content(
802
+ self,
803
+ group_href: StrictStr,
804
+ x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
805
+ limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
806
+ offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
807
+ fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
808
+ exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
809
+ _request_timeout: Union[
810
+ None,
811
+ Annotated[StrictFloat, Field(gt=0)],
812
+ Tuple[
813
+ Annotated[StrictFloat, Field(gt=0)],
814
+ Annotated[StrictFloat, Field(gt=0)]
815
+ ]
816
+ ] = None,
817
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
818
+ _content_type: Optional[StrictStr] = None,
819
+ _headers: Optional[Dict[StrictStr, Any]] = None,
820
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
821
+ ) -> RESTResponseType:
822
+ """List users
823
+
824
+ List group users.
825
+
826
+ :param group_href: (required)
827
+ :type group_href: str
828
+ :param x_task_diagnostics: List of profilers to use on tasks.
829
+ :type x_task_diagnostics: List[str]
830
+ :param limit: Number of results to return per page.
831
+ :type limit: int
832
+ :param offset: The initial index from which to return the results.
833
+ :type offset: int
834
+ :param fields: A list of fields to include in the response.
835
+ :type fields: List[str]
836
+ :param exclude_fields: A list of fields to exclude from the response.
837
+ :type exclude_fields: List[str]
838
+ :param _request_timeout: timeout setting for this request. If one
839
+ number provided, it will be total request
840
+ timeout. It can also be a pair (tuple) of
841
+ (connection, read) timeouts.
842
+ :type _request_timeout: int, tuple(int, int), optional
843
+ :param _request_auth: set to override the auth_settings for an a single
844
+ request; this effectively ignores the
845
+ authentication in the spec for a single request.
846
+ :type _request_auth: dict, optional
847
+ :param _content_type: force content-type for the request.
848
+ :type _content_type: str, Optional
849
+ :param _headers: set to override the headers for a single
850
+ request; this effectively ignores the headers
851
+ in the spec for a single request.
852
+ :type _headers: dict, optional
853
+ :param _host_index: set to override the host_index for a single
854
+ request; this effectively ignores the host_index
855
+ in the spec for a single request.
856
+ :type _host_index: int, optional
857
+ :return: Returns the result object.
858
+ """ # noqa: E501
859
+
860
+ _param = self._list_serialize(
861
+ group_href=group_href,
862
+ x_task_diagnostics=x_task_diagnostics,
863
+ limit=limit,
864
+ offset=offset,
865
+ fields=fields,
866
+ exclude_fields=exclude_fields,
867
+ _request_auth=_request_auth,
868
+ _content_type=_content_type,
869
+ _headers=_headers,
870
+ _host_index=_host_index
871
+ )
872
+
873
+ _response_types_map: Dict[str, Optional[str]] = {
874
+ '200': "PaginatedGroupUserResponseList",
875
+ }
876
+ response_data = self.api_client.call_api(
877
+ *_param,
878
+ _request_timeout=_request_timeout
879
+ )
880
+ return response_data.response
881
+
882
+
883
+ def _list_serialize(
884
+ self,
885
+ group_href,
886
+ x_task_diagnostics,
887
+ limit,
888
+ offset,
889
+ fields,
890
+ exclude_fields,
891
+ _request_auth,
892
+ _content_type,
893
+ _headers,
894
+ _host_index,
895
+ ) -> RequestSerialized:
896
+
897
+ _host = None
898
+
899
+ _collection_formats: Dict[str, str] = {
900
+ 'X-Task-Diagnostics': 'csv',
901
+ 'fields': 'multi',
902
+ 'exclude_fields': 'multi',
903
+ }
904
+
905
+ _path_params: Dict[str, str] = {}
906
+ _query_params: List[Tuple[str, str]] = []
907
+ _header_params: Dict[str, Optional[str]] = _headers or {}
908
+ _form_params: List[Tuple[str, str]] = []
909
+ _files: Dict[
910
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
911
+ ] = {}
912
+ _body_params: Optional[bytes] = None
913
+
914
+ # process the path parameters
915
+ if group_href is not None:
916
+ _path_params['group_href'] = group_href
917
+ # process the query parameters
918
+ if limit is not None:
919
+
920
+ _query_params.append(('limit', limit))
921
+
922
+ if offset is not None:
923
+
924
+ _query_params.append(('offset', offset))
925
+
926
+ if fields is not None:
927
+
928
+ _query_params.append(('fields', fields))
929
+
930
+ if exclude_fields is not None:
931
+
932
+ _query_params.append(('exclude_fields', exclude_fields))
933
+
934
+ # process the header parameters
935
+ if x_task_diagnostics is not None:
936
+ _header_params['X-Task-Diagnostics'] = x_task_diagnostics
937
+ # process the form parameters
938
+ # process the body parameter
939
+
940
+
941
+ # set the HTTP header `Accept`
942
+ if 'Accept' not in _header_params:
943
+ _header_params['Accept'] = self.api_client.select_header_accept(
944
+ [
945
+ 'application/json'
946
+ ]
947
+ )
948
+
949
+
950
+ # authentication setting
951
+ _auth_settings: List[str] = [
952
+ 'json_header_remote_authentication',
953
+ 'basicAuth',
954
+ 'cookieAuth'
955
+ ]
956
+
957
+ return self.api_client.param_serialize(
958
+ method='GET',
959
+ resource_path='{group_href}users/',
960
+ path_params=_path_params,
961
+ query_params=_query_params,
962
+ header_params=_header_params,
963
+ body=_body_params,
964
+ post_params=_form_params,
965
+ files=_files,
966
+ auth_settings=_auth_settings,
967
+ collection_formats=_collection_formats,
968
+ _host=_host,
969
+ _request_auth=_request_auth
970
+ )
971
+
972
+