waldur-api-client 7.7.6__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 (261) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +34 -11
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +34 -11
  3. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_count.py +19 -0
  4. waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +19 -0
  5. waldur_api_client/api/customers/customers_project_metadata_compliance_details_list.py +189 -0
  6. waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
  7. waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
  8. waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
  9. waldur_api_client/api/customers/customers_users_list.py +141 -53
  10. waldur_api_client/api/invoices/invoices_items_retrieve.py +20 -0
  11. waldur_api_client/api/managed_rancher_cluster_resources/__init__.py +1 -0
  12. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_add_node.py +162 -0
  13. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_count.py +172 -0
  14. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_list.py +196 -0
  15. waldur_api_client/api/managed_rancher_cluster_resources/managed_rancher_cluster_resources_retrieve.py +171 -0
  16. waldur_api_client/api/marketplace_course_accounts/__init__.py +1 -0
  17. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +244 -0
  18. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create.py +148 -0
  19. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_create_bulk.py +152 -0
  20. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_destroy.py +89 -0
  21. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +245 -0
  22. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_retrieve.py +140 -0
  23. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_count.py +25 -0
  24. waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +25 -0
  25. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
  26. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
  27. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
  28. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
  29. waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
  30. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
  31. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
  32. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
  33. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
  34. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
  35. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
  36. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
  37. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
  38. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
  39. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
  40. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
  41. waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
  42. waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
  43. waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
  44. waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
  45. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
  46. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
  47. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_count.py +25 -0
  48. waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +25 -0
  49. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
  50. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
  51. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
  52. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
  53. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
  54. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
  55. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +284 -0
  56. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +29 -0
  57. waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
  58. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
  59. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
  60. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
  61. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
  62. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
  63. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
  64. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
  65. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
  66. waldur_api_client/api/project_permissions_reviews/__init__.py +1 -0
  67. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_close.py +91 -0
  68. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_count.py +266 -0
  69. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_list.py +269 -0
  70. waldur_api_client/api/project_permissions_reviews/project_permissions_reviews_retrieve.py +142 -0
  71. waldur_api_client/api/projects/projects_other_users_list.py +98 -23
  72. waldur_api_client/api/projects/projects_sync_user_roles.py +10 -9
  73. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
  74. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
  75. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
  76. waldur_api_client/api/support_issue_statuses/__init__.py +1 -0
  77. waldur_api_client/api/support_issue_statuses/support_issue_statuses_count.py +172 -0
  78. waldur_api_client/api/support_issue_statuses/support_issue_statuses_create.py +148 -0
  79. waldur_api_client/api/support_issue_statuses/support_issue_statuses_destroy.py +89 -0
  80. waldur_api_client/api/support_issue_statuses/support_issue_statuses_list.py +173 -0
  81. waldur_api_client/api/support_issue_statuses/support_issue_statuses_partial_update.py +162 -0
  82. waldur_api_client/api/support_issue_statuses/support_issue_statuses_retrieve.py +140 -0
  83. waldur_api_client/api/support_issue_statuses/support_issue_statuses_update.py +162 -0
  84. waldur_api_client/api/user_group_invitations/user_group_invitations_submit_request.py +12 -12
  85. waldur_api_client/api/user_invitations/user_invitations_count.py +30 -0
  86. waldur_api_client/api/user_invitations/user_invitations_list.py +30 -0
  87. waldur_api_client/api/user_permission_requests/user_permission_requests_cancel_request.py +146 -0
  88. waldur_api_client/models/__init__.py +136 -2
  89. waldur_api_client/models/azure_sql_server_create_order_attributes.py +3 -0
  90. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +3 -0
  91. waldur_api_client/models/booking_offerings_list_field_item.py +0 -2
  92. waldur_api_client/models/booking_offerings_retrieve_field_item.py +0 -2
  93. waldur_api_client/models/booking_resource.py +10 -9
  94. waldur_api_client/models/booking_resources_list_field_item.py +1 -1
  95. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
  96. waldur_api_client/models/cancel_request_response.py +75 -0
  97. waldur_api_client/models/checklist_info.py +76 -0
  98. waldur_api_client/models/compliance_overview.py +91 -0
  99. waldur_api_client/models/constance_settings.py +9 -0
  100. waldur_api_client/models/constance_settings_request.py +9 -0
  101. waldur_api_client/models/course_account.py +188 -0
  102. waldur_api_client/models/course_account_create_nested.py +68 -0
  103. waldur_api_client/models/course_account_create_nested_request.py +68 -0
  104. waldur_api_client/models/course_account_request.py +89 -0
  105. waldur_api_client/models/course_accounts_bulk_create.py +82 -0
  106. waldur_api_client/models/course_accounts_bulk_create_request.py +82 -0
  107. waldur_api_client/models/customer.py +90 -0
  108. waldur_api_client/models/customer_permission_review.py +16 -16
  109. waldur_api_client/models/customer_request.py +9 -0
  110. waldur_api_client/models/customer_service_account.py +9 -0
  111. waldur_api_client/models/customers_list_field_item.py +5 -0
  112. waldur_api_client/models/customers_retrieve_field_item.py +5 -0
  113. waldur_api_client/models/customers_users_list_o.py +9 -0
  114. waldur_api_client/models/customers_users_list_organization_role_item_type_0.py +10 -0
  115. waldur_api_client/models/customers_users_list_project_role_item_type_0.py +10 -0
  116. waldur_api_client/models/dependency_logic_operator_enum.py +9 -0
  117. waldur_api_client/models/event_subscription.py +1 -1
  118. waldur_api_client/models/event_types_enum.py +4 -0
  119. waldur_api_client/models/generic_order_attributes.py +69 -0
  120. waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
  121. waldur_api_client/models/google_auth_list_field_item.py +1 -0
  122. waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
  123. waldur_api_client/models/google_credentials.py +9 -0
  124. waldur_api_client/models/group_invitation.py +33 -0
  125. waldur_api_client/models/group_invitation_request.py +10 -0
  126. waldur_api_client/models/invitation.py +9 -0
  127. waldur_api_client/models/invoices_items_retrieve_o.py +15 -0
  128. waldur_api_client/models/issue_status.py +103 -0
  129. waldur_api_client/models/issue_status_request.py +78 -0
  130. waldur_api_client/models/issue_status_type_enum.py +9 -0
  131. waldur_api_client/models/kind_enum.py +10 -0
  132. waldur_api_client/models/maintenance_announcement.py +8 -0
  133. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +82 -0
  134. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +82 -0
  135. waldur_api_client/models/managed_rancher_create_node_request.py +186 -0
  136. waldur_api_client/models/marketplace_course_accounts_count_state_item.py +10 -0
  137. waldur_api_client/models/marketplace_course_accounts_list_state_item.py +10 -0
  138. waldur_api_client/models/marketplace_customer_service_accounts_count_state_item.py +10 -0
  139. waldur_api_client/models/marketplace_customer_service_accounts_list_state_item.py +10 -0
  140. waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
  141. waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
  142. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
  143. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
  144. waldur_api_client/models/marketplace_project_service_accounts_count_state_item.py +10 -0
  145. waldur_api_client/models/marketplace_project_service_accounts_list_state_item.py +10 -0
  146. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +0 -2
  147. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +0 -2
  148. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +0 -2
  149. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +0 -2
  150. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +0 -2
  151. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +0 -2
  152. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
  153. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
  154. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
  155. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +0 -2
  156. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +0 -2
  157. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +3 -0
  158. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
  159. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
  160. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
  161. waldur_api_client/models/marketplace_service_providers_course_accounts_list_state_item.py +10 -0
  162. waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
  163. waldur_api_client/models/marketplace_service_providers_project_service_accounts_list_state_item.py +10 -0
  164. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
  165. waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
  166. waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
  167. waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
  168. waldur_api_client/models/nested_security_group_rule.py +223 -0
  169. waldur_api_client/models/nested_security_group_rule_request.py +188 -0
  170. waldur_api_client/models/offering.py +0 -18
  171. waldur_api_client/models/offering_create.py +0 -18
  172. waldur_api_client/models/offering_create_request.py +0 -18
  173. waldur_api_client/models/offering_overview_update_request.py +0 -18
  174. waldur_api_client/models/offering_terms_of_service.py +142 -0
  175. waldur_api_client/models/offering_terms_of_service_create.py +107 -0
  176. waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
  177. waldur_api_client/models/offering_terms_of_service_request.py +96 -0
  178. waldur_api_client/models/open_stack_backup_restoration_request.py +0 -22
  179. waldur_api_client/models/open_stack_fixed_ip.py +13 -3
  180. waldur_api_client/models/open_stack_fixed_ip_request.py +7 -2
  181. waldur_api_client/models/open_stack_instance_create_order_attributes.py +23 -20
  182. waldur_api_client/models/open_stack_nested_security_group.py +53 -1
  183. waldur_api_client/models/open_stack_network.py +20 -0
  184. waldur_api_client/models/open_stack_port_ip_update_request.py +6 -2
  185. waldur_api_client/models/open_stack_security_group_rule_update_request.py +4 -4
  186. waldur_api_client/models/open_stack_static_route.py +13 -4
  187. waldur_api_client/models/open_stack_static_route_request.py +7 -3
  188. waldur_api_client/models/open_stack_sub_net.py +15 -2
  189. waldur_api_client/models/open_stack_sub_net_allocation_pool.py +27 -8
  190. waldur_api_client/models/open_stack_sub_net_allocation_pool_request.py +14 -5
  191. waldur_api_client/models/open_stack_sub_net_request.py +15 -2
  192. waldur_api_client/models/open_stack_tenant.py +38 -0
  193. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +21 -0
  194. waldur_api_client/models/open_stack_volume_create_order_attributes.py +3 -0
  195. waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
  196. waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
  197. waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
  198. waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
  199. waldur_api_client/models/order_create.py +0 -8
  200. waldur_api_client/models/order_create_request.py +23 -7
  201. waldur_api_client/models/order_details.py +0 -9
  202. waldur_api_client/models/patched_customer_request.py +9 -0
  203. waldur_api_client/models/patched_issue_status_request.py +76 -0
  204. waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
  205. waldur_api_client/models/patched_open_stack_sub_net_request.py +15 -2
  206. waldur_api_client/models/patched_project_request.py +17 -0
  207. waldur_api_client/models/patched_question_admin_request.py +17 -0
  208. waldur_api_client/models/patched_rancher_service_request.py +1 -1
  209. waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
  210. waldur_api_client/models/permission_project.py +147 -0
  211. waldur_api_client/models/permission_request.py +16 -0
  212. waldur_api_client/models/project.py +17 -0
  213. waldur_api_client/models/project_answer.py +122 -0
  214. waldur_api_client/models/project_detail.py +133 -0
  215. waldur_api_client/models/project_details_response.py +115 -0
  216. waldur_api_client/models/project_permission_review.py +166 -0
  217. waldur_api_client/models/project_permissions_reviews_count_o_item.py +11 -0
  218. waldur_api_client/models/project_permissions_reviews_list_o_item.py +11 -0
  219. waldur_api_client/models/project_request.py +17 -0
  220. waldur_api_client/models/project_service_account.py +9 -0
  221. waldur_api_client/models/projects_list_field_item.py +1 -0
  222. waldur_api_client/models/projects_other_users_list_o.py +9 -0
  223. waldur_api_client/models/projects_retrieve_field_item.py +1 -0
  224. waldur_api_client/models/proposal.py +8 -0
  225. waldur_api_client/models/proposal_review.py +8 -0
  226. waldur_api_client/models/provider_offering_details.py +0 -18
  227. waldur_api_client/models/provider_offering_details_request.py +0 -18
  228. waldur_api_client/models/public_offering_details.py +0 -18
  229. waldur_api_client/models/question_admin.py +17 -0
  230. waldur_api_client/models/question_admin_request.py +17 -0
  231. waldur_api_client/models/question_answer.py +176 -0
  232. waldur_api_client/models/question_answer_project_answers_item.py +44 -0
  233. waldur_api_client/models/question_answer_question_options_item.py +44 -0
  234. waldur_api_client/models/rancher_nested_public_ip.py +25 -7
  235. waldur_api_client/models/rancher_service.py +1 -1
  236. waldur_api_client/models/rancher_service_request.py +1 -1
  237. waldur_api_client/models/remote_resource_order.py +88 -0
  238. waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
  239. waldur_api_client/models/remote_resource_sync_status.py +123 -0
  240. waldur_api_client/models/{robot_account_states.py → remote_resource_sync_status_remote_state_enum.py} +1 -1
  241. waldur_api_client/models/remote_resource_team_member.py +85 -0
  242. waldur_api_client/models/resource.py +10 -9
  243. waldur_api_client/models/rmq_connection.py +8 -3
  244. waldur_api_client/models/rmq_subscription.py +7 -3
  245. waldur_api_client/models/robot_account.py +9 -17
  246. waldur_api_client/models/robot_account_details.py +9 -17
  247. waldur_api_client/models/service_account_state.py +10 -0
  248. waldur_api_client/models/service_provider.py +9 -0
  249. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +3 -0
  250. waldur_api_client/models/submit_request_response.py +75 -0
  251. waldur_api_client/models/sync_status_enum.py +10 -0
  252. waldur_api_client/models/user_offering_consent.py +202 -0
  253. waldur_api_client/models/user_offering_consent_create.py +60 -0
  254. waldur_api_client/models/user_offering_consent_create_request.py +60 -0
  255. waldur_api_client/models/user_offering_consent_request.py +59 -0
  256. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +3 -0
  257. waldur_api_client/models/visible_invitation_details.py +9 -0
  258. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/METADATA +1 -1
  259. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/RECORD +261 -145
  260. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/LICENSE +0 -0
  261. {waldur_api_client-7.7.6.dist-info → waldur_api_client-7.7.8.dist-info}/WHEEL +0 -0
@@ -20,6 +20,8 @@ class Invitation:
20
20
  Attributes:
21
21
  scope_uuid (UUID):
22
22
  scope_name (str):
23
+ scope_description (str): Get the description field from the scope if it exists.
24
+ Returns empty string if scope doesn't have a description field.
23
25
  scope_type (Union[None, str]):
24
26
  customer_uuid (UUID):
25
27
  customer_name (str):
@@ -49,6 +51,7 @@ class Invitation:
49
51
 
50
52
  scope_uuid: UUID
51
53
  scope_name: str
54
+ scope_description: str
52
55
  scope_type: Union[None, str]
53
56
  customer_uuid: UUID
54
57
  customer_name: str
@@ -79,6 +82,8 @@ class Invitation:
79
82
 
80
83
  scope_name = self.scope_name
81
84
 
85
+ scope_description = self.scope_description
86
+
82
87
  scope_type: Union[None, str]
83
88
  scope_type = self.scope_type
84
89
 
@@ -132,6 +137,7 @@ class Invitation:
132
137
  {
133
138
  "scope_uuid": scope_uuid,
134
139
  "scope_name": scope_name,
140
+ "scope_description": scope_description,
135
141
  "scope_type": scope_type,
136
142
  "customer_uuid": customer_uuid,
137
143
  "customer_name": customer_name,
@@ -174,6 +180,8 @@ class Invitation:
174
180
 
175
181
  scope_name = d.pop("scope_name")
176
182
 
183
+ scope_description = d.pop("scope_description")
184
+
177
185
  def _parse_scope_type(data: object) -> Union[None, str]:
178
186
  if data is None:
179
187
  return data
@@ -228,6 +236,7 @@ class Invitation:
228
236
  invitation = cls(
229
237
  scope_uuid=scope_uuid,
230
238
  scope_name=scope_name,
239
+ scope_description=scope_description,
231
240
  scope_type=scope_type,
232
241
  customer_uuid=customer_uuid,
233
242
  customer_name=customer_name,
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class InvoicesItemsRetrieveO(str, Enum):
5
+ NAME = "name"
6
+ PROJECT_NAME = "project_name"
7
+ PROVIDER_NAME = "provider_name"
8
+ RESOURCE_NAME = "resource_name"
9
+ VALUE_1 = "-project_name"
10
+ VALUE_3 = "-resource_name"
11
+ VALUE_5 = "-provider_name"
12
+ VALUE_7 = "-name"
13
+
14
+ def __str__(self) -> str:
15
+ return str(self.value)
@@ -0,0 +1,103 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union
3
+ from uuid import UUID
4
+
5
+ from attrs import define as _attrs_define
6
+ from attrs import field as _attrs_field
7
+
8
+ from ..models.issue_status_type_enum import IssueStatusTypeEnum
9
+ from ..types import UNSET, Unset
10
+
11
+ T = TypeVar("T", bound="IssueStatus")
12
+
13
+
14
+ @_attrs_define
15
+ class IssueStatus:
16
+ """
17
+ Attributes:
18
+ url (str):
19
+ uuid (UUID):
20
+ name (str): Status name in Jira.
21
+ type_display (str):
22
+ type_ (Union[Unset, IssueStatusTypeEnum]):
23
+ """
24
+
25
+ url: str
26
+ uuid: UUID
27
+ name: str
28
+ type_display: str
29
+ type_: Union[Unset, IssueStatusTypeEnum] = UNSET
30
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
31
+
32
+ def to_dict(self) -> dict[str, Any]:
33
+ url = self.url
34
+
35
+ uuid = str(self.uuid)
36
+
37
+ name = self.name
38
+
39
+ type_display = self.type_display
40
+
41
+ type_: Union[Unset, int] = UNSET
42
+ if not isinstance(self.type_, Unset):
43
+ type_ = self.type_.value
44
+
45
+ field_dict: dict[str, Any] = {}
46
+ field_dict.update(self.additional_properties)
47
+ field_dict.update(
48
+ {
49
+ "url": url,
50
+ "uuid": uuid,
51
+ "name": name,
52
+ "type_display": type_display,
53
+ }
54
+ )
55
+ if type_ is not UNSET:
56
+ field_dict["type"] = type_
57
+
58
+ return field_dict
59
+
60
+ @classmethod
61
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
62
+ d = dict(src_dict)
63
+ url = d.pop("url")
64
+
65
+ uuid = UUID(d.pop("uuid"))
66
+
67
+ name = d.pop("name")
68
+
69
+ type_display = d.pop("type_display")
70
+
71
+ _type_ = d.pop("type", UNSET)
72
+ type_: Union[Unset, IssueStatusTypeEnum]
73
+ if isinstance(_type_, Unset):
74
+ type_ = UNSET
75
+ else:
76
+ type_ = IssueStatusTypeEnum(_type_)
77
+
78
+ issue_status = cls(
79
+ url=url,
80
+ uuid=uuid,
81
+ name=name,
82
+ type_display=type_display,
83
+ type_=type_,
84
+ )
85
+
86
+ issue_status.additional_properties = d
87
+ return issue_status
88
+
89
+ @property
90
+ def additional_keys(self) -> list[str]:
91
+ return list(self.additional_properties.keys())
92
+
93
+ def __getitem__(self, key: str) -> Any:
94
+ return self.additional_properties[key]
95
+
96
+ def __setitem__(self, key: str, value: Any) -> None:
97
+ self.additional_properties[key] = value
98
+
99
+ def __delitem__(self, key: str) -> None:
100
+ del self.additional_properties[key]
101
+
102
+ def __contains__(self, key: str) -> bool:
103
+ return key in self.additional_properties
@@ -0,0 +1,78 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..models.issue_status_type_enum import IssueStatusTypeEnum
8
+ from ..types import UNSET, Unset
9
+
10
+ T = TypeVar("T", bound="IssueStatusRequest")
11
+
12
+
13
+ @_attrs_define
14
+ class IssueStatusRequest:
15
+ """
16
+ Attributes:
17
+ name (str): Status name in Jira.
18
+ type_ (Union[Unset, IssueStatusTypeEnum]):
19
+ """
20
+
21
+ name: str
22
+ type_: Union[Unset, IssueStatusTypeEnum] = UNSET
23
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
24
+
25
+ def to_dict(self) -> dict[str, Any]:
26
+ name = self.name
27
+
28
+ type_: Union[Unset, int] = UNSET
29
+ if not isinstance(self.type_, Unset):
30
+ type_ = self.type_.value
31
+
32
+ field_dict: dict[str, Any] = {}
33
+ field_dict.update(self.additional_properties)
34
+ field_dict.update(
35
+ {
36
+ "name": name,
37
+ }
38
+ )
39
+ if type_ is not UNSET:
40
+ field_dict["type"] = type_
41
+
42
+ return field_dict
43
+
44
+ @classmethod
45
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
46
+ d = dict(src_dict)
47
+ name = d.pop("name")
48
+
49
+ _type_ = d.pop("type", UNSET)
50
+ type_: Union[Unset, IssueStatusTypeEnum]
51
+ if isinstance(_type_, Unset):
52
+ type_ = UNSET
53
+ else:
54
+ type_ = IssueStatusTypeEnum(_type_)
55
+
56
+ issue_status_request = cls(
57
+ name=name,
58
+ type_=type_,
59
+ )
60
+
61
+ issue_status_request.additional_properties = d
62
+ return issue_status_request
63
+
64
+ @property
65
+ def additional_keys(self) -> list[str]:
66
+ return list(self.additional_properties.keys())
67
+
68
+ def __getitem__(self, key: str) -> Any:
69
+ return self.additional_properties[key]
70
+
71
+ def __setitem__(self, key: str, value: Any) -> None:
72
+ self.additional_properties[key] = value
73
+
74
+ def __delitem__(self, key: str) -> None:
75
+ del self.additional_properties[key]
76
+
77
+ def __contains__(self, key: str) -> bool:
78
+ return key in self.additional_properties
@@ -0,0 +1,9 @@
1
+ from enum import IntEnum
2
+
3
+
4
+ class IssueStatusTypeEnum(IntEnum):
5
+ VALUE_0 = 0
6
+ VALUE_1 = 1
7
+
8
+ def __str__(self) -> str:
9
+ return str(self.value)
@@ -0,0 +1,10 @@
1
+ from enum import Enum
2
+
3
+
4
+ class KindEnum(str, Enum):
5
+ COURSE = "course"
6
+ DEFAULT = "default"
7
+ PUBLIC = "public"
8
+
9
+ def __str__(self) -> str:
10
+ return str(self.value)
@@ -34,6 +34,7 @@ class MaintenanceAnnouncement:
34
34
  created_by (Union[None, str]):
35
35
  affected_offerings (list['MaintenanceAnnouncementOffering']):
36
36
  service_provider_name (str):
37
+ backend_id (str):
37
38
  message (Union[Unset, str]):
38
39
  maintenance_type (Union[Unset, MaintenanceTypeEnum]):
39
40
  external_reference_url (Union[Unset, str]): Optional reference to an external maintenance tracker
@@ -51,6 +52,7 @@ class MaintenanceAnnouncement:
51
52
  created_by: Union[None, str]
52
53
  affected_offerings: list["MaintenanceAnnouncementOffering"]
53
54
  service_provider_name: str
55
+ backend_id: str
54
56
  message: Union[Unset, str] = UNSET
55
57
  maintenance_type: Union[Unset, MaintenanceTypeEnum] = UNSET
56
58
  external_reference_url: Union[Unset, str] = UNSET
@@ -93,6 +95,8 @@ class MaintenanceAnnouncement:
93
95
 
94
96
  service_provider_name = self.service_provider_name
95
97
 
98
+ backend_id = self.backend_id
99
+
96
100
  message = self.message
97
101
 
98
102
  maintenance_type: Union[Unset, int] = UNSET
@@ -117,6 +121,7 @@ class MaintenanceAnnouncement:
117
121
  "created_by": created_by,
118
122
  "affected_offerings": affected_offerings,
119
123
  "service_provider_name": service_provider_name,
124
+ "backend_id": backend_id,
120
125
  }
121
126
  )
122
127
  if message is not UNSET:
@@ -193,6 +198,8 @@ class MaintenanceAnnouncement:
193
198
 
194
199
  service_provider_name = d.pop("service_provider_name")
195
200
 
201
+ backend_id = d.pop("backend_id")
202
+
196
203
  message = d.pop("message", UNSET)
197
204
 
198
205
  _maintenance_type = d.pop("maintenance_type", UNSET)
@@ -217,6 +224,7 @@ class MaintenanceAnnouncement:
217
224
  created_by=created_by,
218
225
  affected_offerings=affected_offerings,
219
226
  service_provider_name=service_provider_name,
227
+ backend_id=backend_id,
220
228
  message=message,
221
229
  maintenance_type=maintenance_type,
222
230
  external_reference_url=external_reference_url,
@@ -0,0 +1,82 @@
1
+ from enum import Enum
2
+
3
+
4
+ class ManagedRancherClusterResourcesListFieldItem(str, Enum):
5
+ ATTRIBUTES = "attributes"
6
+ AVAILABLE_ACTIONS = "available_actions"
7
+ BACKEND_ID = "backend_id"
8
+ BACKEND_METADATA = "backend_metadata"
9
+ CAN_TERMINATE = "can_terminate"
10
+ CATEGORY_ICON = "category_icon"
11
+ CATEGORY_TITLE = "category_title"
12
+ CATEGORY_UUID = "category_uuid"
13
+ CREATED = "created"
14
+ CREATION_ORDER = "creation_order"
15
+ CURRENT_USAGES = "current_usages"
16
+ CUSTOMER_NAME = "customer_name"
17
+ CUSTOMER_SLUG = "customer_slug"
18
+ CUSTOMER_UUID = "customer_uuid"
19
+ DESCRIPTION = "description"
20
+ DOWNSCALED = "downscaled"
21
+ EFFECTIVE_ID = "effective_id"
22
+ ENDPOINTS = "endpoints"
23
+ END_DATE = "end_date"
24
+ END_DATE_REQUESTED_BY = "end_date_requested_by"
25
+ ERROR_MESSAGE = "error_message"
26
+ ERROR_TRACEBACK = "error_traceback"
27
+ IS_LIMIT_BASED = "is_limit_based"
28
+ IS_USAGE_BASED = "is_usage_based"
29
+ LAST_SYNC = "last_sync"
30
+ LIMITS = "limits"
31
+ LIMIT_USAGE = "limit_usage"
32
+ MODIFIED = "modified"
33
+ NAME = "name"
34
+ OFFERING = "offering"
35
+ OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
+ OFFERING_DESCRIPTION = "offering_description"
38
+ OFFERING_IMAGE = "offering_image"
39
+ OFFERING_NAME = "offering_name"
40
+ OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
+ OFFERING_SHARED = "offering_shared"
42
+ OFFERING_SLUG = "offering_slug"
43
+ OFFERING_THUMBNAIL = "offering_thumbnail"
44
+ OFFERING_TYPE = "offering_type"
45
+ OFFERING_UUID = "offering_uuid"
46
+ OPTIONS = "options"
47
+ ORDER_IN_PROGRESS = "order_in_progress"
48
+ PARENT_NAME = "parent_name"
49
+ PARENT_OFFERING_NAME = "parent_offering_name"
50
+ PARENT_OFFERING_SLUG = "parent_offering_slug"
51
+ PARENT_OFFERING_UUID = "parent_offering_uuid"
52
+ PARENT_UUID = "parent_uuid"
53
+ PAUSED = "paused"
54
+ PLAN = "plan"
55
+ PLAN_DESCRIPTION = "plan_description"
56
+ PLAN_NAME = "plan_name"
57
+ PLAN_UNIT = "plan_unit"
58
+ PLAN_UUID = "plan_uuid"
59
+ PROJECT = "project"
60
+ PROJECT_DESCRIPTION = "project_description"
61
+ PROJECT_END_DATE = "project_end_date"
62
+ PROJECT_END_DATE_REQUESTED_BY = "project_end_date_requested_by"
63
+ PROJECT_NAME = "project_name"
64
+ PROJECT_SLUG = "project_slug"
65
+ PROJECT_UUID = "project_uuid"
66
+ PROVIDER_NAME = "provider_name"
67
+ PROVIDER_UUID = "provider_uuid"
68
+ REPORT = "report"
69
+ RESOURCE_TYPE = "resource_type"
70
+ RESOURCE_UUID = "resource_uuid"
71
+ RESTRICT_MEMBER_ACCESS = "restrict_member_access"
72
+ SCOPE = "scope"
73
+ SERVICE_SETTINGS_UUID = "service_settings_uuid"
74
+ SLUG = "slug"
75
+ STATE = "state"
76
+ URL = "url"
77
+ USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
+ UUID = "uuid"
80
+
81
+ def __str__(self) -> str:
82
+ return str(self.value)
@@ -0,0 +1,82 @@
1
+ from enum import Enum
2
+
3
+
4
+ class ManagedRancherClusterResourcesRetrieveFieldItem(str, Enum):
5
+ ATTRIBUTES = "attributes"
6
+ AVAILABLE_ACTIONS = "available_actions"
7
+ BACKEND_ID = "backend_id"
8
+ BACKEND_METADATA = "backend_metadata"
9
+ CAN_TERMINATE = "can_terminate"
10
+ CATEGORY_ICON = "category_icon"
11
+ CATEGORY_TITLE = "category_title"
12
+ CATEGORY_UUID = "category_uuid"
13
+ CREATED = "created"
14
+ CREATION_ORDER = "creation_order"
15
+ CURRENT_USAGES = "current_usages"
16
+ CUSTOMER_NAME = "customer_name"
17
+ CUSTOMER_SLUG = "customer_slug"
18
+ CUSTOMER_UUID = "customer_uuid"
19
+ DESCRIPTION = "description"
20
+ DOWNSCALED = "downscaled"
21
+ EFFECTIVE_ID = "effective_id"
22
+ ENDPOINTS = "endpoints"
23
+ END_DATE = "end_date"
24
+ END_DATE_REQUESTED_BY = "end_date_requested_by"
25
+ ERROR_MESSAGE = "error_message"
26
+ ERROR_TRACEBACK = "error_traceback"
27
+ IS_LIMIT_BASED = "is_limit_based"
28
+ IS_USAGE_BASED = "is_usage_based"
29
+ LAST_SYNC = "last_sync"
30
+ LIMITS = "limits"
31
+ LIMIT_USAGE = "limit_usage"
32
+ MODIFIED = "modified"
33
+ NAME = "name"
34
+ OFFERING = "offering"
35
+ OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
+ OFFERING_DESCRIPTION = "offering_description"
38
+ OFFERING_IMAGE = "offering_image"
39
+ OFFERING_NAME = "offering_name"
40
+ OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
+ OFFERING_SHARED = "offering_shared"
42
+ OFFERING_SLUG = "offering_slug"
43
+ OFFERING_THUMBNAIL = "offering_thumbnail"
44
+ OFFERING_TYPE = "offering_type"
45
+ OFFERING_UUID = "offering_uuid"
46
+ OPTIONS = "options"
47
+ ORDER_IN_PROGRESS = "order_in_progress"
48
+ PARENT_NAME = "parent_name"
49
+ PARENT_OFFERING_NAME = "parent_offering_name"
50
+ PARENT_OFFERING_SLUG = "parent_offering_slug"
51
+ PARENT_OFFERING_UUID = "parent_offering_uuid"
52
+ PARENT_UUID = "parent_uuid"
53
+ PAUSED = "paused"
54
+ PLAN = "plan"
55
+ PLAN_DESCRIPTION = "plan_description"
56
+ PLAN_NAME = "plan_name"
57
+ PLAN_UNIT = "plan_unit"
58
+ PLAN_UUID = "plan_uuid"
59
+ PROJECT = "project"
60
+ PROJECT_DESCRIPTION = "project_description"
61
+ PROJECT_END_DATE = "project_end_date"
62
+ PROJECT_END_DATE_REQUESTED_BY = "project_end_date_requested_by"
63
+ PROJECT_NAME = "project_name"
64
+ PROJECT_SLUG = "project_slug"
65
+ PROJECT_UUID = "project_uuid"
66
+ PROVIDER_NAME = "provider_name"
67
+ PROVIDER_UUID = "provider_uuid"
68
+ REPORT = "report"
69
+ RESOURCE_TYPE = "resource_type"
70
+ RESOURCE_UUID = "resource_uuid"
71
+ RESTRICT_MEMBER_ACCESS = "restrict_member_access"
72
+ SCOPE = "scope"
73
+ SERVICE_SETTINGS_UUID = "service_settings_uuid"
74
+ SLUG = "slug"
75
+ STATE = "state"
76
+ URL = "url"
77
+ USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
+ UUID = "uuid"
80
+
81
+ def __str__(self) -> str:
82
+ return str(self.value)
@@ -0,0 +1,186 @@
1
+ from collections.abc import Mapping
2
+ from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ from ..models.role_enum import RoleEnum
8
+ from ..types import UNSET, Unset
9
+
10
+ if TYPE_CHECKING:
11
+ from ..models.data_volume_request import DataVolumeRequest
12
+
13
+
14
+ T = TypeVar("T", bound="ManagedRancherCreateNodeRequest")
15
+
16
+
17
+ @_attrs_define
18
+ class ManagedRancherCreateNodeRequest:
19
+ """
20
+ Attributes:
21
+ role (RoleEnum):
22
+ subnet (Union[None, str]):
23
+ system_volume_size (Union[Unset, int]):
24
+ system_volume_type (Union[None, Unset, str]):
25
+ memory (Union[Unset, int]):
26
+ cpu (Union[Unset, int]):
27
+ flavor (Union[None, Unset, str]):
28
+ data_volumes (Union[Unset, list['DataVolumeRequest']]):
29
+ ssh_public_key (Union[Unset, str]):
30
+ tenant (Union[Unset, str]):
31
+ """
32
+
33
+ role: RoleEnum
34
+ subnet: Union[None, str]
35
+ system_volume_size: Union[Unset, int] = UNSET
36
+ system_volume_type: Union[None, Unset, str] = UNSET
37
+ memory: Union[Unset, int] = UNSET
38
+ cpu: Union[Unset, int] = UNSET
39
+ flavor: Union[None, Unset, str] = UNSET
40
+ data_volumes: Union[Unset, list["DataVolumeRequest"]] = UNSET
41
+ ssh_public_key: Union[Unset, str] = UNSET
42
+ tenant: Union[Unset, str] = UNSET
43
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
44
+
45
+ def to_dict(self) -> dict[str, Any]:
46
+ role = self.role.value
47
+
48
+ subnet: Union[None, str]
49
+ subnet = self.subnet
50
+
51
+ system_volume_size = self.system_volume_size
52
+
53
+ system_volume_type: Union[None, Unset, str]
54
+ if isinstance(self.system_volume_type, Unset):
55
+ system_volume_type = UNSET
56
+ else:
57
+ system_volume_type = self.system_volume_type
58
+
59
+ memory = self.memory
60
+
61
+ cpu = self.cpu
62
+
63
+ flavor: Union[None, Unset, str]
64
+ if isinstance(self.flavor, Unset):
65
+ flavor = UNSET
66
+ else:
67
+ flavor = self.flavor
68
+
69
+ data_volumes: Union[Unset, list[dict[str, Any]]] = UNSET
70
+ if not isinstance(self.data_volumes, Unset):
71
+ data_volumes = []
72
+ for data_volumes_item_data in self.data_volumes:
73
+ data_volumes_item = data_volumes_item_data.to_dict()
74
+ data_volumes.append(data_volumes_item)
75
+
76
+ ssh_public_key = self.ssh_public_key
77
+
78
+ tenant = self.tenant
79
+
80
+ field_dict: dict[str, Any] = {}
81
+ field_dict.update(self.additional_properties)
82
+ field_dict.update(
83
+ {
84
+ "role": role,
85
+ "subnet": subnet,
86
+ }
87
+ )
88
+ if system_volume_size is not UNSET:
89
+ field_dict["system_volume_size"] = system_volume_size
90
+ if system_volume_type is not UNSET:
91
+ field_dict["system_volume_type"] = system_volume_type
92
+ if memory is not UNSET:
93
+ field_dict["memory"] = memory
94
+ if cpu is not UNSET:
95
+ field_dict["cpu"] = cpu
96
+ if flavor is not UNSET:
97
+ field_dict["flavor"] = flavor
98
+ if data_volumes is not UNSET:
99
+ field_dict["data_volumes"] = data_volumes
100
+ if ssh_public_key is not UNSET:
101
+ field_dict["ssh_public_key"] = ssh_public_key
102
+ if tenant is not UNSET:
103
+ field_dict["tenant"] = tenant
104
+
105
+ return field_dict
106
+
107
+ @classmethod
108
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
109
+ from ..models.data_volume_request import DataVolumeRequest
110
+
111
+ d = dict(src_dict)
112
+ role = RoleEnum(d.pop("role"))
113
+
114
+ def _parse_subnet(data: object) -> Union[None, str]:
115
+ if data is None:
116
+ return data
117
+ return cast(Union[None, str], data)
118
+
119
+ subnet = _parse_subnet(d.pop("subnet"))
120
+
121
+ system_volume_size = d.pop("system_volume_size", UNSET)
122
+
123
+ def _parse_system_volume_type(data: object) -> Union[None, Unset, str]:
124
+ if data is None:
125
+ return data
126
+ if isinstance(data, Unset):
127
+ return data
128
+ return cast(Union[None, Unset, str], data)
129
+
130
+ system_volume_type = _parse_system_volume_type(d.pop("system_volume_type", UNSET))
131
+
132
+ memory = d.pop("memory", UNSET)
133
+
134
+ cpu = d.pop("cpu", UNSET)
135
+
136
+ def _parse_flavor(data: object) -> Union[None, Unset, str]:
137
+ if data is None:
138
+ return data
139
+ if isinstance(data, Unset):
140
+ return data
141
+ return cast(Union[None, Unset, str], data)
142
+
143
+ flavor = _parse_flavor(d.pop("flavor", UNSET))
144
+
145
+ data_volumes = []
146
+ _data_volumes = d.pop("data_volumes", UNSET)
147
+ for data_volumes_item_data in _data_volumes or []:
148
+ data_volumes_item = DataVolumeRequest.from_dict(data_volumes_item_data)
149
+
150
+ data_volumes.append(data_volumes_item)
151
+
152
+ ssh_public_key = d.pop("ssh_public_key", UNSET)
153
+
154
+ tenant = d.pop("tenant", UNSET)
155
+
156
+ managed_rancher_create_node_request = cls(
157
+ role=role,
158
+ subnet=subnet,
159
+ system_volume_size=system_volume_size,
160
+ system_volume_type=system_volume_type,
161
+ memory=memory,
162
+ cpu=cpu,
163
+ flavor=flavor,
164
+ data_volumes=data_volumes,
165
+ ssh_public_key=ssh_public_key,
166
+ tenant=tenant,
167
+ )
168
+
169
+ managed_rancher_create_node_request.additional_properties = d
170
+ return managed_rancher_create_node_request
171
+
172
+ @property
173
+ def additional_keys(self) -> list[str]:
174
+ return list(self.additional_properties.keys())
175
+
176
+ def __getitem__(self, key: str) -> Any:
177
+ return self.additional_properties[key]
178
+
179
+ def __setitem__(self, key: str, value: Any) -> None:
180
+ self.additional_properties[key] = value
181
+
182
+ def __delitem__(self, key: str) -> None:
183
+ del self.additional_properties[key]
184
+
185
+ def __contains__(self, key: str) -> bool:
186
+ return key in self.additional_properties
@@ -0,0 +1,10 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceCourseAccountsCountStateItem(str, Enum):
5
+ CLOSED = "Closed"
6
+ ERRED = "Erred"
7
+ OK = "OK"
8
+
9
+ def __str__(self) -> str:
10
+ return str(self.value)
@@ -0,0 +1,10 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceCourseAccountsListStateItem(str, Enum):
5
+ CLOSED = "Closed"
6
+ ERRED = "Erred"
7
+ OK = "OK"
8
+
9
+ def __str__(self) -> str:
10
+ return str(self.value)