waldur-api-client 7.6.5__py3-none-any.whl → 7.6.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of waldur-api-client might be problematic. Click here for more details.
- waldur_api_client/api/access_subnets/access_subnets_list.py +8 -4
- waldur_api_client/api/admin_announcements/admin_announcements_list.py +8 -4
- waldur_api_client/api/auth_tokens/auth_tokens_list.py +8 -4
- waldur_api_client/api/autoprovisioning_rule_plans/autoprovisioning_rule_plans_list.py +8 -4
- waldur_api_client/api/autoprovisioning_rules/autoprovisioning_rules_list.py +8 -4
- waldur_api_client/api/aws_images/aws_images_list.py +8 -4
- waldur_api_client/api/aws_instances/aws_instances_list.py +8 -4
- waldur_api_client/api/aws_regions/aws_regions_list.py +8 -4
- waldur_api_client/api/aws_sizes/aws_sizes_list.py +8 -4
- waldur_api_client/api/aws_volumes/aws_volumes_list.py +8 -4
- waldur_api_client/api/azure_images/azure_images_list.py +8 -4
- waldur_api_client/api/azure_locations/azure_locations_list.py +8 -4
- waldur_api_client/api/azure_public_ips/azure_public_ips_list.py +8 -4
- waldur_api_client/api/azure_resource_groups/azure_resource_groups_list.py +8 -4
- waldur_api_client/api/azure_sizes/azure_sizes_list.py +8 -4
- waldur_api_client/api/azure_sql_databases/azure_sql_databases_list.py +8 -4
- waldur_api_client/api/azure_sql_servers/azure_sql_servers_list.py +8 -4
- waldur_api_client/api/azure_virtualmachines/azure_virtualmachines_list.py +8 -4
- waldur_api_client/api/booking_offerings/booking_offerings_list.py +8 -4
- waldur_api_client/api/booking_resources/booking_resources_list.py +8 -4
- waldur_api_client/api/broadcast_message_templates/broadcast_message_templates_list.py +8 -4
- waldur_api_client/api/broadcast_messages/broadcast_messages_list.py +8 -4
- waldur_api_client/api/call_managing_organisations/call_managing_organisations_list.py +8 -4
- waldur_api_client/api/call_rounds/call_rounds_list.py +8 -4
- waldur_api_client/api/component_user_usage_limits/component_user_usage_limits_list.py +8 -4
- waldur_api_client/api/customer_credits/customer_credits_list.py +8 -4
- waldur_api_client/api/customer_permissions_reviews/customer_permissions_reviews_list.py +8 -4
- waldur_api_client/api/digitalocean_droplets/digitalocean_droplets_list.py +8 -4
- waldur_api_client/api/digitalocean_images/digitalocean_images_list.py +8 -4
- waldur_api_client/api/digitalocean_regions/digitalocean_regions_list.py +8 -4
- waldur_api_client/api/digitalocean_sizes/digitalocean_sizes_list.py +8 -4
- waldur_api_client/api/email_logs/email_logs_list.py +8 -4
- waldur_api_client/api/event_subscriptions/event_subscriptions_list.py +8 -4
- waldur_api_client/api/events/events_list.py +8 -4
- waldur_api_client/api/events_stats/events_stats_list.py +8 -4
- waldur_api_client/api/financial_reports/financial_reports_list.py +8 -4
- waldur_api_client/api/freeipa_profiles/freeipa_profiles_list.py +8 -4
- waldur_api_client/api/google_auth/google_auth_list.py +8 -4
- waldur_api_client/api/hooks/hooks_list.py +4 -2
- waldur_api_client/api/hooks_email/hooks_email_list.py +8 -4
- waldur_api_client/api/hooks_web/hooks_web_list.py +8 -4
- waldur_api_client/api/identity_providers/identity_providers_list.py +8 -4
- waldur_api_client/api/invoice_items/invoice_items_list.py +8 -4
- waldur_api_client/api/invoices/invoices_list.py +8 -4
- waldur_api_client/api/keycloak_groups/keycloak_groups_list.py +8 -4
- waldur_api_client/api/keycloak_user_group_memberships/keycloak_user_group_memberships_list.py +8 -4
- waldur_api_client/api/keys/keys_list.py +8 -4
- waldur_api_client/api/lexis_links/lexis_links_list.py +8 -4
- waldur_api_client/api/marketplace_categories/marketplace_categories_list.py +8 -4
- waldur_api_client/api/marketplace_category_columns/marketplace_category_columns_list.py +8 -4
- waldur_api_client/api/marketplace_category_component_usages/marketplace_category_component_usages_list.py +8 -4
- waldur_api_client/api/marketplace_category_components/marketplace_category_components_list.py +8 -4
- waldur_api_client/api/marketplace_category_groups/marketplace_category_groups_list.py +8 -4
- waldur_api_client/api/marketplace_category_help_articles/marketplace_category_help_articles_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_answers_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_questions_list.py +8 -4
- waldur_api_client/api/marketplace_checklists/marketplace_checklists_user_answers_list.py +8 -4
- waldur_api_client/api/marketplace_checklists_categories/marketplace_checklists_categories_checklists_list.py +8 -4
- waldur_api_client/api/marketplace_checklists_categories/marketplace_checklists_categories_list.py +8 -4
- waldur_api_client/api/marketplace_component_usages/marketplace_component_usages_list.py +8 -4
- waldur_api_client/api/marketplace_component_user_usages/marketplace_component_user_usages_list.py +8 -4
- waldur_api_client/api/marketplace_customer_estimated_cost_policies/marketplace_customer_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_customer_service_accounts/marketplace_customer_service_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_integration_statuses/marketplace_integration_statuses_list.py +8 -4
- waldur_api_client/api/marketplace_offering_estimated_cost_policies/marketplace_offering_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_offering_files/marketplace_offering_files_list.py +8 -4
- waldur_api_client/api/marketplace_offering_permissions/marketplace_offering_permissions_list.py +18 -17
- waldur_api_client/api/marketplace_offering_permissions_log/marketplace_offering_permissions_log_list.py +18 -17
- waldur_api_client/api/marketplace_offering_referrals/marketplace_offering_referrals_list.py +8 -4
- waldur_api_client/api/marketplace_offering_usage_policies/marketplace_offering_usage_policies_list.py +8 -4
- waldur_api_client/api/marketplace_offering_user_roles/marketplace_offering_user_roles_list.py +8 -4
- waldur_api_client/api/marketplace_offering_users/marketplace_offering_users_list.py +8 -4
- waldur_api_client/api/marketplace_orders/marketplace_orders_list.py +8 -4
- waldur_api_client/api/marketplace_plan_components/marketplace_plan_components_list.py +8 -4
- waldur_api_client/api/marketplace_plans/marketplace_plans_list.py +8 -4
- waldur_api_client/api/marketplace_project_estimated_cost_policies/marketplace_project_estimated_cost_policies_list.py +8 -4
- waldur_api_client/api/marketplace_project_service_accounts/marketplace_project_service_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_project_update_requests/marketplace_project_update_requests_list.py +8 -4
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_component_stats_list.py +10 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_costs_list.py +10 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_customers_list.py +10 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_groups_list.py +10 -13
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_list.py +18 -17
- waldur_api_client/api/marketplace_provider_offerings/marketplace_provider_offerings_refresh_offering_usernames.py +20 -16
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_list.py +8 -4
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_as_erred.py +11 -68
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_backend_id.py +20 -16
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_backend_metadata.py +12 -12
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_set_limits.py +12 -12
- waldur_api_client/api/marketplace_provider_resources/marketplace_provider_resources_submit_report.py +20 -16
- waldur_api_client/api/marketplace_public_offerings/marketplace_public_offerings_list.py +18 -17
- waldur_api_client/api/marketplace_remote_synchronisations/marketplace_remote_synchronisations_list.py +8 -4
- waldur_api_client/api/marketplace_resource_users/marketplace_resource_users_list.py +8 -4
- waldur_api_client/api/marketplace_resources/marketplace_resources_list.py +8 -4
- waldur_api_client/api/marketplace_resources/marketplace_resources_update_options.py +20 -16
- waldur_api_client/api/marketplace_robot_accounts/marketplace_robot_accounts_list.py +8 -4
- waldur_api_client/api/marketplace_screenshots/marketplace_screenshots_list.py +8 -4
- waldur_api_client/api/marketplace_script_async_dry_run/marketplace_script_async_dry_run_list.py +8 -4
- waldur_api_client/api/marketplace_sections/marketplace_sections_list.py +8 -4
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_list.py +8 -4
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_offerings_list.py +10 -13
- waldur_api_client/api/marketplace_service_providers/marketplace_service_providers_project_permissions_list.py +10 -13
- waldur_api_client/api/notification_messages/notification_messages_list.py +8 -4
- waldur_api_client/api/notification_messages_templates/notification_messages_templates_list.py +8 -4
- waldur_api_client/api/openstack_backups/openstack_backups_list.py +8 -4
- waldur_api_client/api/openstack_flavors/openstack_flavors_list.py +26 -4
- waldur_api_client/api/openstack_images/openstack_images_list.py +26 -4
- waldur_api_client/api/openstack_instance_availability_zones/openstack_instance_availability_zones_list.py +8 -4
- waldur_api_client/api/openstack_instances/openstack_instances_list.py +8 -4
- waldur_api_client/api/openstack_marketplace_tenants/openstack_marketplace_tenants_list.py +8 -4
- waldur_api_client/api/openstack_migrations/openstack_migrations_list.py +8 -4
- waldur_api_client/api/openstack_network_rbac_policies/openstack_network_rbac_policies_list.py +8 -4
- waldur_api_client/api/openstack_networks/openstack_networks_list.py +8 -4
- waldur_api_client/api/openstack_ports/openstack_ports_list.py +8 -4
- waldur_api_client/api/openstack_routers/openstack_routers_list.py +8 -4
- waldur_api_client/api/openstack_security_groups/openstack_security_groups_list.py +8 -4
- waldur_api_client/api/openstack_server_groups/openstack_server_groups_list.py +8 -4
- waldur_api_client/api/openstack_snapshots/openstack_snapshots_list.py +8 -4
- waldur_api_client/api/openstack_subnets/openstack_subnets_list.py +8 -4
- waldur_api_client/api/openstack_tenants/openstack_tenants_list.py +8 -4
- waldur_api_client/api/openstack_volume_availability_zones/openstack_volume_availability_zones_list.py +8 -4
- waldur_api_client/api/openstack_volume_types/openstack_volume_types_list.py +26 -4
- waldur_api_client/api/openstack_volumes/openstack_volumes_list.py +8 -4
- waldur_api_client/api/organization_groups/organization_groups_list.py +8 -4
- waldur_api_client/api/payment_profiles/payment_profiles_list.py +8 -4
- waldur_api_client/api/payments/payments_list.py +8 -4
- waldur_api_client/api/project_credits/project_credits_list.py +8 -4
- waldur_api_client/api/project_types/project_types_list.py +8 -4
- waldur_api_client/api/projects/projects_list.py +8 -4
- waldur_api_client/api/promotions_campaigns/promotions_campaigns_list.py +8 -4
- waldur_api_client/api/proposal_proposals/proposal_proposals_list.py +8 -4
- waldur_api_client/api/proposal_protected_calls/proposal_protected_calls_list.py +8 -4
- waldur_api_client/api/proposal_public_calls/proposal_public_calls_list.py +8 -4
- waldur_api_client/api/proposal_requested_offerings/proposal_requested_offerings_list.py +8 -4
- waldur_api_client/api/proposal_requested_resources/proposal_requested_resources_list.py +8 -4
- waldur_api_client/api/proposal_reviews/proposal_reviews_list.py +8 -4
- waldur_api_client/api/provider_invoice_items/provider_invoice_items_list.py +8 -4
- waldur_api_client/api/rancher_apps/rancher_apps_list.py +8 -4
- waldur_api_client/api/rancher_catalogs/rancher_catalogs_list.py +8 -4
- waldur_api_client/api/rancher_cluster_security_groups/rancher_cluster_security_groups_list.py +8 -4
- waldur_api_client/api/rancher_cluster_templates/rancher_cluster_templates_list.py +8 -4
- waldur_api_client/api/rancher_clusters/rancher_clusters_list.py +8 -4
- waldur_api_client/api/rancher_hpas/rancher_hpas_list.py +8 -4
- waldur_api_client/api/rancher_ingresses/rancher_ingresses_list.py +8 -4
- waldur_api_client/api/rancher_namespaces/rancher_namespaces_list.py +8 -4
- waldur_api_client/api/rancher_nodes/rancher_nodes_list.py +8 -4
- waldur_api_client/api/rancher_projects/rancher_projects_list.py +8 -4
- waldur_api_client/api/rancher_role_templates/rancher_role_templates_list.py +8 -4
- waldur_api_client/api/rancher_services/rancher_services_list.py +8 -4
- waldur_api_client/api/rancher_templates/rancher_templates_list.py +8 -4
- waldur_api_client/api/rancher_users/rancher_users_list.py +8 -4
- waldur_api_client/api/rancher_workloads/rancher_workloads_list.py +8 -4
- waldur_api_client/api/roles/roles_list.py +8 -4
- waldur_api_client/api/service_settings/service_settings_list.py +18 -17
- waldur_api_client/api/slurm_allocation_user_usage/slurm_allocation_user_usage_list.py +8 -4
- waldur_api_client/api/slurm_allocations/slurm_allocations_list.py +8 -4
- waldur_api_client/api/slurm_associations/slurm_associations_list.py +8 -4
- waldur_api_client/api/slurm_jobs/slurm_jobs_list.py +8 -4
- waldur_api_client/api/support_attachments/support_attachments_list.py +8 -4
- waldur_api_client/api/support_comments/support_comments_list.py +8 -4
- waldur_api_client/api/support_feedbacks/support_feedbacks_list.py +8 -4
- waldur_api_client/api/support_issues/support_issues_list.py +8 -4
- waldur_api_client/api/support_priorities/support_priorities_list.py +8 -4
- waldur_api_client/api/support_templates/support_templates_list.py +8 -4
- waldur_api_client/api/support_users/support_users_list.py +8 -4
- waldur_api_client/api/user_agreements/user_agreements_list.py +8 -4
- waldur_api_client/api/user_group_invitations/user_group_invitations_list.py +8 -4
- waldur_api_client/api/user_invitations/user_invitations_list.py +8 -4
- waldur_api_client/api/user_permission_requests/user_permission_requests_list.py +8 -4
- waldur_api_client/api/user_permissions/user_permissions_list.py +18 -17
- waldur_api_client/api/users/users_list.py +8 -4
- waldur_api_client/api/vmware_clusters/vmware_clusters_list.py +8 -4
- waldur_api_client/api/vmware_datastores/vmware_datastores_list.py +8 -4
- waldur_api_client/api/vmware_disks/vmware_disks_list.py +8 -4
- waldur_api_client/api/vmware_folders/vmware_folders_list.py +8 -4
- waldur_api_client/api/vmware_networks/vmware_networks_list.py +8 -4
- waldur_api_client/api/vmware_ports/vmware_ports_list.py +8 -4
- waldur_api_client/api/vmware_templates/vmware_templates_list.py +8 -4
- waldur_api_client/api/vmware_virtual_machine/vmware_virtual_machine_list.py +8 -4
- waldur_api_client/models/__init__.py +2 -14
- waldur_api_client/models/constance_settings.py +9 -0
- waldur_api_client/models/constance_settings_request.py +9 -0
- waldur_api_client/models/customer.py +0 -21
- waldur_api_client/models/customers_list_field_item.py +0 -1
- waldur_api_client/models/customers_retrieve_field_item.py +0 -1
- waldur_api_client/models/event_types_enum.py +1 -0
- waldur_api_client/models/nested_requested_offering.py +18 -0
- waldur_api_client/models/provider_requested_offering.py +10 -0
- waldur_api_client/models/requested_offering.py +10 -0
- waldur_api_client/models/{resource_set_limits.py → resource_response_status.py} +11 -11
- {waldur_api_client-7.6.5.dist-info → waldur_api_client-7.6.7.dist-info}/METADATA +1 -1
- {waldur_api_client-7.6.5.dist-info → waldur_api_client-7.6.7.dist-info}/RECORD +195 -201
- waldur_api_client/models/permission_project.py +0 -147
- waldur_api_client/models/resource_backend_id.py +0 -59
- waldur_api_client/models/resource_backend_metadata.py +0 -59
- waldur_api_client/models/resource_options.py +0 -59
- waldur_api_client/models/resource_report.py +0 -73
- waldur_api_client/models/resource_set_state_erred.py +0 -68
- {waldur_api_client-7.6.5.dist-info → waldur_api_client-7.6.7.dist-info}/LICENSE +0 -0
- {waldur_api_client-7.6.5.dist-info → waldur_api_client-7.6.7.dist-info}/WHEEL +0 -0
|
@@ -95,7 +95,8 @@ def sync_detailed(
|
|
|
95
95
|
settings: Union[Unset, str] = UNSET,
|
|
96
96
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
97
97
|
) -> Response[list["VmwareNetwork"]]:
|
|
98
|
-
"""
|
|
98
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
99
|
+
|
|
99
100
|
Args:
|
|
100
101
|
customer_pair_uuid (Union[Unset, UUID]):
|
|
101
102
|
customer_uuid (Union[Unset, UUID]):
|
|
@@ -144,7 +145,8 @@ def sync(
|
|
|
144
145
|
settings: Union[Unset, str] = UNSET,
|
|
145
146
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
146
147
|
) -> list["VmwareNetwork"]:
|
|
147
|
-
"""
|
|
148
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
149
|
+
|
|
148
150
|
Args:
|
|
149
151
|
customer_pair_uuid (Union[Unset, UUID]):
|
|
150
152
|
customer_uuid (Union[Unset, UUID]):
|
|
@@ -188,7 +190,8 @@ async def asyncio_detailed(
|
|
|
188
190
|
settings: Union[Unset, str] = UNSET,
|
|
189
191
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
190
192
|
) -> Response[list["VmwareNetwork"]]:
|
|
191
|
-
"""
|
|
193
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
194
|
+
|
|
192
195
|
Args:
|
|
193
196
|
customer_pair_uuid (Union[Unset, UUID]):
|
|
194
197
|
customer_uuid (Union[Unset, UUID]):
|
|
@@ -235,7 +238,8 @@ async def asyncio(
|
|
|
235
238
|
settings: Union[Unset, str] = UNSET,
|
|
236
239
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
237
240
|
) -> list["VmwareNetwork"]:
|
|
238
|
-
"""
|
|
241
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
242
|
+
|
|
239
243
|
Args:
|
|
240
244
|
customer_pair_uuid (Union[Unset, UUID]):
|
|
241
245
|
customer_uuid (Union[Unset, UUID]):
|
|
@@ -194,7 +194,8 @@ def sync_detailed(
|
|
|
194
194
|
vm: Union[Unset, str] = UNSET,
|
|
195
195
|
vm_uuid: Union[Unset, UUID] = UNSET,
|
|
196
196
|
) -> Response[list["VmwarePort"]]:
|
|
197
|
-
"""
|
|
197
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
198
|
+
|
|
198
199
|
Args:
|
|
199
200
|
backend_id (Union[Unset, str]):
|
|
200
201
|
can_manage (Union[Unset, bool]):
|
|
@@ -294,7 +295,8 @@ def sync(
|
|
|
294
295
|
vm: Union[Unset, str] = UNSET,
|
|
295
296
|
vm_uuid: Union[Unset, UUID] = UNSET,
|
|
296
297
|
) -> list["VmwarePort"]:
|
|
297
|
-
"""
|
|
298
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
299
|
+
|
|
298
300
|
Args:
|
|
299
301
|
backend_id (Union[Unset, str]):
|
|
300
302
|
can_manage (Union[Unset, bool]):
|
|
@@ -389,7 +391,8 @@ async def asyncio_detailed(
|
|
|
389
391
|
vm: Union[Unset, str] = UNSET,
|
|
390
392
|
vm_uuid: Union[Unset, UUID] = UNSET,
|
|
391
393
|
) -> Response[list["VmwarePort"]]:
|
|
392
|
-
"""
|
|
394
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
395
|
+
|
|
393
396
|
Args:
|
|
394
397
|
backend_id (Union[Unset, str]):
|
|
395
398
|
can_manage (Union[Unset, bool]):
|
|
@@ -487,7 +490,8 @@ async def asyncio(
|
|
|
487
490
|
vm: Union[Unset, str] = UNSET,
|
|
488
491
|
vm_uuid: Union[Unset, UUID] = UNSET,
|
|
489
492
|
) -> list["VmwarePort"]:
|
|
490
|
-
"""
|
|
493
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
494
|
+
|
|
491
495
|
Args:
|
|
492
496
|
backend_id (Union[Unset, str]):
|
|
493
497
|
can_manage (Union[Unset, bool]):
|
|
@@ -81,7 +81,8 @@ def sync_detailed(
|
|
|
81
81
|
settings: Union[Unset, str] = UNSET,
|
|
82
82
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
83
83
|
) -> Response[list["VmwareTemplate"]]:
|
|
84
|
-
"""
|
|
84
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
85
|
+
|
|
85
86
|
Args:
|
|
86
87
|
name (Union[Unset, str]):
|
|
87
88
|
name_exact (Union[Unset, str]):
|
|
@@ -124,7 +125,8 @@ def sync(
|
|
|
124
125
|
settings: Union[Unset, str] = UNSET,
|
|
125
126
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
126
127
|
) -> list["VmwareTemplate"]:
|
|
127
|
-
"""
|
|
128
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
129
|
+
|
|
128
130
|
Args:
|
|
129
131
|
name (Union[Unset, str]):
|
|
130
132
|
name_exact (Union[Unset, str]):
|
|
@@ -162,7 +164,8 @@ async def asyncio_detailed(
|
|
|
162
164
|
settings: Union[Unset, str] = UNSET,
|
|
163
165
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
164
166
|
) -> Response[list["VmwareTemplate"]]:
|
|
165
|
-
"""
|
|
167
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
168
|
+
|
|
166
169
|
Args:
|
|
167
170
|
name (Union[Unset, str]):
|
|
168
171
|
name_exact (Union[Unset, str]):
|
|
@@ -203,7 +206,8 @@ async def asyncio(
|
|
|
203
206
|
settings: Union[Unset, str] = UNSET,
|
|
204
207
|
settings_uuid: Union[Unset, UUID] = UNSET,
|
|
205
208
|
) -> list["VmwareTemplate"]:
|
|
206
|
-
"""
|
|
209
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
210
|
+
|
|
207
211
|
Args:
|
|
208
212
|
name (Union[Unset, str]):
|
|
209
213
|
name_exact (Union[Unset, str]):
|
|
@@ -178,7 +178,8 @@ def sync_detailed(
|
|
|
178
178
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
179
179
|
uuid: Union[Unset, UUID] = UNSET,
|
|
180
180
|
) -> Response[list["VmwareVirtualMachine"]]:
|
|
181
|
-
"""
|
|
181
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
182
|
+
|
|
182
183
|
Args:
|
|
183
184
|
backend_id (Union[Unset, str]):
|
|
184
185
|
can_manage (Union[Unset, bool]):
|
|
@@ -269,7 +270,8 @@ def sync(
|
|
|
269
270
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
270
271
|
uuid: Union[Unset, UUID] = UNSET,
|
|
271
272
|
) -> list["VmwareVirtualMachine"]:
|
|
272
|
-
"""
|
|
273
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
274
|
+
|
|
273
275
|
Args:
|
|
274
276
|
backend_id (Union[Unset, str]):
|
|
275
277
|
can_manage (Union[Unset, bool]):
|
|
@@ -355,7 +357,8 @@ async def asyncio_detailed(
|
|
|
355
357
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
356
358
|
uuid: Union[Unset, UUID] = UNSET,
|
|
357
359
|
) -> Response[list["VmwareVirtualMachine"]]:
|
|
358
|
-
"""
|
|
360
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
361
|
+
|
|
359
362
|
Args:
|
|
360
363
|
backend_id (Union[Unset, str]):
|
|
361
364
|
can_manage (Union[Unset, bool]):
|
|
@@ -444,7 +447,8 @@ async def asyncio(
|
|
|
444
447
|
state: Union[Unset, list[VmwareVirtualMachineListStateItem]] = UNSET,
|
|
445
448
|
uuid: Union[Unset, UUID] = UNSET,
|
|
446
449
|
) -> list["VmwareVirtualMachine"]:
|
|
447
|
-
"""
|
|
450
|
+
"""Mixin to optimize HEAD requests for DRF views bypassing serializer processing
|
|
451
|
+
|
|
448
452
|
Args:
|
|
449
453
|
backend_id (Union[Unset, str]):
|
|
450
454
|
can_manage (Union[Unset, bool]):
|
|
@@ -863,7 +863,6 @@ from .payment_type_enum import PaymentTypeEnum
|
|
|
863
863
|
from .payment_url_request import PaymentURLRequest
|
|
864
864
|
from .period_enum import PeriodEnum
|
|
865
865
|
from .permission import Permission
|
|
866
|
-
from .permission_project import PermissionProject
|
|
867
866
|
from .permission_request import PermissionRequest
|
|
868
867
|
from .plan_component import PlanComponent
|
|
869
868
|
from .plan_usage_response import PlanUsageResponse
|
|
@@ -1078,9 +1077,7 @@ from .requested_resource import RequestedResource
|
|
|
1078
1077
|
from .requested_resource_request import RequestedResourceRequest
|
|
1079
1078
|
from .resource import Resource
|
|
1080
1079
|
from .resource_attributes import ResourceAttributes
|
|
1081
|
-
from .resource_backend_id import ResourceBackendID
|
|
1082
1080
|
from .resource_backend_id_request import ResourceBackendIDRequest
|
|
1083
|
-
from .resource_backend_metadata import ResourceBackendMetadata
|
|
1084
1081
|
from .resource_backend_metadata_request import ResourceBackendMetadataRequest
|
|
1085
1082
|
from .resource_current_usages import ResourceCurrentUsages
|
|
1086
1083
|
from .resource_end_date_by_provider_request import ResourceEndDateByProviderRequest
|
|
@@ -1088,14 +1085,11 @@ from .resource_limit_period import ResourceLimitPeriod
|
|
|
1088
1085
|
from .resource_limit_usage import ResourceLimitUsage
|
|
1089
1086
|
from .resource_limits import ResourceLimits
|
|
1090
1087
|
from .resource_offering import ResourceOffering
|
|
1091
|
-
from .resource_options import ResourceOptions
|
|
1092
1088
|
from .resource_options_request import ResourceOptionsRequest
|
|
1093
1089
|
from .resource_plan_period import ResourcePlanPeriod
|
|
1094
|
-
from .resource_report import ResourceReport
|
|
1095
1090
|
from .resource_report_request import ResourceReportRequest
|
|
1096
|
-
from .
|
|
1091
|
+
from .resource_response_status import ResourceResponseStatus
|
|
1097
1092
|
from .resource_set_limits_request import ResourceSetLimitsRequest
|
|
1098
|
-
from .resource_set_state_erred import ResourceSetStateErred
|
|
1099
1093
|
from .resource_set_state_erred_request import ResourceSetStateErredRequest
|
|
1100
1094
|
from .resource_slug_request import ResourceSlugRequest
|
|
1101
1095
|
from .resource_state import ResourceState
|
|
@@ -2079,7 +2073,6 @@ __all__ = (
|
|
|
2079
2073
|
"PaymentURLRequest",
|
|
2080
2074
|
"PeriodEnum",
|
|
2081
2075
|
"Permission",
|
|
2082
|
-
"PermissionProject",
|
|
2083
2076
|
"PermissionRequest",
|
|
2084
2077
|
"PlanComponent",
|
|
2085
2078
|
"PlanUsageResponse",
|
|
@@ -2278,9 +2271,7 @@ __all__ = (
|
|
|
2278
2271
|
"RequestTypes",
|
|
2279
2272
|
"Resource",
|
|
2280
2273
|
"ResourceAttributes",
|
|
2281
|
-
"ResourceBackendID",
|
|
2282
2274
|
"ResourceBackendIDRequest",
|
|
2283
|
-
"ResourceBackendMetadata",
|
|
2284
2275
|
"ResourceBackendMetadataRequest",
|
|
2285
2276
|
"ResourceCurrentUsages",
|
|
2286
2277
|
"ResourceEndDateByProviderRequest",
|
|
@@ -2288,14 +2279,11 @@ __all__ = (
|
|
|
2288
2279
|
"ResourceLimits",
|
|
2289
2280
|
"ResourceLimitUsage",
|
|
2290
2281
|
"ResourceOffering",
|
|
2291
|
-
"ResourceOptions",
|
|
2292
2282
|
"ResourceOptionsRequest",
|
|
2293
2283
|
"ResourcePlanPeriod",
|
|
2294
|
-
"ResourceReport",
|
|
2295
2284
|
"ResourceReportRequest",
|
|
2296
|
-
"
|
|
2285
|
+
"ResourceResponseStatus",
|
|
2297
2286
|
"ResourceSetLimitsRequest",
|
|
2298
|
-
"ResourceSetStateErred",
|
|
2299
2287
|
"ResourceSetStateErredRequest",
|
|
2300
2288
|
"ResourcesLimits",
|
|
2301
2289
|
"ResourceSlugRequest",
|
|
@@ -142,6 +142,7 @@ class ConstanceSettings:
|
|
|
142
142
|
oidc_client_secret (Union[Unset, str]):
|
|
143
143
|
oidc_user_field (Union[Unset, str]):
|
|
144
144
|
oidc_cache_timeout (Union[Unset, int]):
|
|
145
|
+
deactivate_user_if_no_roles (Union[Unset, bool]):
|
|
145
146
|
"""
|
|
146
147
|
|
|
147
148
|
site_name: Union[Unset, str] = UNSET
|
|
@@ -273,6 +274,7 @@ class ConstanceSettings:
|
|
|
273
274
|
oidc_client_secret: Union[Unset, str] = UNSET
|
|
274
275
|
oidc_user_field: Union[Unset, str] = UNSET
|
|
275
276
|
oidc_cache_timeout: Union[Unset, int] = UNSET
|
|
277
|
+
deactivate_user_if_no_roles: Union[Unset, bool] = UNSET
|
|
276
278
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
277
279
|
|
|
278
280
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -586,6 +588,8 @@ class ConstanceSettings:
|
|
|
586
588
|
|
|
587
589
|
oidc_cache_timeout = self.oidc_cache_timeout
|
|
588
590
|
|
|
591
|
+
deactivate_user_if_no_roles = self.deactivate_user_if_no_roles
|
|
592
|
+
|
|
589
593
|
field_dict: dict[str, Any] = {}
|
|
590
594
|
field_dict.update(self.additional_properties)
|
|
591
595
|
field_dict.update({})
|
|
@@ -851,6 +855,8 @@ class ConstanceSettings:
|
|
|
851
855
|
field_dict["OIDC_USER_FIELD"] = oidc_user_field
|
|
852
856
|
if oidc_cache_timeout is not UNSET:
|
|
853
857
|
field_dict["OIDC_CACHE_TIMEOUT"] = oidc_cache_timeout
|
|
858
|
+
if deactivate_user_if_no_roles is not UNSET:
|
|
859
|
+
field_dict["DEACTIVATE_USER_IF_NO_ROLES"] = deactivate_user_if_no_roles
|
|
854
860
|
|
|
855
861
|
return field_dict
|
|
856
862
|
|
|
@@ -1203,6 +1209,8 @@ class ConstanceSettings:
|
|
|
1203
1209
|
|
|
1204
1210
|
oidc_cache_timeout = d.pop("OIDC_CACHE_TIMEOUT", UNSET)
|
|
1205
1211
|
|
|
1212
|
+
deactivate_user_if_no_roles = d.pop("DEACTIVATE_USER_IF_NO_ROLES", UNSET)
|
|
1213
|
+
|
|
1206
1214
|
constance_settings = cls(
|
|
1207
1215
|
site_name=site_name,
|
|
1208
1216
|
site_description=site_description,
|
|
@@ -1333,6 +1341,7 @@ class ConstanceSettings:
|
|
|
1333
1341
|
oidc_client_secret=oidc_client_secret,
|
|
1334
1342
|
oidc_user_field=oidc_user_field,
|
|
1335
1343
|
oidc_cache_timeout=oidc_cache_timeout,
|
|
1344
|
+
deactivate_user_if_no_roles=deactivate_user_if_no_roles,
|
|
1336
1345
|
)
|
|
1337
1346
|
|
|
1338
1347
|
constance_settings.additional_properties = d
|
|
@@ -144,6 +144,7 @@ class ConstanceSettingsRequest:
|
|
|
144
144
|
oidc_client_secret (Union[Unset, str]):
|
|
145
145
|
oidc_user_field (Union[Unset, str]):
|
|
146
146
|
oidc_cache_timeout (Union[Unset, int]):
|
|
147
|
+
deactivate_user_if_no_roles (Union[Unset, bool]):
|
|
147
148
|
"""
|
|
148
149
|
|
|
149
150
|
site_name: Union[Unset, str] = UNSET
|
|
@@ -275,6 +276,7 @@ class ConstanceSettingsRequest:
|
|
|
275
276
|
oidc_client_secret: Union[Unset, str] = UNSET
|
|
276
277
|
oidc_user_field: Union[Unset, str] = UNSET
|
|
277
278
|
oidc_cache_timeout: Union[Unset, int] = UNSET
|
|
279
|
+
deactivate_user_if_no_roles: Union[Unset, bool] = UNSET
|
|
278
280
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
279
281
|
|
|
280
282
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -624,6 +626,8 @@ class ConstanceSettingsRequest:
|
|
|
624
626
|
|
|
625
627
|
oidc_cache_timeout = self.oidc_cache_timeout
|
|
626
628
|
|
|
629
|
+
deactivate_user_if_no_roles = self.deactivate_user_if_no_roles
|
|
630
|
+
|
|
627
631
|
field_dict: dict[str, Any] = {}
|
|
628
632
|
field_dict.update(self.additional_properties)
|
|
629
633
|
field_dict.update({})
|
|
@@ -889,6 +893,8 @@ class ConstanceSettingsRequest:
|
|
|
889
893
|
field_dict["OIDC_USER_FIELD"] = oidc_user_field
|
|
890
894
|
if oidc_cache_timeout is not UNSET:
|
|
891
895
|
field_dict["OIDC_CACHE_TIMEOUT"] = oidc_cache_timeout
|
|
896
|
+
if deactivate_user_if_no_roles is not UNSET:
|
|
897
|
+
field_dict["DEACTIVATE_USER_IF_NO_ROLES"] = deactivate_user_if_no_roles
|
|
892
898
|
|
|
893
899
|
return field_dict
|
|
894
900
|
|
|
@@ -1337,6 +1343,8 @@ class ConstanceSettingsRequest:
|
|
|
1337
1343
|
|
|
1338
1344
|
oidc_cache_timeout = d.pop("OIDC_CACHE_TIMEOUT", UNSET)
|
|
1339
1345
|
|
|
1346
|
+
deactivate_user_if_no_roles = d.pop("DEACTIVATE_USER_IF_NO_ROLES", UNSET)
|
|
1347
|
+
|
|
1340
1348
|
constance_settings_request = cls(
|
|
1341
1349
|
site_name=site_name,
|
|
1342
1350
|
site_description=site_description,
|
|
@@ -1467,6 +1475,7 @@ class ConstanceSettingsRequest:
|
|
|
1467
1475
|
oidc_client_secret=oidc_client_secret,
|
|
1468
1476
|
oidc_user_field=oidc_user_field,
|
|
1469
1477
|
oidc_cache_timeout=oidc_cache_timeout,
|
|
1478
|
+
deactivate_user_if_no_roles=deactivate_user_if_no_roles,
|
|
1470
1479
|
)
|
|
1471
1480
|
|
|
1472
1481
|
constance_settings_request.additional_properties = d
|
|
@@ -15,7 +15,6 @@ if TYPE_CHECKING:
|
|
|
15
15
|
from ..models.nested_price_estimate import NestedPriceEstimate
|
|
16
16
|
from ..models.organization_group import OrganizationGroup
|
|
17
17
|
from ..models.payment_profile import PaymentProfile
|
|
18
|
-
from ..models.permission_project import PermissionProject
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
T = TypeVar("T", bound="Customer")
|
|
@@ -30,7 +29,6 @@ class Customer:
|
|
|
30
29
|
created (Union[Unset, datetime.datetime]):
|
|
31
30
|
organization_groups (Union[Unset, list['OrganizationGroup']]):
|
|
32
31
|
display_name (Union[Unset, str]):
|
|
33
|
-
projects (Union[Unset, list['PermissionProject']]):
|
|
34
32
|
backend_id (Union[Unset, str]): Organization identifier in another application.
|
|
35
33
|
image (Union[None, Unset, str]):
|
|
36
34
|
blocked (Union[Unset, bool]):
|
|
@@ -78,7 +76,6 @@ class Customer:
|
|
|
78
76
|
created: Union[Unset, datetime.datetime] = UNSET
|
|
79
77
|
organization_groups: Union[Unset, list["OrganizationGroup"]] = UNSET
|
|
80
78
|
display_name: Union[Unset, str] = UNSET
|
|
81
|
-
projects: Union[Unset, list["PermissionProject"]] = UNSET
|
|
82
79
|
backend_id: Union[Unset, str] = UNSET
|
|
83
80
|
image: Union[None, Unset, str] = UNSET
|
|
84
81
|
blocked: Union[Unset, bool] = UNSET
|
|
@@ -140,13 +137,6 @@ class Customer:
|
|
|
140
137
|
|
|
141
138
|
display_name = self.display_name
|
|
142
139
|
|
|
143
|
-
projects: Union[Unset, list[dict[str, Any]]] = UNSET
|
|
144
|
-
if not isinstance(self.projects, Unset):
|
|
145
|
-
projects = []
|
|
146
|
-
for projects_item_data in self.projects:
|
|
147
|
-
projects_item = projects_item_data.to_dict()
|
|
148
|
-
projects.append(projects_item)
|
|
149
|
-
|
|
150
140
|
backend_id = self.backend_id
|
|
151
141
|
|
|
152
142
|
image: Union[None, Unset, str]
|
|
@@ -295,8 +285,6 @@ class Customer:
|
|
|
295
285
|
field_dict["organization_groups"] = organization_groups
|
|
296
286
|
if display_name is not UNSET:
|
|
297
287
|
field_dict["display_name"] = display_name
|
|
298
|
-
if projects is not UNSET:
|
|
299
|
-
field_dict["projects"] = projects
|
|
300
288
|
if backend_id is not UNSET:
|
|
301
289
|
field_dict["backend_id"] = backend_id
|
|
302
290
|
if image is not UNSET:
|
|
@@ -383,7 +371,6 @@ class Customer:
|
|
|
383
371
|
from ..models.nested_price_estimate import NestedPriceEstimate
|
|
384
372
|
from ..models.organization_group import OrganizationGroup
|
|
385
373
|
from ..models.payment_profile import PaymentProfile
|
|
386
|
-
from ..models.permission_project import PermissionProject
|
|
387
374
|
|
|
388
375
|
d = dict(src_dict)
|
|
389
376
|
url = d.pop("url", UNSET)
|
|
@@ -411,13 +398,6 @@ class Customer:
|
|
|
411
398
|
|
|
412
399
|
display_name = d.pop("display_name", UNSET)
|
|
413
400
|
|
|
414
|
-
projects = []
|
|
415
|
-
_projects = d.pop("projects", UNSET)
|
|
416
|
-
for projects_item_data in _projects or []:
|
|
417
|
-
projects_item = PermissionProject.from_dict(projects_item_data)
|
|
418
|
-
|
|
419
|
-
projects.append(projects_item)
|
|
420
|
-
|
|
421
401
|
backend_id = d.pop("backend_id", UNSET)
|
|
422
402
|
|
|
423
403
|
def _parse_image(data: object) -> Union[None, Unset, str]:
|
|
@@ -614,7 +594,6 @@ class Customer:
|
|
|
614
594
|
created=created,
|
|
615
595
|
organization_groups=organization_groups,
|
|
616
596
|
display_name=display_name,
|
|
617
|
-
projects=projects,
|
|
618
597
|
backend_id=backend_id,
|
|
619
598
|
image=image,
|
|
620
599
|
blocked=blocked,
|
|
@@ -36,7 +36,6 @@ class CustomersListFieldItem(str, Enum):
|
|
|
36
36
|
PAYMENT_PROFILES = "payment_profiles"
|
|
37
37
|
PHONE_NUMBER = "phone_number"
|
|
38
38
|
POSTAL = "postal"
|
|
39
|
-
PROJECTS = "projects"
|
|
40
39
|
PROJECTS_COUNT = "projects_count"
|
|
41
40
|
REGISTRATION_CODE = "registration_code"
|
|
42
41
|
SERVICE_PROVIDER = "service_provider"
|
|
@@ -36,7 +36,6 @@ class CustomersRetrieveFieldItem(str, Enum):
|
|
|
36
36
|
PAYMENT_PROFILES = "payment_profiles"
|
|
37
37
|
PHONE_NUMBER = "phone_number"
|
|
38
38
|
POSTAL = "postal"
|
|
39
|
-
PROJECTS = "projects"
|
|
40
39
|
PROJECTS_COUNT = "projects_count"
|
|
41
40
|
REGISTRATION_CODE = "registration_code"
|
|
42
41
|
SERVICE_PROVIDER = "service_provider"
|
|
@@ -240,6 +240,7 @@ class EventTypesEnum(str, Enum):
|
|
|
240
240
|
USER_ACTIVATED = "user_activated"
|
|
241
241
|
USER_CREATION_SUCCEEDED = "user_creation_succeeded"
|
|
242
242
|
USER_DEACTIVATED = "user_deactivated"
|
|
243
|
+
USER_DEACTIVATED_NO_ROLES = "user_deactivated_no_roles"
|
|
243
244
|
USER_DELETION_SUCCEEDED = "user_deletion_succeeded"
|
|
244
245
|
USER_DETAILS_UPDATE_SUCCEEDED = "user_details_update_succeeded"
|
|
245
246
|
USER_HAS_BEEN_CREATED_BY_STAFF = "user_has_been_created_by_staff"
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from collections.abc import Mapping
|
|
2
3
|
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
4
|
from uuid import UUID
|
|
4
5
|
|
|
5
6
|
from attrs import define as _attrs_define
|
|
6
7
|
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
7
9
|
|
|
8
10
|
from ..models.requested_offering_states import RequestedOfferingStates
|
|
9
11
|
from ..types import UNSET, Unset
|
|
@@ -35,6 +37,7 @@ class NestedRequestedOffering:
|
|
|
35
37
|
plan_details (Union[Unset, BasePublicPlan]):
|
|
36
38
|
options (Union[Unset, OfferingOptions]):
|
|
37
39
|
components (Union[Unset, list['OfferingComponent']]):
|
|
40
|
+
created (Union[Unset, datetime.datetime]):
|
|
38
41
|
"""
|
|
39
42
|
|
|
40
43
|
uuid: Union[Unset, UUID] = UNSET
|
|
@@ -51,6 +54,7 @@ class NestedRequestedOffering:
|
|
|
51
54
|
plan_details: Union[Unset, "BasePublicPlan"] = UNSET
|
|
52
55
|
options: Union[Unset, "OfferingOptions"] = UNSET
|
|
53
56
|
components: Union[Unset, list["OfferingComponent"]] = UNSET
|
|
57
|
+
created: Union[Unset, datetime.datetime] = UNSET
|
|
54
58
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
55
59
|
|
|
56
60
|
def to_dict(self) -> dict[str, Any]:
|
|
@@ -103,6 +107,10 @@ class NestedRequestedOffering:
|
|
|
103
107
|
components_item = components_item_data.to_dict()
|
|
104
108
|
components.append(components_item)
|
|
105
109
|
|
|
110
|
+
created: Union[Unset, str] = UNSET
|
|
111
|
+
if not isinstance(self.created, Unset):
|
|
112
|
+
created = self.created.isoformat()
|
|
113
|
+
|
|
106
114
|
field_dict: dict[str, Any] = {}
|
|
107
115
|
field_dict.update(self.additional_properties)
|
|
108
116
|
field_dict.update({})
|
|
@@ -134,6 +142,8 @@ class NestedRequestedOffering:
|
|
|
134
142
|
field_dict["options"] = options
|
|
135
143
|
if components is not UNSET:
|
|
136
144
|
field_dict["components"] = components
|
|
145
|
+
if created is not UNSET:
|
|
146
|
+
field_dict["created"] = created
|
|
137
147
|
|
|
138
148
|
return field_dict
|
|
139
149
|
|
|
@@ -214,6 +224,13 @@ class NestedRequestedOffering:
|
|
|
214
224
|
|
|
215
225
|
components.append(components_item)
|
|
216
226
|
|
|
227
|
+
_created = d.pop("created", UNSET)
|
|
228
|
+
created: Union[Unset, datetime.datetime]
|
|
229
|
+
if isinstance(_created, Unset):
|
|
230
|
+
created = UNSET
|
|
231
|
+
else:
|
|
232
|
+
created = isoparse(_created)
|
|
233
|
+
|
|
217
234
|
nested_requested_offering = cls(
|
|
218
235
|
uuid=uuid,
|
|
219
236
|
state=state,
|
|
@@ -229,6 +246,7 @@ class NestedRequestedOffering:
|
|
|
229
246
|
plan_details=plan_details,
|
|
230
247
|
options=options,
|
|
231
248
|
components=components,
|
|
249
|
+
created=created,
|
|
232
250
|
)
|
|
233
251
|
|
|
234
252
|
nested_requested_offering.additional_properties = d
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from collections.abc import Mapping
|
|
2
3
|
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
4
|
from uuid import UUID
|
|
4
5
|
|
|
5
6
|
from attrs import define as _attrs_define
|
|
6
7
|
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
7
9
|
|
|
8
10
|
from ..models.requested_offering_states import RequestedOfferingStates
|
|
9
11
|
from ..types import UNSET, Unset
|
|
@@ -34,6 +36,7 @@ class ProviderRequestedOffering:
|
|
|
34
36
|
plan_details (BasePublicPlan):
|
|
35
37
|
options (OfferingOptions):
|
|
36
38
|
components (list['OfferingComponent']):
|
|
39
|
+
created (datetime.datetime):
|
|
37
40
|
url (str):
|
|
38
41
|
call_name (str):
|
|
39
42
|
call (str):
|
|
@@ -56,6 +59,7 @@ class ProviderRequestedOffering:
|
|
|
56
59
|
plan_details: "BasePublicPlan"
|
|
57
60
|
options: "OfferingOptions"
|
|
58
61
|
components: list["OfferingComponent"]
|
|
62
|
+
created: datetime.datetime
|
|
59
63
|
url: str
|
|
60
64
|
call_name: str
|
|
61
65
|
call: str
|
|
@@ -96,6 +100,8 @@ class ProviderRequestedOffering:
|
|
|
96
100
|
components_item = components_item_data.to_dict()
|
|
97
101
|
components.append(components_item)
|
|
98
102
|
|
|
103
|
+
created = self.created.isoformat()
|
|
104
|
+
|
|
99
105
|
url = self.url
|
|
100
106
|
|
|
101
107
|
call_name = self.call_name
|
|
@@ -127,6 +133,7 @@ class ProviderRequestedOffering:
|
|
|
127
133
|
"plan_details": plan_details,
|
|
128
134
|
"options": options,
|
|
129
135
|
"components": components,
|
|
136
|
+
"created": created,
|
|
130
137
|
"url": url,
|
|
131
138
|
"call_name": call_name,
|
|
132
139
|
"call": call,
|
|
@@ -183,6 +190,8 @@ class ProviderRequestedOffering:
|
|
|
183
190
|
|
|
184
191
|
components.append(components_item)
|
|
185
192
|
|
|
193
|
+
created = isoparse(d.pop("created"))
|
|
194
|
+
|
|
186
195
|
url = d.pop("url")
|
|
187
196
|
|
|
188
197
|
call_name = d.pop("call_name")
|
|
@@ -211,6 +220,7 @@ class ProviderRequestedOffering:
|
|
|
211
220
|
plan_details=plan_details,
|
|
212
221
|
options=options,
|
|
213
222
|
components=components,
|
|
223
|
+
created=created,
|
|
214
224
|
url=url,
|
|
215
225
|
call_name=call_name,
|
|
216
226
|
call=call,
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import datetime
|
|
1
2
|
from collections.abc import Mapping
|
|
2
3
|
from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
|
|
3
4
|
from uuid import UUID
|
|
4
5
|
|
|
5
6
|
from attrs import define as _attrs_define
|
|
6
7
|
from attrs import field as _attrs_field
|
|
8
|
+
from dateutil.parser import isoparse
|
|
7
9
|
|
|
8
10
|
from ..models.requested_offering_states import RequestedOfferingStates
|
|
9
11
|
from ..types import UNSET, Unset
|
|
@@ -33,6 +35,7 @@ class RequestedOffering:
|
|
|
33
35
|
plan_details (BasePublicPlan):
|
|
34
36
|
options (OfferingOptions):
|
|
35
37
|
components (list['OfferingComponent']):
|
|
38
|
+
created (datetime.datetime):
|
|
36
39
|
url (str):
|
|
37
40
|
approved_by (Union[None, str]):
|
|
38
41
|
created_by (Union[None, str]):
|
|
@@ -55,6 +58,7 @@ class RequestedOffering:
|
|
|
55
58
|
plan_details: "BasePublicPlan"
|
|
56
59
|
options: "OfferingOptions"
|
|
57
60
|
components: list["OfferingComponent"]
|
|
61
|
+
created: datetime.datetime
|
|
58
62
|
url: str
|
|
59
63
|
approved_by: Union[None, str]
|
|
60
64
|
created_by: Union[None, str]
|
|
@@ -93,6 +97,8 @@ class RequestedOffering:
|
|
|
93
97
|
components_item = components_item_data.to_dict()
|
|
94
98
|
components.append(components_item)
|
|
95
99
|
|
|
100
|
+
created = self.created.isoformat()
|
|
101
|
+
|
|
96
102
|
url = self.url
|
|
97
103
|
|
|
98
104
|
approved_by: Union[None, str]
|
|
@@ -131,6 +137,7 @@ class RequestedOffering:
|
|
|
131
137
|
"plan_details": plan_details,
|
|
132
138
|
"options": options,
|
|
133
139
|
"components": components,
|
|
140
|
+
"created": created,
|
|
134
141
|
"url": url,
|
|
135
142
|
"approved_by": approved_by,
|
|
136
143
|
"created_by": created_by,
|
|
@@ -183,6 +190,8 @@ class RequestedOffering:
|
|
|
183
190
|
|
|
184
191
|
components.append(components_item)
|
|
185
192
|
|
|
193
|
+
created = isoparse(d.pop("created"))
|
|
194
|
+
|
|
186
195
|
url = d.pop("url")
|
|
187
196
|
|
|
188
197
|
def _parse_approved_by(data: object) -> Union[None, str]:
|
|
@@ -229,6 +238,7 @@ class RequestedOffering:
|
|
|
229
238
|
plan_details=plan_details,
|
|
230
239
|
options=options,
|
|
231
240
|
components=components,
|
|
241
|
+
created=created,
|
|
232
242
|
url=url,
|
|
233
243
|
approved_by=approved_by,
|
|
234
244
|
created_by=created_by,
|
|
@@ -4,27 +4,27 @@ from typing import Any, TypeVar
|
|
|
4
4
|
from attrs import define as _attrs_define
|
|
5
5
|
from attrs import field as _attrs_field
|
|
6
6
|
|
|
7
|
-
T = TypeVar("T", bound="
|
|
7
|
+
T = TypeVar("T", bound="ResourceResponseStatus")
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
@_attrs_define
|
|
11
|
-
class
|
|
11
|
+
class ResourceResponseStatus:
|
|
12
12
|
"""
|
|
13
13
|
Attributes:
|
|
14
|
-
|
|
14
|
+
status (str):
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
status: str
|
|
18
18
|
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
19
19
|
|
|
20
20
|
def to_dict(self) -> dict[str, Any]:
|
|
21
|
-
|
|
21
|
+
status = self.status
|
|
22
22
|
|
|
23
23
|
field_dict: dict[str, Any] = {}
|
|
24
24
|
field_dict.update(self.additional_properties)
|
|
25
25
|
field_dict.update(
|
|
26
26
|
{
|
|
27
|
-
"
|
|
27
|
+
"status": status,
|
|
28
28
|
}
|
|
29
29
|
)
|
|
30
30
|
|
|
@@ -33,14 +33,14 @@ class ResourceSetLimits:
|
|
|
33
33
|
@classmethod
|
|
34
34
|
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
35
35
|
d = dict(src_dict)
|
|
36
|
-
|
|
36
|
+
status = d.pop("status")
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
resource_response_status = cls(
|
|
39
|
+
status=status,
|
|
40
40
|
)
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
return
|
|
42
|
+
resource_response_status.additional_properties = d
|
|
43
|
+
return resource_response_status
|
|
44
44
|
|
|
45
45
|
@property
|
|
46
46
|
def additional_keys(self) -> list[str]:
|