waldur-api-client 7.8.4__py3-none-any.whl → 7.8.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of waldur-api-client might be problematic. Click here for more details.

Files changed (257) hide show
  1. waldur_api_client/api/backend_resources/backend_resources_import_resource.py +3 -3
  2. waldur_api_client/api/booking_resources/booking_resources_count.py +90 -0
  3. waldur_api_client/api/booking_resources/booking_resources_list.py +90 -0
  4. waldur_api_client/api/call_managing_organisations/call_managing_organisations_add_user.py +17 -10
  5. waldur_api_client/api/customers/customers_add_user.py +17 -10
  6. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_count.py +30 -0
  7. waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +30 -0
  8. waldur_api_client/api/marketplace_customer_component_usage_policies/__init__.py +1 -0
  9. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_count.py +125 -0
  10. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_actions_retrieve.py +119 -0
  11. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_count.py +239 -0
  12. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_create.py +152 -0
  13. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_destroy.py +89 -0
  14. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_list.py +242 -0
  15. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_partial_update.py +166 -0
  16. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_retrieve.py +144 -0
  17. waldur_api_client/api/marketplace_customer_component_usage_policies/marketplace_customer_component_usage_policies_update.py +166 -0
  18. waldur_api_client/api/marketplace_orders/marketplace_orders_set_backend_id.py +105 -0
  19. waldur_api_client/api/marketplace_plans/marketplace_plans_update_discounts.py +123 -0
  20. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_partition.py +168 -0
  21. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_software_catalog.py +168 -0
  22. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_add_user.py +19 -10
  23. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +15 -0
  24. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +15 -0
  25. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_count.py +15 -0
  26. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_create_offering_component.py +1 -1
  27. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +15 -0
  28. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_count.py +15 -0
  29. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +15 -0
  30. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +15 -0
  31. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_partition.py +107 -0
  32. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_remove_software_catalog.py +107 -0
  33. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_partition_partial_update.py +168 -0
  34. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_update_software_catalog_partial_update.py +168 -0
  35. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +90 -0
  36. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +90 -0
  37. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_downscaled.py +107 -0
  38. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_paused.py +107 -0
  39. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_restrict_member_access.py +107 -0
  40. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_count.py +15 -0
  41. waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +15 -0
  42. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +90 -0
  43. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +90 -0
  44. waldur_api_client/api/marketplace_resources/marketplace_resources_set_downscaled.py +107 -0
  45. waldur_api_client/api/marketplace_resources/marketplace_resources_set_paused.py +107 -0
  46. waldur_api_client/api/marketplace_resources/marketplace_resources_set_restrict_member_access.py +107 -0
  47. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_add_user.py +17 -10
  48. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_customer_projects_list.py +15 -0
  49. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +15 -0
  50. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_projects_list.py +14 -24
  51. waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_set_offerings_username.py +8 -67
  52. waldur_api_client/api/marketplace_site_agent_identities/__init__.py +1 -0
  53. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_count.py +240 -0
  54. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_create.py +148 -0
  55. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_destroy.py +89 -0
  56. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_list.py +241 -0
  57. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_event_subscription.py +176 -0
  58. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_register_service.py +170 -0
  59. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_retrieve.py +140 -0
  60. waldur_api_client/api/marketplace_site_agent_identities/marketplace_site_agent_identities_update.py +162 -0
  61. waldur_api_client/api/marketplace_site_agent_processors/__init__.py +1 -0
  62. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_count.py +240 -0
  63. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_list.py +241 -0
  64. waldur_api_client/api/marketplace_site_agent_processors/marketplace_site_agent_processors_retrieve.py +142 -0
  65. waldur_api_client/api/marketplace_site_agent_services/__init__.py +1 -0
  66. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_count.py +229 -0
  67. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_list.py +230 -0
  68. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_register_processor.py +172 -0
  69. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_retrieve.py +140 -0
  70. waldur_api_client/api/marketplace_site_agent_services/marketplace_site_agent_services_set_statistics.py +166 -0
  71. waldur_api_client/api/marketplace_software_catalogs/__init__.py +1 -0
  72. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_count.py +225 -0
  73. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_create.py +150 -0
  74. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_destroy.py +89 -0
  75. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_list.py +226 -0
  76. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_partial_update.py +164 -0
  77. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_retrieve.py +142 -0
  78. waldur_api_client/api/marketplace_software_catalogs/marketplace_software_catalogs_update.py +164 -0
  79. waldur_api_client/api/marketplace_software_packages/__init__.py +1 -0
  80. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_count.py +352 -0
  81. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_create.py +150 -0
  82. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_destroy.py +89 -0
  83. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_list.py +353 -0
  84. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_partial_update.py +164 -0
  85. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_retrieve.py +142 -0
  86. waldur_api_client/api/marketplace_software_packages/marketplace_software_packages_update.py +164 -0
  87. waldur_api_client/api/marketplace_software_targets/__init__.py +1 -0
  88. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_count.py +313 -0
  89. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_create.py +117 -0
  90. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_destroy.py +89 -0
  91. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_list.py +314 -0
  92. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_partial_update.py +142 -0
  93. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_retrieve.py +142 -0
  94. waldur_api_client/api/marketplace_software_targets/marketplace_software_targets_update.py +142 -0
  95. waldur_api_client/api/marketplace_software_versions/__init__.py +1 -0
  96. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_count.py +310 -0
  97. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_create.py +117 -0
  98. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_destroy.py +89 -0
  99. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_list.py +311 -0
  100. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_partial_update.py +142 -0
  101. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_retrieve.py +142 -0
  102. waldur_api_client/api/marketplace_software_versions/marketplace_software_versions_update.py +142 -0
  103. waldur_api_client/api/onboarding_justifications/onboarding_justifications_approve.py +168 -0
  104. waldur_api_client/api/onboarding_justifications/onboarding_justifications_reject.py +168 -0
  105. waldur_api_client/api/projects/projects_add_user.py +17 -10
  106. waldur_api_client/api/projects/projects_count.py +30 -0
  107. waldur_api_client/api/projects/projects_list.py +30 -0
  108. waldur_api_client/api/projects/projects_move_project.py +19 -10
  109. waldur_api_client/api/projects/projects_recover.py +166 -0
  110. waldur_api_client/api/proposal_proposals/proposal_proposals_add_user.py +17 -10
  111. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_add_user.py +17 -10
  112. waldur_api_client/api/remote_waldur_api/remote_waldur_api_pull_resource_robot_accounts.py +88 -0
  113. waldur_api_client/models/__init__.py +152 -4
  114. waldur_api_client/models/agent_event_subscription_create_request.py +71 -0
  115. waldur_api_client/models/agent_identity.py +211 -0
  116. waldur_api_client/models/agent_identity_request.py +157 -0
  117. waldur_api_client/models/agent_processor.py +170 -0
  118. waldur_api_client/models/agent_processor_create_request.py +89 -0
  119. waldur_api_client/models/agent_service.py +172 -0
  120. waldur_api_client/models/agent_service_create_request.py +81 -0
  121. waldur_api_client/models/agent_service_state.py +10 -0
  122. waldur_api_client/models/agent_service_statistics_request.py +59 -0
  123. waldur_api_client/models/base_provider_plan.py +21 -0
  124. waldur_api_client/models/base_public_plan.py +21 -0
  125. waldur_api_client/models/booking_offerings_list_field_item.py +2 -0
  126. waldur_api_client/models/booking_offerings_retrieve_field_item.py +2 -0
  127. waldur_api_client/models/booking_resource.py +33 -0
  128. waldur_api_client/models/booking_resource_renewal_date_type_0.py +53 -0
  129. waldur_api_client/models/booking_resources_list_field_item.py +1 -0
  130. waldur_api_client/models/booking_resources_retrieve_field_item.py +1 -0
  131. waldur_api_client/models/call_managing_organisations_add_user_response_400.py +65 -0
  132. waldur_api_client/models/constance_settings.py +81 -45
  133. waldur_api_client/models/constance_settings_request.py +81 -45
  134. waldur_api_client/models/constance_settings_request_form.py +81 -45
  135. waldur_api_client/models/constance_settings_request_multipart.py +134 -71
  136. waldur_api_client/models/customer_component_usage_policy.py +175 -0
  137. waldur_api_client/models/customer_component_usage_policy_request.py +102 -0
  138. waldur_api_client/models/customers_add_user_response_400.py +65 -0
  139. waldur_api_client/models/discount_config_request.py +91 -0
  140. waldur_api_client/models/discounts_update_request.py +65 -0
  141. waldur_api_client/models/discounts_update_request_discounts.py +57 -0
  142. waldur_api_client/models/issue.py +0 -25
  143. waldur_api_client/models/managed_rancher_cluster_resources_list_field_item.py +1 -0
  144. waldur_api_client/models/managed_rancher_cluster_resources_retrieve_field_item.py +1 -0
  145. waldur_api_client/models/marketplace_orders_count_state_item.py +1 -0
  146. waldur_api_client/models/marketplace_orders_list_field_item.py +2 -0
  147. waldur_api_client/models/marketplace_orders_list_state_item.py +1 -0
  148. waldur_api_client/models/marketplace_orders_retrieve_field_item.py +2 -0
  149. waldur_api_client/models/marketplace_provider_offerings_add_user_response_400.py +65 -0
  150. waldur_api_client/models/marketplace_provider_offerings_list_course_accounts_retrieve_field_item.py +2 -0
  151. waldur_api_client/models/marketplace_provider_offerings_list_customer_service_accounts_retrieve_field_item.py +2 -0
  152. waldur_api_client/models/marketplace_provider_offerings_list_field_item.py +2 -0
  153. waldur_api_client/models/marketplace_provider_offerings_list_project_service_accounts_retrieve_field_item.py +2 -0
  154. waldur_api_client/models/marketplace_provider_offerings_retrieve_field_item.py +2 -0
  155. waldur_api_client/models/marketplace_provider_offerings_stats_retrieve_field_item.py +2 -0
  156. waldur_api_client/models/marketplace_provider_offerings_user_has_resource_access_retrieve_field_item.py +2 -0
  157. waldur_api_client/models/marketplace_provider_resources_details_retrieve_field_item.py +1 -0
  158. waldur_api_client/models/marketplace_provider_resources_list_field_item.py +1 -0
  159. waldur_api_client/models/marketplace_provider_resources_retrieve_field_item.py +1 -0
  160. waldur_api_client/models/marketplace_public_offerings_list_field_item.py +2 -0
  161. waldur_api_client/models/marketplace_public_offerings_retrieve_field_item.py +2 -0
  162. waldur_api_client/models/marketplace_resources_details_retrieve_field_item.py +1 -0
  163. waldur_api_client/models/marketplace_resources_list_field_item.py +1 -0
  164. waldur_api_client/models/marketplace_resources_retrieve_field_item.py +1 -0
  165. waldur_api_client/models/marketplace_service_providers_add_user_response_400.py +65 -0
  166. waldur_api_client/models/marketplace_site_agent_services_count_state_item.py +10 -0
  167. waldur_api_client/models/marketplace_site_agent_services_list_state_item.py +10 -0
  168. waldur_api_client/models/marketplace_software_catalogs_count_o_item.py +15 -0
  169. waldur_api_client/models/marketplace_software_catalogs_list_o_item.py +15 -0
  170. waldur_api_client/models/marketplace_software_packages_count_o_item.py +17 -0
  171. waldur_api_client/models/marketplace_software_packages_list_o_item.py +17 -0
  172. waldur_api_client/models/marketplace_software_targets_count_o_item.py +15 -0
  173. waldur_api_client/models/marketplace_software_targets_list_o_item.py +15 -0
  174. waldur_api_client/models/marketplace_software_versions_count_o_item.py +15 -0
  175. waldur_api_client/models/marketplace_software_versions_list_o_item.py +15 -0
  176. waldur_api_client/models/merged_plugin_options.py +47 -8
  177. waldur_api_client/models/merged_plugin_options_request.py +47 -8
  178. waldur_api_client/models/nested_agent_processor.py +154 -0
  179. waldur_api_client/models/nested_agent_service.py +134 -0
  180. waldur_api_client/models/nested_agent_service_request.py +90 -0
  181. waldur_api_client/models/nested_customer_usage_policy_component.py +103 -0
  182. waldur_api_client/models/nested_customer_usage_policy_component_request.py +87 -0
  183. waldur_api_client/models/nested_partition.py +412 -0
  184. waldur_api_client/models/nested_partition_request.py +397 -0
  185. waldur_api_client/models/nested_plan_component.py +155 -0
  186. waldur_api_client/models/nested_plan_component_request.py +128 -0
  187. waldur_api_client/models/nested_software_catalog.py +134 -0
  188. waldur_api_client/models/nested_software_catalog_catalog.py +86 -0
  189. waldur_api_client/models/nested_software_catalog_partition.py +86 -0
  190. waldur_api_client/models/nested_software_catalog_request.py +68 -0
  191. waldur_api_client/models/nested_software_target.py +84 -0
  192. waldur_api_client/models/nested_software_target_request.py +75 -0
  193. waldur_api_client/models/nested_software_version.py +124 -0
  194. waldur_api_client/models/nested_software_version_request.py +93 -0
  195. waldur_api_client/models/observable_object_type_enum.py +14 -0
  196. waldur_api_client/models/offering.py +42 -0
  197. waldur_api_client/models/offering_create.py +36 -0
  198. waldur_api_client/models/offering_partition.py +440 -0
  199. waldur_api_client/models/offering_partition_request.py +406 -0
  200. waldur_api_client/models/offering_software_catalog.py +176 -0
  201. waldur_api_client/models/offering_software_catalog_request.py +118 -0
  202. waldur_api_client/models/onboarding_justification.py +35 -6
  203. waldur_api_client/models/onboarding_justification_create_request.py +8 -5
  204. waldur_api_client/models/onboarding_justification_request.py +20 -6
  205. waldur_api_client/models/onboarding_justification_review_request.py +59 -0
  206. waldur_api_client/models/order_backend_id_request.py +59 -0
  207. waldur_api_client/models/order_details.py +39 -0
  208. waldur_api_client/models/order_state.py +1 -0
  209. waldur_api_client/models/patched_customer_component_usage_policy_request.py +104 -0
  210. waldur_api_client/models/patched_offering_partition_request.py +412 -0
  211. waldur_api_client/models/patched_offering_software_catalog_update_request.py +131 -0
  212. waldur_api_client/models/patched_onboarding_justification_request.py +16 -5
  213. waldur_api_client/models/patched_project_request.py +9 -0
  214. waldur_api_client/models/patched_project_request_form.py +9 -0
  215. waldur_api_client/models/patched_project_request_multipart.py +12 -0
  216. waldur_api_client/models/patched_software_catalog_request.py +86 -0
  217. waldur_api_client/models/patched_software_package_request.py +86 -0
  218. waldur_api_client/models/plan_component.py +40 -0
  219. waldur_api_client/models/project.py +27 -0
  220. waldur_api_client/models/project_recovery_request.py +70 -0
  221. waldur_api_client/models/project_request.py +9 -0
  222. waldur_api_client/models/project_request_form.py +9 -0
  223. waldur_api_client/models/project_request_multipart.py +12 -0
  224. waldur_api_client/models/project_user.py +21 -4
  225. waldur_api_client/models/projects_add_user_response_400.py +65 -0
  226. waldur_api_client/models/projects_list_field_item.py +3 -0
  227. waldur_api_client/models/projects_move_project_response_400.py +65 -0
  228. waldur_api_client/models/projects_retrieve_field_item.py +3 -0
  229. waldur_api_client/models/proposal_proposals_add_user_response_400.py +65 -0
  230. waldur_api_client/models/proposal_protected_calls_add_user_response_400.py +65 -0
  231. waldur_api_client/models/provider_offering_details.py +42 -0
  232. waldur_api_client/models/provider_plan_details.py +18 -0
  233. waldur_api_client/models/public_offering_details.py +42 -0
  234. waldur_api_client/models/remote_resource_order_remote_state_enum.py +1 -0
  235. waldur_api_client/models/{set_offerings_username.py → remove_partition_request.py} +11 -19
  236. waldur_api_client/models/remove_software_catalog_request.py +60 -0
  237. waldur_api_client/models/resource.py +33 -0
  238. waldur_api_client/models/resource_downscaled_request.py +59 -0
  239. waldur_api_client/models/resource_paused_request.py +59 -0
  240. waldur_api_client/models/resource_renewal_date_type_0.py +53 -0
  241. waldur_api_client/models/resource_restrict_member_access_request.py +59 -0
  242. waldur_api_client/models/software_catalog.py +130 -0
  243. waldur_api_client/models/software_catalog_request.py +87 -0
  244. waldur_api_client/models/software_catalog_uuid.py +60 -0
  245. waldur_api_client/models/software_package.py +168 -0
  246. waldur_api_client/models/software_package_request.py +87 -0
  247. waldur_api_client/models/software_target.py +110 -0
  248. waldur_api_client/models/software_version.py +135 -0
  249. waldur_api_client/models/user.py +20 -0
  250. waldur_api_client/models/users_list_field_item.py +1 -0
  251. waldur_api_client/models/users_me_retrieve_field_item.py +1 -0
  252. waldur_api_client/models/users_retrieve_field_item.py +1 -0
  253. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/METADATA +1 -1
  254. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/RECORD +256 -103
  255. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +0 -37
  256. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/WHEEL +0 -0
  257. {waldur_api_client-7.8.4.dist-info → waldur_api_client-7.8.5.dist-info}/licenses/LICENSE +0 -0
@@ -18,6 +18,7 @@ def _get_kwargs(
18
18
  *,
19
19
  backend_id: Union[Unset, str] = UNSET,
20
20
  category_uuid: Union[Unset, UUID] = UNSET,
21
+ component_count: Union[Unset, float] = UNSET,
21
22
  created: Union[Unset, datetime.datetime] = UNSET,
22
23
  customer: Union[Unset, str] = UNSET,
23
24
  customer_uuid: Union[Unset, UUID] = UNSET,
@@ -25,6 +26,8 @@ def _get_kwargs(
25
26
  field: Union[Unset, list[MarketplaceProviderResourcesListFieldItem]] = UNSET,
26
27
  has_terminate_date: Union[Unset, bool] = UNSET,
27
28
  lexis_links_supported: Union[Unset, bool] = UNSET,
29
+ limit_based: Union[Unset, bool] = UNSET,
30
+ limit_component_count: Union[Unset, float] = UNSET,
28
31
  modified: Union[Unset, datetime.datetime] = UNSET,
29
32
  name: Union[Unset, str] = UNSET,
30
33
  name_exact: Union[Unset, str] = UNSET,
@@ -35,6 +38,8 @@ def _get_kwargs(
35
38
  offering_slug: Union[Unset, list[str]] = UNSET,
36
39
  offering_type: Union[Unset, str] = UNSET,
37
40
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
41
+ only_limit_based: Union[Unset, bool] = UNSET,
42
+ only_usage_based: Union[Unset, bool] = UNSET,
38
43
  page: Union[Unset, int] = UNSET,
39
44
  page_size: Union[Unset, int] = UNSET,
40
45
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -48,6 +53,7 @@ def _get_kwargs(
48
53
  runtime_state: Union[Unset, str] = UNSET,
49
54
  service_manager_uuid: Union[Unset, UUID] = UNSET,
50
55
  state: Union[Unset, list[MarketplaceProviderResourcesListStateItem]] = UNSET,
56
+ usage_based: Union[Unset, bool] = UNSET,
51
57
  visible_to_username: Union[Unset, str] = UNSET,
52
58
  ) -> dict[str, Any]:
53
59
  params: dict[str, Any] = {}
@@ -59,6 +65,8 @@ def _get_kwargs(
59
65
  json_category_uuid = str(category_uuid)
60
66
  params["category_uuid"] = json_category_uuid
61
67
 
68
+ params["component_count"] = component_count
69
+
62
70
  json_created: Union[Unset, str] = UNSET
63
71
  if not isinstance(created, Unset):
64
72
  json_created = created.isoformat()
@@ -86,6 +94,10 @@ def _get_kwargs(
86
94
 
87
95
  params["lexis_links_supported"] = lexis_links_supported
88
96
 
97
+ params["limit_based"] = limit_based
98
+
99
+ params["limit_component_count"] = limit_component_count
100
+
89
101
  json_modified: Union[Unset, str] = UNSET
90
102
  if not isinstance(modified, Unset):
91
103
  json_modified = modified.isoformat()
@@ -127,6 +139,10 @@ def _get_kwargs(
127
139
 
128
140
  params["offering_uuid"] = json_offering_uuid
129
141
 
142
+ params["only_limit_based"] = only_limit_based
143
+
144
+ params["only_usage_based"] = only_usage_based
145
+
130
146
  params["page"] = page
131
147
 
132
148
  params["page_size"] = page_size
@@ -175,6 +191,8 @@ def _get_kwargs(
175
191
 
176
192
  params["state"] = json_state
177
193
 
194
+ params["usage_based"] = usage_based
195
+
178
196
  params["visible_to_username"] = visible_to_username
179
197
 
180
198
  params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
@@ -217,6 +235,7 @@ def sync_detailed(
217
235
  client: AuthenticatedClient,
218
236
  backend_id: Union[Unset, str] = UNSET,
219
237
  category_uuid: Union[Unset, UUID] = UNSET,
238
+ component_count: Union[Unset, float] = UNSET,
220
239
  created: Union[Unset, datetime.datetime] = UNSET,
221
240
  customer: Union[Unset, str] = UNSET,
222
241
  customer_uuid: Union[Unset, UUID] = UNSET,
@@ -224,6 +243,8 @@ def sync_detailed(
224
243
  field: Union[Unset, list[MarketplaceProviderResourcesListFieldItem]] = UNSET,
225
244
  has_terminate_date: Union[Unset, bool] = UNSET,
226
245
  lexis_links_supported: Union[Unset, bool] = UNSET,
246
+ limit_based: Union[Unset, bool] = UNSET,
247
+ limit_component_count: Union[Unset, float] = UNSET,
227
248
  modified: Union[Unset, datetime.datetime] = UNSET,
228
249
  name: Union[Unset, str] = UNSET,
229
250
  name_exact: Union[Unset, str] = UNSET,
@@ -234,6 +255,8 @@ def sync_detailed(
234
255
  offering_slug: Union[Unset, list[str]] = UNSET,
235
256
  offering_type: Union[Unset, str] = UNSET,
236
257
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
258
+ only_limit_based: Union[Unset, bool] = UNSET,
259
+ only_usage_based: Union[Unset, bool] = UNSET,
237
260
  page: Union[Unset, int] = UNSET,
238
261
  page_size: Union[Unset, int] = UNSET,
239
262
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -247,6 +270,7 @@ def sync_detailed(
247
270
  runtime_state: Union[Unset, str] = UNSET,
248
271
  service_manager_uuid: Union[Unset, UUID] = UNSET,
249
272
  state: Union[Unset, list[MarketplaceProviderResourcesListStateItem]] = UNSET,
273
+ usage_based: Union[Unset, bool] = UNSET,
250
274
  visible_to_username: Union[Unset, str] = UNSET,
251
275
  ) -> Response[list["Resource"]]:
252
276
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -254,6 +278,7 @@ def sync_detailed(
254
278
  Args:
255
279
  backend_id (Union[Unset, str]):
256
280
  category_uuid (Union[Unset, UUID]):
281
+ component_count (Union[Unset, float]):
257
282
  created (Union[Unset, datetime.datetime]):
258
283
  customer (Union[Unset, str]):
259
284
  customer_uuid (Union[Unset, UUID]):
@@ -261,6 +286,8 @@ def sync_detailed(
261
286
  field (Union[Unset, list[MarketplaceProviderResourcesListFieldItem]]):
262
287
  has_terminate_date (Union[Unset, bool]):
263
288
  lexis_links_supported (Union[Unset, bool]):
289
+ limit_based (Union[Unset, bool]):
290
+ limit_component_count (Union[Unset, float]):
264
291
  modified (Union[Unset, datetime.datetime]):
265
292
  name (Union[Unset, str]):
266
293
  name_exact (Union[Unset, str]):
@@ -271,6 +298,8 @@ def sync_detailed(
271
298
  offering_slug (Union[Unset, list[str]]):
272
299
  offering_type (Union[Unset, str]):
273
300
  offering_uuid (Union[Unset, list[UUID]]):
301
+ only_limit_based (Union[Unset, bool]):
302
+ only_usage_based (Union[Unset, bool]):
274
303
  page (Union[Unset, int]):
275
304
  page_size (Union[Unset, int]):
276
305
  parent_offering_uuid (Union[Unset, UUID]):
@@ -284,6 +313,7 @@ def sync_detailed(
284
313
  runtime_state (Union[Unset, str]):
285
314
  service_manager_uuid (Union[Unset, UUID]):
286
315
  state (Union[Unset, list[MarketplaceProviderResourcesListStateItem]]):
316
+ usage_based (Union[Unset, bool]):
287
317
  visible_to_username (Union[Unset, str]):
288
318
 
289
319
  Raises:
@@ -297,6 +327,7 @@ def sync_detailed(
297
327
  kwargs = _get_kwargs(
298
328
  backend_id=backend_id,
299
329
  category_uuid=category_uuid,
330
+ component_count=component_count,
300
331
  created=created,
301
332
  customer=customer,
302
333
  customer_uuid=customer_uuid,
@@ -304,6 +335,8 @@ def sync_detailed(
304
335
  field=field,
305
336
  has_terminate_date=has_terminate_date,
306
337
  lexis_links_supported=lexis_links_supported,
338
+ limit_based=limit_based,
339
+ limit_component_count=limit_component_count,
307
340
  modified=modified,
308
341
  name=name,
309
342
  name_exact=name_exact,
@@ -314,6 +347,8 @@ def sync_detailed(
314
347
  offering_slug=offering_slug,
315
348
  offering_type=offering_type,
316
349
  offering_uuid=offering_uuid,
350
+ only_limit_based=only_limit_based,
351
+ only_usage_based=only_usage_based,
317
352
  page=page,
318
353
  page_size=page_size,
319
354
  parent_offering_uuid=parent_offering_uuid,
@@ -327,6 +362,7 @@ def sync_detailed(
327
362
  runtime_state=runtime_state,
328
363
  service_manager_uuid=service_manager_uuid,
329
364
  state=state,
365
+ usage_based=usage_based,
330
366
  visible_to_username=visible_to_username,
331
367
  )
332
368
 
@@ -342,6 +378,7 @@ def sync(
342
378
  client: AuthenticatedClient,
343
379
  backend_id: Union[Unset, str] = UNSET,
344
380
  category_uuid: Union[Unset, UUID] = UNSET,
381
+ component_count: Union[Unset, float] = UNSET,
345
382
  created: Union[Unset, datetime.datetime] = UNSET,
346
383
  customer: Union[Unset, str] = UNSET,
347
384
  customer_uuid: Union[Unset, UUID] = UNSET,
@@ -349,6 +386,8 @@ def sync(
349
386
  field: Union[Unset, list[MarketplaceProviderResourcesListFieldItem]] = UNSET,
350
387
  has_terminate_date: Union[Unset, bool] = UNSET,
351
388
  lexis_links_supported: Union[Unset, bool] = UNSET,
389
+ limit_based: Union[Unset, bool] = UNSET,
390
+ limit_component_count: Union[Unset, float] = UNSET,
352
391
  modified: Union[Unset, datetime.datetime] = UNSET,
353
392
  name: Union[Unset, str] = UNSET,
354
393
  name_exact: Union[Unset, str] = UNSET,
@@ -359,6 +398,8 @@ def sync(
359
398
  offering_slug: Union[Unset, list[str]] = UNSET,
360
399
  offering_type: Union[Unset, str] = UNSET,
361
400
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
401
+ only_limit_based: Union[Unset, bool] = UNSET,
402
+ only_usage_based: Union[Unset, bool] = UNSET,
362
403
  page: Union[Unset, int] = UNSET,
363
404
  page_size: Union[Unset, int] = UNSET,
364
405
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -372,6 +413,7 @@ def sync(
372
413
  runtime_state: Union[Unset, str] = UNSET,
373
414
  service_manager_uuid: Union[Unset, UUID] = UNSET,
374
415
  state: Union[Unset, list[MarketplaceProviderResourcesListStateItem]] = UNSET,
416
+ usage_based: Union[Unset, bool] = UNSET,
375
417
  visible_to_username: Union[Unset, str] = UNSET,
376
418
  ) -> list["Resource"]:
377
419
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -379,6 +421,7 @@ def sync(
379
421
  Args:
380
422
  backend_id (Union[Unset, str]):
381
423
  category_uuid (Union[Unset, UUID]):
424
+ component_count (Union[Unset, float]):
382
425
  created (Union[Unset, datetime.datetime]):
383
426
  customer (Union[Unset, str]):
384
427
  customer_uuid (Union[Unset, UUID]):
@@ -386,6 +429,8 @@ def sync(
386
429
  field (Union[Unset, list[MarketplaceProviderResourcesListFieldItem]]):
387
430
  has_terminate_date (Union[Unset, bool]):
388
431
  lexis_links_supported (Union[Unset, bool]):
432
+ limit_based (Union[Unset, bool]):
433
+ limit_component_count (Union[Unset, float]):
389
434
  modified (Union[Unset, datetime.datetime]):
390
435
  name (Union[Unset, str]):
391
436
  name_exact (Union[Unset, str]):
@@ -396,6 +441,8 @@ def sync(
396
441
  offering_slug (Union[Unset, list[str]]):
397
442
  offering_type (Union[Unset, str]):
398
443
  offering_uuid (Union[Unset, list[UUID]]):
444
+ only_limit_based (Union[Unset, bool]):
445
+ only_usage_based (Union[Unset, bool]):
399
446
  page (Union[Unset, int]):
400
447
  page_size (Union[Unset, int]):
401
448
  parent_offering_uuid (Union[Unset, UUID]):
@@ -409,6 +456,7 @@ def sync(
409
456
  runtime_state (Union[Unset, str]):
410
457
  service_manager_uuid (Union[Unset, UUID]):
411
458
  state (Union[Unset, list[MarketplaceProviderResourcesListStateItem]]):
459
+ usage_based (Union[Unset, bool]):
412
460
  visible_to_username (Union[Unset, str]):
413
461
 
414
462
  Raises:
@@ -423,6 +471,7 @@ def sync(
423
471
  client=client,
424
472
  backend_id=backend_id,
425
473
  category_uuid=category_uuid,
474
+ component_count=component_count,
426
475
  created=created,
427
476
  customer=customer,
428
477
  customer_uuid=customer_uuid,
@@ -430,6 +479,8 @@ def sync(
430
479
  field=field,
431
480
  has_terminate_date=has_terminate_date,
432
481
  lexis_links_supported=lexis_links_supported,
482
+ limit_based=limit_based,
483
+ limit_component_count=limit_component_count,
433
484
  modified=modified,
434
485
  name=name,
435
486
  name_exact=name_exact,
@@ -440,6 +491,8 @@ def sync(
440
491
  offering_slug=offering_slug,
441
492
  offering_type=offering_type,
442
493
  offering_uuid=offering_uuid,
494
+ only_limit_based=only_limit_based,
495
+ only_usage_based=only_usage_based,
443
496
  page=page,
444
497
  page_size=page_size,
445
498
  parent_offering_uuid=parent_offering_uuid,
@@ -453,6 +506,7 @@ def sync(
453
506
  runtime_state=runtime_state,
454
507
  service_manager_uuid=service_manager_uuid,
455
508
  state=state,
509
+ usage_based=usage_based,
456
510
  visible_to_username=visible_to_username,
457
511
  ).parsed
458
512
 
@@ -462,6 +516,7 @@ async def asyncio_detailed(
462
516
  client: AuthenticatedClient,
463
517
  backend_id: Union[Unset, str] = UNSET,
464
518
  category_uuid: Union[Unset, UUID] = UNSET,
519
+ component_count: Union[Unset, float] = UNSET,
465
520
  created: Union[Unset, datetime.datetime] = UNSET,
466
521
  customer: Union[Unset, str] = UNSET,
467
522
  customer_uuid: Union[Unset, UUID] = UNSET,
@@ -469,6 +524,8 @@ async def asyncio_detailed(
469
524
  field: Union[Unset, list[MarketplaceProviderResourcesListFieldItem]] = UNSET,
470
525
  has_terminate_date: Union[Unset, bool] = UNSET,
471
526
  lexis_links_supported: Union[Unset, bool] = UNSET,
527
+ limit_based: Union[Unset, bool] = UNSET,
528
+ limit_component_count: Union[Unset, float] = UNSET,
472
529
  modified: Union[Unset, datetime.datetime] = UNSET,
473
530
  name: Union[Unset, str] = UNSET,
474
531
  name_exact: Union[Unset, str] = UNSET,
@@ -479,6 +536,8 @@ async def asyncio_detailed(
479
536
  offering_slug: Union[Unset, list[str]] = UNSET,
480
537
  offering_type: Union[Unset, str] = UNSET,
481
538
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
539
+ only_limit_based: Union[Unset, bool] = UNSET,
540
+ only_usage_based: Union[Unset, bool] = UNSET,
482
541
  page: Union[Unset, int] = UNSET,
483
542
  page_size: Union[Unset, int] = UNSET,
484
543
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -492,6 +551,7 @@ async def asyncio_detailed(
492
551
  runtime_state: Union[Unset, str] = UNSET,
493
552
  service_manager_uuid: Union[Unset, UUID] = UNSET,
494
553
  state: Union[Unset, list[MarketplaceProviderResourcesListStateItem]] = UNSET,
554
+ usage_based: Union[Unset, bool] = UNSET,
495
555
  visible_to_username: Union[Unset, str] = UNSET,
496
556
  ) -> Response[list["Resource"]]:
497
557
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -499,6 +559,7 @@ async def asyncio_detailed(
499
559
  Args:
500
560
  backend_id (Union[Unset, str]):
501
561
  category_uuid (Union[Unset, UUID]):
562
+ component_count (Union[Unset, float]):
502
563
  created (Union[Unset, datetime.datetime]):
503
564
  customer (Union[Unset, str]):
504
565
  customer_uuid (Union[Unset, UUID]):
@@ -506,6 +567,8 @@ async def asyncio_detailed(
506
567
  field (Union[Unset, list[MarketplaceProviderResourcesListFieldItem]]):
507
568
  has_terminate_date (Union[Unset, bool]):
508
569
  lexis_links_supported (Union[Unset, bool]):
570
+ limit_based (Union[Unset, bool]):
571
+ limit_component_count (Union[Unset, float]):
509
572
  modified (Union[Unset, datetime.datetime]):
510
573
  name (Union[Unset, str]):
511
574
  name_exact (Union[Unset, str]):
@@ -516,6 +579,8 @@ async def asyncio_detailed(
516
579
  offering_slug (Union[Unset, list[str]]):
517
580
  offering_type (Union[Unset, str]):
518
581
  offering_uuid (Union[Unset, list[UUID]]):
582
+ only_limit_based (Union[Unset, bool]):
583
+ only_usage_based (Union[Unset, bool]):
519
584
  page (Union[Unset, int]):
520
585
  page_size (Union[Unset, int]):
521
586
  parent_offering_uuid (Union[Unset, UUID]):
@@ -529,6 +594,7 @@ async def asyncio_detailed(
529
594
  runtime_state (Union[Unset, str]):
530
595
  service_manager_uuid (Union[Unset, UUID]):
531
596
  state (Union[Unset, list[MarketplaceProviderResourcesListStateItem]]):
597
+ usage_based (Union[Unset, bool]):
532
598
  visible_to_username (Union[Unset, str]):
533
599
 
534
600
  Raises:
@@ -542,6 +608,7 @@ async def asyncio_detailed(
542
608
  kwargs = _get_kwargs(
543
609
  backend_id=backend_id,
544
610
  category_uuid=category_uuid,
611
+ component_count=component_count,
545
612
  created=created,
546
613
  customer=customer,
547
614
  customer_uuid=customer_uuid,
@@ -549,6 +616,8 @@ async def asyncio_detailed(
549
616
  field=field,
550
617
  has_terminate_date=has_terminate_date,
551
618
  lexis_links_supported=lexis_links_supported,
619
+ limit_based=limit_based,
620
+ limit_component_count=limit_component_count,
552
621
  modified=modified,
553
622
  name=name,
554
623
  name_exact=name_exact,
@@ -559,6 +628,8 @@ async def asyncio_detailed(
559
628
  offering_slug=offering_slug,
560
629
  offering_type=offering_type,
561
630
  offering_uuid=offering_uuid,
631
+ only_limit_based=only_limit_based,
632
+ only_usage_based=only_usage_based,
562
633
  page=page,
563
634
  page_size=page_size,
564
635
  parent_offering_uuid=parent_offering_uuid,
@@ -572,6 +643,7 @@ async def asyncio_detailed(
572
643
  runtime_state=runtime_state,
573
644
  service_manager_uuid=service_manager_uuid,
574
645
  state=state,
646
+ usage_based=usage_based,
575
647
  visible_to_username=visible_to_username,
576
648
  )
577
649
 
@@ -585,6 +657,7 @@ async def asyncio(
585
657
  client: AuthenticatedClient,
586
658
  backend_id: Union[Unset, str] = UNSET,
587
659
  category_uuid: Union[Unset, UUID] = UNSET,
660
+ component_count: Union[Unset, float] = UNSET,
588
661
  created: Union[Unset, datetime.datetime] = UNSET,
589
662
  customer: Union[Unset, str] = UNSET,
590
663
  customer_uuid: Union[Unset, UUID] = UNSET,
@@ -592,6 +665,8 @@ async def asyncio(
592
665
  field: Union[Unset, list[MarketplaceProviderResourcesListFieldItem]] = UNSET,
593
666
  has_terminate_date: Union[Unset, bool] = UNSET,
594
667
  lexis_links_supported: Union[Unset, bool] = UNSET,
668
+ limit_based: Union[Unset, bool] = UNSET,
669
+ limit_component_count: Union[Unset, float] = UNSET,
595
670
  modified: Union[Unset, datetime.datetime] = UNSET,
596
671
  name: Union[Unset, str] = UNSET,
597
672
  name_exact: Union[Unset, str] = UNSET,
@@ -602,6 +677,8 @@ async def asyncio(
602
677
  offering_slug: Union[Unset, list[str]] = UNSET,
603
678
  offering_type: Union[Unset, str] = UNSET,
604
679
  offering_uuid: Union[Unset, list[UUID]] = UNSET,
680
+ only_limit_based: Union[Unset, bool] = UNSET,
681
+ only_usage_based: Union[Unset, bool] = UNSET,
605
682
  page: Union[Unset, int] = UNSET,
606
683
  page_size: Union[Unset, int] = UNSET,
607
684
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
@@ -615,6 +692,7 @@ async def asyncio(
615
692
  runtime_state: Union[Unset, str] = UNSET,
616
693
  service_manager_uuid: Union[Unset, UUID] = UNSET,
617
694
  state: Union[Unset, list[MarketplaceProviderResourcesListStateItem]] = UNSET,
695
+ usage_based: Union[Unset, bool] = UNSET,
618
696
  visible_to_username: Union[Unset, str] = UNSET,
619
697
  ) -> list["Resource"]:
620
698
  """Mixin to optimize HEAD requests for DRF views bypassing serializer processing
@@ -622,6 +700,7 @@ async def asyncio(
622
700
  Args:
623
701
  backend_id (Union[Unset, str]):
624
702
  category_uuid (Union[Unset, UUID]):
703
+ component_count (Union[Unset, float]):
625
704
  created (Union[Unset, datetime.datetime]):
626
705
  customer (Union[Unset, str]):
627
706
  customer_uuid (Union[Unset, UUID]):
@@ -629,6 +708,8 @@ async def asyncio(
629
708
  field (Union[Unset, list[MarketplaceProviderResourcesListFieldItem]]):
630
709
  has_terminate_date (Union[Unset, bool]):
631
710
  lexis_links_supported (Union[Unset, bool]):
711
+ limit_based (Union[Unset, bool]):
712
+ limit_component_count (Union[Unset, float]):
632
713
  modified (Union[Unset, datetime.datetime]):
633
714
  name (Union[Unset, str]):
634
715
  name_exact (Union[Unset, str]):
@@ -639,6 +720,8 @@ async def asyncio(
639
720
  offering_slug (Union[Unset, list[str]]):
640
721
  offering_type (Union[Unset, str]):
641
722
  offering_uuid (Union[Unset, list[UUID]]):
723
+ only_limit_based (Union[Unset, bool]):
724
+ only_usage_based (Union[Unset, bool]):
642
725
  page (Union[Unset, int]):
643
726
  page_size (Union[Unset, int]):
644
727
  parent_offering_uuid (Union[Unset, UUID]):
@@ -652,6 +735,7 @@ async def asyncio(
652
735
  runtime_state (Union[Unset, str]):
653
736
  service_manager_uuid (Union[Unset, UUID]):
654
737
  state (Union[Unset, list[MarketplaceProviderResourcesListStateItem]]):
738
+ usage_based (Union[Unset, bool]):
655
739
  visible_to_username (Union[Unset, str]):
656
740
 
657
741
  Raises:
@@ -667,6 +751,7 @@ async def asyncio(
667
751
  client=client,
668
752
  backend_id=backend_id,
669
753
  category_uuid=category_uuid,
754
+ component_count=component_count,
670
755
  created=created,
671
756
  customer=customer,
672
757
  customer_uuid=customer_uuid,
@@ -674,6 +759,8 @@ async def asyncio(
674
759
  field=field,
675
760
  has_terminate_date=has_terminate_date,
676
761
  lexis_links_supported=lexis_links_supported,
762
+ limit_based=limit_based,
763
+ limit_component_count=limit_component_count,
677
764
  modified=modified,
678
765
  name=name,
679
766
  name_exact=name_exact,
@@ -684,6 +771,8 @@ async def asyncio(
684
771
  offering_slug=offering_slug,
685
772
  offering_type=offering_type,
686
773
  offering_uuid=offering_uuid,
774
+ only_limit_based=only_limit_based,
775
+ only_usage_based=only_usage_based,
687
776
  page=page,
688
777
  page_size=page_size,
689
778
  parent_offering_uuid=parent_offering_uuid,
@@ -697,6 +786,7 @@ async def asyncio(
697
786
  runtime_state=runtime_state,
698
787
  service_manager_uuid=service_manager_uuid,
699
788
  state=state,
789
+ usage_based=usage_based,
700
790
  visible_to_username=visible_to_username,
701
791
  )
702
792
  ).parsed
@@ -0,0 +1,107 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.resource_downscaled_request import ResourceDownscaledRequest
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs(
14
+ uuid: UUID,
15
+ *,
16
+ body: ResourceDownscaledRequest,
17
+ ) -> dict[str, Any]:
18
+ headers: dict[str, Any] = {}
19
+
20
+ _kwargs: dict[str, Any] = {
21
+ "method": "post",
22
+ "url": f"/api/marketplace-provider-resources/{uuid}/set_downscaled/",
23
+ }
24
+
25
+ _kwargs["json"] = body.to_dict()
26
+
27
+ headers["Content-Type"] = "application/json"
28
+
29
+ _kwargs["headers"] = headers
30
+ return _kwargs
31
+
32
+
33
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
34
+ if response.status_code == 200:
35
+ return None
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+
38
+
39
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
40
+ return Response(
41
+ status_code=HTTPStatus(response.status_code),
42
+ content=response.content,
43
+ headers=response.headers,
44
+ parsed=_parse_response(client=client, response=response),
45
+ )
46
+
47
+
48
+ def sync_detailed(
49
+ uuid: UUID,
50
+ *,
51
+ client: AuthenticatedClient,
52
+ body: ResourceDownscaledRequest,
53
+ ) -> Response[Any]:
54
+ """Set downscaled flag for resource.
55
+
56
+ Args:
57
+ uuid (UUID):
58
+ body (ResourceDownscaledRequest):
59
+
60
+ Raises:
61
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
62
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
63
+
64
+ Returns:
65
+ Response[Any]
66
+ """
67
+
68
+ kwargs = _get_kwargs(
69
+ uuid=uuid,
70
+ body=body,
71
+ )
72
+
73
+ response = client.get_httpx_client().request(
74
+ **kwargs,
75
+ )
76
+
77
+ return _build_response(client=client, response=response)
78
+
79
+
80
+ async def asyncio_detailed(
81
+ uuid: UUID,
82
+ *,
83
+ client: AuthenticatedClient,
84
+ body: ResourceDownscaledRequest,
85
+ ) -> Response[Any]:
86
+ """Set downscaled flag for resource.
87
+
88
+ Args:
89
+ uuid (UUID):
90
+ body (ResourceDownscaledRequest):
91
+
92
+ Raises:
93
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
94
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
95
+
96
+ Returns:
97
+ Response[Any]
98
+ """
99
+
100
+ kwargs = _get_kwargs(
101
+ uuid=uuid,
102
+ body=body,
103
+ )
104
+
105
+ response = await client.get_async_httpx_client().request(**kwargs)
106
+
107
+ return _build_response(client=client, response=response)
@@ -0,0 +1,107 @@
1
+ from http import HTTPStatus
2
+ from typing import Any, Union
3
+ from uuid import UUID
4
+
5
+ import httpx
6
+
7
+ from ... import errors
8
+ from ...client import AuthenticatedClient, Client
9
+ from ...models.resource_paused_request import ResourcePausedRequest
10
+ from ...types import Response
11
+
12
+
13
+ def _get_kwargs(
14
+ uuid: UUID,
15
+ *,
16
+ body: ResourcePausedRequest,
17
+ ) -> dict[str, Any]:
18
+ headers: dict[str, Any] = {}
19
+
20
+ _kwargs: dict[str, Any] = {
21
+ "method": "post",
22
+ "url": f"/api/marketplace-provider-resources/{uuid}/set_paused/",
23
+ }
24
+
25
+ _kwargs["json"] = body.to_dict()
26
+
27
+ headers["Content-Type"] = "application/json"
28
+
29
+ _kwargs["headers"] = headers
30
+ return _kwargs
31
+
32
+
33
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Any:
34
+ if response.status_code == 200:
35
+ return None
36
+ raise errors.UnexpectedStatus(response.status_code, response.content)
37
+
38
+
39
+ def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Any]:
40
+ return Response(
41
+ status_code=HTTPStatus(response.status_code),
42
+ content=response.content,
43
+ headers=response.headers,
44
+ parsed=_parse_response(client=client, response=response),
45
+ )
46
+
47
+
48
+ def sync_detailed(
49
+ uuid: UUID,
50
+ *,
51
+ client: AuthenticatedClient,
52
+ body: ResourcePausedRequest,
53
+ ) -> Response[Any]:
54
+ """Set paused flag for resource.
55
+
56
+ Args:
57
+ uuid (UUID):
58
+ body (ResourcePausedRequest):
59
+
60
+ Raises:
61
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
62
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
63
+
64
+ Returns:
65
+ Response[Any]
66
+ """
67
+
68
+ kwargs = _get_kwargs(
69
+ uuid=uuid,
70
+ body=body,
71
+ )
72
+
73
+ response = client.get_httpx_client().request(
74
+ **kwargs,
75
+ )
76
+
77
+ return _build_response(client=client, response=response)
78
+
79
+
80
+ async def asyncio_detailed(
81
+ uuid: UUID,
82
+ *,
83
+ client: AuthenticatedClient,
84
+ body: ResourcePausedRequest,
85
+ ) -> Response[Any]:
86
+ """Set paused flag for resource.
87
+
88
+ Args:
89
+ uuid (UUID):
90
+ body (ResourcePausedRequest):
91
+
92
+ Raises:
93
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
94
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
95
+
96
+ Returns:
97
+ Response[Any]
98
+ """
99
+
100
+ kwargs = _get_kwargs(
101
+ uuid=uuid,
102
+ body=body,
103
+ )
104
+
105
+ response = await client.get_async_httpx_client().request(**kwargs)
106
+
107
+ return _build_response(client=client, response=response)