waldur-api-client 7.7.7__py3-none-any.whl → 7.7.8__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 waldur-api-client might be problematic. Click here for more details.

Files changed (131) hide show
  1. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_count.py +19 -0
  2. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +19 -0
  3. waldur_api_client/api/customers/customers_users_list.py +141 -53
  4. waldur_api_client/api/invoices/invoices_items_retrieve.py +20 -0
  5. waldur_api_client/api/managed_rancher_cluster_resources/__init__.py +1 -0
  6. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_add_node.py +162 -0
  7. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_count.py +172 -0
  8. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_list.py +196 -0
  9. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_retrieve.py +171 -0
  10. waldur_api_client/api/marketplace_course_accounts/__init__.py +1 -0
  11. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +244 -0
  12. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create.py +148 -0
  13. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create_bulk.py +152 -0
  14. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_destroy.py +89 -0
  15. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +245 -0
  16. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_retrieve.py +140 -0
  17. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_count.py +25 -0
  18. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +25 -0
  19. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_count.py +25 -0
  20. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +25 -0
  21. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +284 -0
  22. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +29 -0
  23. waldur_api_client/api/project_permissions_reviews/__init__.py +1 -0
  24. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_close.py +91 -0
  25. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_count.py +266 -0
  26. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_list.py +269 -0
  27. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_retrieve.py +142 -0
  28. waldur_api_client/api/projects/projects_other_users_list.py +98 -23
  29. waldur_api_client/api/projects/projects_sync_user_roles.py +10 -9
  30. waldur_api_client/api/support_issue_statuses/__init__.py +1 -0
  31. waldur_api_client/api/support_issue_statuses/support_issue_statuses_count.py +172 -0
  32. waldur_api_client/api/support_issue_statuses/support_issue_statuses_create.py +148 -0
  33. waldur_api_client/api/support_issue_statuses/support_issue_statuses_destroy.py +89 -0
  34. waldur_api_client/api/support_issue_statuses/support_issue_statuses_list.py +173 -0
  35. waldur_api_client/api/support_issue_statuses/support_issue_statuses_partial_update.py +162 -0
  36. waldur_api_client/api/support_issue_statuses/support_issue_statuses_retrieve.py +140 -0
  37. waldur_api_client/api/support_issue_statuses/support_issue_statuses_update.py +162 -0
  38. waldur_api_client/api/user_group_invitations/user_group_invitations_submit_request.py +12 -12
  39. waldur_api_client/api/user_invitations/user_invitations_count.py +30 -0
  40. waldur_api_client/api/user_invitations/user_invitations_list.py +30 -0
  41. waldur_api_client/api/user_permission_requests/user_permission_requests_cancel_request.py +146 -0
  42. waldur_api_client/models/__init__.py +76 -4
  43. waldur_api_client/models/cancel_request_response.py +75 -0
  44. waldur_api_client/models/constance_settings.py +9 -0
  45. waldur_api_client/models/constance_settings_request.py +9 -0
  46. waldur_api_client/models/course_account.py +188 -0
  47. waldur_api_client/models/course_account_create_nested.py +68 -0
  48. waldur_api_client/models/course_account_create_nested_request.py +68 -0
  49. waldur_api_client/models/course_account_request.py +89 -0
  50. waldur_api_client/models/course_accounts_bulk_create.py +82 -0
  51. waldur_api_client/models/course_accounts_bulk_create_request.py +82 -0
  52. waldur_api_client/models/customer.py +9 -0
  53. waldur_api_client/models/customer_permission_review.py +16 -16
  54. waldur_api_client/models/customer_request.py +9 -0
  55. waldur_api_client/models/customer_service_account.py +9 -0
  56. waldur_api_client/models/customers_list_field_item.py +1 -0
  57. waldur_api_client/models/customers_retrieve_field_item.py +1 -0
  58. waldur_api_client/models/customers_users_list_o.py +9 -0
  59. waldur_api_client/models/customers_users_list_organization_role_item_type_0.py +10 -0
  60. waldur_api_client/models/customers_users_list_project_role_item_type_0.py +10 -0
  61. waldur_api_client/models/dependency_logic_operator_enum.py +9 -0
  62. waldur_api_client/models/event_subscription.py +1 -1
  63. waldur_api_client/models/event_types_enum.py +4 -0
  64. waldur_api_client/models/group_invitation.py +9 -0
  65. waldur_api_client/models/invitation.py +9 -0
  66. waldur_api_client/models/invoices_items_retrieve_o.py +15 -0
  67. waldur_api_client/models/issue_status.py +103 -0
  68. waldur_api_client/models/issue_status_request.py +78 -0
  69. waldur_api_client/models/issue_status_type_enum.py +9 -0
  70. waldur_api_client/models/kind_enum.py +10 -0
  71. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +82 -0
  72. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +82 -0
  73. waldur_api_client/models/managed_rancher_create_node_request.py +186 -0
  74. waldur_api_client/models/marketplace_course_accounts_count_state_item.py +10 -0
  75. waldur_api_client/models/marketplace_course_accounts_list_state_item.py +10 -0
  76. waldur_api_client/models/marketplace_customer_service_accounts_count_state_item.py +10 -0
  77. waldur_api_client/models/marketplace_customer_service_accounts_list_state_item.py +10 -0
  78. waldur_api_client/models/marketplace_project_service_accounts_count_state_item.py +10 -0
  79. waldur_api_client/models/marketplace_project_service_accounts_list_state_item.py +10 -0
  80. waldur_api_client/models/marketplace_service_providers_course_accounts_list_state_item.py +10 -0
  81. waldur_api_client/models/marketplace_service_providers_project_service_accounts_list_state_item.py +10 -0
  82. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
  83. waldur_api_client/models/nested_security_group_rule.py +223 -0
  84. waldur_api_client/models/{open_stack_nested_security_group_rules_item.py → nested_security_group_rule_request.py} +67 -76
  85. waldur_api_client/models/open_stack_backup_restoration_request.py +0 -22
  86. waldur_api_client/models/open_stack_fixed_ip.py +13 -3
  87. waldur_api_client/models/open_stack_fixed_ip_request.py +7 -2
  88. waldur_api_client/models/open_stack_instance_create_order_attributes.py +20 -20
  89. waldur_api_client/models/open_stack_nested_security_group.py +16 -16
  90. waldur_api_client/models/open_stack_port_ip_update_request.py +6 -2
  91. waldur_api_client/models/open_stack_static_route.py +13 -4
  92. waldur_api_client/models/open_stack_static_route_request.py +7 -3
  93. waldur_api_client/models/open_stack_sub_net.py +15 -2
  94. waldur_api_client/models/open_stack_sub_net_allocation_pool.py +27 -8
  95. waldur_api_client/models/open_stack_sub_net_allocation_pool_request.py +14 -5
  96. waldur_api_client/models/open_stack_sub_net_request.py +15 -2
  97. waldur_api_client/models/patched_customer_request.py +9 -0
  98. waldur_api_client/models/patched_issue_status_request.py +76 -0
  99. waldur_api_client/models/patched_open_stack_sub_net_request.py +15 -2
  100. waldur_api_client/models/patched_project_request.py +17 -0
  101. waldur_api_client/models/patched_question_admin_request.py +17 -0
  102. waldur_api_client/models/patched_rancher_service_request.py +1 -1
  103. waldur_api_client/models/permission_request.py +16 -0
  104. waldur_api_client/models/project.py +17 -0
  105. waldur_api_client/models/project_permission_review.py +166 -0
  106. waldur_api_client/models/project_permissions_reviews_count_o_item.py +11 -0
  107. waldur_api_client/models/project_permissions_reviews_list_o_item.py +11 -0
  108. waldur_api_client/models/project_request.py +17 -0
  109. waldur_api_client/models/project_service_account.py +9 -0
  110. waldur_api_client/models/projects_list_field_item.py +1 -0
  111. waldur_api_client/models/projects_other_users_list_o.py +9 -0
  112. waldur_api_client/models/projects_retrieve_field_item.py +1 -0
  113. waldur_api_client/models/proposal.py +8 -0
  114. waldur_api_client/models/proposal_review.py +8 -0
  115. waldur_api_client/models/question_admin.py +17 -0
  116. waldur_api_client/models/question_admin_request.py +17 -0
  117. waldur_api_client/models/rancher_nested_public_ip.py +25 -7
  118. waldur_api_client/models/rancher_service.py +1 -1
  119. waldur_api_client/models/rancher_service_request.py +1 -1
  120. waldur_api_client/models/rmq_connection.py +8 -3
  121. waldur_api_client/models/rmq_subscription.py +7 -3
  122. waldur_api_client/models/robot_account.py +9 -17
  123. waldur_api_client/models/robot_account_details.py +9 -17
  124. waldur_api_client/models/service_account_state.py +10 -0
  125. waldur_api_client/models/submit_request_response.py +75 -0
  126. waldur_api_client/models/visible_invitation_details.py +9 -0
  127. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.8.dist-info}/METADATA +1 -1
  128. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.8.dist-info}/RECORD +130 -69
  129. waldur_api_client/models/robot_account_states.py +0 -13
  130. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.8.dist-info}/LICENSE +0 -0
  131. {waldur_api_client-7.7.7.dist-info → waldur_api_client-7.7.8.dist-info}/WHEEL +0 -0
@@ -0,0 +1,269 @@
1
+ import datetime
2
+ from http import HTTPStatus
3
+ from typing import Any, Union
4
+ from uuid import UUID
5
+
6
+ import httpx
7
+
8
+ from ... import errors
9
+ from ...client import AuthenticatedClient, Client
10
+ from ...models.project_permission_review import ProjectPermissionReview
11
+ from ...models.project_permissions_reviews_list_o_item import ProjectPermissionsReviewsListOItem
12
+ from ...types import UNSET, Response, Unset
13
+
14
+
15
+ def _get_kwargs(
16
+ *,
17
+ closed: Union[Unset, datetime.datetime] = UNSET,
18
+ is_pending: Union[Unset, bool] = UNSET,
19
+ o: Union[Unset, list[ProjectPermissionsReviewsListOItem]] = UNSET,
20
+ page: Union[Unset, int] = UNSET,
21
+ page_size: Union[Unset, int] = UNSET,
22
+ project_uuid: Union[Unset, UUID] = UNSET,
23
+ reviewer_uuid: Union[Unset, UUID] = UNSET,
24
+ ) -> dict[str, Any]:
25
+ params: dict[str, Any] = {}
26
+
27
+ json_closed: Union[Unset, str] = UNSET
28
+ if not isinstance(closed, Unset):
29
+ json_closed = closed.isoformat()
30
+ params["closed"] = json_closed
31
+
32
+ params["is_pending"] = is_pending
33
+
34
+ json_o: Union[Unset, list[str]] = UNSET
35
+ if not isinstance(o, Unset):
36
+ json_o = []
37
+ for o_item_data in o:
38
+ o_item = o_item_data.value
39
+ json_o.append(o_item)
40
+
41
+ params["o"] = json_o
42
+
43
+ params["page"] = page
44
+
45
+ params["page_size"] = page_size
46
+
47
+ json_project_uuid: Union[Unset, str] = UNSET
48
+ if not isinstance(project_uuid, Unset):
49
+ json_project_uuid = str(project_uuid)
50
+ params["project_uuid"] = json_project_uuid
51
+
52
+ json_reviewer_uuid: Union[Unset, str] = UNSET
53
+ if not isinstance(reviewer_uuid, Unset):
54
+ json_reviewer_uuid = str(reviewer_uuid)
55
+ params["reviewer_uuid"] = json_reviewer_uuid
56
+
57
+ params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
58
+
59
+ _kwargs: dict[str, Any] = {
60
+ "method": "get",
61
+ "url": "/api/project-permissions-reviews/",
62
+ "params": params,
63
+ }
64
+
65
+ return _kwargs
66
+
67
+
68
+ def _parse_response(
69
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
70
+ ) -> list["ProjectPermissionReview"]:
71
+ if response.status_code == 200:
72
+ response_200 = []
73
+ _response_200 = response.json()
74
+ for response_200_item_data in _response_200:
75
+ response_200_item = ProjectPermissionReview.from_dict(response_200_item_data)
76
+
77
+ response_200.append(response_200_item)
78
+
79
+ return response_200
80
+ raise errors.UnexpectedStatus(response.status_code, response.content)
81
+
82
+
83
+ def _build_response(
84
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
85
+ ) -> Response[list["ProjectPermissionReview"]]:
86
+ return Response(
87
+ status_code=HTTPStatus(response.status_code),
88
+ content=response.content,
89
+ headers=response.headers,
90
+ parsed=_parse_response(client=client, response=response),
91
+ )
92
+
93
+
94
+ def sync_detailed(
95
+ *,
96
+ client: AuthenticatedClient,
97
+ closed: Union[Unset, datetime.datetime] = UNSET,
98
+ is_pending: Union[Unset, bool] = UNSET,
99
+ o: Union[Unset, list[ProjectPermissionsReviewsListOItem]] = UNSET,
100
+ page: Union[Unset, int] = UNSET,
101
+ page_size: Union[Unset, int] = UNSET,
102
+ project_uuid: Union[Unset, UUID] = UNSET,
103
+ reviewer_uuid: Union[Unset, UUID] = UNSET,
104
+ ) -> Response[list["ProjectPermissionReview"]]:
105
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
106
+
107
+ Args:
108
+ closed (Union[Unset, datetime.datetime]):
109
+ is_pending (Union[Unset, bool]):
110
+ o (Union[Unset, list[ProjectPermissionsReviewsListOItem]]):
111
+ page (Union[Unset, int]):
112
+ page_size (Union[Unset, int]):
113
+ project_uuid (Union[Unset, UUID]):
114
+ reviewer_uuid (Union[Unset, UUID]):
115
+
116
+ Raises:
117
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
118
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
119
+
120
+ Returns:
121
+ Response[list['ProjectPermissionReview']]
122
+ """
123
+
124
+ kwargs = _get_kwargs(
125
+ closed=closed,
126
+ is_pending=is_pending,
127
+ o=o,
128
+ page=page,
129
+ page_size=page_size,
130
+ project_uuid=project_uuid,
131
+ reviewer_uuid=reviewer_uuid,
132
+ )
133
+
134
+ response = client.get_httpx_client().request(
135
+ **kwargs,
136
+ )
137
+
138
+ return _build_response(client=client, response=response)
139
+
140
+
141
+ def sync(
142
+ *,
143
+ client: AuthenticatedClient,
144
+ closed: Union[Unset, datetime.datetime] = UNSET,
145
+ is_pending: Union[Unset, bool] = UNSET,
146
+ o: Union[Unset, list[ProjectPermissionsReviewsListOItem]] = UNSET,
147
+ page: Union[Unset, int] = UNSET,
148
+ page_size: Union[Unset, int] = UNSET,
149
+ project_uuid: Union[Unset, UUID] = UNSET,
150
+ reviewer_uuid: Union[Unset, UUID] = UNSET,
151
+ ) -> list["ProjectPermissionReview"]:
152
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
153
+
154
+ Args:
155
+ closed (Union[Unset, datetime.datetime]):
156
+ is_pending (Union[Unset, bool]):
157
+ o (Union[Unset, list[ProjectPermissionsReviewsListOItem]]):
158
+ page (Union[Unset, int]):
159
+ page_size (Union[Unset, int]):
160
+ project_uuid (Union[Unset, UUID]):
161
+ reviewer_uuid (Union[Unset, UUID]):
162
+
163
+ Raises:
164
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
165
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
166
+
167
+ Returns:
168
+ list['ProjectPermissionReview']
169
+ """
170
+
171
+ return sync_detailed(
172
+ client=client,
173
+ closed=closed,
174
+ is_pending=is_pending,
175
+ o=o,
176
+ page=page,
177
+ page_size=page_size,
178
+ project_uuid=project_uuid,
179
+ reviewer_uuid=reviewer_uuid,
180
+ ).parsed
181
+
182
+
183
+ async def asyncio_detailed(
184
+ *,
185
+ client: AuthenticatedClient,
186
+ closed: Union[Unset, datetime.datetime] = UNSET,
187
+ is_pending: Union[Unset, bool] = UNSET,
188
+ o: Union[Unset, list[ProjectPermissionsReviewsListOItem]] = UNSET,
189
+ page: Union[Unset, int] = UNSET,
190
+ page_size: Union[Unset, int] = UNSET,
191
+ project_uuid: Union[Unset, UUID] = UNSET,
192
+ reviewer_uuid: Union[Unset, UUID] = UNSET,
193
+ ) -> Response[list["ProjectPermissionReview"]]:
194
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
195
+
196
+ Args:
197
+ closed (Union[Unset, datetime.datetime]):
198
+ is_pending (Union[Unset, bool]):
199
+ o (Union[Unset, list[ProjectPermissionsReviewsListOItem]]):
200
+ page (Union[Unset, int]):
201
+ page_size (Union[Unset, int]):
202
+ project_uuid (Union[Unset, UUID]):
203
+ reviewer_uuid (Union[Unset, UUID]):
204
+
205
+ Raises:
206
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
207
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
208
+
209
+ Returns:
210
+ Response[list['ProjectPermissionReview']]
211
+ """
212
+
213
+ kwargs = _get_kwargs(
214
+ closed=closed,
215
+ is_pending=is_pending,
216
+ o=o,
217
+ page=page,
218
+ page_size=page_size,
219
+ project_uuid=project_uuid,
220
+ reviewer_uuid=reviewer_uuid,
221
+ )
222
+
223
+ response = await client.get_async_httpx_client().request(**kwargs)
224
+
225
+ return _build_response(client=client, response=response)
226
+
227
+
228
+ async def asyncio(
229
+ *,
230
+ client: AuthenticatedClient,
231
+ closed: Union[Unset, datetime.datetime] = UNSET,
232
+ is_pending: Union[Unset, bool] = UNSET,
233
+ o: Union[Unset, list[ProjectPermissionsReviewsListOItem]] = UNSET,
234
+ page: Union[Unset, int] = UNSET,
235
+ page_size: Union[Unset, int] = UNSET,
236
+ project_uuid: Union[Unset, UUID] = UNSET,
237
+ reviewer_uuid: Union[Unset, UUID] = UNSET,
238
+ ) -> list["ProjectPermissionReview"]:
239
+ """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
240
+
241
+ Args:
242
+ closed (Union[Unset, datetime.datetime]):
243
+ is_pending (Union[Unset, bool]):
244
+ o (Union[Unset, list[ProjectPermissionsReviewsListOItem]]):
245
+ page (Union[Unset, int]):
246
+ page_size (Union[Unset, int]):
247
+ project_uuid (Union[Unset, UUID]):
248
+ reviewer_uuid (Union[Unset, UUID]):
249
+
250
+ Raises:
251
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
252
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
253
+
254
+ Returns:
255
+ list['ProjectPermissionReview']
256
+ """
257
+
258
+ return (
259
+ await asyncio_detailed(
260
+ client=client,
261
+ closed=closed,
262
+ is_pending=is_pending,
263
+ o=o,
264
+ page=page,
265
+ page_size=page_size,
266
+ project_uuid=project_uuid,
267
+ reviewer_uuid=reviewer_uuid,
268
+ )
269
+ ).parsed
@@ -0,0 +1,142 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.project_permission_review import ProjectPermissionReview
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs(
14
+ uuid: UUID,
15
+ ) -> dict[str, Any]:
16
+ _kwargs: dict[str, Any] = {
17
+ "method": "get",
18
+ "url": f"/api/project-permissions-reviews/{uuid}/",
19
+ }
20
+
21
+ return _kwargs
22
+
23
+
24
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ProjectPermissionReview:
25
+ if response.status_code == 200:
26
+ response_200 = ProjectPermissionReview.from_dict(response.json())
27
+
28
+ return response_200
29
+ raise errors.UnexpectedStatus(response.status_code, response.content)
30
+
31
+
32
+ def _build_response(
33
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
34
+ ) -> Response[ProjectPermissionReview]:
35
+ return Response(
36
+ status_code=HTTPStatus(response.status_code),
37
+ content=response.content,
38
+ headers=response.headers,
39
+ parsed=_parse_response(client=client, response=response),
40
+ )
41
+
42
+
43
+ def sync_detailed(
44
+ uuid: UUID,
45
+ *,
46
+ client: AuthenticatedClient,
47
+ ) -> Response[ProjectPermissionReview]:
48
+ """
49
+ Args:
50
+ uuid (UUID):
51
+
52
+ Raises:
53
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
54
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
55
+
56
+ Returns:
57
+ Response[ProjectPermissionReview]
58
+ """
59
+
60
+ kwargs = _get_kwargs(
61
+ uuid=uuid,
62
+ )
63
+
64
+ response = client.get_httpx_client().request(
65
+ **kwargs,
66
+ )
67
+
68
+ return _build_response(client=client, response=response)
69
+
70
+
71
+ def sync(
72
+ uuid: UUID,
73
+ *,
74
+ client: AuthenticatedClient,
75
+ ) -> ProjectPermissionReview:
76
+ """
77
+ Args:
78
+ uuid (UUID):
79
+
80
+ Raises:
81
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
82
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
83
+
84
+ Returns:
85
+ ProjectPermissionReview
86
+ """
87
+
88
+ return sync_detailed(
89
+ uuid=uuid,
90
+ client=client,
91
+ ).parsed
92
+
93
+
94
+ async def asyncio_detailed(
95
+ uuid: UUID,
96
+ *,
97
+ client: AuthenticatedClient,
98
+ ) -> Response[ProjectPermissionReview]:
99
+ """
100
+ Args:
101
+ uuid (UUID):
102
+
103
+ Raises:
104
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
105
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
106
+
107
+ Returns:
108
+ Response[ProjectPermissionReview]
109
+ """
110
+
111
+ kwargs = _get_kwargs(
112
+ uuid=uuid,
113
+ )
114
+
115
+ response = await client.get_async_httpx_client().request(**kwargs)
116
+
117
+ return _build_response(client=client, response=response)
118
+
119
+
120
+ async def asyncio(
121
+ uuid: UUID,
122
+ *,
123
+ client: AuthenticatedClient,
124
+ ) -> ProjectPermissionReview:
125
+ """
126
+ Args:
127
+ uuid (UUID):
128
+
129
+ Raises:
130
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
131
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
132
+
133
+ Returns:
134
+ ProjectPermissionReview
135
+ """
136
+
137
+ return (
138
+ await asyncio_detailed(
139
+ uuid=uuid,
140
+ client=client,
141
+ )
142
+ ).parsed