waldur-api-client 7.8.0__py3-none-any.whl → 7.8.2__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 (212) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +10 -13
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +10 -13
  3. waldur_api_client/api/call_managing_organisations/call_managing_organisations_create.py +44 -7
  4. waldur_api_client/api/call_managing_organisations/call_managing_organisations_partial_update.py +46 -7
  5. waldur_api_client/api/call_managing_organisations/call_managing_organisations_update.py +44 -7
  6. waldur_api_client/api/checklists_admin/checklists_admin_checklist_questions.py +49 -0
  7. waldur_api_client/api/checklists_admin/checklists_admin_count.py +43 -0
  8. waldur_api_client/api/checklists_admin/checklists_admin_list.py +43 -0
  9. waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_create.py +44 -7
  10. waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_partial_update.py +44 -7
  11. waldur_api_client/api/checklists_admin_categories/checklists_admin_categories_update.py +44 -7
  12. waldur_api_client/api/customers/customers_create.py +44 -7
  13. waldur_api_client/api/customers/customers_partial_update.py +44 -7
  14. waldur_api_client/api/customers/customers_update.py +44 -7
  15. waldur_api_client/api/external_links/external_links_create.py +44 -7
  16. waldur_api_client/api/external_links/external_links_partial_update.py +44 -7
  17. waldur_api_client/api/external_links/external_links_update.py +44 -7
  18. waldur_api_client/api/invoices/invoices_paid.py +44 -7
  19. waldur_api_client/api/marketplace_categories/marketplace_categories_create.py +44 -7
  20. waldur_api_client/api/marketplace_categories/marketplace_categories_partial_update.py +44 -7
  21. waldur_api_client/api/marketplace_categories/marketplace_categories_update.py +44 -7
  22. waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_create.py +44 -7
  23. waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_partial_update.py +44 -7
  24. waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_update.py +44 -7
  25. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_count.py +96 -0
  26. waldur_api_client/api/marketplace_course_accounts/marketplace_course_accounts_list.py +96 -0
  27. waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_create.py +44 -7
  28. waldur_api_client/api/marketplace_offering_user_checklist_completions/__init__.py +1 -0
  29. waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_count.py +286 -0
  30. waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_list.py +289 -0
  31. waldur_api_client/api/marketplace_offering_user_checklist_completions/marketplace_offering_user_checklist_completions_retrieve.py +141 -0
  32. waldur_api_client/api/marketplace_orders/marketplace_orders_update_attachment.py +44 -7
  33. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create.py +44 -7
  34. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list_course_accounts_retrieve.py +177 -0
  35. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_refresh_offering_usernames.py +0 -22
  36. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_compliance_checklist.py +105 -0
  37. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_image.py +44 -7
  38. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_thumbnail.py +30 -5
  39. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +10 -13
  40. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +10 -13
  41. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +10 -13
  42. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +10 -13
  43. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_create.py +44 -7
  44. waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_update.py +44 -7
  45. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_course_accounts_list.py +98 -0
  46. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_create.py +44 -7
  47. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_partial_update.py +44 -7
  48. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_update.py +44 -7
  49. waldur_api_client/api/override_settings/override_settings.py +30 -5
  50. waldur_api_client/api/payments/payments_create.py +44 -7
  51. waldur_api_client/api/payments/payments_partial_update.py +44 -7
  52. waldur_api_client/api/payments/payments_update.py +44 -7
  53. waldur_api_client/api/projects/projects_create.py +44 -7
  54. waldur_api_client/api/projects/projects_partial_update.py +44 -7
  55. waldur_api_client/api/projects/projects_update.py +44 -7
  56. waldur_api_client/api/proposal_proposals/proposal_proposals_attach_document.py +30 -5
  57. waldur_api_client/api/slurm_jobs/slurm_jobs_create.py +44 -7
  58. waldur_api_client/api/slurm_jobs/slurm_jobs_update.py +44 -7
  59. waldur_api_client/api/support_attachments/support_attachments_create.py +44 -7
  60. waldur_api_client/api/user_group_invitations/user_group_invitations_count.py +15 -0
  61. waldur_api_client/api/user_group_invitations/user_group_invitations_list.py +15 -0
  62. waldur_api_client/api/user_invitations/user_invitations_count.py +15 -0
  63. waldur_api_client/api/user_invitations/user_invitations_list.py +15 -0
  64. waldur_api_client/api/users/users_create.py +44 -7
  65. waldur_api_client/api/users/users_partial_update.py +44 -7
  66. waldur_api_client/api/users/users_update.py +44 -7
  67. waldur_api_client/models/__init__.py +172 -4
  68. waldur_api_client/models/agent_type_enum.py +13 -0
  69. waldur_api_client/models/attachment_request_form.py +70 -0
  70. waldur_api_client/models/attachment_request_multipart.py +83 -0
  71. waldur_api_client/models/booking_offerings_list_field_item.py +1 -0
  72. waldur_api_client/models/booking_offerings_retrieve_field_item.py +1 -0
  73. waldur_api_client/models/booking_resource.py +18 -0
  74. waldur_api_client/models/booking_resources_list_field_item.py +2 -0
  75. waldur_api_client/models/booking_resources_retrieve_field_item.py +2 -0
  76. waldur_api_client/models/call_managing_organisation_request_form.py +103 -0
  77. waldur_api_client/models/call_managing_organisation_request_multipart.py +122 -0
  78. waldur_api_client/models/call_round.py +11 -1
  79. waldur_api_client/models/category_group_request_form.py +103 -0
  80. waldur_api_client/models/category_group_request_multipart.py +122 -0
  81. waldur_api_client/models/checklist_category_request_form.py +103 -0
  82. waldur_api_client/models/checklist_category_request_multipart.py +122 -0
  83. waldur_api_client/models/checklists_admin_checklist_questions_checklist_type.py +11 -0
  84. waldur_api_client/models/checklists_admin_checklist_questions_checklist_type_in_item.py +11 -0
  85. waldur_api_client/models/checklists_admin_count_checklist_type.py +11 -0
  86. waldur_api_client/models/checklists_admin_count_checklist_type_in_item.py +11 -0
  87. waldur_api_client/models/checklists_admin_list_checklist_type.py +11 -0
  88. waldur_api_client/models/checklists_admin_list_checklist_type_in_item.py +11 -0
  89. waldur_api_client/models/constance_settings.py +9 -0
  90. waldur_api_client/models/constance_settings_request.py +9 -0
  91. waldur_api_client/models/constance_settings_request_form.py +1547 -0
  92. waldur_api_client/models/constance_settings_request_multipart.py +2173 -0
  93. waldur_api_client/models/course_account.py +24 -0
  94. waldur_api_client/models/customer.py +9 -0
  95. waldur_api_client/models/customer_request.py +9 -0
  96. waldur_api_client/models/customer_request_form.py +312 -0
  97. waldur_api_client/models/customer_request_multipart.py +394 -0
  98. waldur_api_client/models/customers_list_field_item.py +1 -0
  99. waldur_api_client/models/customers_retrieve_field_item.py +1 -0
  100. waldur_api_client/models/external_link_request_form.py +111 -0
  101. waldur_api_client/models/external_link_request_multipart.py +132 -0
  102. waldur_api_client/models/firecrest_job_request_form.py +104 -0
  103. waldur_api_client/models/firecrest_job_request_multipart.py +127 -0
  104. waldur_api_client/models/group_invitation.py +8 -0
  105. waldur_api_client/models/integration_status.py +21 -4
  106. waldur_api_client/models/invitation.py +8 -0
  107. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +2 -0
  108. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +2 -0
  109. waldur_api_client/models/marketplace_category_request_form.py +153 -0
  110. waldur_api_client/models/marketplace_category_request_multipart.py +187 -0
  111. waldur_api_client/models/marketplace_course_accounts_count_o_item.py +23 -0
  112. waldur_api_client/models/marketplace_course_accounts_list_o_item.py +23 -0
  113. waldur_api_client/models/marketplace_offering_user_checklist_completions_count_o_item.py +11 -0
  114. waldur_api_client/models/marketplace_offering_user_checklist_completions_list_o_item.py +11 -0
  115. waldur_api_client/models/marketplace_orders_list_field_item.py +3 -0
  116. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +3 -0
  117. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +73 -0
  118. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +1 -0
  119. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +1 -0
  120. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +1 -0
  121. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +1 -0
  122. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +1 -0
  123. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +1 -0
  124. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +2 -0
  125. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +2 -0
  126. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +2 -0
  127. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +1 -0
  128. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +1 -0
  129. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +2 -0
  130. waldur_api_client/models/marketplace_resources_list_field_item.py +2 -0
  131. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +2 -0
  132. waldur_api_client/models/marketplace_service_providers_course_accounts_list_o_item.py +23 -0
  133. waldur_api_client/models/marketplace_service_providers_offerings_list_field_item.py +1 -0
  134. waldur_api_client/models/merged_plugin_options.py +9 -0
  135. waldur_api_client/models/merged_plugin_options_request.py +9 -0
  136. waldur_api_client/models/nested_round.py +9 -0
  137. waldur_api_client/models/nested_round_request.py +9 -0
  138. waldur_api_client/models/notification.py +11 -0
  139. waldur_api_client/models/notification_context_fields.py +47 -0
  140. waldur_api_client/models/offering.py +20 -0
  141. waldur_api_client/models/offering_compliance_checklist_update_request.py +82 -0
  142. waldur_api_client/models/offering_create.py +20 -0
  143. waldur_api_client/models/offering_create_request.py +20 -0
  144. waldur_api_client/models/{provider_offering_details_request.py → offering_create_request_form.py} +77 -5
  145. waldur_api_client/models/offering_create_request_form_limits.py +57 -0
  146. waldur_api_client/models/offering_create_request_multipart.py +599 -0
  147. waldur_api_client/models/offering_create_request_multipart_limits.py +57 -0
  148. waldur_api_client/models/offering_file_request_form.py +78 -0
  149. waldur_api_client/models/offering_file_request_multipart.py +93 -0
  150. waldur_api_client/models/offering_image_request_form.py +62 -0
  151. waldur_api_client/models/offering_image_request_multipart.py +73 -0
  152. waldur_api_client/models/offering_thumbnail_request_form.py +62 -0
  153. waldur_api_client/models/offering_thumbnail_request_multipart.py +73 -0
  154. waldur_api_client/models/offering_user.py +5 -5
  155. waldur_api_client/models/{offering_user_state_enum.py → offering_user_state.py} +1 -1
  156. waldur_api_client/models/order_attachment_request_form.py +84 -0
  157. waldur_api_client/models/order_attachment_request_multipart.py +98 -0
  158. waldur_api_client/models/order_details.py +34 -0
  159. waldur_api_client/models/paid_request_form.py +81 -0
  160. waldur_api_client/models/paid_request_multipart.py +94 -0
  161. waldur_api_client/models/patched_call_managing_organisation_request_form.py +92 -0
  162. waldur_api_client/models/patched_call_managing_organisation_request_multipart.py +109 -0
  163. waldur_api_client/models/patched_category_group_request_form.py +101 -0
  164. waldur_api_client/models/patched_category_group_request_multipart.py +121 -0
  165. waldur_api_client/models/patched_checklist_category_request_form.py +102 -0
  166. waldur_api_client/models/patched_checklist_category_request_multipart.py +122 -0
  167. waldur_api_client/models/patched_customer_request.py +9 -0
  168. waldur_api_client/models/patched_customer_request_form.py +310 -0
  169. waldur_api_client/models/patched_customer_request_multipart.py +393 -0
  170. waldur_api_client/models/patched_external_link_request_form.py +110 -0
  171. waldur_api_client/models/patched_external_link_request_multipart.py +133 -0
  172. waldur_api_client/models/patched_marketplace_category_request_form.py +151 -0
  173. waldur_api_client/models/patched_marketplace_category_request_multipart.py +186 -0
  174. waldur_api_client/models/patched_payment_request_form.py +119 -0
  175. waldur_api_client/models/patched_payment_request_multipart.py +142 -0
  176. waldur_api_client/models/patched_project_request_form.py +279 -0
  177. waldur_api_client/models/patched_project_request_multipart.py +342 -0
  178. waldur_api_client/models/patched_service_provider_request_form.py +101 -0
  179. waldur_api_client/models/patched_service_provider_request_multipart.py +121 -0
  180. waldur_api_client/models/patched_user_request_form.py +241 -0
  181. waldur_api_client/models/patched_user_request_multipart.py +306 -0
  182. waldur_api_client/models/payment_request_form.py +113 -0
  183. waldur_api_client/models/payment_request_multipart.py +134 -0
  184. waldur_api_client/models/project_request_form.py +280 -0
  185. waldur_api_client/models/project_request_multipart.py +341 -0
  186. waldur_api_client/models/project_user.py +9 -0
  187. waldur_api_client/models/proposal.py +8 -0
  188. waldur_api_client/models/proposal_documentation_request_form.py +84 -0
  189. waldur_api_client/models/proposal_documentation_request_multipart.py +98 -0
  190. waldur_api_client/models/proposal_proposals_count_o_item.py +3 -1
  191. waldur_api_client/models/proposal_proposals_list_o_item.py +3 -1
  192. waldur_api_client/models/proposal_review.py +40 -0
  193. waldur_api_client/models/protected_proposal_list.py +8 -0
  194. waldur_api_client/models/protected_proposal_list_request.py +8 -0
  195. waldur_api_client/models/protected_round.py +8 -0
  196. waldur_api_client/models/provider_offering.py +21 -1
  197. waldur_api_client/models/provider_offering_details.py +20 -0
  198. waldur_api_client/models/public_offering_details.py +20 -0
  199. waldur_api_client/models/resource.py +18 -0
  200. waldur_api_client/models/resource_update_limits_request.py +1 -34
  201. waldur_api_client/models/screenshot_request_form.py +87 -0
  202. waldur_api_client/models/screenshot_request_multipart.py +105 -0
  203. waldur_api_client/models/service_provider_request_form.py +112 -0
  204. waldur_api_client/models/service_provider_request_multipart.py +134 -0
  205. waldur_api_client/models/user_checklist_completion.py +265 -0
  206. waldur_api_client/models/user_request_form.py +250 -0
  207. waldur_api_client/models/user_request_multipart.py +316 -0
  208. waldur_api_client/models/visible_invitation_details.py +8 -0
  209. {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/METADATA +1 -1
  210. {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/RECORD +212 -127
  211. {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/WHEEL +1 -1
  212. {waldur_api_client-7.8.0.dist-info → waldur_api_client-7.8.2.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,187 @@
1
+ from collections.abc import Mapping
2
+ from io import BytesIO
3
+ from typing import Any, TypeVar, Union, cast
4
+
5
+ from attrs import define as _attrs_define
6
+ from attrs import field as _attrs_field
7
+
8
+ from .. import types
9
+ from ..types import UNSET, File, Unset
10
+
11
+ T = TypeVar("T", bound="MarketplaceCategoryRequestMultipart")
12
+
13
+
14
+ @_attrs_define
15
+ class MarketplaceCategoryRequestMultipart:
16
+ """
17
+ Attributes:
18
+ title (str):
19
+ description (Union[Unset, str]):
20
+ icon (Union[File, None, Unset]):
21
+ default_vm_category (Union[Unset, bool]): Set to "true" if this category is for OpenStack VM. Only one category
22
+ can have "true" value.
23
+ default_volume_category (Union[Unset, bool]): Set to true if this category is for OpenStack Volume. Only one
24
+ category can have "true" value.
25
+ default_tenant_category (Union[Unset, bool]): Set to true if this category is for OpenStack Tenant. Only one
26
+ category can have "true" value.
27
+ group (Union[None, Unset, str]):
28
+ """
29
+
30
+ title: str
31
+ description: Union[Unset, str] = UNSET
32
+ icon: Union[File, None, Unset] = UNSET
33
+ default_vm_category: Union[Unset, bool] = UNSET
34
+ default_volume_category: Union[Unset, bool] = UNSET
35
+ default_tenant_category: Union[Unset, bool] = UNSET
36
+ group: Union[None, Unset, str] = UNSET
37
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
38
+
39
+ def to_dict(self) -> dict[str, Any]:
40
+ title = self.title
41
+
42
+ description = self.description
43
+
44
+ icon: Union[None, Unset, types.FileTypes]
45
+ if isinstance(self.icon, Unset):
46
+ icon = UNSET
47
+ elif isinstance(self.icon, File):
48
+ icon = self.icon.to_tuple()
49
+
50
+ else:
51
+ icon = self.icon
52
+
53
+ default_vm_category = self.default_vm_category
54
+
55
+ default_volume_category = self.default_volume_category
56
+
57
+ default_tenant_category = self.default_tenant_category
58
+
59
+ group: Union[None, Unset, str]
60
+ if isinstance(self.group, Unset):
61
+ group = UNSET
62
+ else:
63
+ group = self.group
64
+
65
+ field_dict: dict[str, Any] = {}
66
+ field_dict.update(self.additional_properties)
67
+ field_dict.update(
68
+ {
69
+ "title": title,
70
+ }
71
+ )
72
+ if description is not UNSET:
73
+ field_dict["description"] = description
74
+ if icon is not UNSET:
75
+ field_dict["icon"] = icon
76
+ if default_vm_category is not UNSET:
77
+ field_dict["default_vm_category"] = default_vm_category
78
+ if default_volume_category is not UNSET:
79
+ field_dict["default_volume_category"] = default_volume_category
80
+ if default_tenant_category is not UNSET:
81
+ field_dict["default_tenant_category"] = default_tenant_category
82
+ if group is not UNSET:
83
+ field_dict["group"] = group
84
+
85
+ return field_dict
86
+
87
+ def to_multipart(self) -> types.RequestFiles:
88
+ files: types.RequestFiles = []
89
+
90
+ files.append(("title", (None, str(self.title).encode(), "text/plain")))
91
+
92
+ if not isinstance(self.description, Unset):
93
+ files.append(("description", (None, str(self.description).encode(), "text/plain")))
94
+
95
+ if not isinstance(self.icon, Unset):
96
+ if isinstance(self.icon, File):
97
+ files.append(("icon", self.icon.to_tuple()))
98
+ else:
99
+ files.append(("icon", (None, str(self.icon).encode(), "text/plain")))
100
+
101
+ if not isinstance(self.default_vm_category, Unset):
102
+ files.append(("default_vm_category", (None, str(self.default_vm_category).encode(), "text/plain")))
103
+
104
+ if not isinstance(self.default_volume_category, Unset):
105
+ files.append(("default_volume_category", (None, str(self.default_volume_category).encode(), "text/plain")))
106
+
107
+ if not isinstance(self.default_tenant_category, Unset):
108
+ files.append(("default_tenant_category", (None, str(self.default_tenant_category).encode(), "text/plain")))
109
+
110
+ if not isinstance(self.group, Unset):
111
+ if isinstance(self.group, str):
112
+ files.append(("group", (None, str(self.group).encode(), "text/plain")))
113
+ else:
114
+ files.append(("group", (None, str(self.group).encode(), "text/plain")))
115
+
116
+ for prop_name, prop in self.additional_properties.items():
117
+ files.append((prop_name, (None, str(prop).encode(), "text/plain")))
118
+
119
+ return files
120
+
121
+ @classmethod
122
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
123
+ d = dict(src_dict)
124
+ title = d.pop("title")
125
+
126
+ description = d.pop("description", UNSET)
127
+
128
+ def _parse_icon(data: object) -> Union[File, None, Unset]:
129
+ if data is None:
130
+ return data
131
+ if isinstance(data, Unset):
132
+ return data
133
+ try:
134
+ if not isinstance(data, bytes):
135
+ raise TypeError()
136
+ icon_type_0 = File(payload=BytesIO(data))
137
+
138
+ return icon_type_0
139
+ except: # noqa: E722
140
+ pass
141
+ return cast(Union[File, None, Unset], data)
142
+
143
+ icon = _parse_icon(d.pop("icon", UNSET))
144
+
145
+ default_vm_category = d.pop("default_vm_category", UNSET)
146
+
147
+ default_volume_category = d.pop("default_volume_category", UNSET)
148
+
149
+ default_tenant_category = d.pop("default_tenant_category", UNSET)
150
+
151
+ def _parse_group(data: object) -> Union[None, Unset, str]:
152
+ if data is None:
153
+ return data
154
+ if isinstance(data, Unset):
155
+ return data
156
+ return cast(Union[None, Unset, str], data)
157
+
158
+ group = _parse_group(d.pop("group", UNSET))
159
+
160
+ marketplace_category_request_multipart = cls(
161
+ title=title,
162
+ description=description,
163
+ icon=icon,
164
+ default_vm_category=default_vm_category,
165
+ default_volume_category=default_volume_category,
166
+ default_tenant_category=default_tenant_category,
167
+ group=group,
168
+ )
169
+
170
+ marketplace_category_request_multipart.additional_properties = d
171
+ return marketplace_category_request_multipart
172
+
173
+ @property
174
+ def additional_keys(self) -> list[str]:
175
+ return list(self.additional_properties.keys())
176
+
177
+ def __getitem__(self, key: str) -> Any:
178
+ return self.additional_properties[key]
179
+
180
+ def __setitem__(self, key: str, value: Any) -> None:
181
+ self.additional_properties[key] = value
182
+
183
+ def __delitem__(self, key: str) -> None:
184
+ del self.additional_properties[key]
185
+
186
+ def __contains__(self, key: str) -> bool:
187
+ return key in self.additional_properties
@@ -0,0 +1,23 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceCourseAccountsCountOItem(str, Enum):
5
+ CREATED = "created"
6
+ EMAIL = "email"
7
+ MODIFIED = "modified"
8
+ PROJECT_END_DATE = "project_end_date"
9
+ PROJECT_NAME = "project_name"
10
+ PROJECT_START_DATE = "project_start_date"
11
+ STATE = "state"
12
+ USERNAME = "username"
13
+ VALUE_0 = "-created"
14
+ VALUE_1 = "-email"
15
+ VALUE_2 = "-modified"
16
+ VALUE_3 = "-project_end_date"
17
+ VALUE_4 = "-project_name"
18
+ VALUE_5 = "-project_start_date"
19
+ VALUE_6 = "-state"
20
+ VALUE_7 = "-username"
21
+
22
+ def __str__(self) -> str:
23
+ return str(self.value)
@@ -0,0 +1,23 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceCourseAccountsListOItem(str, Enum):
5
+ CREATED = "created"
6
+ EMAIL = "email"
7
+ MODIFIED = "modified"
8
+ PROJECT_END_DATE = "project_end_date"
9
+ PROJECT_NAME = "project_name"
10
+ PROJECT_START_DATE = "project_start_date"
11
+ STATE = "state"
12
+ USERNAME = "username"
13
+ VALUE_0 = "-created"
14
+ VALUE_1 = "-email"
15
+ VALUE_2 = "-modified"
16
+ VALUE_3 = "-project_end_date"
17
+ VALUE_4 = "-project_name"
18
+ VALUE_5 = "-project_start_date"
19
+ VALUE_6 = "-state"
20
+ VALUE_7 = "-username"
21
+
22
+ def __str__(self) -> str:
23
+ return str(self.value)
@@ -0,0 +1,11 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceOfferingUserChecklistCompletionsCountOItem(str, Enum):
5
+ IS_COMPLETED = "is_completed"
6
+ MODIFIED = "modified"
7
+ VALUE_0 = "-is_completed"
8
+ VALUE_1 = "-modified"
9
+
10
+ def __str__(self) -> str:
11
+ return str(self.value)
@@ -0,0 +1,11 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceOfferingUserChecklistCompletionsListOItem(str, Enum):
5
+ IS_COMPLETED = "is_completed"
6
+ MODIFIED = "modified"
7
+ VALUE_0 = "-is_completed"
8
+ VALUE_1 = "-modified"
9
+
10
+ def __str__(self) -> str:
11
+ return str(self.value)
@@ -37,6 +37,9 @@ class MarketplaceOrdersListFieldItem(str, Enum):
37
37
  NEW_PLAN_UUID = "new_plan_uuid"
38
38
  OFFERING = "offering"
39
39
  OFFERING_BILLABLE = "offering_billable"
40
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
41
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
42
+ OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
40
43
  OFFERING_DESCRIPTION = "offering_description"
41
44
  OFFERING_IMAGE = "offering_image"
42
45
  OFFERING_NAME = "offering_name"
@@ -37,6 +37,9 @@ class MarketplaceOrdersRetrieveFieldItem(str, Enum):
37
37
  NEW_PLAN_UUID = "new_plan_uuid"
38
38
  OFFERING = "offering"
39
39
  OFFERING_BILLABLE = "offering_billable"
40
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
41
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
42
+ OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
40
43
  OFFERING_DESCRIPTION = "offering_description"
41
44
  OFFERING_IMAGE = "offering_image"
42
45
  OFFERING_NAME = "offering_name"
@@ -0,0 +1,73 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceProviderOfferingsListCourseAccountsRetrieveFieldItem(str, Enum):
5
+ ACCESS_URL = "access_url"
6
+ ATTRIBUTES = "attributes"
7
+ BACKEND_ID = "backend_id"
8
+ BACKEND_METADATA = "backend_metadata"
9
+ BILLABLE = "billable"
10
+ CATEGORY = "category"
11
+ CATEGORY_TITLE = "category_title"
12
+ CATEGORY_UUID = "category_uuid"
13
+ CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
15
+ COMPONENTS = "components"
16
+ COUNTRY = "country"
17
+ CREATED = "created"
18
+ CUSTOMER = "customer"
19
+ CUSTOMER_NAME = "customer_name"
20
+ CUSTOMER_UUID = "customer_uuid"
21
+ DATACITE_DOI = "datacite_doi"
22
+ DESCRIPTION = "description"
23
+ ENDPOINTS = "endpoints"
24
+ FILES = "files"
25
+ FULL_DESCRIPTION = "full_description"
26
+ GETTING_STARTED = "getting_started"
27
+ GOOGLE_CALENDAR_IS_PUBLIC = "google_calendar_is_public"
28
+ GOOGLE_CALENDAR_LINK = "google_calendar_link"
29
+ HAS_COMPLIANCE_REQUIREMENTS = "has_compliance_requirements"
30
+ IMAGE = "image"
31
+ INTEGRATION_GUIDE = "integration_guide"
32
+ INTEGRATION_STATUS = "integration_status"
33
+ LATITUDE = "latitude"
34
+ LONGITUDE = "longitude"
35
+ NAME = "name"
36
+ OPTIONS = "options"
37
+ ORDER_COUNT = "order_count"
38
+ ORGANIZATION_GROUPS = "organization_groups"
39
+ PARENT_DESCRIPTION = "parent_description"
40
+ PARENT_NAME = "parent_name"
41
+ PARENT_UUID = "parent_uuid"
42
+ PAUSED_REASON = "paused_reason"
43
+ PLANS = "plans"
44
+ PLUGIN_OPTIONS = "plugin_options"
45
+ PRIVACY_POLICY_LINK = "privacy_policy_link"
46
+ PROJECT = "project"
47
+ PROJECT_NAME = "project_name"
48
+ PROJECT_UUID = "project_uuid"
49
+ QUOTAS = "quotas"
50
+ RESOURCE_OPTIONS = "resource_options"
51
+ ROLES = "roles"
52
+ SCOPE = "scope"
53
+ SCOPE_ERROR_MESSAGE = "scope_error_message"
54
+ SCOPE_NAME = "scope_name"
55
+ SCOPE_STATE = "scope_state"
56
+ SCOPE_UUID = "scope_uuid"
57
+ SCREENSHOTS = "screenshots"
58
+ SECRET_OPTIONS = "secret_options"
59
+ SERVICE_ATTRIBUTES = "service_attributes"
60
+ SHARED = "shared"
61
+ SLUG = "slug"
62
+ STATE = "state"
63
+ THUMBNAIL = "thumbnail"
64
+ TOTAL_COST = "total_cost"
65
+ TOTAL_COST_ESTIMATED = "total_cost_estimated"
66
+ TOTAL_CUSTOMERS = "total_customers"
67
+ TYPE = "type"
68
+ URL = "url"
69
+ UUID = "uuid"
70
+ VENDOR_DETAILS = "vendor_details"
71
+
72
+ def __str__(self) -> str:
73
+ return str(self.value)
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListCustomerServiceAccountsRetrieveFieldItem(s
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListFieldItem(str, Enum):
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsListProjectServiceAccountsRetrieveFieldItem(st
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsRetrieveFieldItem(str, Enum):
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsStatsRetrieveFieldItem(str, Enum):
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -11,6 +11,7 @@ class MarketplaceProviderOfferingsUserHasResourceAccessRetrieveFieldItem(str, En
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -33,6 +33,8 @@ class MarketplaceProviderResourcesDetailsRetrieveFieldItem(str, Enum):
33
33
  NAME = "name"
34
34
  OFFERING = "offering"
35
35
  OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
37
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
36
38
  OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
39
  OFFERING_DESCRIPTION = "offering_description"
38
40
  OFFERING_IMAGE = "offering_image"
@@ -33,6 +33,8 @@ class MarketplaceProviderResourcesListFieldItem(str, Enum):
33
33
  NAME = "name"
34
34
  OFFERING = "offering"
35
35
  OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
37
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
36
38
  OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
39
  OFFERING_DESCRIPTION = "offering_description"
38
40
  OFFERING_IMAGE = "offering_image"
@@ -33,6 +33,8 @@ class MarketplaceProviderResourcesRetrieveFieldItem(str, Enum):
33
33
  NAME = "name"
34
34
  OFFERING = "offering"
35
35
  OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
37
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
36
38
  OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
39
  OFFERING_DESCRIPTION = "offering_description"
38
40
  OFFERING_IMAGE = "offering_image"
@@ -11,6 +11,7 @@ class MarketplacePublicOfferingsListFieldItem(str, Enum):
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -11,6 +11,7 @@ class MarketplacePublicOfferingsRetrieveFieldItem(str, Enum):
11
11
  CATEGORY_TITLE = "category_title"
12
12
  CATEGORY_UUID = "category_uuid"
13
13
  CITATION_COUNT = "citation_count"
14
+ COMPLIANCE_CHECKLIST = "compliance_checklist"
14
15
  COMPONENTS = "components"
15
16
  COUNTRY = "country"
16
17
  CREATED = "created"
@@ -33,6 +33,8 @@ class MarketplaceResourcesDetailsRetrieveFieldItem(str, Enum):
33
33
  NAME = "name"
34
34
  OFFERING = "offering"
35
35
  OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
37
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
36
38
  OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
39
  OFFERING_DESCRIPTION = "offering_description"
38
40
  OFFERING_IMAGE = "offering_image"
@@ -33,6 +33,8 @@ class MarketplaceResourcesListFieldItem(str, Enum):
33
33
  NAME = "name"
34
34
  OFFERING = "offering"
35
35
  OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
37
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
36
38
  OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
39
  OFFERING_DESCRIPTION = "offering_description"
38
40
  OFFERING_IMAGE = "offering_image"
@@ -33,6 +33,8 @@ class MarketplaceResourcesRetrieveFieldItem(str, Enum):
33
33
  NAME = "name"
34
34
  OFFERING = "offering"
35
35
  OFFERING_BILLABLE = "offering_billable"
36
+ OFFERING_CUSTOMER_NAME = "offering_customer_name"
37
+ OFFERING_CUSTOMER_SLUG = "offering_customer_slug"
36
38
  OFFERING_CUSTOMER_UUID = "offering_customer_uuid"
37
39
  OFFERING_DESCRIPTION = "offering_description"
38
40
  OFFERING_IMAGE = "offering_image"
@@ -0,0 +1,23 @@
1
+ from enum import Enum
2
+
3
+
4
+ class MarketplaceServiceProvidersCourseAccountsListOItem(str, Enum):
5
+ CREATED = "created"
6
+ EMAIL = "email"
7
+ MODIFIED = "modified"
8
+ PROJECT_END_DATE = "project_end_date"
9
+ PROJECT_NAME = "project_name"
10
+ PROJECT_START_DATE = "project_start_date"
11
+ STATE = "state"
12
+ USERNAME = "username"
13
+ VALUE_0 = "-created"
14
+ VALUE_1 = "-email"
15
+ VALUE_2 = "-modified"
16
+ VALUE_3 = "-project_end_date"
17
+ VALUE_4 = "-project_name"
18
+ VALUE_5 = "-project_start_date"
19
+ VALUE_6 = "-state"
20
+ VALUE_7 = "-username"
21
+
22
+ def __str__(self) -> str:
23
+ return str(self.value)
@@ -14,6 +14,7 @@ class MarketplaceServiceProvidersOfferingsListFieldItem(str, Enum):
14
14
  SECRET_OPTIONS = "secret_options"
15
15
  SLUG = "slug"
16
16
  STATE = "state"
17
+ THUMBNAIL = "thumbnail"
17
18
  TYPE = "type"
18
19
  UUID = "uuid"
19
20
 
@@ -34,6 +34,7 @@ class MergedPluginOptions:
34
34
  supports_pausing (Union[Unset, bool]): If set to True, it will be possible to pause resources
35
35
  minimal_team_count_for_provisioning (Union[Unset, int]): Minimal team count required for provisioning of
36
36
  resources
37
+ maximal_resource_count_per_project (Union[Unset, int]): Maximal number of offering resources allowed per project
37
38
  required_team_role_for_provisioning (Union[Unset, str]): Required user role in a project for provisioning of
38
39
  resources
39
40
  order_supports_comments_and_metadata (Union[Unset, bool]): If set to True, orders will support comments and
@@ -89,6 +90,7 @@ class MergedPluginOptions:
89
90
  supports_downscaling: Union[Unset, bool] = UNSET
90
91
  supports_pausing: Union[Unset, bool] = UNSET
91
92
  minimal_team_count_for_provisioning: Union[Unset, int] = UNSET
93
+ maximal_resource_count_per_project: Union[Unset, int] = UNSET
92
94
  required_team_role_for_provisioning: Union[Unset, str] = UNSET
93
95
  order_supports_comments_and_metadata: Union[Unset, bool] = UNSET
94
96
  default_internal_network_mtu: Union[Unset, int] = UNSET
@@ -153,6 +155,8 @@ class MergedPluginOptions:
153
155
 
154
156
  minimal_team_count_for_provisioning = self.minimal_team_count_for_provisioning
155
157
 
158
+ maximal_resource_count_per_project = self.maximal_resource_count_per_project
159
+
156
160
  required_team_role_for_provisioning = self.required_team_role_for_provisioning
157
161
 
158
162
  order_supports_comments_and_metadata = self.order_supports_comments_and_metadata
@@ -266,6 +270,8 @@ class MergedPluginOptions:
266
270
  field_dict["supports_pausing"] = supports_pausing
267
271
  if minimal_team_count_for_provisioning is not UNSET:
268
272
  field_dict["minimal_team_count_for_provisioning"] = minimal_team_count_for_provisioning
273
+ if maximal_resource_count_per_project is not UNSET:
274
+ field_dict["maximal_resource_count_per_project"] = maximal_resource_count_per_project
269
275
  if required_team_role_for_provisioning is not UNSET:
270
276
  field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
271
277
  if order_supports_comments_and_metadata is not UNSET:
@@ -383,6 +389,8 @@ class MergedPluginOptions:
383
389
 
384
390
  minimal_team_count_for_provisioning = d.pop("minimal_team_count_for_provisioning", UNSET)
385
391
 
392
+ maximal_resource_count_per_project = d.pop("maximal_resource_count_per_project", UNSET)
393
+
386
394
  required_team_role_for_provisioning = d.pop("required_team_role_for_provisioning", UNSET)
387
395
 
388
396
  order_supports_comments_and_metadata = d.pop("order_supports_comments_and_metadata", UNSET)
@@ -508,6 +516,7 @@ class MergedPluginOptions:
508
516
  supports_downscaling=supports_downscaling,
509
517
  supports_pausing=supports_pausing,
510
518
  minimal_team_count_for_provisioning=minimal_team_count_for_provisioning,
519
+ maximal_resource_count_per_project=maximal_resource_count_per_project,
511
520
  required_team_role_for_provisioning=required_team_role_for_provisioning,
512
521
  order_supports_comments_and_metadata=order_supports_comments_and_metadata,
513
522
  default_internal_network_mtu=default_internal_network_mtu,
@@ -34,6 +34,7 @@ class MergedPluginOptionsRequest:
34
34
  supports_pausing (Union[Unset, bool]): If set to True, it will be possible to pause resources
35
35
  minimal_team_count_for_provisioning (Union[Unset, int]): Minimal team count required for provisioning of
36
36
  resources
37
+ maximal_resource_count_per_project (Union[Unset, int]): Maximal number of offering resources allowed per project
37
38
  required_team_role_for_provisioning (Union[Unset, str]): Required user role in a project for provisioning of
38
39
  resources
39
40
  order_supports_comments_and_metadata (Union[Unset, bool]): If set to True, orders will support comments and
@@ -89,6 +90,7 @@ class MergedPluginOptionsRequest:
89
90
  supports_downscaling: Union[Unset, bool] = UNSET
90
91
  supports_pausing: Union[Unset, bool] = UNSET
91
92
  minimal_team_count_for_provisioning: Union[Unset, int] = UNSET
93
+ maximal_resource_count_per_project: Union[Unset, int] = UNSET
92
94
  required_team_role_for_provisioning: Union[Unset, str] = UNSET
93
95
  order_supports_comments_and_metadata: Union[Unset, bool] = UNSET
94
96
  default_internal_network_mtu: Union[Unset, int] = UNSET
@@ -153,6 +155,8 @@ class MergedPluginOptionsRequest:
153
155
 
154
156
  minimal_team_count_for_provisioning = self.minimal_team_count_for_provisioning
155
157
 
158
+ maximal_resource_count_per_project = self.maximal_resource_count_per_project
159
+
156
160
  required_team_role_for_provisioning = self.required_team_role_for_provisioning
157
161
 
158
162
  order_supports_comments_and_metadata = self.order_supports_comments_and_metadata
@@ -266,6 +270,8 @@ class MergedPluginOptionsRequest:
266
270
  field_dict["supports_pausing"] = supports_pausing
267
271
  if minimal_team_count_for_provisioning is not UNSET:
268
272
  field_dict["minimal_team_count_for_provisioning"] = minimal_team_count_for_provisioning
273
+ if maximal_resource_count_per_project is not UNSET:
274
+ field_dict["maximal_resource_count_per_project"] = maximal_resource_count_per_project
269
275
  if required_team_role_for_provisioning is not UNSET:
270
276
  field_dict["required_team_role_for_provisioning"] = required_team_role_for_provisioning
271
277
  if order_supports_comments_and_metadata is not UNSET:
@@ -383,6 +389,8 @@ class MergedPluginOptionsRequest:
383
389
 
384
390
  minimal_team_count_for_provisioning = d.pop("minimal_team_count_for_provisioning", UNSET)
385
391
 
392
+ maximal_resource_count_per_project = d.pop("maximal_resource_count_per_project", UNSET)
393
+
386
394
  required_team_role_for_provisioning = d.pop("required_team_role_for_provisioning", UNSET)
387
395
 
388
396
  order_supports_comments_and_metadata = d.pop("order_supports_comments_and_metadata", UNSET)
@@ -508,6 +516,7 @@ class MergedPluginOptionsRequest:
508
516
  supports_downscaling=supports_downscaling,
509
517
  supports_pausing=supports_pausing,
510
518
  minimal_team_count_for_provisioning=minimal_team_count_for_provisioning,
519
+ maximal_resource_count_per_project=maximal_resource_count_per_project,
511
520
  required_team_role_for_provisioning=required_team_role_for_provisioning,
512
521
  order_supports_comments_and_metadata=order_supports_comments_and_metadata,
513
522
  default_internal_network_mtu=default_internal_network_mtu,