latitudesh-python-sdk 2.3.0__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.
- latitudesh_python_sdk/__init__.py +18 -0
- latitudesh_python_sdk/_hooks/__init__.py +5 -0
- latitudesh_python_sdk/_hooks/registration.py +13 -0
- latitudesh_python_sdk/_hooks/sdkhooks.py +76 -0
- latitudesh_python_sdk/_hooks/types.py +113 -0
- latitudesh_python_sdk/_version.py +17 -0
- latitudesh_python_sdk/apikeys.py +703 -0
- latitudesh_python_sdk/basesdk.py +374 -0
- latitudesh_python_sdk/billing.py +197 -0
- latitudesh_python_sdk/events_sdk.py +298 -0
- latitudesh_python_sdk/firewalls_sdk.py +1786 -0
- latitudesh_python_sdk/httpclient.py +125 -0
- latitudesh_python_sdk/ipaddresses_sdk.py +470 -0
- latitudesh_python_sdk/models/__init__.py +3581 -0
- latitudesh_python_sdk/models/api_key.py +81 -0
- latitudesh_python_sdk/models/apierror.py +40 -0
- latitudesh_python_sdk/models/assign_server_virtual_networkop.py +43 -0
- latitudesh_python_sdk/models/bandwidth_packages.py +67 -0
- latitudesh_python_sdk/models/bandwidth_plan_data.py +72 -0
- latitudesh_python_sdk/models/bandwidth_plans.py +26 -0
- latitudesh_python_sdk/models/billing_usage.py +249 -0
- latitudesh_python_sdk/models/container_plan_data.py +163 -0
- latitudesh_python_sdk/models/create_api_key.py +40 -0
- latitudesh_python_sdk/models/create_firewall_assignmentop.py +61 -0
- latitudesh_python_sdk/models/create_firewallop.py +73 -0
- latitudesh_python_sdk/models/create_ipmi_sessionop.py +16 -0
- latitudesh_python_sdk/models/create_projectop.py +79 -0
- latitudesh_python_sdk/models/create_server_actionop.py +69 -0
- latitudesh_python_sdk/models/create_server_out_of_bandop.py +61 -0
- latitudesh_python_sdk/models/create_server_reinstallop.py +140 -0
- latitudesh_python_sdk/models/create_serverop.py +173 -0
- latitudesh_python_sdk/models/create_tagop.py +50 -0
- latitudesh_python_sdk/models/create_virtual_machine_actionop.py +63 -0
- latitudesh_python_sdk/models/create_virtual_networkop.py +72 -0
- latitudesh_python_sdk/models/custom_tag.py +26 -0
- latitudesh_python_sdk/models/custom_tag_data.py +54 -0
- latitudesh_python_sdk/models/custom_tags.py +26 -0
- latitudesh_python_sdk/models/delete_api_keyop.py +16 -0
- latitudesh_python_sdk/models/delete_firewall_assignmentop.py +25 -0
- latitudesh_python_sdk/models/delete_firewallop.py +18 -0
- latitudesh_python_sdk/models/delete_project_ssh_keyop.py +23 -0
- latitudesh_python_sdk/models/delete_project_user_dataop.py +23 -0
- latitudesh_python_sdk/models/delete_projectop.py +18 -0
- latitudesh_python_sdk/models/delete_ssh_keyop.py +16 -0
- latitudesh_python_sdk/models/delete_storage_filesystemsop.py +16 -0
- latitudesh_python_sdk/models/delete_storage_volumesop.py +16 -0
- latitudesh_python_sdk/models/delete_user_dataop.py +16 -0
- latitudesh_python_sdk/models/delete_virtual_networks_assignmentsop.py +16 -0
- latitudesh_python_sdk/models/delete_vpn_sessionop.py +16 -0
- latitudesh_python_sdk/models/deploy_config.py +62 -0
- latitudesh_python_sdk/models/destroy_serverop.py +31 -0
- latitudesh_python_sdk/models/destroy_tagop.py +16 -0
- latitudesh_python_sdk/models/destroy_team_memberop.py +18 -0
- latitudesh_python_sdk/models/destroy_virtual_machineop.py +16 -0
- latitudesh_python_sdk/models/destroy_virtual_networkop.py +18 -0
- latitudesh_python_sdk/models/event_data.py +98 -0
- latitudesh_python_sdk/models/events.py +26 -0
- latitudesh_python_sdk/models/filesystem_data.py +57 -0
- latitudesh_python_sdk/models/firewall.py +26 -0
- latitudesh_python_sdk/models/firewall_assignment_data.py +50 -0
- latitudesh_python_sdk/models/firewall_assignments.py +29 -0
- latitudesh_python_sdk/models/firewall_data.py +75 -0
- latitudesh_python_sdk/models/firewall_server.py +36 -0
- latitudesh_python_sdk/models/firewalls.py +26 -0
- latitudesh_python_sdk/models/get_all_firewall_assignmentsop.py +51 -0
- latitudesh_python_sdk/models/get_bandwidth_plansop.py +62 -0
- latitudesh_python_sdk/models/get_billing_usageop.py +46 -0
- latitudesh_python_sdk/models/get_containers_planop.py +18 -0
- latitudesh_python_sdk/models/get_eventsop.py +126 -0
- latitudesh_python_sdk/models/get_firewall_assignmentsop.py +53 -0
- latitudesh_python_sdk/models/get_firewallop.py +18 -0
- latitudesh_python_sdk/models/get_ipop.py +33 -0
- latitudesh_python_sdk/models/get_ipsop.py +120 -0
- latitudesh_python_sdk/models/get_planop.py +16 -0
- latitudesh_python_sdk/models/get_plans_operating_systemop.py +54 -0
- latitudesh_python_sdk/models/get_plansop.py +125 -0
- latitudesh_python_sdk/models/get_project_ssh_keyop.py +37 -0
- latitudesh_python_sdk/models/get_project_ssh_keysop.py +33 -0
- latitudesh_python_sdk/models/get_project_user_dataop.py +38 -0
- latitudesh_python_sdk/models/get_project_users_dataop.py +46 -0
- latitudesh_python_sdk/models/get_projectsop.py +105 -0
- latitudesh_python_sdk/models/get_regionop.py +18 -0
- latitudesh_python_sdk/models/get_regionsop.py +42 -0
- latitudesh_python_sdk/models/get_role_idop.py +16 -0
- latitudesh_python_sdk/models/get_rolesop.py +54 -0
- latitudesh_python_sdk/models/get_server_deploy_configop.py +18 -0
- latitudesh_python_sdk/models/get_server_out_of_bandop.py +18 -0
- latitudesh_python_sdk/models/get_serverop.py +33 -0
- latitudesh_python_sdk/models/get_serversop.py +185 -0
- latitudesh_python_sdk/models/get_ssh_keyop.py +30 -0
- latitudesh_python_sdk/models/get_ssh_keysop.py +31 -0
- latitudesh_python_sdk/models/get_storage_filesystemsop.py +22 -0
- latitudesh_python_sdk/models/get_storage_volumeop.py +32 -0
- latitudesh_python_sdk/models/get_storage_volumesop.py +35 -0
- latitudesh_python_sdk/models/get_team_membersop.py +42 -0
- latitudesh_python_sdk/models/get_traffic_consumptionop.py +49 -0
- latitudesh_python_sdk/models/get_traffic_quotaop.py +20 -0
- latitudesh_python_sdk/models/get_user_dataop.py +31 -0
- latitudesh_python_sdk/models/get_user_profileop.py +19 -0
- latitudesh_python_sdk/models/get_users_dataop.py +44 -0
- latitudesh_python_sdk/models/get_virtual_networkop.py +32 -0
- latitudesh_python_sdk/models/get_virtual_networks_assignmentsop.py +72 -0
- latitudesh_python_sdk/models/get_virtual_networksop.py +69 -0
- latitudesh_python_sdk/models/get_vpn_sessionsop.py +70 -0
- latitudesh_python_sdk/models/index_virtual_machineop.py +31 -0
- latitudesh_python_sdk/models/ip_address.py +122 -0
- latitudesh_python_sdk/models/ip_addresses.py +15 -0
- latitudesh_python_sdk/models/ipmi_session.py +53 -0
- latitudesh_python_sdk/models/latitudesherror.py +30 -0
- latitudesh_python_sdk/models/list_firewallsop.py +49 -0
- latitudesh_python_sdk/models/membership.py +63 -0
- latitudesh_python_sdk/models/no_response_error.py +17 -0
- latitudesh_python_sdk/models/operating_system_data.py +65 -0
- latitudesh_python_sdk/models/operating_systems.py +26 -0
- latitudesh_python_sdk/models/out_of_band_connection.py +88 -0
- latitudesh_python_sdk/models/patch_current_teamop.py +91 -0
- latitudesh_python_sdk/models/patch_storage_filesystemsop.py +79 -0
- latitudesh_python_sdk/models/patch_user_dataop.py +69 -0
- latitudesh_python_sdk/models/patch_user_profileop.py +88 -0
- latitudesh_python_sdk/models/plan.py +15 -0
- latitudesh_python_sdk/models/plan_data.py +210 -0
- latitudesh_python_sdk/models/post_api_keyop.py +19 -0
- latitudesh_python_sdk/models/post_project_ssh_keyop.py +81 -0
- latitudesh_python_sdk/models/post_project_user_dataop.py +68 -0
- latitudesh_python_sdk/models/post_ssh_keyop.py +63 -0
- latitudesh_python_sdk/models/post_storage_filesystemsop.py +63 -0
- latitudesh_python_sdk/models/post_storage_volumes_mountop.py +62 -0
- latitudesh_python_sdk/models/post_storage_volumesop.py +63 -0
- latitudesh_python_sdk/models/post_team_membersop.py +54 -0
- latitudesh_python_sdk/models/post_teamop.py +67 -0
- latitudesh_python_sdk/models/post_user_dataop.py +50 -0
- latitudesh_python_sdk/models/post_vpn_sessionop.py +63 -0
- latitudesh_python_sdk/models/project.py +131 -0
- latitudesh_python_sdk/models/project_include.py +75 -0
- latitudesh_python_sdk/models/projects.py +15 -0
- latitudesh_python_sdk/models/put_project_ssh_keyop.py +87 -0
- latitudesh_python_sdk/models/put_project_user_dataop.py +76 -0
- latitudesh_python_sdk/models/put_ssh_keyop.py +80 -0
- latitudesh_python_sdk/models/put_vpn_sessionop.py +16 -0
- latitudesh_python_sdk/models/region.py +50 -0
- latitudesh_python_sdk/models/region_resource_data.py +37 -0
- latitudesh_python_sdk/models/regions.py +50 -0
- latitudesh_python_sdk/models/responsevalidationerror.py +27 -0
- latitudesh_python_sdk/models/role.py +26 -0
- latitudesh_python_sdk/models/role_data.py +35 -0
- latitudesh_python_sdk/models/security.py +25 -0
- latitudesh_python_sdk/models/server.py +26 -0
- latitudesh_python_sdk/models/server_action.py +52 -0
- latitudesh_python_sdk/models/server_data.py +280 -0
- latitudesh_python_sdk/models/server_exit_rescue_modeop.py +16 -0
- latitudesh_python_sdk/models/server_lockop.py +16 -0
- latitudesh_python_sdk/models/server_region_resource_data.py +40 -0
- latitudesh_python_sdk/models/server_rescue.py +22 -0
- latitudesh_python_sdk/models/server_schedule_deletion.py +44 -0
- latitudesh_python_sdk/models/server_schedule_deletionop.py +16 -0
- latitudesh_python_sdk/models/server_start_rescue_modeop.py +16 -0
- latitudesh_python_sdk/models/server_unlockop.py +16 -0
- latitudesh_python_sdk/models/server_unschedule_deletionop.py +16 -0
- latitudesh_python_sdk/models/servers.py +26 -0
- latitudesh_python_sdk/models/show_virtual_machineop.py +16 -0
- latitudesh_python_sdk/models/ssh_key_data.py +55 -0
- latitudesh_python_sdk/models/ssh_keys.py +26 -0
- latitudesh_python_sdk/models/storage_plan_data.py +47 -0
- latitudesh_python_sdk/models/storage_plans.py +26 -0
- latitudesh_python_sdk/models/team.py +74 -0
- latitudesh_python_sdk/models/team_include.py +43 -0
- latitudesh_python_sdk/models/team_members.py +51 -0
- latitudesh_python_sdk/models/teams.py +26 -0
- latitudesh_python_sdk/models/traffic.py +133 -0
- latitudesh_python_sdk/models/traffic_quota.py +106 -0
- latitudesh_python_sdk/models/update_api_key.py +48 -0
- latitudesh_python_sdk/models/update_api_keyop.py +41 -0
- latitudesh_python_sdk/models/update_firewallop.py +89 -0
- latitudesh_python_sdk/models/update_plans_bandwidthop.py +50 -0
- latitudesh_python_sdk/models/update_projectop.py +95 -0
- latitudesh_python_sdk/models/update_server_deploy_configop.py +122 -0
- latitudesh_python_sdk/models/update_serverop.py +85 -0
- latitudesh_python_sdk/models/update_tagop.py +74 -0
- latitudesh_python_sdk/models/update_virtual_networkop.py +67 -0
- latitudesh_python_sdk/models/user.py +59 -0
- latitudesh_python_sdk/models/user_data.py +26 -0
- latitudesh_python_sdk/models/user_data_properties.py +46 -0
- latitudesh_python_sdk/models/user_include.py +52 -0
- latitudesh_python_sdk/models/user_team.py +61 -0
- latitudesh_python_sdk/models/user_teams.py +26 -0
- latitudesh_python_sdk/models/user_update.py +37 -0
- latitudesh_python_sdk/models/virtual_machine.py +29 -0
- latitudesh_python_sdk/models/virtual_machine_attributes.py +115 -0
- latitudesh_python_sdk/models/virtual_machine_payload.py +47 -0
- latitudesh_python_sdk/models/virtual_machine_plans.py +181 -0
- latitudesh_python_sdk/models/virtual_network.py +26 -0
- latitudesh_python_sdk/models/virtual_network_assignment.py +29 -0
- latitudesh_python_sdk/models/virtual_network_assignment_data.py +65 -0
- latitudesh_python_sdk/models/virtual_network_assignments.py +29 -0
- latitudesh_python_sdk/models/virtual_network_data.py +114 -0
- latitudesh_python_sdk/models/virtual_networks.py +26 -0
- latitudesh_python_sdk/models/volume_data.py +111 -0
- latitudesh_python_sdk/models/vpn_session_data_with_password.py +77 -0
- latitudesh_python_sdk/models/vpn_session_with_password.py +18 -0
- latitudesh_python_sdk/operatingsystems_sdk.py +238 -0
- latitudesh_python_sdk/plans.py +1304 -0
- latitudesh_python_sdk/privatenetworks.py +1612 -0
- latitudesh_python_sdk/projects_sdk.py +830 -0
- latitudesh_python_sdk/py.typed +1 -0
- latitudesh_python_sdk/regions_sdk.py +398 -0
- latitudesh_python_sdk/roles.py +398 -0
- latitudesh_python_sdk/sdk.py +264 -0
- latitudesh_python_sdk/sdkconfiguration.py +50 -0
- latitudesh_python_sdk/servers_sdk.py +3414 -0
- latitudesh_python_sdk/sshkeys_sdk.py +1882 -0
- latitudesh_python_sdk/storage.py +1651 -0
- latitudesh_python_sdk/tags.py +715 -0
- latitudesh_python_sdk/teams_sdk.py +527 -0
- latitudesh_python_sdk/teamsmembers.py +576 -0
- latitudesh_python_sdk/traffic_sdk.py +357 -0
- latitudesh_python_sdk/types/__init__.py +21 -0
- latitudesh_python_sdk/types/basemodel.py +39 -0
- latitudesh_python_sdk/userdata_sdk.py +1888 -0
- latitudesh_python_sdk/userprofile.py +531 -0
- latitudesh_python_sdk/utils/__init__.py +200 -0
- latitudesh_python_sdk/utils/annotations.py +79 -0
- latitudesh_python_sdk/utils/datetimes.py +23 -0
- latitudesh_python_sdk/utils/enums.py +74 -0
- latitudesh_python_sdk/utils/eventstreaming.py +248 -0
- latitudesh_python_sdk/utils/forms.py +234 -0
- latitudesh_python_sdk/utils/headers.py +136 -0
- latitudesh_python_sdk/utils/logger.py +27 -0
- latitudesh_python_sdk/utils/metadata.py +118 -0
- latitudesh_python_sdk/utils/queryparams.py +217 -0
- latitudesh_python_sdk/utils/requestbodies.py +66 -0
- latitudesh_python_sdk/utils/retries.py +281 -0
- latitudesh_python_sdk/utils/security.py +192 -0
- latitudesh_python_sdk/utils/serializers.py +249 -0
- latitudesh_python_sdk/utils/unmarshal_json_response.py +38 -0
- latitudesh_python_sdk/utils/url.py +155 -0
- latitudesh_python_sdk/utils/values.py +137 -0
- latitudesh_python_sdk/virtualmachines.py +941 -0
- latitudesh_python_sdk/vpnsessions.py +715 -0
- latitudesh_python_sdk-2.3.0.dist-info/METADATA +787 -0
- latitudesh_python_sdk-2.3.0.dist-info/RECORD +242 -0
- latitudesh_python_sdk-2.3.0.dist-info/WHEEL +4 -0
- latitudesh_python_sdk-2.3.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from enum import Enum
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserDataPropertiesType(str, Enum):
|
|
11
|
+
USER_DATA = "user_data"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class UserDataPropertiesAttributesTypedDict(TypedDict):
|
|
15
|
+
description: NotRequired[str]
|
|
16
|
+
r"""description of the User Data"""
|
|
17
|
+
content: NotRequired[str]
|
|
18
|
+
r"""content of the User Data"""
|
|
19
|
+
created_at: NotRequired[str]
|
|
20
|
+
updated_at: NotRequired[str]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class UserDataPropertiesAttributes(BaseModel):
|
|
24
|
+
description: Optional[str] = None
|
|
25
|
+
r"""description of the User Data"""
|
|
26
|
+
|
|
27
|
+
content: Optional[str] = None
|
|
28
|
+
r"""content of the User Data"""
|
|
29
|
+
|
|
30
|
+
created_at: Optional[str] = None
|
|
31
|
+
|
|
32
|
+
updated_at: Optional[str] = None
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class UserDataPropertiesTypedDict(TypedDict):
|
|
36
|
+
type: UserDataPropertiesType
|
|
37
|
+
id: NotRequired[str]
|
|
38
|
+
attributes: NotRequired[UserDataPropertiesAttributesTypedDict]
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class UserDataProperties(BaseModel):
|
|
42
|
+
type: UserDataPropertiesType
|
|
43
|
+
|
|
44
|
+
id: Optional[str] = None
|
|
45
|
+
|
|
46
|
+
attributes: Optional[UserDataPropertiesAttributes] = None
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UserIncludeRoleTypedDict(TypedDict):
|
|
10
|
+
id: NotRequired[str]
|
|
11
|
+
name: NotRequired[str]
|
|
12
|
+
created_at: NotRequired[str]
|
|
13
|
+
updated_at: NotRequired[str]
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class UserIncludeRole(BaseModel):
|
|
17
|
+
id: Optional[str] = None
|
|
18
|
+
|
|
19
|
+
name: Optional[str] = None
|
|
20
|
+
|
|
21
|
+
created_at: Optional[str] = None
|
|
22
|
+
|
|
23
|
+
updated_at: Optional[str] = None
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class UserIncludeTypedDict(TypedDict):
|
|
27
|
+
id: NotRequired[str]
|
|
28
|
+
first_name: NotRequired[str]
|
|
29
|
+
last_name: NotRequired[str]
|
|
30
|
+
email: NotRequired[str]
|
|
31
|
+
authentication_factor_id: NotRequired[str]
|
|
32
|
+
created_at: NotRequired[str]
|
|
33
|
+
updated_at: NotRequired[str]
|
|
34
|
+
role: NotRequired[UserIncludeRoleTypedDict]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class UserInclude(BaseModel):
|
|
38
|
+
id: Optional[str] = None
|
|
39
|
+
|
|
40
|
+
first_name: Optional[str] = None
|
|
41
|
+
|
|
42
|
+
last_name: Optional[str] = None
|
|
43
|
+
|
|
44
|
+
email: Optional[str] = None
|
|
45
|
+
|
|
46
|
+
authentication_factor_id: Optional[str] = None
|
|
47
|
+
|
|
48
|
+
created_at: Optional[str] = None
|
|
49
|
+
|
|
50
|
+
updated_at: Optional[str] = None
|
|
51
|
+
|
|
52
|
+
role: Optional[UserIncludeRole] = None
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .user_include import UserInclude, UserIncludeTypedDict
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserTeamBillingTypedDict(TypedDict):
|
|
11
|
+
id: NotRequired[str]
|
|
12
|
+
customer_billing_id: NotRequired[str]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class UserTeamBilling(BaseModel):
|
|
16
|
+
id: Optional[str] = None
|
|
17
|
+
|
|
18
|
+
customer_billing_id: Optional[str] = None
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class UserTeamAttributesTypedDict(TypedDict):
|
|
22
|
+
name: NotRequired[str]
|
|
23
|
+
slug: NotRequired[str]
|
|
24
|
+
description: NotRequired[str]
|
|
25
|
+
address: NotRequired[str]
|
|
26
|
+
currency: NotRequired[str]
|
|
27
|
+
created_at: NotRequired[str]
|
|
28
|
+
updated_at: NotRequired[str]
|
|
29
|
+
owner: NotRequired[UserIncludeTypedDict]
|
|
30
|
+
billing: NotRequired[UserTeamBillingTypedDict]
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class UserTeamAttributes(BaseModel):
|
|
34
|
+
name: Optional[str] = None
|
|
35
|
+
|
|
36
|
+
slug: Optional[str] = None
|
|
37
|
+
|
|
38
|
+
description: Optional[str] = None
|
|
39
|
+
|
|
40
|
+
address: Optional[str] = None
|
|
41
|
+
|
|
42
|
+
currency: Optional[str] = None
|
|
43
|
+
|
|
44
|
+
created_at: Optional[str] = None
|
|
45
|
+
|
|
46
|
+
updated_at: Optional[str] = None
|
|
47
|
+
|
|
48
|
+
owner: Optional[UserInclude] = None
|
|
49
|
+
|
|
50
|
+
billing: Optional[UserTeamBilling] = None
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class UserTeamTypedDict(TypedDict):
|
|
54
|
+
id: NotRequired[str]
|
|
55
|
+
attributes: NotRequired[UserTeamAttributesTypedDict]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class UserTeam(BaseModel):
|
|
59
|
+
id: Optional[str] = None
|
|
60
|
+
|
|
61
|
+
attributes: Optional[UserTeamAttributes] = None
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .user_team import UserTeam, UserTeamTypedDict
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import List, Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class UserTeamsMetaTypedDict(TypedDict):
|
|
11
|
+
pass
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class UserTeamsMeta(BaseModel):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class UserTeamsTypedDict(TypedDict):
|
|
19
|
+
data: NotRequired[List[UserTeamTypedDict]]
|
|
20
|
+
meta: NotRequired[UserTeamsMetaTypedDict]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class UserTeams(BaseModel):
|
|
24
|
+
data: Optional[List[UserTeam]] = None
|
|
25
|
+
|
|
26
|
+
meta: Optional[UserTeamsMeta] = None
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
5
|
+
from typing import Optional
|
|
6
|
+
from typing_extensions import NotRequired, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class UserUpdateAttributesTypedDict(TypedDict):
|
|
10
|
+
first_name: NotRequired[str]
|
|
11
|
+
last_name: NotRequired[str]
|
|
12
|
+
email: NotRequired[str]
|
|
13
|
+
authentication_factor_id: NotRequired[str]
|
|
14
|
+
role: NotRequired[str]
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class UserUpdateAttributes(BaseModel):
|
|
18
|
+
first_name: Optional[str] = None
|
|
19
|
+
|
|
20
|
+
last_name: Optional[str] = None
|
|
21
|
+
|
|
22
|
+
email: Optional[str] = None
|
|
23
|
+
|
|
24
|
+
authentication_factor_id: Optional[str] = None
|
|
25
|
+
|
|
26
|
+
role: Optional[str] = None
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class UserUpdateTypedDict(TypedDict):
|
|
30
|
+
id: NotRequired[str]
|
|
31
|
+
attributes: NotRequired[UserUpdateAttributesTypedDict]
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class UserUpdate(BaseModel):
|
|
35
|
+
id: Optional[str] = None
|
|
36
|
+
|
|
37
|
+
attributes: Optional[UserUpdateAttributes] = None
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .virtual_machine_attributes import (
|
|
5
|
+
VirtualMachineAttributes,
|
|
6
|
+
VirtualMachineAttributesTypedDict,
|
|
7
|
+
)
|
|
8
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
9
|
+
from typing import Optional
|
|
10
|
+
from typing_extensions import NotRequired, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class VirtualMachineMetaTypedDict(TypedDict):
|
|
14
|
+
pass
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class VirtualMachineMeta(BaseModel):
|
|
18
|
+
pass
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class VirtualMachineTypedDict(TypedDict):
|
|
22
|
+
data: NotRequired[VirtualMachineAttributesTypedDict]
|
|
23
|
+
meta: NotRequired[VirtualMachineMetaTypedDict]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class VirtualMachine(BaseModel):
|
|
27
|
+
data: Optional[VirtualMachineAttributes] = None
|
|
28
|
+
|
|
29
|
+
meta: Optional[VirtualMachineMeta] = None
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .project_include import ProjectInclude, ProjectIncludeTypedDict
|
|
5
|
+
from .team_include import TeamInclude, TeamIncludeTypedDict
|
|
6
|
+
from enum import Enum
|
|
7
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
8
|
+
from typing import List, Optional
|
|
9
|
+
from typing_extensions import NotRequired, TypedDict
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class VirtualMachineAttributesType(str, Enum):
|
|
13
|
+
VIRTUAL_MACHINES = "virtual_machines"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class VirtualMachineAttributesStatus(str, Enum):
|
|
17
|
+
RUNNING = "Running"
|
|
18
|
+
CONFIGURING_NETWORK = "Configuring network"
|
|
19
|
+
STARTING = "Starting"
|
|
20
|
+
SCHEDULING = "Scheduling"
|
|
21
|
+
SCHEDULED = "Scheduled"
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class CredentialsTypedDict(TypedDict):
|
|
25
|
+
username: NotRequired[str]
|
|
26
|
+
host: NotRequired[str]
|
|
27
|
+
password: NotRequired[str]
|
|
28
|
+
ssh_keys: NotRequired[List[str]]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class Credentials(BaseModel):
|
|
32
|
+
username: Optional[str] = None
|
|
33
|
+
|
|
34
|
+
host: Optional[str] = None
|
|
35
|
+
|
|
36
|
+
password: Optional[str] = None
|
|
37
|
+
|
|
38
|
+
ssh_keys: Optional[List[str]] = None
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class VirtualMachineAttributesPlanTypedDict(TypedDict):
|
|
42
|
+
id: NotRequired[str]
|
|
43
|
+
name: NotRequired[str]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class VirtualMachineAttributesPlan(BaseModel):
|
|
47
|
+
id: Optional[str] = None
|
|
48
|
+
|
|
49
|
+
name: Optional[str] = None
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class VirtualMachineAttributesSpecsTypedDict(TypedDict):
|
|
53
|
+
vcpu: NotRequired[int]
|
|
54
|
+
ram: NotRequired[str]
|
|
55
|
+
storage: NotRequired[str]
|
|
56
|
+
nic: NotRequired[str]
|
|
57
|
+
gpu: NotRequired[str]
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class VirtualMachineAttributesSpecs(BaseModel):
|
|
61
|
+
vcpu: Optional[int] = None
|
|
62
|
+
|
|
63
|
+
ram: Optional[str] = None
|
|
64
|
+
|
|
65
|
+
storage: Optional[str] = None
|
|
66
|
+
|
|
67
|
+
nic: Optional[str] = None
|
|
68
|
+
|
|
69
|
+
gpu: Optional[str] = None
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
class VirtualMachineAttributesAttributesTypedDict(TypedDict):
|
|
73
|
+
name: NotRequired[str]
|
|
74
|
+
created_at: NotRequired[str]
|
|
75
|
+
status: NotRequired[VirtualMachineAttributesStatus]
|
|
76
|
+
operating_system: NotRequired[str]
|
|
77
|
+
credentials: NotRequired[CredentialsTypedDict]
|
|
78
|
+
plan: NotRequired[VirtualMachineAttributesPlanTypedDict]
|
|
79
|
+
specs: NotRequired[VirtualMachineAttributesSpecsTypedDict]
|
|
80
|
+
team: NotRequired[TeamIncludeTypedDict]
|
|
81
|
+
project: NotRequired[ProjectIncludeTypedDict]
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class VirtualMachineAttributesAttributes(BaseModel):
|
|
85
|
+
name: Optional[str] = None
|
|
86
|
+
|
|
87
|
+
created_at: Optional[str] = None
|
|
88
|
+
|
|
89
|
+
status: Optional[VirtualMachineAttributesStatus] = None
|
|
90
|
+
|
|
91
|
+
operating_system: Optional[str] = None
|
|
92
|
+
|
|
93
|
+
credentials: Optional[Credentials] = None
|
|
94
|
+
|
|
95
|
+
plan: Optional[VirtualMachineAttributesPlan] = None
|
|
96
|
+
|
|
97
|
+
specs: Optional[VirtualMachineAttributesSpecs] = None
|
|
98
|
+
|
|
99
|
+
team: Optional[TeamInclude] = None
|
|
100
|
+
|
|
101
|
+
project: Optional[ProjectInclude] = None
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class VirtualMachineAttributesTypedDict(TypedDict):
|
|
105
|
+
id: NotRequired[str]
|
|
106
|
+
type: NotRequired[VirtualMachineAttributesType]
|
|
107
|
+
attributes: NotRequired[VirtualMachineAttributesAttributesTypedDict]
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class VirtualMachineAttributes(BaseModel):
|
|
111
|
+
id: Optional[str] = None
|
|
112
|
+
|
|
113
|
+
type: Optional[VirtualMachineAttributesType] = None
|
|
114
|
+
|
|
115
|
+
attributes: Optional[VirtualMachineAttributesAttributes] = None
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from enum import Enum
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import List, Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class VirtualMachinePayloadType(str, Enum):
|
|
11
|
+
VIRTUAL_MACHINES = "virtual_machines"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class VirtualMachinePayloadAttributesTypedDict(TypedDict):
|
|
15
|
+
name: NotRequired[str]
|
|
16
|
+
plan: NotRequired[str]
|
|
17
|
+
ssh_keys: NotRequired[List[str]]
|
|
18
|
+
project: NotRequired[str]
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class VirtualMachinePayloadAttributes(BaseModel):
|
|
22
|
+
name: Optional[str] = "my-vm"
|
|
23
|
+
|
|
24
|
+
plan: Optional[str] = None
|
|
25
|
+
|
|
26
|
+
ssh_keys: Optional[List[str]] = None
|
|
27
|
+
|
|
28
|
+
project: Optional[str] = "my-project"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class VirtualMachinePayloadDataTypedDict(TypedDict):
|
|
32
|
+
type: NotRequired[VirtualMachinePayloadType]
|
|
33
|
+
attributes: NotRequired[VirtualMachinePayloadAttributesTypedDict]
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class VirtualMachinePayloadData(BaseModel):
|
|
37
|
+
type: Optional[VirtualMachinePayloadType] = None
|
|
38
|
+
|
|
39
|
+
attributes: Optional[VirtualMachinePayloadAttributes] = None
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class VirtualMachinePayloadTypedDict(TypedDict):
|
|
43
|
+
data: NotRequired[VirtualMachinePayloadDataTypedDict]
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class VirtualMachinePayload(BaseModel):
|
|
47
|
+
data: Optional[VirtualMachinePayloadData] = None
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from enum import Enum
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import List, Optional
|
|
8
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class VirtualMachinePlansType(str, Enum):
|
|
12
|
+
r"""The type of the resource"""
|
|
13
|
+
|
|
14
|
+
VIRTUAL_MACHINE_PLANS = "virtual_machine_plans"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class VirtualMachinePlansDataType(str, Enum):
|
|
18
|
+
r"""The type of the disk"""
|
|
19
|
+
|
|
20
|
+
LOCAL = "local"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class VirtualMachinePlansUnit(str, Enum):
|
|
24
|
+
r"""The unit of the disk size"""
|
|
25
|
+
|
|
26
|
+
GIB = "gib"
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class SizeTypedDict(TypedDict):
|
|
30
|
+
amount: NotRequired[int]
|
|
31
|
+
r"""The total size of the disk"""
|
|
32
|
+
unit: NotRequired[VirtualMachinePlansUnit]
|
|
33
|
+
r"""The unit of the disk size"""
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class Size(BaseModel):
|
|
37
|
+
amount: Optional[int] = None
|
|
38
|
+
r"""The total size of the disk"""
|
|
39
|
+
|
|
40
|
+
unit: Optional[VirtualMachinePlansUnit] = None
|
|
41
|
+
r"""The unit of the disk size"""
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class DiskTypedDict(TypedDict):
|
|
45
|
+
type: NotRequired[VirtualMachinePlansDataType]
|
|
46
|
+
r"""The type of the disk"""
|
|
47
|
+
size: NotRequired[SizeTypedDict]
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class Disk(BaseModel):
|
|
51
|
+
type: Optional[VirtualMachinePlansDataType] = None
|
|
52
|
+
r"""The type of the disk"""
|
|
53
|
+
|
|
54
|
+
size: Optional[Size] = None
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class VirtualMachinePlansSpecsTypedDict(TypedDict):
|
|
58
|
+
memory: NotRequired[int]
|
|
59
|
+
r"""The total memory"""
|
|
60
|
+
vcpus: NotRequired[int]
|
|
61
|
+
r"""The number of virtual CPUs"""
|
|
62
|
+
disk: NotRequired[DiskTypedDict]
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
class VirtualMachinePlansSpecs(BaseModel):
|
|
66
|
+
memory: Optional[int] = None
|
|
67
|
+
r"""The total memory"""
|
|
68
|
+
|
|
69
|
+
vcpus: Optional[int] = None
|
|
70
|
+
r"""The number of virtual CPUs"""
|
|
71
|
+
|
|
72
|
+
disk: Optional[Disk] = None
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
class VirtualMachinePlansUSDTypedDict(TypedDict):
|
|
76
|
+
hour: NotRequired[float]
|
|
77
|
+
month: NotRequired[float]
|
|
78
|
+
year: NotRequired[float]
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class VirtualMachinePlansUSD(BaseModel):
|
|
82
|
+
hour: Optional[float] = None
|
|
83
|
+
|
|
84
|
+
month: Optional[float] = None
|
|
85
|
+
|
|
86
|
+
year: Optional[float] = None
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
class VirtualMachinePlansBRLTypedDict(TypedDict):
|
|
90
|
+
hour: NotRequired[float]
|
|
91
|
+
month: NotRequired[float]
|
|
92
|
+
year: NotRequired[float]
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class VirtualMachinePlansBRL(BaseModel):
|
|
96
|
+
hour: Optional[float] = None
|
|
97
|
+
|
|
98
|
+
month: Optional[float] = None
|
|
99
|
+
|
|
100
|
+
year: Optional[float] = None
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
class VirtualMachinePlansPricingTypedDict(TypedDict):
|
|
104
|
+
usd: NotRequired[VirtualMachinePlansUSDTypedDict]
|
|
105
|
+
brl: NotRequired[VirtualMachinePlansBRLTypedDict]
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class VirtualMachinePlansPricing(BaseModel):
|
|
109
|
+
usd: Annotated[Optional[VirtualMachinePlansUSD], pydantic.Field(alias="USD")] = None
|
|
110
|
+
|
|
111
|
+
brl: Annotated[Optional[VirtualMachinePlansBRL], pydantic.Field(alias="BRL")] = None
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class VirtualMachinePlansRegionsTypedDict(TypedDict):
|
|
115
|
+
name: NotRequired[str]
|
|
116
|
+
available: NotRequired[List[str]]
|
|
117
|
+
pricing: NotRequired[VirtualMachinePlansPricingTypedDict]
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class VirtualMachinePlansRegions(BaseModel):
|
|
121
|
+
name: Optional[str] = None
|
|
122
|
+
|
|
123
|
+
available: Optional[List[str]] = None
|
|
124
|
+
|
|
125
|
+
pricing: Optional[VirtualMachinePlansPricing] = None
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
class VirtualMachinePlansStockLevel(str, Enum):
|
|
129
|
+
r"""The stock level of the plan"""
|
|
130
|
+
|
|
131
|
+
LOW = "low"
|
|
132
|
+
UNAVAILABLE = "unavailable"
|
|
133
|
+
MEDIUM = "medium"
|
|
134
|
+
HIGH = "high"
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class VirtualMachinePlansAttributesTypedDict(TypedDict):
|
|
138
|
+
name: NotRequired[str]
|
|
139
|
+
r"""The name of the plan"""
|
|
140
|
+
specs: NotRequired[VirtualMachinePlansSpecsTypedDict]
|
|
141
|
+
regions: NotRequired[List[VirtualMachinePlansRegionsTypedDict]]
|
|
142
|
+
stock_level: NotRequired[VirtualMachinePlansStockLevel]
|
|
143
|
+
r"""The stock level of the plan"""
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
class VirtualMachinePlansAttributes(BaseModel):
|
|
147
|
+
name: Optional[str] = None
|
|
148
|
+
r"""The name of the plan"""
|
|
149
|
+
|
|
150
|
+
specs: Optional[VirtualMachinePlansSpecs] = None
|
|
151
|
+
|
|
152
|
+
regions: Optional[List[VirtualMachinePlansRegions]] = None
|
|
153
|
+
|
|
154
|
+
stock_level: Optional[VirtualMachinePlansStockLevel] = None
|
|
155
|
+
r"""The stock level of the plan"""
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class VirtualMachinePlansDataTypedDict(TypedDict):
|
|
159
|
+
id: NotRequired[str]
|
|
160
|
+
r"""The ID of the plan"""
|
|
161
|
+
type: NotRequired[VirtualMachinePlansType]
|
|
162
|
+
r"""The type of the resource"""
|
|
163
|
+
attributes: NotRequired[VirtualMachinePlansAttributesTypedDict]
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
class VirtualMachinePlansData(BaseModel):
|
|
167
|
+
id: Optional[str] = None
|
|
168
|
+
r"""The ID of the plan"""
|
|
169
|
+
|
|
170
|
+
type: Optional[VirtualMachinePlansType] = None
|
|
171
|
+
r"""The type of the resource"""
|
|
172
|
+
|
|
173
|
+
attributes: Optional[VirtualMachinePlansAttributes] = None
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class VirtualMachinePlansTypedDict(TypedDict):
|
|
177
|
+
data: NotRequired[List[VirtualMachinePlansDataTypedDict]]
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
class VirtualMachinePlans(BaseModel):
|
|
181
|
+
data: Optional[List[VirtualMachinePlansData]] = None
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .virtual_network_data import VirtualNetworkData, VirtualNetworkDataTypedDict
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class VirtualNetworkMetaTypedDict(TypedDict):
|
|
11
|
+
pass
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class VirtualNetworkMeta(BaseModel):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class VirtualNetworkTypedDict(TypedDict):
|
|
19
|
+
data: NotRequired[VirtualNetworkDataTypedDict]
|
|
20
|
+
meta: NotRequired[VirtualNetworkMetaTypedDict]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class VirtualNetwork(BaseModel):
|
|
24
|
+
data: Optional[VirtualNetworkData] = None
|
|
25
|
+
|
|
26
|
+
meta: Optional[VirtualNetworkMeta] = None
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .virtual_network_assignment_data import (
|
|
5
|
+
VirtualNetworkAssignmentData,
|
|
6
|
+
VirtualNetworkAssignmentDataTypedDict,
|
|
7
|
+
)
|
|
8
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
9
|
+
from typing import Optional
|
|
10
|
+
from typing_extensions import NotRequired, TypedDict
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class VirtualNetworkAssignmentMetaTypedDict(TypedDict):
|
|
14
|
+
pass
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
class VirtualNetworkAssignmentMeta(BaseModel):
|
|
18
|
+
pass
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class VirtualNetworkAssignmentTypedDict(TypedDict):
|
|
22
|
+
data: NotRequired[VirtualNetworkAssignmentDataTypedDict]
|
|
23
|
+
meta: NotRequired[VirtualNetworkAssignmentMetaTypedDict]
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class VirtualNetworkAssignment(BaseModel):
|
|
27
|
+
data: Optional[VirtualNetworkAssignmentData] = None
|
|
28
|
+
|
|
29
|
+
meta: Optional[VirtualNetworkAssignmentMeta] = None
|