waldur-api-client 7.8.4__py3-none-any.whl → 7.8.5__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 (257) hide show
  1. waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
  2. waldur_api_client/api/booking_resources/booking_resources_count.py +90 -0
  3. waldur_api_client/api/booking_resources/booking_resources_list.py +90 -0
  4. waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
  5. waldur_api_client/api/customers/customers_add_user.py +17 -10
  6. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
  7. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
  8. waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
  9. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
  10. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
  11. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
  12. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
  13. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
  14. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
  15. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
  16. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
  17. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
  18. waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
  19. waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
  20. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
  21. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
  22. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
  23. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
  24. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
  25. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
  26. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
  27. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
  28. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
  29. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
  30. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
  31. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
  32. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
  33. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
  34. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
  35. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
  36. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
  37. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
  38. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
  39. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
  40. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
  41. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
  42. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
  43. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
  44. waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
  45. waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
  46. waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
  47. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
  48. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
  49. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
  50. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
  51. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
  52. waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
  53. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
  54. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
  55. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
  56. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
  57. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
  58. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
  59. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
  60. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
  61. waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
  62. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
  63. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
  64. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
  65. waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
  66. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
  67. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
  68. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
  69. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
  70. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
  71. waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
  72. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
  73. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
  74. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
  75. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
  76. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
  77. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
  78. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
  79. waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
  80. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
  81. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
  82. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
  83. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
  84. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
  85. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
  86. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
  87. waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
  88. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
  89. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
  90. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
  91. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
  92. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
  93. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
  94. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
  95. waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
  96. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
  97. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
  98. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
  99. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
  100. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
  101. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
  102. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
  103. waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
  104. waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
  105. waldur_api_client/api/projects/projects_add_user.py +17 -10
  106. waldur_api_client/api/projects/projects_count.py +30 -0
  107. waldur_api_client/api/projects/projects_list.py +30 -0
  108. waldur_api_client/api/projects/projects_move_project.py +19 -10
  109. waldur_api_client/api/projects/projects_recover.py +166 -0
  110. waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
  111. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
  112. waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
  113. waldur_api_client/models/__init__.py +152 -4
  114. waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
  115. waldur_api_client/models/agent_identity.py +211 -0
  116. waldur_api_client/models/agent_identity_request.py +157 -0
  117. waldur_api_client/models/agent_processor.py +170 -0
  118. waldur_api_client/models/agent_processor_create_request.py +89 -0
  119. waldur_api_client/models/agent_service.py +172 -0
  120. waldur_api_client/models/agent_service_create_request.py +81 -0
  121. waldur_api_client/models/agent_service_state.py +10 -0
  122. waldur_api_client/models/agent_service_statistics_request.py +59 -0
  123. waldur_api_client/models/base_provider_plan.py +21 -0
  124. waldur_api_client/models/base_public_plan.py +21 -0
  125. waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
  126. waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
  127. waldur_api_client/models/booking_resource.py +33 -0
  128. waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
  129. waldur_api_client/models/booking_resources_list_field_item.py +1 -0
  130. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
  131. waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
  132. waldur_api_client/models/constance_settings.py +81 -45
  133. waldur_api_client/models/constance_settings_request.py +81 -45
  134. waldur_api_client/models/constance_settings_request_form.py +81 -45
  135. waldur_api_client/models/constance_settings_request_multipart.py +134 -71
  136. waldur_api_client/models/customer_component_usage_policy.py +175 -0
  137. waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
  138. waldur_api_client/models/customers_add_user_response_400.py +65 -0
  139. waldur_api_client/models/discount_config_request.py +91 -0
  140. waldur_api_client/models/discounts_update_request.py +65 -0
  141. waldur_api_client/models/discounts_update_request_discounts.py +57 -0
  142. waldur_api_client/models/issue.py +0 -25
  143. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
  144. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
  145. waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
  146. waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
  147. waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
  148. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
  149. waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
  150. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
  151. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
  152. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
  153. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
  154. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
  155. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
  156. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
  157. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
  158. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
  159. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
  160. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
  161. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
  162. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
  163. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
  164. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
  165. waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
  166. waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
  167. waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
  168. waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
  169. waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
  170. waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
  171. waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
  172. waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
  173. waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
  174. waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
  175. waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
  176. waldur_api_client/models/merged_plugin_options.py +47 -8
  177. waldur_api_client/models/merged_plugin_options_request.py +47 -8
  178. waldur_api_client/models/nested_agent_processor.py +154 -0
  179. waldur_api_client/models/nested_agent_service.py +134 -0
  180. waldur_api_client/models/nested_agent_service_request.py +90 -0
  181. waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
  182. waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
  183. waldur_api_client/models/nested_partition.py +412 -0
  184. waldur_api_client/models/nested_partition_request.py +397 -0
  185. waldur_api_client/models/nested_plan_component.py +155 -0
  186. waldur_api_client/models/nested_plan_component_request.py +128 -0
  187. waldur_api_client/models/nested_software_catalog.py +134 -0
  188. waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
  189. waldur_api_client/models/nested_software_catalog_partition.py +86 -0
  190. waldur_api_client/models/nested_software_catalog_request.py +68 -0
  191. waldur_api_client/models/nested_software_target.py +84 -0
  192. waldur_api_client/models/nested_software_target_request.py +75 -0
  193. waldur_api_client/models/nested_software_version.py +124 -0
  194. waldur_api_client/models/nested_software_version_request.py +93 -0
  195. waldur_api_client/models/observable_object_type_enum.py +14 -0
  196. waldur_api_client/models/offering.py +42 -0
  197. waldur_api_client/models/offering_create.py +36 -0
  198. waldur_api_client/models/offering_partition.py +440 -0
  199. waldur_api_client/models/offering_partition_request.py +406 -0
  200. waldur_api_client/models/offering_software_catalog.py +176 -0
  201. waldur_api_client/models/offering_software_catalog_request.py +118 -0
  202. waldur_api_client/models/onboarding_justification.py +35 -6
  203. waldur_api_client/models/onboarding_justification_create_request.py +8 -5
  204. waldur_api_client/models/onboarding_justification_request.py +20 -6
  205. waldur_api_client/models/onboarding_justification_review_request.py +59 -0
  206. waldur_api_client/models/order_backend_id_request.py +59 -0
  207. waldur_api_client/models/order_details.py +39 -0
  208. waldur_api_client/models/order_state.py +1 -0
  209. waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
  210. waldur_api_client/models/patched_offering_partition_request.py +412 -0
  211. waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
  212. waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
  213. waldur_api_client/models/patched_project_request.py +9 -0
  214. waldur_api_client/models/patched_project_request_form.py +9 -0
  215. waldur_api_client/models/patched_project_request_multipart.py +12 -0
  216. waldur_api_client/models/patched_software_catalog_request.py +86 -0
  217. waldur_api_client/models/patched_software_package_request.py +86 -0
  218. waldur_api_client/models/plan_component.py +40 -0
  219. waldur_api_client/models/project.py +27 -0
  220. waldur_api_client/models/project_recovery_request.py +70 -0
  221. waldur_api_client/models/project_request.py +9 -0
  222. waldur_api_client/models/project_request_form.py +9 -0
  223. waldur_api_client/models/project_request_multipart.py +12 -0
  224. waldur_api_client/models/project_user.py +21 -4
  225. waldur_api_client/models/projects_add_user_response_400.py +65 -0
  226. waldur_api_client/models/projects_list_field_item.py +3 -0
  227. waldur_api_client/models/projects_move_project_response_400.py +65 -0
  228. waldur_api_client/models/projects_retrieve_field_item.py +3 -0
  229. waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
  230. waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
  231. waldur_api_client/models/provider_offering_details.py +42 -0
  232. waldur_api_client/models/provider_plan_details.py +18 -0
  233. waldur_api_client/models/public_offering_details.py +42 -0
  234. waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
  235. waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
  236. waldur_api_client/models/remove_software_catalog_request.py +60 -0
  237. waldur_api_client/models/resource.py +33 -0
  238. waldur_api_client/models/resource_downscaled_request.py +59 -0
  239. waldur_api_client/models/resource_paused_request.py +59 -0
  240. waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
  241. waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
  242. waldur_api_client/models/software_catalog.py +130 -0
  243. waldur_api_client/models/software_catalog_request.py +87 -0
  244. waldur_api_client/models/software_catalog_uuid.py +60 -0
  245. waldur_api_client/models/software_package.py +168 -0
  246. waldur_api_client/models/software_package_request.py +87 -0
  247. waldur_api_client/models/software_target.py +110 -0
  248. waldur_api_client/models/software_version.py +135 -0
  249. waldur_api_client/models/user.py +20 -0
  250. waldur_api_client/models/users_list_field_item.py +1 -0
  251. waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
  252. waldur_api_client/models/users_retrieve_field_item.py +1 -0
  253. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
  254. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
  255. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
  256. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
  257. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,65 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union, cast
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..types import UNSET, Unset
8
+
9
+ T = TypeVar("T", bound="ProjectsAddUserResponse400")
10
+
11
+
12
+ @_attrs_define
13
+ class ProjectsAddUserResponse400:
14
+ """Validation error when trying to add user to terminated project
15
+
16
+ Example:
17
+ {'non_field_errors': ['Cannot manage team members for terminated projects.']}
18
+
19
+ Attributes:
20
+ non_field_errors (Union[Unset, list[str]]):
21
+ """
22
+
23
+ non_field_errors: Union[Unset, list[str]] = UNSET
24
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
25
+
26
+ def to_dict(self) -> dict[str, Any]:
27
+ non_field_errors: Union[Unset, list[str]] = UNSET
28
+ if not isinstance(self.non_field_errors, Unset):
29
+ non_field_errors = self.non_field_errors
30
+
31
+ field_dict: dict[str, Any] = {}
32
+ field_dict.update(self.additional_properties)
33
+ field_dict.update({})
34
+ if non_field_errors is not UNSET:
35
+ field_dict["non_field_errors"] = non_field_errors
36
+
37
+ return field_dict
38
+
39
+ @classmethod
40
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
41
+ d = dict(src_dict)
42
+ non_field_errors = cast(list[str], d.pop("non_field_errors", UNSET))
43
+
44
+ projects_add_user_response_400 = cls(
45
+ non_field_errors=non_field_errors,
46
+ )
47
+
48
+ projects_add_user_response_400.additional_properties = d
49
+ return projects_add_user_response_400
50
+
51
+ @property
52
+ def additional_keys(self) -> list[str]:
53
+ return list(self.additional_properties.keys())
54
+
55
+ def __getitem__(self, key: str) -> Any:
56
+ return self.additional_properties[key]
57
+
58
+ def __setitem__(self, key: str, value: Any) -> None:
59
+ self.additional_properties[key] = value
60
+
61
+ def __delitem__(self, key: str) -> None:
62
+ del self.additional_properties[key]
63
+
64
+ def __contains__(self, key: str) -> bool:
65
+ return key in self.additional_properties
@@ -17,6 +17,7 @@ class ProjectsListFieldItem(str, Enum):
17
17
  END_DATE_REQUESTED_BY = "end_date_requested_by"
18
18
  IMAGE = "image"
19
19
  IS_INDUSTRY = "is_industry"
20
+ IS_REMOVED = "is_removed"
20
21
  KIND = "kind"
21
22
  MARKETPLACE_RESOURCE_COUNT = "marketplace_resource_count"
22
23
  MAX_SERVICE_ACCOUNTS = "max_service_accounts"
@@ -26,7 +27,9 @@ class ProjectsListFieldItem(str, Enum):
26
27
  PROJECT_CREDIT = "project_credit"
27
28
  RESOURCES_COUNT = "resources_count"
28
29
  SLUG = "slug"
30
+ STAFF_NOTES = "staff_notes"
29
31
  START_DATE = "start_date"
32
+ TERMINATION_METADATA = "termination_metadata"
30
33
  TYPE = "type"
31
34
  TYPE_NAME = "type_name"
32
35
  TYPE_UUID = "type_uuid"
@@ -0,0 +1,65 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union, cast
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..types import UNSET, Unset
8
+
9
+ T = TypeVar("T", bound="ProjectsMoveProjectResponse400")
10
+
11
+
12
+ @_attrs_define
13
+ class ProjectsMoveProjectResponse400:
14
+ """Validation error when trying to move a terminated project
15
+
16
+ Example:
17
+ {'non_field_errors': ['Cannot move terminated projects.']}
18
+
19
+ Attributes:
20
+ non_field_errors (Union[Unset, list[str]]):
21
+ """
22
+
23
+ non_field_errors: Union[Unset, list[str]] = UNSET
24
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
25
+
26
+ def to_dict(self) -> dict[str, Any]:
27
+ non_field_errors: Union[Unset, list[str]] = UNSET
28
+ if not isinstance(self.non_field_errors, Unset):
29
+ non_field_errors = self.non_field_errors
30
+
31
+ field_dict: dict[str, Any] = {}
32
+ field_dict.update(self.additional_properties)
33
+ field_dict.update({})
34
+ if non_field_errors is not UNSET:
35
+ field_dict["non_field_errors"] = non_field_errors
36
+
37
+ return field_dict
38
+
39
+ @classmethod
40
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
41
+ d = dict(src_dict)
42
+ non_field_errors = cast(list[str], d.pop("non_field_errors", UNSET))
43
+
44
+ projects_move_project_response_400 = cls(
45
+ non_field_errors=non_field_errors,
46
+ )
47
+
48
+ projects_move_project_response_400.additional_properties = d
49
+ return projects_move_project_response_400
50
+
51
+ @property
52
+ def additional_keys(self) -> list[str]:
53
+ return list(self.additional_properties.keys())
54
+
55
+ def __getitem__(self, key: str) -> Any:
56
+ return self.additional_properties[key]
57
+
58
+ def __setitem__(self, key: str, value: Any) -> None:
59
+ self.additional_properties[key] = value
60
+
61
+ def __delitem__(self, key: str) -> None:
62
+ del self.additional_properties[key]
63
+
64
+ def __contains__(self, key: str) -> bool:
65
+ return key in self.additional_properties
@@ -17,6 +17,7 @@ class ProjectsRetrieveFieldItem(str, Enum):
17
17
  END_DATE_REQUESTED_BY = "end_date_requested_by"
18
18
  IMAGE = "image"
19
19
  IS_INDUSTRY = "is_industry"
20
+ IS_REMOVED = "is_removed"
20
21
  KIND = "kind"
21
22
  MARKETPLACE_RESOURCE_COUNT = "marketplace_resource_count"
22
23
  MAX_SERVICE_ACCOUNTS = "max_service_accounts"
@@ -26,7 +27,9 @@ class ProjectsRetrieveFieldItem(str, Enum):
26
27
  PROJECT_CREDIT = "project_credit"
27
28
  RESOURCES_COUNT = "resources_count"
28
29
  SLUG = "slug"
30
+ STAFF_NOTES = "staff_notes"
29
31
  START_DATE = "start_date"
32
+ TERMINATION_METADATA = "termination_metadata"
30
33
  TYPE = "type"
31
34
  TYPE_NAME = "type_name"
32
35
  TYPE_UUID = "type_uuid"
@@ -0,0 +1,65 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union, cast
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..types import UNSET, Unset
8
+
9
+ T = TypeVar("T", bound="ProposalProposalsAddUserResponse400")
10
+
11
+
12
+ @_attrs_define
13
+ class ProposalProposalsAddUserResponse400:
14
+ """Validation error when trying to add user to terminated project
15
+
16
+ Example:
17
+ {'non_field_errors': ['Cannot manage team members for terminated projects.']}
18
+
19
+ Attributes:
20
+ non_field_errors (Union[Unset, list[str]]):
21
+ """
22
+
23
+ non_field_errors: Union[Unset, list[str]] = UNSET
24
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
25
+
26
+ def to_dict(self) -> dict[str, Any]:
27
+ non_field_errors: Union[Unset, list[str]] = UNSET
28
+ if not isinstance(self.non_field_errors, Unset):
29
+ non_field_errors = self.non_field_errors
30
+
31
+ field_dict: dict[str, Any] = {}
32
+ field_dict.update(self.additional_properties)
33
+ field_dict.update({})
34
+ if non_field_errors is not UNSET:
35
+ field_dict["non_field_errors"] = non_field_errors
36
+
37
+ return field_dict
38
+
39
+ @classmethod
40
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
41
+ d = dict(src_dict)
42
+ non_field_errors = cast(list[str], d.pop("non_field_errors", UNSET))
43
+
44
+ proposal_proposals_add_user_response_400 = cls(
45
+ non_field_errors=non_field_errors,
46
+ )
47
+
48
+ proposal_proposals_add_user_response_400.additional_properties = d
49
+ return proposal_proposals_add_user_response_400
50
+
51
+ @property
52
+ def additional_keys(self) -> list[str]:
53
+ return list(self.additional_properties.keys())
54
+
55
+ def __getitem__(self, key: str) -> Any:
56
+ return self.additional_properties[key]
57
+
58
+ def __setitem__(self, key: str, value: Any) -> None:
59
+ self.additional_properties[key] = value
60
+
61
+ def __delitem__(self, key: str) -> None:
62
+ del self.additional_properties[key]
63
+
64
+ def __contains__(self, key: str) -> bool:
65
+ return key in self.additional_properties
@@ -0,0 +1,65 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union, cast
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..types import UNSET, Unset
8
+
9
+ T = TypeVar("T", bound="ProposalProtectedCallsAddUserResponse400")
10
+
11
+
12
+ @_attrs_define
13
+ class ProposalProtectedCallsAddUserResponse400:
14
+ """Validation error when trying to add user to terminated project
15
+
16
+ Example:
17
+ {'non_field_errors': ['Cannot manage team members for terminated projects.']}
18
+
19
+ Attributes:
20
+ non_field_errors (Union[Unset, list[str]]):
21
+ """
22
+
23
+ non_field_errors: Union[Unset, list[str]] = UNSET
24
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
25
+
26
+ def to_dict(self) -> dict[str, Any]:
27
+ non_field_errors: Union[Unset, list[str]] = UNSET
28
+ if not isinstance(self.non_field_errors, Unset):
29
+ non_field_errors = self.non_field_errors
30
+
31
+ field_dict: dict[str, Any] = {}
32
+ field_dict.update(self.additional_properties)
33
+ field_dict.update({})
34
+ if non_field_errors is not UNSET:
35
+ field_dict["non_field_errors"] = non_field_errors
36
+
37
+ return field_dict
38
+
39
+ @classmethod
40
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
41
+ d = dict(src_dict)
42
+ non_field_errors = cast(list[str], d.pop("non_field_errors", UNSET))
43
+
44
+ proposal_protected_calls_add_user_response_400 = cls(
45
+ non_field_errors=non_field_errors,
46
+ )
47
+
48
+ proposal_protected_calls_add_user_response_400.additional_properties = d
49
+ return proposal_protected_calls_add_user_response_400
50
+
51
+ @property
52
+ def additional_keys(self) -> list[str]:
53
+ return list(self.additional_properties.keys())
54
+
55
+ def __getitem__(self, key: str) -> Any:
56
+ return self.additional_properties[key]
57
+
58
+ def __setitem__(self, key: str, value: Any) -> None:
59
+ self.additional_properties[key] = value
60
+
61
+ def __delitem__(self, key: str) -> None:
62
+ del self.additional_properties[key]
63
+
64
+ def __contains__(self, key: str) -> bool:
65
+ return key in self.additional_properties
@@ -20,8 +20,10 @@ if TYPE_CHECKING:
20
20
  from ..models.merged_secret_options import MergedSecretOptions
21
21
  from ..models.nested_endpoint import NestedEndpoint
22
22
  from ..models.nested_offering_file import NestedOfferingFile
23
+ from ..models.nested_partition import NestedPartition
23
24
  from ..models.nested_role import NestedRole
24
25
  from ..models.nested_screenshot import NestedScreenshot
26
+ from ..models.nested_software_catalog import NestedSoftwareCatalog
25
27
  from ..models.offering_component import OfferingComponent
26
28
  from ..models.offering_options import OfferingOptions
27
29
  from ..models.organization_group import OrganizationGroup
@@ -47,6 +49,8 @@ class ProviderOfferingDetails:
47
49
  privacy_policy_link (Union[Unset, str]):
48
50
  access_url (Union[Unset, str]): Publicly accessible offering access URL
49
51
  endpoints (Union[Unset, list['NestedEndpoint']]):
52
+ software_catalogs (Union[Unset, list['NestedSoftwareCatalog']]):
53
+ partitions (Union[Unset, list['NestedPartition']]):
50
54
  roles (Union[Unset, list['NestedRole']]):
51
55
  customer (Union[None, Unset, str]):
52
56
  customer_uuid (Union[None, UUID, Unset]):
@@ -115,6 +119,8 @@ class ProviderOfferingDetails:
115
119
  privacy_policy_link: Union[Unset, str] = UNSET
116
120
  access_url: Union[Unset, str] = UNSET
117
121
  endpoints: Union[Unset, list["NestedEndpoint"]] = UNSET
122
+ software_catalogs: Union[Unset, list["NestedSoftwareCatalog"]] = UNSET
123
+ partitions: Union[Unset, list["NestedPartition"]] = UNSET
118
124
  roles: Union[Unset, list["NestedRole"]] = UNSET
119
125
  customer: Union[None, Unset, str] = UNSET
120
126
  customer_uuid: Union[None, UUID, Unset] = UNSET
@@ -203,6 +209,20 @@ class ProviderOfferingDetails:
203
209
  endpoints_item = endpoints_item_data.to_dict()
204
210
  endpoints.append(endpoints_item)
205
211
 
212
+ software_catalogs: Union[Unset, list[dict[str, Any]]] = UNSET
213
+ if not isinstance(self.software_catalogs, Unset):
214
+ software_catalogs = []
215
+ for software_catalogs_item_data in self.software_catalogs:
216
+ software_catalogs_item = software_catalogs_item_data.to_dict()
217
+ software_catalogs.append(software_catalogs_item)
218
+
219
+ partitions: Union[Unset, list[dict[str, Any]]] = UNSET
220
+ if not isinstance(self.partitions, Unset):
221
+ partitions = []
222
+ for partitions_item_data in self.partitions:
223
+ partitions_item = partitions_item_data.to_dict()
224
+ partitions.append(partitions_item)
225
+
206
226
  roles: Union[Unset, list[dict[str, Any]]] = UNSET
207
227
  if not isinstance(self.roles, Unset):
208
228
  roles = []
@@ -509,6 +529,10 @@ class ProviderOfferingDetails:
509
529
  field_dict["access_url"] = access_url
510
530
  if endpoints is not UNSET:
511
531
  field_dict["endpoints"] = endpoints
532
+ if software_catalogs is not UNSET:
533
+ field_dict["software_catalogs"] = software_catalogs
534
+ if partitions is not UNSET:
535
+ field_dict["partitions"] = partitions
512
536
  if roles is not UNSET:
513
537
  field_dict["roles"] = roles
514
538
  if customer is not UNSET:
@@ -632,8 +656,10 @@ class ProviderOfferingDetails:
632
656
  from ..models.merged_secret_options import MergedSecretOptions
633
657
  from ..models.nested_endpoint import NestedEndpoint
634
658
  from ..models.nested_offering_file import NestedOfferingFile
659
+ from ..models.nested_partition import NestedPartition
635
660
  from ..models.nested_role import NestedRole
636
661
  from ..models.nested_screenshot import NestedScreenshot
662
+ from ..models.nested_software_catalog import NestedSoftwareCatalog
637
663
  from ..models.offering_component import OfferingComponent
638
664
  from ..models.offering_options import OfferingOptions
639
665
  from ..models.organization_group import OrganizationGroup
@@ -677,6 +703,20 @@ class ProviderOfferingDetails:
677
703
 
678
704
  endpoints.append(endpoints_item)
679
705
 
706
+ software_catalogs = []
707
+ _software_catalogs = d.pop("software_catalogs", UNSET)
708
+ for software_catalogs_item_data in _software_catalogs or []:
709
+ software_catalogs_item = NestedSoftwareCatalog.from_dict(software_catalogs_item_data)
710
+
711
+ software_catalogs.append(software_catalogs_item)
712
+
713
+ partitions = []
714
+ _partitions = d.pop("partitions", UNSET)
715
+ for partitions_item_data in _partitions or []:
716
+ partitions_item = NestedPartition.from_dict(partitions_item_data)
717
+
718
+ partitions.append(partitions_item)
719
+
680
720
  roles = []
681
721
  _roles = d.pop("roles", UNSET)
682
722
  for roles_item_data in _roles or []:
@@ -1121,6 +1161,8 @@ class ProviderOfferingDetails:
1121
1161
  privacy_policy_link=privacy_policy_link,
1122
1162
  access_url=access_url,
1123
1163
  endpoints=endpoints,
1164
+ software_catalogs=software_catalogs,
1165
+ partitions=partitions,
1124
1166
  roles=roles,
1125
1167
  customer=customer,
1126
1168
  customer_uuid=customer_uuid,
@@ -9,6 +9,7 @@ from ..models.billing_unit import BillingUnit
9
9
  from ..types import UNSET, Unset
10
10
 
11
11
  if TYPE_CHECKING:
12
+ from ..models.nested_plan_component import NestedPlanComponent
12
13
  from ..models.organization_group import OrganizationGroup
13
14
  from ..models.provider_plan_details_future_prices import ProviderPlanDetailsFuturePrices
14
15
  from ..models.provider_plan_details_prices import ProviderPlanDetailsPrices
@@ -29,6 +30,7 @@ class ProviderPlanDetails:
29
30
  init_price (float):
30
31
  switch_price (float):
31
32
  organization_groups (list['OrganizationGroup']):
33
+ components (list['NestedPlanComponent']):
32
34
  offering (str):
33
35
  prices (ProviderPlanDetailsPrices):
34
36
  future_prices (ProviderPlanDetailsFuturePrices):
@@ -53,6 +55,7 @@ class ProviderPlanDetails:
53
55
  init_price: float
54
56
  switch_price: float
55
57
  organization_groups: list["OrganizationGroup"]
58
+ components: list["NestedPlanComponent"]
56
59
  offering: str
57
60
  prices: "ProviderPlanDetailsPrices"
58
61
  future_prices: "ProviderPlanDetailsFuturePrices"
@@ -87,6 +90,11 @@ class ProviderPlanDetails:
87
90
  organization_groups_item = organization_groups_item_data.to_dict()
88
91
  organization_groups.append(organization_groups_item)
89
92
 
93
+ components = []
94
+ for components_item_data in self.components:
95
+ components_item = components_item_data.to_dict()
96
+ components.append(components_item)
97
+
90
98
  offering = self.offering
91
99
 
92
100
  prices = self.prices.to_dict()
@@ -132,6 +140,7 @@ class ProviderPlanDetails:
132
140
  "init_price": init_price,
133
141
  "switch_price": switch_price,
134
142
  "organization_groups": organization_groups,
143
+ "components": components,
135
144
  "offering": offering,
136
145
  "prices": prices,
137
146
  "future_prices": future_prices,
@@ -160,6 +169,7 @@ class ProviderPlanDetails:
160
169
 
161
170
  @classmethod
162
171
  def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
172
+ from ..models.nested_plan_component import NestedPlanComponent
163
173
  from ..models.organization_group import OrganizationGroup
164
174
  from ..models.provider_plan_details_future_prices import ProviderPlanDetailsFuturePrices
165
175
  from ..models.provider_plan_details_prices import ProviderPlanDetailsPrices
@@ -185,6 +195,13 @@ class ProviderPlanDetails:
185
195
 
186
196
  organization_groups.append(organization_groups_item)
187
197
 
198
+ components = []
199
+ _components = d.pop("components")
200
+ for components_item_data in _components:
201
+ components_item = NestedPlanComponent.from_dict(components_item_data)
202
+
203
+ components.append(components_item)
204
+
188
205
  offering = d.pop("offering")
189
206
 
190
207
  prices = ProviderPlanDetailsPrices.from_dict(d.pop("prices"))
@@ -233,6 +250,7 @@ class ProviderPlanDetails:
233
250
  init_price=init_price,
234
251
  switch_price=switch_price,
235
252
  organization_groups=organization_groups,
253
+ components=components,
236
254
  offering=offering,
237
255
  prices=prices,
238
256
  future_prices=future_prices,
@@ -19,8 +19,10 @@ if TYPE_CHECKING:
19
19
  from ..models.nested_campaign import NestedCampaign
20
20
  from ..models.nested_endpoint import NestedEndpoint
21
21
  from ..models.nested_offering_file import NestedOfferingFile
22
+ from ..models.nested_partition import NestedPartition
22
23
  from ..models.nested_role import NestedRole
23
24
  from ..models.nested_screenshot import NestedScreenshot
25
+ from ..models.nested_software_catalog import NestedSoftwareCatalog
24
26
  from ..models.offering_component import OfferingComponent
25
27
  from ..models.offering_options import OfferingOptions
26
28
  from ..models.organization_group import OrganizationGroup
@@ -45,6 +47,8 @@ class PublicOfferingDetails:
45
47
  privacy_policy_link (Union[Unset, str]):
46
48
  access_url (Union[Unset, str]): Publicly accessible offering access URL
47
49
  endpoints (Union[Unset, list['NestedEndpoint']]):
50
+ software_catalogs (Union[Unset, list['NestedSoftwareCatalog']]):
51
+ partitions (Union[Unset, list['NestedPartition']]):
48
52
  roles (Union[Unset, list['NestedRole']]):
49
53
  customer (Union[None, Unset, str]):
50
54
  customer_uuid (Union[None, UUID, Unset]):
@@ -112,6 +116,8 @@ class PublicOfferingDetails:
112
116
  privacy_policy_link: Union[Unset, str] = UNSET
113
117
  access_url: Union[Unset, str] = UNSET
114
118
  endpoints: Union[Unset, list["NestedEndpoint"]] = UNSET
119
+ software_catalogs: Union[Unset, list["NestedSoftwareCatalog"]] = UNSET
120
+ partitions: Union[Unset, list["NestedPartition"]] = UNSET
115
121
  roles: Union[Unset, list["NestedRole"]] = UNSET
116
122
  customer: Union[None, Unset, str] = UNSET
117
123
  customer_uuid: Union[None, UUID, Unset] = UNSET
@@ -199,6 +205,20 @@ class PublicOfferingDetails:
199
205
  endpoints_item = endpoints_item_data.to_dict()
200
206
  endpoints.append(endpoints_item)
201
207
 
208
+ software_catalogs: Union[Unset, list[dict[str, Any]]] = UNSET
209
+ if not isinstance(self.software_catalogs, Unset):
210
+ software_catalogs = []
211
+ for software_catalogs_item_data in self.software_catalogs:
212
+ software_catalogs_item = software_catalogs_item_data.to_dict()
213
+ software_catalogs.append(software_catalogs_item)
214
+
215
+ partitions: Union[Unset, list[dict[str, Any]]] = UNSET
216
+ if not isinstance(self.partitions, Unset):
217
+ partitions = []
218
+ for partitions_item_data in self.partitions:
219
+ partitions_item = partitions_item_data.to_dict()
220
+ partitions.append(partitions_item)
221
+
202
222
  roles: Union[Unset, list[dict[str, Any]]] = UNSET
203
223
  if not isinstance(self.roles, Unset):
204
224
  roles = []
@@ -494,6 +514,10 @@ class PublicOfferingDetails:
494
514
  field_dict["access_url"] = access_url
495
515
  if endpoints is not UNSET:
496
516
  field_dict["endpoints"] = endpoints
517
+ if software_catalogs is not UNSET:
518
+ field_dict["software_catalogs"] = software_catalogs
519
+ if partitions is not UNSET:
520
+ field_dict["partitions"] = partitions
497
521
  if roles is not UNSET:
498
522
  field_dict["roles"] = roles
499
523
  if customer is not UNSET:
@@ -614,8 +638,10 @@ class PublicOfferingDetails:
614
638
  from ..models.nested_campaign import NestedCampaign
615
639
  from ..models.nested_endpoint import NestedEndpoint
616
640
  from ..models.nested_offering_file import NestedOfferingFile
641
+ from ..models.nested_partition import NestedPartition
617
642
  from ..models.nested_role import NestedRole
618
643
  from ..models.nested_screenshot import NestedScreenshot
644
+ from ..models.nested_software_catalog import NestedSoftwareCatalog
619
645
  from ..models.offering_component import OfferingComponent
620
646
  from ..models.offering_options import OfferingOptions
621
647
  from ..models.organization_group import OrganizationGroup
@@ -658,6 +684,20 @@ class PublicOfferingDetails:
658
684
 
659
685
  endpoints.append(endpoints_item)
660
686
 
687
+ software_catalogs = []
688
+ _software_catalogs = d.pop("software_catalogs", UNSET)
689
+ for software_catalogs_item_data in _software_catalogs or []:
690
+ software_catalogs_item = NestedSoftwareCatalog.from_dict(software_catalogs_item_data)
691
+
692
+ software_catalogs.append(software_catalogs_item)
693
+
694
+ partitions = []
695
+ _partitions = d.pop("partitions", UNSET)
696
+ for partitions_item_data in _partitions or []:
697
+ partitions_item = NestedPartition.from_dict(partitions_item_data)
698
+
699
+ partitions.append(partitions_item)
700
+
661
701
  roles = []
662
702
  _roles = d.pop("roles", UNSET)
663
703
  for roles_item_data in _roles or []:
@@ -1075,6 +1115,8 @@ class PublicOfferingDetails:
1075
1115
  privacy_policy_link=privacy_policy_link,
1076
1116
  access_url=access_url,
1077
1117
  endpoints=endpoints,
1118
+ software_catalogs=software_catalogs,
1119
+ partitions=partitions,
1078
1120
  roles=roles,
1079
1121
  customer=customer,
1080
1122
  customer_uuid=customer_uuid,
@@ -5,6 +5,7 @@ class RemoteResourceOrderRemoteStateEnum(IntEnum):
5
5
  VALUE_1 = 1
6
6
  VALUE_7 = 7
7
7
  VALUE_8 = 8
8
+ VALUE_9 = 9
8
9
  VALUE_2 = 2
9
10
  VALUE_3 = 3
10
11
  VALUE_4 = 4
@@ -5,32 +5,27 @@ from uuid import UUID
5
5
  from attrs import define as _attrs_define
6
6
  from attrs import field as _attrs_field
7
7
 
8
- T = TypeVar("T", bound="SetOfferingsUsername")
8
+ T = TypeVar("T", bound="RemovePartitionRequest")
9
9
 
10
10
 
11
11
  @_attrs_define
12
- class SetOfferingsUsername:
12
+ class RemovePartitionRequest:
13
13
  """
14
14
  Attributes:
15
- user_uuid (UUID):
16
- username (str):
15
+ partition_uuid (UUID):
17
16
  """
18
17
 
19
- user_uuid: UUID
20
- username: str
18
+ partition_uuid: UUID
21
19
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
22
20
 
23
21
  def to_dict(self) -> dict[str, Any]:
24
- user_uuid = str(self.user_uuid)
25
-
26
- username = self.username
22
+ partition_uuid = str(self.partition_uuid)
27
23
 
28
24
  field_dict: dict[str, Any] = {}
29
25
  field_dict.update(self.additional_properties)
30
26
  field_dict.update(
31
27
  {
32
- "user_uuid": user_uuid,
33
- "username": username,
28
+ "partition_uuid": partition_uuid,
34
29
  }
35
30
  )
36
31
 
@@ -39,17 +34,14 @@ class SetOfferingsUsername:
39
34
  @classmethod
40
35
  def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
41
36
  d = dict(src_dict)
42
- user_uuid = UUID(d.pop("user_uuid"))
43
-
44
- username = d.pop("username")
37
+ partition_uuid = UUID(d.pop("partition_uuid"))
45
38
 
46
- set_offerings_username = cls(
47
- user_uuid=user_uuid,
48
- username=username,
39
+ remove_partition_request = cls(
40
+ partition_uuid=partition_uuid,
49
41
  )
50
42
 
51
- set_offerings_username.additional_properties = d
52
- return set_offerings_username
43
+ remove_partition_request.additional_properties = d
44
+ return remove_partition_request
53
45
 
54
46
  @property
55
47
  def additional_keys(self) -> list[str]: