waldur-api-client 7.8.3__py3-none-any.whl → 7.8.4__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 (118) hide show
  1. waldur_api_client/api/booking_resources/booking_resources_count.py +18 -0
  2. waldur_api_client/api/booking_resources/booking_resources_list.py +18 -0
  3. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_count.py +125 -0
  4. waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_checklist_template_retrieve.py +126 -0
  5. waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_tos_stats_retrieve.py +146 -0
  6. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_count.py +18 -0
  7. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +18 -0
  8. waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_update_options.py +168 -0
  9. waldur_api_client/api/marketplace_resources/marketplace_resources_count.py +18 -0
  10. waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +18 -0
  11. waldur_api_client/api/marketplace_resources/marketplace_resources_renew.py +166 -0
  12. waldur_api_client/api/marketplace_service_providers/service_provider_checklists_summary.py +189 -0
  13. waldur_api_client/api/onboarding/__init__.py +1 -0
  14. waldur_api_client/api/onboarding/onboarding_supported_countries_retrieve.py +74 -0
  15. waldur_api_client/api/onboarding_justifications/__init__.py +1 -0
  16. waldur_api_client/api/onboarding_justifications/onboarding_justifications_attach_document.py +211 -0
  17. waldur_api_client/api/onboarding_justifications/onboarding_justifications_count.py +172 -0
  18. waldur_api_client/api/onboarding_justifications/onboarding_justifications_create.py +150 -0
  19. waldur_api_client/api/onboarding_justifications/onboarding_justifications_create_justification.py +154 -0
  20. waldur_api_client/api/onboarding_justifications/onboarding_justifications_destroy.py +89 -0
  21. waldur_api_client/api/onboarding_justifications/onboarding_justifications_list.py +175 -0
  22. waldur_api_client/api/onboarding_justifications/onboarding_justifications_partial_update.py +164 -0
  23. waldur_api_client/api/onboarding_justifications/onboarding_justifications_retrieve.py +142 -0
  24. waldur_api_client/api/onboarding_justifications/onboarding_justifications_update.py +164 -0
  25. waldur_api_client/api/onboarding_verifications/__init__.py +1 -0
  26. waldur_api_client/api/onboarding_verifications/onboarding_verifications_count.py +172 -0
  27. waldur_api_client/api/onboarding_verifications/onboarding_verifications_create.py +150 -0
  28. waldur_api_client/api/onboarding_verifications/onboarding_verifications_create_customer.py +144 -0
  29. waldur_api_client/api/onboarding_verifications/onboarding_verifications_destroy.py +89 -0
  30. waldur_api_client/api/onboarding_verifications/onboarding_verifications_list.py +175 -0
  31. waldur_api_client/api/onboarding_verifications/onboarding_verifications_partial_update.py +164 -0
  32. waldur_api_client/api/onboarding_verifications/onboarding_verifications_retrieve.py +142 -0
  33. waldur_api_client/api/onboarding_verifications/onboarding_verifications_update.py +164 -0
  34. waldur_api_client/api/onboarding_verifications/onboarding_verifications_validate_company.py +154 -0
  35. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_count.py +33 -0
  36. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_create.py +154 -0
  37. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_destroy.py +91 -0
  38. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +33 -0
  39. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_partial_update.py +164 -0
  40. waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_update.py +164 -0
  41. waldur_api_client/api/openstack_networks/openstack_networks_rbac_policy_create.py +24 -22
  42. waldur_api_client/api/projects/projects_checklist_template_count.py +125 -0
  43. waldur_api_client/api/projects/projects_checklist_template_retrieve.py +126 -0
  44. waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_count.py +125 -0
  45. waldur_api_client/api/proposal_proposals/proposal_proposals_checklist_template_retrieve.py +126 -0
  46. waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_offerings_list.py +15 -0
  47. waldur_api_client/models/__init__.py +62 -4
  48. waldur_api_client/models/booking_resource.py +4 -11
  49. waldur_api_client/models/call_round.py +4 -4
  50. waldur_api_client/models/checklist_template.py +99 -0
  51. waldur_api_client/models/checklist_template_checklist.py +44 -0
  52. waldur_api_client/models/constance_settings.py +45 -0
  53. waldur_api_client/models/constance_settings_request.py +45 -0
  54. waldur_api_client/models/constance_settings_request_form.py +45 -0
  55. waldur_api_client/models/constance_settings_request_multipart.py +85 -0
  56. waldur_api_client/models/customer.py +9 -0
  57. waldur_api_client/models/customers_list_field_item.py +1 -0
  58. waldur_api_client/models/customers_retrieve_field_item.py +1 -0
  59. waldur_api_client/models/deprecated_network_rbac_policy.py +137 -0
  60. waldur_api_client/models/deprecated_network_rbac_policy_request.py +78 -0
  61. waldur_api_client/models/event_types_enum.py +1 -0
  62. waldur_api_client/models/marketplace_service_providers_projects_list_field_item.py +1 -0
  63. waldur_api_client/models/merged_plugin_options.py +18 -0
  64. waldur_api_client/models/merged_plugin_options_request.py +18 -0
  65. waldur_api_client/models/nested_round.py +5 -5
  66. waldur_api_client/models/network_rbac_policy_request.py +8 -0
  67. waldur_api_client/models/notification.py +9 -9
  68. waldur_api_client/models/{notification_context_fields.py → notification_context_schema.py} +6 -6
  69. waldur_api_client/models/notification_template_detail_serializers.py +9 -3
  70. waldur_api_client/models/offering_component.py +79 -0
  71. waldur_api_client/models/offering_component_request.py +80 -0
  72. waldur_api_client/models/onboarding_company_validation_request_request.py +88 -0
  73. waldur_api_client/models/onboarding_justification.py +183 -0
  74. waldur_api_client/models/onboarding_justification_create_request.py +68 -0
  75. waldur_api_client/models/onboarding_justification_documentation.py +108 -0
  76. waldur_api_client/models/onboarding_justification_documentation_request.py +84 -0
  77. waldur_api_client/models/onboarding_justification_documentation_request_form.py +84 -0
  78. waldur_api_client/models/onboarding_justification_documentation_request_multipart.py +98 -0
  79. waldur_api_client/models/onboarding_justification_request.py +75 -0
  80. waldur_api_client/models/onboarding_verification.py +250 -0
  81. waldur_api_client/models/onboarding_verification_request.py +128 -0
  82. waldur_api_client/models/onboarding_verification_status_enum.py +12 -0
  83. waldur_api_client/models/open_stack_create_floating_ip_request.py +20 -1
  84. waldur_api_client/models/order_create.py +4 -4
  85. waldur_api_client/models/order_details.py +4 -11
  86. waldur_api_client/models/patched_network_rbac_policy_request.py +85 -0
  87. waldur_api_client/models/patched_onboarding_justification_request.py +77 -0
  88. waldur_api_client/models/patched_onboarding_verification_request.py +128 -0
  89. waldur_api_client/models/patched_project_credit_request.py +13 -0
  90. waldur_api_client/models/patched_project_request.py +1 -2
  91. waldur_api_client/models/patched_project_request_form.py +1 -2
  92. waldur_api_client/models/patched_project_request_multipart.py +1 -2
  93. waldur_api_client/models/project.py +10 -2
  94. waldur_api_client/models/project_credit.py +13 -0
  95. waldur_api_client/models/project_credit_request.py +13 -0
  96. waldur_api_client/models/project_request.py +1 -2
  97. waldur_api_client/models/project_request_form.py +1 -2
  98. waldur_api_client/models/project_request_multipart.py +1 -2
  99. waldur_api_client/models/projects_list_field_item.py +1 -0
  100. waldur_api_client/models/projects_retrieve_field_item.py +1 -0
  101. waldur_api_client/models/protected_round.py +4 -4
  102. waldur_api_client/models/question.py +102 -0
  103. waldur_api_client/models/question_options.py +79 -0
  104. waldur_api_client/models/resource.py +4 -11
  105. waldur_api_client/models/resource_renew_request.py +83 -0
  106. waldur_api_client/models/resource_renew_request_limits.py +44 -0
  107. waldur_api_client/models/{status_enum.py → round_status.py} +1 -1
  108. waldur_api_client/models/service_provider_checklist_summary.py +98 -0
  109. waldur_api_client/models/time_series_to_s_data.py +69 -0
  110. waldur_api_client/models/to_s_consent_dashboard.py +155 -0
  111. waldur_api_client/models/update_offering_component_request.py +79 -0
  112. waldur_api_client/models/validation_decision_enum.py +10 -0
  113. waldur_api_client/models/validation_method_enum.py +8 -0
  114. waldur_api_client/models/version_adoption.py +67 -0
  115. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/METADATA +1 -1
  116. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/RECORD +118 -54
  117. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/WHEEL +0 -0
  118. {waldur_api_client-7.8.3.dist-info → waldur_api_client-7.8.4.dist-info}/licenses/LICENSE +0 -0
@@ -36,6 +36,7 @@ def _get_kwargs(
36
36
  page_size: Union[Unset, int] = UNSET,
37
37
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
38
38
  paused: Union[Unset, bool] = UNSET,
39
+ plan_uuid: Union[Unset, UUID] = UNSET,
39
40
  project_name: Union[Unset, str] = UNSET,
40
41
  project_uuid: Union[Unset, UUID] = UNSET,
41
42
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -125,6 +126,11 @@ def _get_kwargs(
125
126
 
126
127
  params["paused"] = paused
127
128
 
129
+ json_plan_uuid: Union[Unset, str] = UNSET
130
+ if not isinstance(plan_uuid, Unset):
131
+ json_plan_uuid = str(plan_uuid)
132
+ params["plan_uuid"] = json_plan_uuid
133
+
128
134
  params["project_name"] = project_name
129
135
 
130
136
  json_project_uuid: Union[Unset, str] = UNSET
@@ -219,6 +225,7 @@ def sync_detailed(
219
225
  page_size: Union[Unset, int] = UNSET,
220
226
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
221
227
  paused: Union[Unset, bool] = UNSET,
228
+ plan_uuid: Union[Unset, UUID] = UNSET,
222
229
  project_name: Union[Unset, str] = UNSET,
223
230
  project_uuid: Union[Unset, UUID] = UNSET,
224
231
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -254,6 +261,7 @@ def sync_detailed(
254
261
  page_size (Union[Unset, int]):
255
262
  parent_offering_uuid (Union[Unset, UUID]):
256
263
  paused (Union[Unset, bool]):
264
+ plan_uuid (Union[Unset, UUID]):
257
265
  project_name (Union[Unset, str]):
258
266
  project_uuid (Union[Unset, UUID]):
259
267
  provider_uuid (Union[Unset, UUID]):
@@ -295,6 +303,7 @@ def sync_detailed(
295
303
  page_size=page_size,
296
304
  parent_offering_uuid=parent_offering_uuid,
297
305
  paused=paused,
306
+ plan_uuid=plan_uuid,
298
307
  project_name=project_name,
299
308
  project_uuid=project_uuid,
300
309
  provider_uuid=provider_uuid,
@@ -338,6 +347,7 @@ def sync(
338
347
  page_size: Union[Unset, int] = UNSET,
339
348
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
340
349
  paused: Union[Unset, bool] = UNSET,
350
+ plan_uuid: Union[Unset, UUID] = UNSET,
341
351
  project_name: Union[Unset, str] = UNSET,
342
352
  project_uuid: Union[Unset, UUID] = UNSET,
343
353
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -373,6 +383,7 @@ def sync(
373
383
  page_size (Union[Unset, int]):
374
384
  parent_offering_uuid (Union[Unset, UUID]):
375
385
  paused (Union[Unset, bool]):
386
+ plan_uuid (Union[Unset, UUID]):
376
387
  project_name (Union[Unset, str]):
377
388
  project_uuid (Union[Unset, UUID]):
378
389
  provider_uuid (Union[Unset, UUID]):
@@ -415,6 +426,7 @@ def sync(
415
426
  page_size=page_size,
416
427
  parent_offering_uuid=parent_offering_uuid,
417
428
  paused=paused,
429
+ plan_uuid=plan_uuid,
418
430
  project_name=project_name,
419
431
  project_uuid=project_uuid,
420
432
  provider_uuid=provider_uuid,
@@ -452,6 +464,7 @@ async def asyncio_detailed(
452
464
  page_size: Union[Unset, int] = UNSET,
453
465
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
454
466
  paused: Union[Unset, bool] = UNSET,
467
+ plan_uuid: Union[Unset, UUID] = UNSET,
455
468
  project_name: Union[Unset, str] = UNSET,
456
469
  project_uuid: Union[Unset, UUID] = UNSET,
457
470
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -487,6 +500,7 @@ async def asyncio_detailed(
487
500
  page_size (Union[Unset, int]):
488
501
  parent_offering_uuid (Union[Unset, UUID]):
489
502
  paused (Union[Unset, bool]):
503
+ plan_uuid (Union[Unset, UUID]):
490
504
  project_name (Union[Unset, str]):
491
505
  project_uuid (Union[Unset, UUID]):
492
506
  provider_uuid (Union[Unset, UUID]):
@@ -528,6 +542,7 @@ async def asyncio_detailed(
528
542
  page_size=page_size,
529
543
  parent_offering_uuid=parent_offering_uuid,
530
544
  paused=paused,
545
+ plan_uuid=plan_uuid,
531
546
  project_name=project_name,
532
547
  project_uuid=project_uuid,
533
548
  provider_uuid=provider_uuid,
@@ -569,6 +584,7 @@ async def asyncio(
569
584
  page_size: Union[Unset, int] = UNSET,
570
585
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
571
586
  paused: Union[Unset, bool] = UNSET,
587
+ plan_uuid: Union[Unset, UUID] = UNSET,
572
588
  project_name: Union[Unset, str] = UNSET,
573
589
  project_uuid: Union[Unset, UUID] = UNSET,
574
590
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -604,6 +620,7 @@ async def asyncio(
604
620
  page_size (Union[Unset, int]):
605
621
  parent_offering_uuid (Union[Unset, UUID]):
606
622
  paused (Union[Unset, bool]):
623
+ plan_uuid (Union[Unset, UUID]):
607
624
  project_name (Union[Unset, str]):
608
625
  project_uuid (Union[Unset, UUID]):
609
626
  provider_uuid (Union[Unset, UUID]):
@@ -647,6 +664,7 @@ async def asyncio(
647
664
  page_size=page_size,
648
665
  parent_offering_uuid=parent_offering_uuid,
649
666
  paused=paused,
667
+ plan_uuid=plan_uuid,
650
668
  project_name=project_name,
651
669
  project_uuid=project_uuid,
652
670
  provider_uuid=provider_uuid,
@@ -39,6 +39,7 @@ def _get_kwargs(
39
39
  page_size: Union[Unset, int] = UNSET,
40
40
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
41
41
  paused: Union[Unset, bool] = UNSET,
42
+ plan_uuid: Union[Unset, UUID] = UNSET,
42
43
  project_name: Union[Unset, str] = UNSET,
43
44
  project_uuid: Union[Unset, UUID] = UNSET,
44
45
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -137,6 +138,11 @@ def _get_kwargs(
137
138
 
138
139
  params["paused"] = paused
139
140
 
141
+ json_plan_uuid: Union[Unset, str] = UNSET
142
+ if not isinstance(plan_uuid, Unset):
143
+ json_plan_uuid = str(plan_uuid)
144
+ params["plan_uuid"] = json_plan_uuid
145
+
140
146
  params["project_name"] = project_name
141
147
 
142
148
  json_project_uuid: Union[Unset, str] = UNSET
@@ -232,6 +238,7 @@ def sync_detailed(
232
238
  page_size: Union[Unset, int] = UNSET,
233
239
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
234
240
  paused: Union[Unset, bool] = UNSET,
241
+ plan_uuid: Union[Unset, UUID] = UNSET,
235
242
  project_name: Union[Unset, str] = UNSET,
236
243
  project_uuid: Union[Unset, UUID] = UNSET,
237
244
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -268,6 +275,7 @@ def sync_detailed(
268
275
  page_size (Union[Unset, int]):
269
276
  parent_offering_uuid (Union[Unset, UUID]):
270
277
  paused (Union[Unset, bool]):
278
+ plan_uuid (Union[Unset, UUID]):
271
279
  project_name (Union[Unset, str]):
272
280
  project_uuid (Union[Unset, UUID]):
273
281
  provider_uuid (Union[Unset, UUID]):
@@ -310,6 +318,7 @@ def sync_detailed(
310
318
  page_size=page_size,
311
319
  parent_offering_uuid=parent_offering_uuid,
312
320
  paused=paused,
321
+ plan_uuid=plan_uuid,
313
322
  project_name=project_name,
314
323
  project_uuid=project_uuid,
315
324
  provider_uuid=provider_uuid,
@@ -354,6 +363,7 @@ def sync(
354
363
  page_size: Union[Unset, int] = UNSET,
355
364
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
356
365
  paused: Union[Unset, bool] = UNSET,
366
+ plan_uuid: Union[Unset, UUID] = UNSET,
357
367
  project_name: Union[Unset, str] = UNSET,
358
368
  project_uuid: Union[Unset, UUID] = UNSET,
359
369
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -390,6 +400,7 @@ def sync(
390
400
  page_size (Union[Unset, int]):
391
401
  parent_offering_uuid (Union[Unset, UUID]):
392
402
  paused (Union[Unset, bool]):
403
+ plan_uuid (Union[Unset, UUID]):
393
404
  project_name (Union[Unset, str]):
394
405
  project_uuid (Union[Unset, UUID]):
395
406
  provider_uuid (Union[Unset, UUID]):
@@ -433,6 +444,7 @@ def sync(
433
444
  page_size=page_size,
434
445
  parent_offering_uuid=parent_offering_uuid,
435
446
  paused=paused,
447
+ plan_uuid=plan_uuid,
436
448
  project_name=project_name,
437
449
  project_uuid=project_uuid,
438
450
  provider_uuid=provider_uuid,
@@ -471,6 +483,7 @@ async def asyncio_detailed(
471
483
  page_size: Union[Unset, int] = UNSET,
472
484
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
473
485
  paused: Union[Unset, bool] = UNSET,
486
+ plan_uuid: Union[Unset, UUID] = UNSET,
474
487
  project_name: Union[Unset, str] = UNSET,
475
488
  project_uuid: Union[Unset, UUID] = UNSET,
476
489
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -507,6 +520,7 @@ async def asyncio_detailed(
507
520
  page_size (Union[Unset, int]):
508
521
  parent_offering_uuid (Union[Unset, UUID]):
509
522
  paused (Union[Unset, bool]):
523
+ plan_uuid (Union[Unset, UUID]):
510
524
  project_name (Union[Unset, str]):
511
525
  project_uuid (Union[Unset, UUID]):
512
526
  provider_uuid (Union[Unset, UUID]):
@@ -549,6 +563,7 @@ async def asyncio_detailed(
549
563
  page_size=page_size,
550
564
  parent_offering_uuid=parent_offering_uuid,
551
565
  paused=paused,
566
+ plan_uuid=plan_uuid,
552
567
  project_name=project_name,
553
568
  project_uuid=project_uuid,
554
569
  provider_uuid=provider_uuid,
@@ -591,6 +606,7 @@ async def asyncio(
591
606
  page_size: Union[Unset, int] = UNSET,
592
607
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
593
608
  paused: Union[Unset, bool] = UNSET,
609
+ plan_uuid: Union[Unset, UUID] = UNSET,
594
610
  project_name: Union[Unset, str] = UNSET,
595
611
  project_uuid: Union[Unset, UUID] = UNSET,
596
612
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -627,6 +643,7 @@ async def asyncio(
627
643
  page_size (Union[Unset, int]):
628
644
  parent_offering_uuid (Union[Unset, UUID]):
629
645
  paused (Union[Unset, bool]):
646
+ plan_uuid (Union[Unset, UUID]):
630
647
  project_name (Union[Unset, str]):
631
648
  project_uuid (Union[Unset, UUID]):
632
649
  provider_uuid (Union[Unset, UUID]):
@@ -671,6 +688,7 @@ async def asyncio(
671
688
  page_size=page_size,
672
689
  parent_offering_uuid=parent_offering_uuid,
673
690
  paused=paused,
691
+ plan_uuid=plan_uuid,
674
692
  project_name=project_name,
675
693
  project_uuid=project_uuid,
676
694
  provider_uuid=provider_uuid,
@@ -0,0 +1,168 @@
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_options_request import ResourceOptionsRequest
10
+ from ...models.resource_response_status import ResourceResponseStatus
11
+ from ...types import Response
12
+
13
+
14
+ def _get_kwargs(
15
+ uuid: UUID,
16
+ *,
17
+ body: ResourceOptionsRequest,
18
+ ) -> dict[str, Any]:
19
+ headers: dict[str, Any] = {}
20
+
21
+ _kwargs: dict[str, Any] = {
22
+ "method": "post",
23
+ "url": f"/api/marketplace-provider-resources/{uuid}/update_options/",
24
+ }
25
+
26
+ _kwargs["json"] = body.to_dict()
27
+
28
+ headers["Content-Type"] = "application/json"
29
+
30
+ _kwargs["headers"] = headers
31
+ return _kwargs
32
+
33
+
34
+ def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> ResourceResponseStatus:
35
+ if response.status_code == 200:
36
+ response_200 = ResourceResponseStatus.from_dict(response.json())
37
+
38
+ return response_200
39
+ raise errors.UnexpectedStatus(response.status_code, response.content)
40
+
41
+
42
+ def _build_response(
43
+ *, client: Union[AuthenticatedClient, Client], response: httpx.Response
44
+ ) -> Response[ResourceResponseStatus]:
45
+ return Response(
46
+ status_code=HTTPStatus(response.status_code),
47
+ content=response.content,
48
+ headers=response.headers,
49
+ parsed=_parse_response(client=client, response=response),
50
+ )
51
+
52
+
53
+ def sync_detailed(
54
+ uuid: UUID,
55
+ *,
56
+ client: AuthenticatedClient,
57
+ body: ResourceOptionsRequest,
58
+ ) -> Response[ResourceResponseStatus]:
59
+ """Update resource options.
60
+
61
+ Args:
62
+ uuid (UUID):
63
+ body (ResourceOptionsRequest):
64
+
65
+ Raises:
66
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
67
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
68
+
69
+ Returns:
70
+ Response[ResourceResponseStatus]
71
+ """
72
+
73
+ kwargs = _get_kwargs(
74
+ uuid=uuid,
75
+ body=body,
76
+ )
77
+
78
+ response = client.get_httpx_client().request(
79
+ **kwargs,
80
+ )
81
+
82
+ return _build_response(client=client, response=response)
83
+
84
+
85
+ def sync(
86
+ uuid: UUID,
87
+ *,
88
+ client: AuthenticatedClient,
89
+ body: ResourceOptionsRequest,
90
+ ) -> ResourceResponseStatus:
91
+ """Update resource options.
92
+
93
+ Args:
94
+ uuid (UUID):
95
+ body (ResourceOptionsRequest):
96
+
97
+ Raises:
98
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
99
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
100
+
101
+ Returns:
102
+ ResourceResponseStatus
103
+ """
104
+
105
+ return sync_detailed(
106
+ uuid=uuid,
107
+ client=client,
108
+ body=body,
109
+ ).parsed
110
+
111
+
112
+ async def asyncio_detailed(
113
+ uuid: UUID,
114
+ *,
115
+ client: AuthenticatedClient,
116
+ body: ResourceOptionsRequest,
117
+ ) -> Response[ResourceResponseStatus]:
118
+ """Update resource options.
119
+
120
+ Args:
121
+ uuid (UUID):
122
+ body (ResourceOptionsRequest):
123
+
124
+ Raises:
125
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
126
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
127
+
128
+ Returns:
129
+ Response[ResourceResponseStatus]
130
+ """
131
+
132
+ kwargs = _get_kwargs(
133
+ uuid=uuid,
134
+ body=body,
135
+ )
136
+
137
+ response = await client.get_async_httpx_client().request(**kwargs)
138
+
139
+ return _build_response(client=client, response=response)
140
+
141
+
142
+ async def asyncio(
143
+ uuid: UUID,
144
+ *,
145
+ client: AuthenticatedClient,
146
+ body: ResourceOptionsRequest,
147
+ ) -> ResourceResponseStatus:
148
+ """Update resource options.
149
+
150
+ Args:
151
+ uuid (UUID):
152
+ body (ResourceOptionsRequest):
153
+
154
+ Raises:
155
+ errors.UnexpectedStatus: If the server returns an undocumented status code.
156
+ httpx.TimeoutException: If the request takes longer than Client.timeout.
157
+
158
+ Returns:
159
+ ResourceResponseStatus
160
+ """
161
+
162
+ return (
163
+ await asyncio_detailed(
164
+ uuid=uuid,
165
+ client=client,
166
+ body=body,
167
+ )
168
+ ).parsed
@@ -36,6 +36,7 @@ def _get_kwargs(
36
36
  page_size: Union[Unset, int] = UNSET,
37
37
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
38
38
  paused: Union[Unset, bool] = UNSET,
39
+ plan_uuid: Union[Unset, UUID] = UNSET,
39
40
  project_name: Union[Unset, str] = UNSET,
40
41
  project_uuid: Union[Unset, UUID] = UNSET,
41
42
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -125,6 +126,11 @@ def _get_kwargs(
125
126
 
126
127
  params["paused"] = paused
127
128
 
129
+ json_plan_uuid: Union[Unset, str] = UNSET
130
+ if not isinstance(plan_uuid, Unset):
131
+ json_plan_uuid = str(plan_uuid)
132
+ params["plan_uuid"] = json_plan_uuid
133
+
128
134
  params["project_name"] = project_name
129
135
 
130
136
  json_project_uuid: Union[Unset, str] = UNSET
@@ -219,6 +225,7 @@ def sync_detailed(
219
225
  page_size: Union[Unset, int] = UNSET,
220
226
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
221
227
  paused: Union[Unset, bool] = UNSET,
228
+ plan_uuid: Union[Unset, UUID] = UNSET,
222
229
  project_name: Union[Unset, str] = UNSET,
223
230
  project_uuid: Union[Unset, UUID] = UNSET,
224
231
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -254,6 +261,7 @@ def sync_detailed(
254
261
  page_size (Union[Unset, int]):
255
262
  parent_offering_uuid (Union[Unset, UUID]):
256
263
  paused (Union[Unset, bool]):
264
+ plan_uuid (Union[Unset, UUID]):
257
265
  project_name (Union[Unset, str]):
258
266
  project_uuid (Union[Unset, UUID]):
259
267
  provider_uuid (Union[Unset, UUID]):
@@ -295,6 +303,7 @@ def sync_detailed(
295
303
  page_size=page_size,
296
304
  parent_offering_uuid=parent_offering_uuid,
297
305
  paused=paused,
306
+ plan_uuid=plan_uuid,
298
307
  project_name=project_name,
299
308
  project_uuid=project_uuid,
300
309
  provider_uuid=provider_uuid,
@@ -338,6 +347,7 @@ def sync(
338
347
  page_size: Union[Unset, int] = UNSET,
339
348
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
340
349
  paused: Union[Unset, bool] = UNSET,
350
+ plan_uuid: Union[Unset, UUID] = UNSET,
341
351
  project_name: Union[Unset, str] = UNSET,
342
352
  project_uuid: Union[Unset, UUID] = UNSET,
343
353
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -373,6 +383,7 @@ def sync(
373
383
  page_size (Union[Unset, int]):
374
384
  parent_offering_uuid (Union[Unset, UUID]):
375
385
  paused (Union[Unset, bool]):
386
+ plan_uuid (Union[Unset, UUID]):
376
387
  project_name (Union[Unset, str]):
377
388
  project_uuid (Union[Unset, UUID]):
378
389
  provider_uuid (Union[Unset, UUID]):
@@ -415,6 +426,7 @@ def sync(
415
426
  page_size=page_size,
416
427
  parent_offering_uuid=parent_offering_uuid,
417
428
  paused=paused,
429
+ plan_uuid=plan_uuid,
418
430
  project_name=project_name,
419
431
  project_uuid=project_uuid,
420
432
  provider_uuid=provider_uuid,
@@ -452,6 +464,7 @@ async def asyncio_detailed(
452
464
  page_size: Union[Unset, int] = UNSET,
453
465
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
454
466
  paused: Union[Unset, bool] = UNSET,
467
+ plan_uuid: Union[Unset, UUID] = UNSET,
455
468
  project_name: Union[Unset, str] = UNSET,
456
469
  project_uuid: Union[Unset, UUID] = UNSET,
457
470
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -487,6 +500,7 @@ async def asyncio_detailed(
487
500
  page_size (Union[Unset, int]):
488
501
  parent_offering_uuid (Union[Unset, UUID]):
489
502
  paused (Union[Unset, bool]):
503
+ plan_uuid (Union[Unset, UUID]):
490
504
  project_name (Union[Unset, str]):
491
505
  project_uuid (Union[Unset, UUID]):
492
506
  provider_uuid (Union[Unset, UUID]):
@@ -528,6 +542,7 @@ async def asyncio_detailed(
528
542
  page_size=page_size,
529
543
  parent_offering_uuid=parent_offering_uuid,
530
544
  paused=paused,
545
+ plan_uuid=plan_uuid,
531
546
  project_name=project_name,
532
547
  project_uuid=project_uuid,
533
548
  provider_uuid=provider_uuid,
@@ -569,6 +584,7 @@ async def asyncio(
569
584
  page_size: Union[Unset, int] = UNSET,
570
585
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
571
586
  paused: Union[Unset, bool] = UNSET,
587
+ plan_uuid: Union[Unset, UUID] = UNSET,
572
588
  project_name: Union[Unset, str] = UNSET,
573
589
  project_uuid: Union[Unset, UUID] = UNSET,
574
590
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -604,6 +620,7 @@ async def asyncio(
604
620
  page_size (Union[Unset, int]):
605
621
  parent_offering_uuid (Union[Unset, UUID]):
606
622
  paused (Union[Unset, bool]):
623
+ plan_uuid (Union[Unset, UUID]):
607
624
  project_name (Union[Unset, str]):
608
625
  project_uuid (Union[Unset, UUID]):
609
626
  provider_uuid (Union[Unset, UUID]):
@@ -647,6 +664,7 @@ async def asyncio(
647
664
  page_size=page_size,
648
665
  parent_offering_uuid=parent_offering_uuid,
649
666
  paused=paused,
667
+ plan_uuid=plan_uuid,
650
668
  project_name=project_name,
651
669
  project_uuid=project_uuid,
652
670
  provider_uuid=provider_uuid,
@@ -39,6 +39,7 @@ def _get_kwargs(
39
39
  page_size: Union[Unset, int] = UNSET,
40
40
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
41
41
  paused: Union[Unset, bool] = UNSET,
42
+ plan_uuid: Union[Unset, UUID] = UNSET,
42
43
  project_name: Union[Unset, str] = UNSET,
43
44
  project_uuid: Union[Unset, UUID] = UNSET,
44
45
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -137,6 +138,11 @@ def _get_kwargs(
137
138
 
138
139
  params["paused"] = paused
139
140
 
141
+ json_plan_uuid: Union[Unset, str] = UNSET
142
+ if not isinstance(plan_uuid, Unset):
143
+ json_plan_uuid = str(plan_uuid)
144
+ params["plan_uuid"] = json_plan_uuid
145
+
140
146
  params["project_name"] = project_name
141
147
 
142
148
  json_project_uuid: Union[Unset, str] = UNSET
@@ -232,6 +238,7 @@ def sync_detailed(
232
238
  page_size: Union[Unset, int] = UNSET,
233
239
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
234
240
  paused: Union[Unset, bool] = UNSET,
241
+ plan_uuid: Union[Unset, UUID] = UNSET,
235
242
  project_name: Union[Unset, str] = UNSET,
236
243
  project_uuid: Union[Unset, UUID] = UNSET,
237
244
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -268,6 +275,7 @@ def sync_detailed(
268
275
  page_size (Union[Unset, int]):
269
276
  parent_offering_uuid (Union[Unset, UUID]):
270
277
  paused (Union[Unset, bool]):
278
+ plan_uuid (Union[Unset, UUID]):
271
279
  project_name (Union[Unset, str]):
272
280
  project_uuid (Union[Unset, UUID]):
273
281
  provider_uuid (Union[Unset, UUID]):
@@ -310,6 +318,7 @@ def sync_detailed(
310
318
  page_size=page_size,
311
319
  parent_offering_uuid=parent_offering_uuid,
312
320
  paused=paused,
321
+ plan_uuid=plan_uuid,
313
322
  project_name=project_name,
314
323
  project_uuid=project_uuid,
315
324
  provider_uuid=provider_uuid,
@@ -354,6 +363,7 @@ def sync(
354
363
  page_size: Union[Unset, int] = UNSET,
355
364
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
356
365
  paused: Union[Unset, bool] = UNSET,
366
+ plan_uuid: Union[Unset, UUID] = UNSET,
357
367
  project_name: Union[Unset, str] = UNSET,
358
368
  project_uuid: Union[Unset, UUID] = UNSET,
359
369
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -390,6 +400,7 @@ def sync(
390
400
  page_size (Union[Unset, int]):
391
401
  parent_offering_uuid (Union[Unset, UUID]):
392
402
  paused (Union[Unset, bool]):
403
+ plan_uuid (Union[Unset, UUID]):
393
404
  project_name (Union[Unset, str]):
394
405
  project_uuid (Union[Unset, UUID]):
395
406
  provider_uuid (Union[Unset, UUID]):
@@ -433,6 +444,7 @@ def sync(
433
444
  page_size=page_size,
434
445
  parent_offering_uuid=parent_offering_uuid,
435
446
  paused=paused,
447
+ plan_uuid=plan_uuid,
436
448
  project_name=project_name,
437
449
  project_uuid=project_uuid,
438
450
  provider_uuid=provider_uuid,
@@ -471,6 +483,7 @@ async def asyncio_detailed(
471
483
  page_size: Union[Unset, int] = UNSET,
472
484
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
473
485
  paused: Union[Unset, bool] = UNSET,
486
+ plan_uuid: Union[Unset, UUID] = UNSET,
474
487
  project_name: Union[Unset, str] = UNSET,
475
488
  project_uuid: Union[Unset, UUID] = UNSET,
476
489
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -507,6 +520,7 @@ async def asyncio_detailed(
507
520
  page_size (Union[Unset, int]):
508
521
  parent_offering_uuid (Union[Unset, UUID]):
509
522
  paused (Union[Unset, bool]):
523
+ plan_uuid (Union[Unset, UUID]):
510
524
  project_name (Union[Unset, str]):
511
525
  project_uuid (Union[Unset, UUID]):
512
526
  provider_uuid (Union[Unset, UUID]):
@@ -549,6 +563,7 @@ async def asyncio_detailed(
549
563
  page_size=page_size,
550
564
  parent_offering_uuid=parent_offering_uuid,
551
565
  paused=paused,
566
+ plan_uuid=plan_uuid,
552
567
  project_name=project_name,
553
568
  project_uuid=project_uuid,
554
569
  provider_uuid=provider_uuid,
@@ -591,6 +606,7 @@ async def asyncio(
591
606
  page_size: Union[Unset, int] = UNSET,
592
607
  parent_offering_uuid: Union[Unset, UUID] = UNSET,
593
608
  paused: Union[Unset, bool] = UNSET,
609
+ plan_uuid: Union[Unset, UUID] = UNSET,
594
610
  project_name: Union[Unset, str] = UNSET,
595
611
  project_uuid: Union[Unset, UUID] = UNSET,
596
612
  provider_uuid: Union[Unset, UUID] = UNSET,
@@ -627,6 +643,7 @@ async def asyncio(
627
643
  page_size (Union[Unset, int]):
628
644
  parent_offering_uuid (Union[Unset, UUID]):
629
645
  paused (Union[Unset, bool]):
646
+ plan_uuid (Union[Unset, UUID]):
630
647
  project_name (Union[Unset, str]):
631
648
  project_uuid (Union[Unset, UUID]):
632
649
  provider_uuid (Union[Unset, UUID]):
@@ -671,6 +688,7 @@ async def asyncio(
671
688
  page_size=page_size,
672
689
  parent_offering_uuid=parent_offering_uuid,
673
690
  paused=paused,
691
+ plan_uuid=plan_uuid,
674
692
  project_name=project_name,
675
693
  project_uuid=project_uuid,
676
694
  provider_uuid=provider_uuid,