waldur-api-client 7.7.5__py3-none-any.whl → 7.7.7__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 (229) 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/customers/customers_project_metadata_compliance_details_list.py +189 -0
  4. waldur_api_client/api/customers/customers_project_metadata_compliance_overview_list.py +189 -0
  5. waldur_api_client/api/customers/customers_project_metadata_compliance_projects_list.py +187 -0
  6. waldur_api_client/api/customers/customers_project_metadata_question_answers_list.py +187 -0
  7. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_count.py +34 -11
  8. waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +34 -11
  9. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_count.py +34 -11
  10. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +34 -11
  11. waldur_api_client/api/marketplace_offering_terms_of_service/__init__.py +1 -0
  12. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_count.py +274 -0
  13. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_create.py +152 -0
  14. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_destroy.py +89 -0
  15. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_list.py +277 -0
  16. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_partial_update.py +164 -0
  17. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_retrieve.py +142 -0
  18. waldur_api_client/api/marketplace_offering_terms_of_service/marketplace_offering_terms_of_service_update.py +164 -0
  19. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_count.py +34 -11
  20. waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +34 -11
  21. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_retrieve.py +154 -0
  22. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_review_retrieve.py +154 -0
  23. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_review_status_retrieve.py +154 -0
  24. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_completion_status_retrieve.py +154 -0
  25. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_count.py +34 -11
  26. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +34 -11
  27. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_submit_answers.py +179 -0
  28. waldur_api_client/api/marketplace_orders/marketplace_orders_count.py +19 -0
  29. waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +19 -0
  30. waldur_api_client/api/marketplace_plans/marketplace_plans_count.py +19 -0
  31. waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +19 -0
  32. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_count.py +19 -0
  33. waldur_api_client/api/marketplace_plans/marketplace_plans_usage_stats_list.py +19 -0
  34. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +34 -11
  35. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +34 -11
  36. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +34 -11
  37. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +34 -11
  38. waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +23 -0
  39. waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_retrieve.py +30 -1
  40. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_count.py +34 -11
  41. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +34 -11
  42. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_service_accounts_list.py +276 -0
  43. waldur_api_client/api/marketplace_service_providers/service_provider_compliance_overview.py +189 -0
  44. waldur_api_client/api/marketplace_service_providers/service_provider_offering_users_compliance.py +222 -0
  45. waldur_api_client/api/marketplace_user_offering_consents/__init__.py +1 -0
  46. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_count.py +307 -0
  47. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_create.py +152 -0
  48. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_destroy.py +89 -0
  49. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_list.py +310 -0
  50. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_partial_update.py +164 -0
  51. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_retrieve.py +142 -0
  52. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_revoke.py +146 -0
  53. waldur_api_client/api/marketplace_user_offering_consents/marketplace_user_offering_consents_update.py +164 -0
  54. waldur_api_client/api/public_maintenance_announcements/__init__.py +1 -0
  55. waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_count.py +325 -0
  56. waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_list.py +328 -0
  57. waldur_api_client/api/public_maintenance_announcements/public_maintenance_announcements_retrieve.py +144 -0
  58. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_order_status_retrieve.py +145 -0
  59. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_status_retrieve.py +147 -0
  60. waldur_api_client/api/remote_waldur_api/remote_waldur_api_remote_resource_team_status_list.py +188 -0
  61. waldur_api_client/models/__init__.py +118 -4
  62. waldur_api_client/models/admin_announcement.py +109 -1
  63. waldur_api_client/models/admin_announcement_maintenance_affected_offerings_item.py +103 -0
  64. waldur_api_client/models/admin_announcements_list_field_item.py +8 -0
  65. waldur_api_client/models/admin_announcements_retrieve_field_item.py +8 -0
  66. waldur_api_client/models/azure_sql_server_create_order_attributes.py +83 -0
  67. waldur_api_client/models/azure_virtual_machine_create_order_attributes.py +99 -0
  68. waldur_api_client/models/basic_user.py +30 -21
  69. waldur_api_client/models/booking_offerings_list_field_item.py +1 -2
  70. waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -2
  71. waldur_api_client/models/booking_resource.py +10 -9
  72. waldur_api_client/models/booking_resources_list_field_item.py +1 -1
  73. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -1
  74. waldur_api_client/models/checklist_info.py +76 -0
  75. waldur_api_client/models/compliance_overview.py +91 -0
  76. waldur_api_client/models/create_router.py +1 -1
  77. waldur_api_client/models/create_router_request.py +1 -1
  78. waldur_api_client/models/customer.py +51 -0
  79. waldur_api_client/models/customers_list_field_item.py +2 -0
  80. waldur_api_client/models/customers_retrieve_field_item.py +2 -0
  81. waldur_api_client/models/fingerprint.py +19 -17
  82. waldur_api_client/models/generic_order_attributes.py +69 -0
  83. waldur_api_client/models/google_auth_authorize_retrieve_field_item.py +1 -0
  84. waldur_api_client/models/google_auth_list_field_item.py +1 -0
  85. waldur_api_client/models/google_auth_retrieve_field_item.py +1 -0
  86. waldur_api_client/models/google_credentials.py +9 -0
  87. waldur_api_client/models/group_invitation.py +24 -0
  88. waldur_api_client/models/group_invitation_request.py +10 -0
  89. waldur_api_client/models/instance_flavor_change_request.py +1 -1
  90. waldur_api_client/models/maintenance_announcement.py +8 -0
  91. waldur_api_client/models/marketplace_managed_rancher_create_order_attributes.py +144 -0
  92. waldur_api_client/models/marketplace_offering_terms_of_service_count_o_item.py +13 -0
  93. waldur_api_client/models/marketplace_offering_terms_of_service_list_o_item.py +13 -0
  94. waldur_api_client/models/marketplace_orders_list_field_item.py +1 -1
  95. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +1 -1
  96. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -2
  97. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -2
  98. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -2
  99. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -2
  100. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -2
  101. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -2
  102. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -1
  103. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -1
  104. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -1
  105. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -2
  106. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -2
  107. waldur_api_client/models/marketplace_rancher_create_order_attributes.py +145 -0
  108. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -1
  109. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -1
  110. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -1
  111. waldur_api_client/models/marketplace_robot_accounts_list_field_item.py +32 -0
  112. waldur_api_client/models/marketplace_robot_accounts_retrieve_field_item.py +32 -0
  113. waldur_api_client/models/marketplace_service_providers_list_field_item.py +1 -0
  114. waldur_api_client/models/marketplace_service_providers_retrieve_field_item.py +1 -0
  115. waldur_api_client/models/marketplace_user_offering_consents_count_o_item.py +15 -0
  116. waldur_api_client/models/marketplace_user_offering_consents_list_o_item.py +15 -0
  117. waldur_api_client/models/offering.py +9 -18
  118. waldur_api_client/models/offering_create.py +8 -18
  119. waldur_api_client/models/offering_create_request.py +0 -18
  120. waldur_api_client/models/offering_overview_update_request.py +0 -18
  121. waldur_api_client/models/offering_terms_of_service.py +142 -0
  122. waldur_api_client/models/offering_terms_of_service_create.py +107 -0
  123. waldur_api_client/models/offering_terms_of_service_create_request.py +107 -0
  124. waldur_api_client/models/offering_terms_of_service_request.py +96 -0
  125. waldur_api_client/models/open_stack_backend_instance.py +2 -2
  126. waldur_api_client/models/open_stack_backend_volumes.py +3 -3
  127. waldur_api_client/models/open_stack_backup.py +1 -1
  128. waldur_api_client/models/open_stack_backup_restoration.py +8 -5
  129. waldur_api_client/models/open_stack_backup_restoration_request.py +28 -3
  130. waldur_api_client/models/open_stack_fixed_ip.py +2 -2
  131. waldur_api_client/models/open_stack_fixed_ip_request.py +2 -2
  132. waldur_api_client/models/open_stack_floating_ip.py +5 -4
  133. waldur_api_client/models/open_stack_instance.py +17 -15
  134. waldur_api_client/models/open_stack_instance_allowed_address_pairs_update_request.py +3 -2
  135. waldur_api_client/models/open_stack_instance_availability_zone.py +1 -1
  136. waldur_api_client/models/open_stack_instance_create_order_attributes.py +283 -0
  137. waldur_api_client/models/open_stack_instance_request.py +4 -3
  138. waldur_api_client/models/open_stack_instance_security_groups_update_request.py +1 -1
  139. waldur_api_client/models/open_stack_nested_floating_ip.py +3 -3
  140. waldur_api_client/models/open_stack_nested_instance.py +1 -1
  141. waldur_api_client/models/open_stack_nested_port.py +5 -5
  142. waldur_api_client/models/open_stack_nested_port_request.py +1 -1
  143. waldur_api_client/models/open_stack_nested_security_group.py +16 -16
  144. waldur_api_client/models/open_stack_nested_security_group_request.py +59 -0
  145. waldur_api_client/models/{nested_security_group_rule_request.py → open_stack_nested_security_group_rules_item.py} +73 -63
  146. waldur_api_client/models/open_stack_nested_sub_net.py +4 -4
  147. waldur_api_client/models/open_stack_nested_sub_net_request.py +4 -4
  148. waldur_api_client/models/open_stack_nested_volume.py +3 -3
  149. waldur_api_client/models/open_stack_nested_volume_request.py +3 -3
  150. waldur_api_client/models/open_stack_network.py +23 -3
  151. waldur_api_client/models/open_stack_port.py +10 -9
  152. waldur_api_client/models/open_stack_port_ip_update_request.py +2 -2
  153. waldur_api_client/models/open_stack_port_request.py +3 -3
  154. waldur_api_client/models/open_stack_router.py +2 -2
  155. waldur_api_client/models/open_stack_router_interface_request.py +4 -2
  156. waldur_api_client/models/open_stack_security_group_rule_create.py +6 -5
  157. waldur_api_client/models/open_stack_security_group_rule_create_request.py +6 -5
  158. waldur_api_client/models/open_stack_security_group_rule_update_request.py +10 -9
  159. waldur_api_client/models/open_stack_server_group.py +2 -1
  160. waldur_api_client/models/open_stack_server_group_request.py +2 -1
  161. waldur_api_client/models/open_stack_snapshot.py +2 -2
  162. waldur_api_client/models/open_stack_snapshot_restoration.py +1 -1
  163. waldur_api_client/models/open_stack_sub_net.py +5 -5
  164. waldur_api_client/models/open_stack_sub_net_request.py +2 -2
  165. waldur_api_client/models/open_stack_tenant.py +41 -3
  166. waldur_api_client/models/open_stack_tenant_create_order_attributes.py +130 -0
  167. waldur_api_client/models/open_stack_volume.py +9 -9
  168. waldur_api_client/models/open_stack_volume_create_order_attributes.py +155 -0
  169. waldur_api_client/models/open_stack_volume_request.py +1 -1
  170. waldur_api_client/models/openstack_networks_list_field_item.py +1 -0
  171. waldur_api_client/models/openstack_networks_retrieve_field_item.py +1 -0
  172. waldur_api_client/models/openstack_tenants_list_field_item.py +3 -0
  173. waldur_api_client/models/openstack_tenants_retrieve_field_item.py +3 -0
  174. waldur_api_client/models/order_create.py +0 -8
  175. waldur_api_client/models/order_create_request.py +181 -4
  176. waldur_api_client/models/order_details.py +0 -9
  177. waldur_api_client/models/patched_offering_terms_of_service_request.py +96 -0
  178. waldur_api_client/models/patched_open_stack_instance_request.py +4 -3
  179. waldur_api_client/models/patched_open_stack_server_group_request.py +2 -1
  180. waldur_api_client/models/patched_open_stack_sub_net_request.py +2 -2
  181. waldur_api_client/models/patched_open_stack_volume_request.py +1 -1
  182. waldur_api_client/models/patched_user_offering_consent_request.py +59 -0
  183. waldur_api_client/models/permission_project.py +147 -0
  184. waldur_api_client/models/permission_request.py +2 -2
  185. waldur_api_client/models/project_answer.py +122 -0
  186. waldur_api_client/models/project_detail.py +133 -0
  187. waldur_api_client/models/project_details_response.py +115 -0
  188. waldur_api_client/models/provider_offering_details.py +9 -18
  189. waldur_api_client/models/provider_offering_details_request.py +0 -18
  190. waldur_api_client/models/public_maintenance_announcement.py +217 -0
  191. waldur_api_client/models/public_maintenance_announcement_state_enum.py +10 -0
  192. waldur_api_client/models/public_maintenance_announcements_count_o_item.py +15 -0
  193. waldur_api_client/models/public_maintenance_announcements_count_state_item.py +12 -0
  194. waldur_api_client/models/public_maintenance_announcements_list_o_item.py +15 -0
  195. waldur_api_client/models/public_maintenance_announcements_list_state_item.py +12 -0
  196. waldur_api_client/models/public_offering_details.py +9 -18
  197. waldur_api_client/models/question_answer.py +176 -0
  198. waldur_api_client/models/question_answer_project_answers_item.py +44 -0
  199. waldur_api_client/models/question_answer_question_options_item.py +44 -0
  200. waldur_api_client/models/rancher_cluster_security_group_rule.py +5 -4
  201. waldur_api_client/models/rancher_cluster_security_group_rule_request.py +5 -4
  202. waldur_api_client/models/remote_project_update_request.py +2 -2
  203. waldur_api_client/models/remote_resource_order.py +88 -0
  204. waldur_api_client/models/remote_resource_order_remote_state_enum.py +15 -0
  205. waldur_api_client/models/remote_resource_sync_status.py +123 -0
  206. waldur_api_client/models/remote_resource_sync_status_remote_state_enum.py +13 -0
  207. waldur_api_client/models/remote_resource_team_member.py +85 -0
  208. waldur_api_client/models/resource.py +10 -9
  209. waldur_api_client/models/robot_account_details.py +226 -144
  210. waldur_api_client/models/service_provider.py +9 -0
  211. waldur_api_client/models/service_provider_compliance_overview.py +122 -0
  212. waldur_api_client/models/service_provider_offering_user_compliance.py +179 -0
  213. waldur_api_client/models/service_provider_offering_user_compliance_state_enum.py +17 -0
  214. waldur_api_client/models/slurm_invoices_slurm_package_create_order_attributes.py +75 -0
  215. waldur_api_client/models/sync_status_enum.py +10 -0
  216. waldur_api_client/models/user_offering_consent.py +202 -0
  217. waldur_api_client/models/user_offering_consent_create.py +60 -0
  218. waldur_api_client/models/user_offering_consent_create_request.py +60 -0
  219. waldur_api_client/models/user_offering_consent_request.py +59 -0
  220. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes.py +228 -0
  221. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_1.py +155 -0
  222. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_2_type_1.py +155 -0
  223. waldur_api_client/models/v_mware_virtual_machine_create_order_attributes_guest_os_type_3_type_1.py +155 -0
  224. waldur_api_client/models/volume_attach_request.py +1 -1
  225. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/METADATA +1 -1
  226. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/RECORD +228 -138
  227. waldur_api_client/models/nested_security_group_rule.py +0 -222
  228. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/LICENSE +0 -0
  229. {waldur_api_client-7.7.5.dist-info → waldur_api_client-7.7.7.dist-info}/WHEEL +0 -0
@@ -0,0 +1,145 @@
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 ..types import UNSET, Unset
8
+
9
+ if TYPE_CHECKING:
10
+ from ..models.rancher_nested_node_request import RancherNestedNodeRequest
11
+
12
+
13
+ T = TypeVar("T", bound="MarketplaceRancherCreateOrderAttributes")
14
+
15
+
16
+ @_attrs_define
17
+ class MarketplaceRancherCreateOrderAttributes:
18
+ """This mixin allows to specify list of fields to be rendered by serializer.
19
+ It expects that request is available in serializer's context.
20
+
21
+ It is disabled for nested serializers (where parent is another serializer)
22
+ but remains active for list views (where parent is a ListSerializer).
23
+
24
+ Attributes:
25
+ name (str):
26
+ nodes (list['RancherNestedNodeRequest']):
27
+ description (Union[Unset, str]):
28
+ tenant (Union[Unset, str]):
29
+ ssh_public_key (Union[Unset, str]):
30
+ install_longhorn (Union[Unset, bool]): Longhorn is a distributed block storage deployed on top of Kubernetes
31
+ cluster Default: False.
32
+ vm_project (Union[None, Unset, str]):
33
+ """
34
+
35
+ name: str
36
+ nodes: list["RancherNestedNodeRequest"]
37
+ description: Union[Unset, str] = UNSET
38
+ tenant: Union[Unset, str] = UNSET
39
+ ssh_public_key: Union[Unset, str] = UNSET
40
+ install_longhorn: Union[Unset, bool] = False
41
+ vm_project: Union[None, Unset, str] = UNSET
42
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
43
+
44
+ def to_dict(self) -> dict[str, Any]:
45
+ name = self.name
46
+
47
+ nodes = []
48
+ for nodes_item_data in self.nodes:
49
+ nodes_item = nodes_item_data.to_dict()
50
+ nodes.append(nodes_item)
51
+
52
+ description = self.description
53
+
54
+ tenant = self.tenant
55
+
56
+ ssh_public_key = self.ssh_public_key
57
+
58
+ install_longhorn = self.install_longhorn
59
+
60
+ vm_project: Union[None, Unset, str]
61
+ if isinstance(self.vm_project, Unset):
62
+ vm_project = UNSET
63
+ else:
64
+ vm_project = self.vm_project
65
+
66
+ field_dict: dict[str, Any] = {}
67
+ field_dict.update(self.additional_properties)
68
+ field_dict.update(
69
+ {
70
+ "name": name,
71
+ "nodes": nodes,
72
+ }
73
+ )
74
+ if description is not UNSET:
75
+ field_dict["description"] = description
76
+ if tenant is not UNSET:
77
+ field_dict["tenant"] = tenant
78
+ if ssh_public_key is not UNSET:
79
+ field_dict["ssh_public_key"] = ssh_public_key
80
+ if install_longhorn is not UNSET:
81
+ field_dict["install_longhorn"] = install_longhorn
82
+ if vm_project is not UNSET:
83
+ field_dict["vm_project"] = vm_project
84
+
85
+ return field_dict
86
+
87
+ @classmethod
88
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
89
+ from ..models.rancher_nested_node_request import RancherNestedNodeRequest
90
+
91
+ d = dict(src_dict)
92
+ name = d.pop("name")
93
+
94
+ nodes = []
95
+ _nodes = d.pop("nodes")
96
+ for nodes_item_data in _nodes:
97
+ nodes_item = RancherNestedNodeRequest.from_dict(nodes_item_data)
98
+
99
+ nodes.append(nodes_item)
100
+
101
+ description = d.pop("description", UNSET)
102
+
103
+ tenant = d.pop("tenant", UNSET)
104
+
105
+ ssh_public_key = d.pop("ssh_public_key", UNSET)
106
+
107
+ install_longhorn = d.pop("install_longhorn", UNSET)
108
+
109
+ def _parse_vm_project(data: object) -> Union[None, Unset, str]:
110
+ if data is None:
111
+ return data
112
+ if isinstance(data, Unset):
113
+ return data
114
+ return cast(Union[None, Unset, str], data)
115
+
116
+ vm_project = _parse_vm_project(d.pop("vm_project", UNSET))
117
+
118
+ marketplace_rancher_create_order_attributes = cls(
119
+ name=name,
120
+ nodes=nodes,
121
+ description=description,
122
+ tenant=tenant,
123
+ ssh_public_key=ssh_public_key,
124
+ install_longhorn=install_longhorn,
125
+ vm_project=vm_project,
126
+ )
127
+
128
+ marketplace_rancher_create_order_attributes.additional_properties = d
129
+ return marketplace_rancher_create_order_attributes
130
+
131
+ @property
132
+ def additional_keys(self) -> list[str]:
133
+ return list(self.additional_properties.keys())
134
+
135
+ def __getitem__(self, key: str) -> Any:
136
+ return self.additional_properties[key]
137
+
138
+ def __setitem__(self, key: str, value: Any) -> None:
139
+ self.additional_properties[key] = value
140
+
141
+ def __delitem__(self, key: str) -> None:
142
+ del self.additional_properties[key]
143
+
144
+ def __contains__(self, key: str) -> bool:
145
+ return key in self.additional_properties
@@ -40,7 +40,6 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -40,7 +40,6 @@ class MarketplaceResourcesListFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceResourcesListFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -40,7 +40,6 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
40
40
  OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
41
41
  OFFERING_SHARED = "offering_shared"
42
42
  OFFERING_SLUG = "offering_slug"
43
- OFFERING_TERMS_OF_SERVICE = "offering_terms_of_service"
44
43
  OFFERING_THUMBNAIL = "offering_thumbnail"
45
44
  OFFERING_TYPE = "offering_type"
46
45
  OFFERING_UUID = "offering_uuid"
@@ -76,6 +75,7 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
76
75
  STATE = "state"
77
76
  URL = "url"
78
77
  USERNAME = "username"
78
+ USER_REQUIRES_RECONSENT = "user_requires_reconsent"
79
79
  UUID = "uuid"
80
80
 
81
81
  def __str__(self) -> str:
@@ -0,0 +1,32 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceRobotAccountsListFieldItem(str, Enum):
5
+ BACKEND_ID = "backend_id"
6
+ CREATED = "created"
7
+ CUSTOMER_NAME = "customer_name"
8
+ CUSTOMER_UUID = "customer_uuid"
9
+ DESCRIPTION = "description"
10
+ ERROR_MESSAGE = "error_message"
11
+ ERROR_TRACEBACK = "error_traceback"
12
+ FINGERPRINTS = "fingerprints"
13
+ KEYS = "keys"
14
+ MODIFIED = "modified"
15
+ OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
16
+ OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
17
+ PROJECT_NAME = "project_name"
18
+ PROJECT_UUID = "project_uuid"
19
+ RESOURCE = "resource"
20
+ RESOURCE_NAME = "resource_name"
21
+ RESOURCE_UUID = "resource_uuid"
22
+ RESPONSIBLE_USER = "responsible_user"
23
+ STATE = "state"
24
+ TYPE = "type"
25
+ URL = "url"
26
+ USERNAME = "username"
27
+ USERS = "users"
28
+ USER_KEYS = "user_keys"
29
+ UUID = "uuid"
30
+
31
+ def __str__(self) -> str:
32
+ return str(self.value)
@@ -0,0 +1,32 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceRobotAccountsRetrieveFieldItem(str, Enum):
5
+ BACKEND_ID = "backend_id"
6
+ CREATED = "created"
7
+ CUSTOMER_NAME = "customer_name"
8
+ CUSTOMER_UUID = "customer_uuid"
9
+ DESCRIPTION = "description"
10
+ ERROR_MESSAGE = "error_message"
11
+ ERROR_TRACEBACK = "error_traceback"
12
+ FINGERPRINTS = "fingerprints"
13
+ KEYS = "keys"
14
+ MODIFIED = "modified"
15
+ OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
16
+ OFFERING_PLUGIN_OPTIONS = "offering_plugin_options"
17
+ PROJECT_NAME = "project_name"
18
+ PROJECT_UUID = "project_uuid"
19
+ RESOURCE = "resource"
20
+ RESOURCE_NAME = "resource_name"
21
+ RESOURCE_UUID = "resource_uuid"
22
+ RESPONSIBLE_USER = "responsible_user"
23
+ STATE = "state"
24
+ TYPE = "type"
25
+ URL = "url"
26
+ USERNAME = "username"
27
+ USERS = "users"
28
+ USER_KEYS = "user_keys"
29
+ UUID = "uuid"
30
+
31
+ def __str__(self) -> str:
32
+ return str(self.value)
@@ -12,6 +12,7 @@ class MarketplaceServiceProvidersListFieldItem(str, Enum):
12
12
  CUSTOMER_SLUG = "customer_slug"
13
13
  CUSTOMER_UUID = "customer_uuid"
14
14
  DESCRIPTION = "description"
15
+ ENABLE_NOTIFICATIONS = "enable_notifications"
15
16
  IMAGE = "image"
16
17
  OFFERING_COUNT = "offering_count"
17
18
  ORGANIZATION_GROUPS = "organization_groups"
@@ -12,6 +12,7 @@ class MarketplaceServiceProvidersRetrieveFieldItem(str, Enum):
12
12
  CUSTOMER_SLUG = "customer_slug"
13
13
  CUSTOMER_UUID = "customer_uuid"
14
14
  DESCRIPTION = "description"
15
+ ENABLE_NOTIFICATIONS = "enable_notifications"
15
16
  IMAGE = "image"
16
17
  OFFERING_COUNT = "offering_count"
17
18
  ORGANIZATION_GROUPS = "organization_groups"
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceUserOfferingConsentsCountOItem(str, Enum):
5
+ AGREEMENT_DATE = "agreement_date"
6
+ CREATED = "created"
7
+ MODIFIED = "modified"
8
+ REVOCATION_DATE = "revocation_date"
9
+ VALUE_0 = "-agreement_date"
10
+ VALUE_1 = "-created"
11
+ VALUE_2 = "-modified"
12
+ VALUE_3 = "-revocation_date"
13
+
14
+ def __str__(self) -> str:
15
+ return str(self.value)
@@ -0,0 +1,15 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceUserOfferingConsentsListOItem(str, Enum):
5
+ AGREEMENT_DATE = "agreement_date"
6
+ CREATED = "created"
7
+ MODIFIED = "modified"
8
+ REVOCATION_DATE = "revocation_date"
9
+ VALUE_0 = "-agreement_date"
10
+ VALUE_1 = "-created"
11
+ VALUE_2 = "-modified"
12
+ VALUE_3 = "-revocation_date"
13
+
14
+ def __str__(self) -> str:
15
+ return str(self.value)
@@ -42,8 +42,6 @@ class Offering:
42
42
  slug (Union[Unset, str]):
43
43
  description (Union[Unset, str]):
44
44
  full_description (Union[Unset, str]):
45
- terms_of_service (Union[Unset, str]):
46
- terms_of_service_link (Union[Unset, str]):
47
45
  privacy_policy_link (Union[Unset, str]):
48
46
  access_url (Union[Unset, str]): Publicly accessible offering access URL
49
47
  endpoints (Union[Unset, list['NestedEndpoint']]):
@@ -96,6 +94,7 @@ class Offering:
96
94
  parent_uuid (Union[None, UUID, Unset]):
97
95
  parent_name (Union[None, Unset, str]):
98
96
  backend_metadata (Union[Unset, Any]):
97
+ has_compliance_requirements (Union[Unset, bool]):
99
98
  googlecalendar (Union[Unset, GoogleCalendar]):
100
99
  """
101
100
 
@@ -106,8 +105,6 @@ class Offering:
106
105
  slug: Union[Unset, str] = UNSET
107
106
  description: Union[Unset, str] = UNSET
108
107
  full_description: Union[Unset, str] = UNSET
109
- terms_of_service: Union[Unset, str] = UNSET
110
- terms_of_service_link: Union[Unset, str] = UNSET
111
108
  privacy_policy_link: Union[Unset, str] = UNSET
112
109
  access_url: Union[Unset, str] = UNSET
113
110
  endpoints: Union[Unset, list["NestedEndpoint"]] = UNSET
@@ -160,6 +157,7 @@ class Offering:
160
157
  parent_uuid: Union[None, UUID, Unset] = UNSET
161
158
  parent_name: Union[None, Unset, str] = UNSET
162
159
  backend_metadata: Union[Unset, Any] = UNSET
160
+ has_compliance_requirements: Union[Unset, bool] = UNSET
163
161
  googlecalendar: Union[Unset, "GoogleCalendar"] = UNSET
164
162
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
165
163
 
@@ -182,10 +180,6 @@ class Offering:
182
180
 
183
181
  full_description = self.full_description
184
182
 
185
- terms_of_service = self.terms_of_service
186
-
187
- terms_of_service_link = self.terms_of_service_link
188
-
189
183
  privacy_policy_link = self.privacy_policy_link
190
184
 
191
185
  access_url = self.access_url
@@ -440,6 +434,8 @@ class Offering:
440
434
 
441
435
  backend_metadata = self.backend_metadata
442
436
 
437
+ has_compliance_requirements = self.has_compliance_requirements
438
+
443
439
  googlecalendar: Union[Unset, dict[str, Any]] = UNSET
444
440
  if not isinstance(self.googlecalendar, Unset):
445
441
  googlecalendar = self.googlecalendar.to_dict()
@@ -461,10 +457,6 @@ class Offering:
461
457
  field_dict["description"] = description
462
458
  if full_description is not UNSET:
463
459
  field_dict["full_description"] = full_description
464
- if terms_of_service is not UNSET:
465
- field_dict["terms_of_service"] = terms_of_service
466
- if terms_of_service_link is not UNSET:
467
- field_dict["terms_of_service_link"] = terms_of_service_link
468
460
  if privacy_policy_link is not UNSET:
469
461
  field_dict["privacy_policy_link"] = privacy_policy_link
470
462
  if access_url is not UNSET:
@@ -569,6 +561,8 @@ class Offering:
569
561
  field_dict["parent_name"] = parent_name
570
562
  if backend_metadata is not UNSET:
571
563
  field_dict["backend_metadata"] = backend_metadata
564
+ if has_compliance_requirements is not UNSET:
565
+ field_dict["has_compliance_requirements"] = has_compliance_requirements
572
566
  if googlecalendar is not UNSET:
573
567
  field_dict["googlecalendar"] = googlecalendar
574
568
 
@@ -614,10 +608,6 @@ class Offering:
614
608
 
615
609
  full_description = d.pop("full_description", UNSET)
616
610
 
617
- terms_of_service = d.pop("terms_of_service", UNSET)
618
-
619
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
620
-
621
611
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
622
612
 
623
613
  access_url = d.pop("access_url", UNSET)
@@ -997,6 +987,8 @@ class Offering:
997
987
 
998
988
  backend_metadata = d.pop("backend_metadata", UNSET)
999
989
 
990
+ has_compliance_requirements = d.pop("has_compliance_requirements", UNSET)
991
+
1000
992
  _googlecalendar = d.pop("googlecalendar", UNSET)
1001
993
  googlecalendar: Union[Unset, GoogleCalendar]
1002
994
  if isinstance(_googlecalendar, Unset):
@@ -1012,8 +1004,6 @@ class Offering:
1012
1004
  slug=slug,
1013
1005
  description=description,
1014
1006
  full_description=full_description,
1015
- terms_of_service=terms_of_service,
1016
- terms_of_service_link=terms_of_service_link,
1017
1007
  privacy_policy_link=privacy_policy_link,
1018
1008
  access_url=access_url,
1019
1009
  endpoints=endpoints,
@@ -1066,6 +1056,7 @@ class Offering:
1066
1056
  parent_uuid=parent_uuid,
1067
1057
  parent_name=parent_name,
1068
1058
  backend_metadata=backend_metadata,
1059
+ has_compliance_requirements=has_compliance_requirements,
1069
1060
  googlecalendar=googlecalendar,
1070
1061
  )
1071
1062
 
@@ -73,10 +73,9 @@ class OfferingCreate:
73
73
  parent_description (Union[None, str]):
74
74
  parent_uuid (Union[None, UUID]):
75
75
  parent_name (Union[None, str]):
76
+ has_compliance_requirements (bool):
76
77
  description (Union[Unset, str]):
77
78
  full_description (Union[Unset, str]):
78
- terms_of_service (Union[Unset, str]):
79
- terms_of_service_link (Union[Unset, str]):
80
79
  privacy_policy_link (Union[Unset, str]):
81
80
  access_url (Union[Unset, str]): Publicly accessible offering access URL
82
81
  customer (Union[None, Unset, str]):
@@ -138,10 +137,9 @@ class OfferingCreate:
138
137
  parent_description: Union[None, str]
139
138
  parent_uuid: Union[None, UUID]
140
139
  parent_name: Union[None, str]
140
+ has_compliance_requirements: bool
141
141
  description: Union[Unset, str] = UNSET
142
142
  full_description: Union[Unset, str] = UNSET
143
- terms_of_service: Union[Unset, str] = UNSET
144
- terms_of_service_link: Union[Unset, str] = UNSET
145
143
  privacy_policy_link: Union[Unset, str] = UNSET
146
144
  access_url: Union[Unset, str] = UNSET
147
145
  customer: Union[None, Unset, str] = UNSET
@@ -293,14 +291,12 @@ class OfferingCreate:
293
291
  parent_name: Union[None, str]
294
292
  parent_name = self.parent_name
295
293
 
294
+ has_compliance_requirements = self.has_compliance_requirements
295
+
296
296
  description = self.description
297
297
 
298
298
  full_description = self.full_description
299
299
 
300
- terms_of_service = self.terms_of_service
301
-
302
- terms_of_service_link = self.terms_of_service_link
303
-
304
300
  privacy_policy_link = self.privacy_policy_link
305
301
 
306
302
  access_url = self.access_url
@@ -425,16 +421,13 @@ class OfferingCreate:
425
421
  "parent_description": parent_description,
426
422
  "parent_uuid": parent_uuid,
427
423
  "parent_name": parent_name,
424
+ "has_compliance_requirements": has_compliance_requirements,
428
425
  }
429
426
  )
430
427
  if description is not UNSET:
431
428
  field_dict["description"] = description
432
429
  if full_description is not UNSET:
433
430
  field_dict["full_description"] = full_description
434
- if terms_of_service is not UNSET:
435
- field_dict["terms_of_service"] = terms_of_service
436
- if terms_of_service_link is not UNSET:
437
- field_dict["terms_of_service_link"] = terms_of_service_link
438
431
  if privacy_policy_link is not UNSET:
439
432
  field_dict["privacy_policy_link"] = privacy_policy_link
440
433
  if access_url is not UNSET:
@@ -725,14 +718,12 @@ class OfferingCreate:
725
718
 
726
719
  parent_name = _parse_parent_name(d.pop("parent_name"))
727
720
 
721
+ has_compliance_requirements = d.pop("has_compliance_requirements")
722
+
728
723
  description = d.pop("description", UNSET)
729
724
 
730
725
  full_description = d.pop("full_description", UNSET)
731
726
 
732
- terms_of_service = d.pop("terms_of_service", UNSET)
733
-
734
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
735
-
736
727
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
737
728
 
738
729
  access_url = d.pop("access_url", UNSET)
@@ -886,10 +877,9 @@ class OfferingCreate:
886
877
  parent_description=parent_description,
887
878
  parent_uuid=parent_uuid,
888
879
  parent_name=parent_name,
880
+ has_compliance_requirements=has_compliance_requirements,
889
881
  description=description,
890
882
  full_description=full_description,
891
- terms_of_service=terms_of_service,
892
- terms_of_service_link=terms_of_service_link,
893
883
  privacy_policy_link=privacy_policy_link,
894
884
  access_url=access_url,
895
885
  customer=customer,
@@ -29,8 +29,6 @@ class OfferingCreateRequest:
29
29
  type_ (str):
30
30
  description (Union[Unset, str]):
31
31
  full_description (Union[Unset, str]):
32
- terms_of_service (Union[Unset, str]):
33
- terms_of_service_link (Union[Unset, str]):
34
32
  privacy_policy_link (Union[Unset, str]):
35
33
  access_url (Union[Unset, str]): Publicly accessible offering access URL
36
34
  customer (Union[None, Unset, str]):
@@ -60,8 +58,6 @@ class OfferingCreateRequest:
60
58
  type_: str
61
59
  description: Union[Unset, str] = UNSET
62
60
  full_description: Union[Unset, str] = UNSET
63
- terms_of_service: Union[Unset, str] = UNSET
64
- terms_of_service_link: Union[Unset, str] = UNSET
65
61
  privacy_policy_link: Union[Unset, str] = UNSET
66
62
  access_url: Union[Unset, str] = UNSET
67
63
  customer: Union[None, Unset, str] = UNSET
@@ -97,10 +93,6 @@ class OfferingCreateRequest:
97
93
 
98
94
  full_description = self.full_description
99
95
 
100
- terms_of_service = self.terms_of_service
101
-
102
- terms_of_service_link = self.terms_of_service_link
103
-
104
96
  privacy_policy_link = self.privacy_policy_link
105
97
 
106
98
  access_url = self.access_url
@@ -206,10 +198,6 @@ class OfferingCreateRequest:
206
198
  field_dict["description"] = description
207
199
  if full_description is not UNSET:
208
200
  field_dict["full_description"] = full_description
209
- if terms_of_service is not UNSET:
210
- field_dict["terms_of_service"] = terms_of_service
211
- if terms_of_service_link is not UNSET:
212
- field_dict["terms_of_service_link"] = terms_of_service_link
213
201
  if privacy_policy_link is not UNSET:
214
202
  field_dict["privacy_policy_link"] = privacy_policy_link
215
203
  if access_url is not UNSET:
@@ -275,10 +263,6 @@ class OfferingCreateRequest:
275
263
 
276
264
  full_description = d.pop("full_description", UNSET)
277
265
 
278
- terms_of_service = d.pop("terms_of_service", UNSET)
279
-
280
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
281
-
282
266
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
283
267
 
284
268
  access_url = d.pop("access_url", UNSET)
@@ -422,8 +406,6 @@ class OfferingCreateRequest:
422
406
  type_=type_,
423
407
  description=description,
424
408
  full_description=full_description,
425
- terms_of_service=terms_of_service,
426
- terms_of_service_link=terms_of_service_link,
427
409
  privacy_policy_link=privacy_policy_link,
428
410
  access_url=access_url,
429
411
  customer=customer,
@@ -16,8 +16,6 @@ class OfferingOverviewUpdateRequest:
16
16
  name (str):
17
17
  description (Union[Unset, str]):
18
18
  full_description (Union[Unset, str]):
19
- terms_of_service (Union[Unset, str]):
20
- terms_of_service_link (Union[Unset, str]):
21
19
  privacy_policy_link (Union[Unset, str]):
22
20
  access_url (Union[Unset, str]): Publicly accessible offering access URL
23
21
  getting_started (Union[Unset, str]):
@@ -27,8 +25,6 @@ class OfferingOverviewUpdateRequest:
27
25
  name: str
28
26
  description: Union[Unset, str] = UNSET
29
27
  full_description: Union[Unset, str] = UNSET
30
- terms_of_service: Union[Unset, str] = UNSET
31
- terms_of_service_link: Union[Unset, str] = UNSET
32
28
  privacy_policy_link: Union[Unset, str] = UNSET
33
29
  access_url: Union[Unset, str] = UNSET
34
30
  getting_started: Union[Unset, str] = UNSET
@@ -42,10 +38,6 @@ class OfferingOverviewUpdateRequest:
42
38
 
43
39
  full_description = self.full_description
44
40
 
45
- terms_of_service = self.terms_of_service
46
-
47
- terms_of_service_link = self.terms_of_service_link
48
-
49
41
  privacy_policy_link = self.privacy_policy_link
50
42
 
51
43
  access_url = self.access_url
@@ -65,10 +57,6 @@ class OfferingOverviewUpdateRequest:
65
57
  field_dict["description"] = description
66
58
  if full_description is not UNSET:
67
59
  field_dict["full_description"] = full_description
68
- if terms_of_service is not UNSET:
69
- field_dict["terms_of_service"] = terms_of_service
70
- if terms_of_service_link is not UNSET:
71
- field_dict["terms_of_service_link"] = terms_of_service_link
72
60
  if privacy_policy_link is not UNSET:
73
61
  field_dict["privacy_policy_link"] = privacy_policy_link
74
62
  if access_url is not UNSET:
@@ -89,10 +77,6 @@ class OfferingOverviewUpdateRequest:
89
77
 
90
78
  full_description = d.pop("full_description", UNSET)
91
79
 
92
- terms_of_service = d.pop("terms_of_service", UNSET)
93
-
94
- terms_of_service_link = d.pop("terms_of_service_link", UNSET)
95
-
96
80
  privacy_policy_link = d.pop("privacy_policy_link", UNSET)
97
81
 
98
82
  access_url = d.pop("access_url", UNSET)
@@ -105,8 +89,6 @@ class OfferingOverviewUpdateRequest:
105
89
  name=name,
106
90
  description=description,
107
91
  full_description=full_description,
108
- terms_of_service=terms_of_service,
109
- terms_of_service_link=terms_of_service_link,
110
92
  privacy_policy_link=privacy_policy_link,
111
93
  access_url=access_url,
112
94
  getting_started=getting_started,