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,140 @@
|
|
|
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 latitudesh_python_sdk.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
PathParamMetadata,
|
|
9
|
+
RequestMetadata,
|
|
10
|
+
)
|
|
11
|
+
from typing import List, Optional
|
|
12
|
+
from typing_extensions import Annotated, NotRequired, TypedDict
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CreateServerReinstallServersType(str, Enum):
|
|
16
|
+
REINSTALLS = "reinstalls"
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class CreateServerReinstallServersOperatingSystem(str, Enum):
|
|
20
|
+
r"""The OS selected for the reinstall process"""
|
|
21
|
+
|
|
22
|
+
IPXE = "ipxe"
|
|
23
|
+
WINDOWS_SERVER_2019_STD_V1 = "windows_server_2019_std_v1"
|
|
24
|
+
UBUNTU_22_04_X64_LTS = "ubuntu_22_04_x64_lts"
|
|
25
|
+
DEBIAN_11 = "debian_11"
|
|
26
|
+
DEBIAN_10 = "debian_10"
|
|
27
|
+
RHEL8 = "rhel8"
|
|
28
|
+
WINDOWS_SERVER_2012_R2_STD_V28 = "windows_server_2012_r2_std_v28"
|
|
29
|
+
WINDOWS_SERVER_2012_R2_DC_V5 = "windows_server_2012_r2_dc_v5"
|
|
30
|
+
ESXI_6_7 = "esxi_6_7"
|
|
31
|
+
DEBIAN_9_4_X64 = "debian_9_4_x64"
|
|
32
|
+
CENTOS_7_4_X64 = "centos_7_4_x64"
|
|
33
|
+
CENTOS_8_X64 = "centos_8_x64"
|
|
34
|
+
UBUNTU_16_04_X64_LTS = "ubuntu_16_04_x64_lts"
|
|
35
|
+
UBUNTU_20_04_X64_LTS = "ubuntu_20_04_x64_lts"
|
|
36
|
+
WINDOWS_SERVER_2016_STD_V1 = "windows_server_2016_std_v1"
|
|
37
|
+
WINDOWS_SERVER_2016_DC_V1 = "windows_server_2016_dc_v1"
|
|
38
|
+
WINDOWS_SERVER_2019_DC_V1 = "windows_server_2019_dc_v1"
|
|
39
|
+
DEBIAN_12 = "debian_12"
|
|
40
|
+
UBUNTU22_ML_IN_A_BOX = "ubuntu22_ml_in_a_box"
|
|
41
|
+
UBUNTU_18_04_X64_LTS = "ubuntu_18_04_x64_lts"
|
|
42
|
+
WINDOWS_SERVER_2019_STD_UEFI = "windows_server_2019_std_uefi"
|
|
43
|
+
WINDOWS_2022_STD_UEFI = "windows_2022_std_uefi"
|
|
44
|
+
WINDOWS_2022_STD = "windows_2022_std"
|
|
45
|
+
UBUNTU_24_04_X64_LTS = "ubuntu_24_04_x64_lts"
|
|
46
|
+
ROCKYLINUX_8 = "rockylinux_8"
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class CreateServerReinstallServersPartitionsTypedDict(TypedDict):
|
|
50
|
+
size_in_gb: NotRequired[int]
|
|
51
|
+
path: NotRequired[str]
|
|
52
|
+
filesystem_type: NotRequired[str]
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class CreateServerReinstallServersPartitions(BaseModel):
|
|
56
|
+
size_in_gb: Optional[int] = None
|
|
57
|
+
|
|
58
|
+
path: Optional[str] = None
|
|
59
|
+
|
|
60
|
+
filesystem_type: Optional[str] = None
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
class CreateServerReinstallServersRaid(str, Enum):
|
|
64
|
+
r"""RAID mode for the server"""
|
|
65
|
+
|
|
66
|
+
RAID_0 = "raid-0"
|
|
67
|
+
RAID_1 = "raid-1"
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class CreateServerReinstallServersAttributesTypedDict(TypedDict):
|
|
71
|
+
operating_system: NotRequired[CreateServerReinstallServersOperatingSystem]
|
|
72
|
+
r"""The OS selected for the reinstall process"""
|
|
73
|
+
hostname: NotRequired[str]
|
|
74
|
+
r"""The server hostname to set upon reinstall"""
|
|
75
|
+
partitions: NotRequired[List[CreateServerReinstallServersPartitionsTypedDict]]
|
|
76
|
+
ssh_keys: NotRequired[List[str]]
|
|
77
|
+
r"""SSH Key IDs to set upon reinstall"""
|
|
78
|
+
user_data: NotRequired[str]
|
|
79
|
+
r"""User data ID to set upon reinstall"""
|
|
80
|
+
raid: NotRequired[CreateServerReinstallServersRaid]
|
|
81
|
+
r"""RAID mode for the server"""
|
|
82
|
+
ipxe: NotRequired[str]
|
|
83
|
+
r"""URL where iPXE script is stored on, OR the iPXE script encoded in base64. This attribute is required when operating system iPXE is selected."""
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
class CreateServerReinstallServersAttributes(BaseModel):
|
|
87
|
+
operating_system: Optional[CreateServerReinstallServersOperatingSystem] = None
|
|
88
|
+
r"""The OS selected for the reinstall process"""
|
|
89
|
+
|
|
90
|
+
hostname: Optional[str] = None
|
|
91
|
+
r"""The server hostname to set upon reinstall"""
|
|
92
|
+
|
|
93
|
+
partitions: Optional[List[CreateServerReinstallServersPartitions]] = None
|
|
94
|
+
|
|
95
|
+
ssh_keys: Optional[List[str]] = None
|
|
96
|
+
r"""SSH Key IDs to set upon reinstall"""
|
|
97
|
+
|
|
98
|
+
user_data: Optional[str] = None
|
|
99
|
+
r"""User data ID to set upon reinstall"""
|
|
100
|
+
|
|
101
|
+
raid: Optional[CreateServerReinstallServersRaid] = None
|
|
102
|
+
r"""RAID mode for the server"""
|
|
103
|
+
|
|
104
|
+
ipxe: Optional[str] = None
|
|
105
|
+
r"""URL where iPXE script is stored on, OR the iPXE script encoded in base64. This attribute is required when operating system iPXE is selected."""
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class CreateServerReinstallServersDataTypedDict(TypedDict):
|
|
109
|
+
type: CreateServerReinstallServersType
|
|
110
|
+
attributes: NotRequired[CreateServerReinstallServersAttributesTypedDict]
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class CreateServerReinstallServersData(BaseModel):
|
|
114
|
+
type: CreateServerReinstallServersType
|
|
115
|
+
|
|
116
|
+
attributes: Optional[CreateServerReinstallServersAttributes] = None
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
class CreateServerReinstallServersRequestBodyTypedDict(TypedDict):
|
|
120
|
+
data: CreateServerReinstallServersDataTypedDict
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
class CreateServerReinstallServersRequestBody(BaseModel):
|
|
124
|
+
data: CreateServerReinstallServersData
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
class CreateServerReinstallRequestTypedDict(TypedDict):
|
|
128
|
+
server_id: str
|
|
129
|
+
request_body: CreateServerReinstallServersRequestBodyTypedDict
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class CreateServerReinstallRequest(BaseModel):
|
|
133
|
+
server_id: Annotated[
|
|
134
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
135
|
+
]
|
|
136
|
+
|
|
137
|
+
request_body: Annotated[
|
|
138
|
+
CreateServerReinstallServersRequestBody,
|
|
139
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
140
|
+
]
|
|
@@ -0,0 +1,173 @@
|
|
|
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 CreateServerServersType(str, Enum):
|
|
11
|
+
SERVERS = "servers"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CreateServerServersPlan(str, Enum):
|
|
15
|
+
r"""The plan slug to choose server from, defining the specs the server will have"""
|
|
16
|
+
|
|
17
|
+
C2_LARGE_X86 = "c2-large-x86"
|
|
18
|
+
C2_MEDIUM_X86 = "c2-medium-x86"
|
|
19
|
+
C2_SMALL_X86 = "c2-small-x86"
|
|
20
|
+
C3_LARGE_X86 = "c3-large-x86"
|
|
21
|
+
C3_MEDIUM_X86 = "c3-medium-x86"
|
|
22
|
+
C3_SMALL_X86 = "c3-small-x86"
|
|
23
|
+
C3_XLARGE_X86 = "c3-xlarge-x86"
|
|
24
|
+
G3_LARGE_X86 = "g3-large-x86"
|
|
25
|
+
G3_MEDIUM_X86 = "g3-medium-x86"
|
|
26
|
+
G3_SMALL_X86 = "g3-small-x86"
|
|
27
|
+
G3_XLARGE_X86 = "g3-xlarge-x86"
|
|
28
|
+
M3_LARGE_X86 = "m3-large-x86"
|
|
29
|
+
S2_SMALL_X86 = "s2-small-x86"
|
|
30
|
+
S3_LARGE_X86 = "s3-large-x86"
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class CreateServerServersSite(str, Enum):
|
|
34
|
+
r"""The site slug to deploy the server"""
|
|
35
|
+
|
|
36
|
+
ASH = "ASH"
|
|
37
|
+
BGT = "BGT"
|
|
38
|
+
BUE = "BUE"
|
|
39
|
+
CHI = "CHI"
|
|
40
|
+
DAL = "DAL"
|
|
41
|
+
FRA = "FRA"
|
|
42
|
+
LAX = "LAX"
|
|
43
|
+
LON = "LON"
|
|
44
|
+
MEX = "MEX"
|
|
45
|
+
MEX2 = "MEX2"
|
|
46
|
+
MIA = "MIA"
|
|
47
|
+
MIA2 = "MIA2"
|
|
48
|
+
NYC = "NYC"
|
|
49
|
+
SAN = "SAN"
|
|
50
|
+
SAO = "SAO"
|
|
51
|
+
SAO2 = "SAO2"
|
|
52
|
+
SYD = "SYD"
|
|
53
|
+
TYO = "TYO"
|
|
54
|
+
TYO2 = "TYO2"
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class CreateServerServersOperatingSystem(str, Enum):
|
|
58
|
+
r"""The operating system slug for the new server"""
|
|
59
|
+
|
|
60
|
+
IPXE = "ipxe"
|
|
61
|
+
WINDOWS_SERVER_2019_STD_V1 = "windows_server_2019_std_v1"
|
|
62
|
+
UBUNTU_22_04_X64_LTS = "ubuntu_22_04_x64_lts"
|
|
63
|
+
DEBIAN_11 = "debian_11"
|
|
64
|
+
DEBIAN_10 = "debian_10"
|
|
65
|
+
RHEL8 = "rhel8"
|
|
66
|
+
WINDOWS_SERVER_2012_R2_STD_V28 = "windows_server_2012_r2_std_v28"
|
|
67
|
+
WINDOWS_SERVER_2012_R2_DC_V5 = "windows_server_2012_r2_dc_v5"
|
|
68
|
+
ESXI_6_7 = "esxi_6_7"
|
|
69
|
+
DEBIAN_9_4_X64 = "debian_9_4_x64"
|
|
70
|
+
CENTOS_7_4_X64 = "centos_7_4_x64"
|
|
71
|
+
CENTOS_8_X64 = "centos_8_x64"
|
|
72
|
+
UBUNTU_16_04_X64_LTS = "ubuntu_16_04_x64_lts"
|
|
73
|
+
UBUNTU_20_04_X64_LTS = "ubuntu_20_04_x64_lts"
|
|
74
|
+
WINDOWS_SERVER_2016_STD_V1 = "windows_server_2016_std_v1"
|
|
75
|
+
WINDOWS_SERVER_2016_DC_V1 = "windows_server_2016_dc_v1"
|
|
76
|
+
WINDOWS_SERVER_2019_DC_V1 = "windows_server_2019_dc_v1"
|
|
77
|
+
DEBIAN_12 = "debian_12"
|
|
78
|
+
UBUNTU22_ML_IN_A_BOX = "ubuntu22_ml_in_a_box"
|
|
79
|
+
UBUNTU_18_04_X64_LTS = "ubuntu_18_04_x64_lts"
|
|
80
|
+
WINDOWS_SERVER_2019_STD_UEFI = "windows_server_2019_std_uefi"
|
|
81
|
+
WINDOWS_2022_STD_UEFI = "windows_2022_std_uefi"
|
|
82
|
+
WINDOWS_2022_STD = "windows_2022_std"
|
|
83
|
+
UBUNTU_24_04_X64_LTS = "ubuntu_24_04_x64_lts"
|
|
84
|
+
ROCKYLINUX_8 = "rockylinux_8"
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class CreateServerRaid(str, Enum):
|
|
88
|
+
r"""RAID mode for the server"""
|
|
89
|
+
|
|
90
|
+
RAID_0 = "raid-0"
|
|
91
|
+
RAID_1 = "raid-1"
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
class CreateServerServersBilling(str, Enum):
|
|
95
|
+
r"""The server billing type. Accepts `hourly` and `monthly` for on demand projects and `yearly` for reserved projects."""
|
|
96
|
+
|
|
97
|
+
HOURLY = "hourly"
|
|
98
|
+
MONTHLY = "monthly"
|
|
99
|
+
YEARLY = "yearly"
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class CreateServerServersAttributesTypedDict(TypedDict):
|
|
103
|
+
project: NotRequired[str]
|
|
104
|
+
r"""The project (ID or Slug) to deploy the server"""
|
|
105
|
+
plan: NotRequired[CreateServerServersPlan]
|
|
106
|
+
r"""The plan slug to choose server from, defining the specs the server will have"""
|
|
107
|
+
site: NotRequired[CreateServerServersSite]
|
|
108
|
+
r"""The site slug to deploy the server"""
|
|
109
|
+
operating_system: NotRequired[CreateServerServersOperatingSystem]
|
|
110
|
+
r"""The operating system slug for the new server"""
|
|
111
|
+
hostname: NotRequired[str]
|
|
112
|
+
r"""The server hostname"""
|
|
113
|
+
ssh_keys: NotRequired[List[str]]
|
|
114
|
+
r"""SSH Keys to set on the server"""
|
|
115
|
+
user_data: NotRequired[str]
|
|
116
|
+
r"""User data ID to set on the server. This is a custom script that will run after the deploy"""
|
|
117
|
+
raid: NotRequired[CreateServerRaid]
|
|
118
|
+
r"""RAID mode for the server"""
|
|
119
|
+
ipxe: NotRequired[str]
|
|
120
|
+
r"""URL where iPXE script is stored on, OR the iPXE script encoded in base64. This attribute is required when iPXE is selected as operating system."""
|
|
121
|
+
billing: NotRequired[CreateServerServersBilling]
|
|
122
|
+
r"""The server billing type. Accepts `hourly` and `monthly` for on demand projects and `yearly` for reserved projects."""
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
class CreateServerServersAttributes(BaseModel):
|
|
126
|
+
project: Optional[str] = None
|
|
127
|
+
r"""The project (ID or Slug) to deploy the server"""
|
|
128
|
+
|
|
129
|
+
plan: Optional[CreateServerServersPlan] = None
|
|
130
|
+
r"""The plan slug to choose server from, defining the specs the server will have"""
|
|
131
|
+
|
|
132
|
+
site: Optional[CreateServerServersSite] = None
|
|
133
|
+
r"""The site slug to deploy the server"""
|
|
134
|
+
|
|
135
|
+
operating_system: Optional[CreateServerServersOperatingSystem] = None
|
|
136
|
+
r"""The operating system slug for the new server"""
|
|
137
|
+
|
|
138
|
+
hostname: Optional[str] = None
|
|
139
|
+
r"""The server hostname"""
|
|
140
|
+
|
|
141
|
+
ssh_keys: Optional[List[str]] = None
|
|
142
|
+
r"""SSH Keys to set on the server"""
|
|
143
|
+
|
|
144
|
+
user_data: Optional[str] = None
|
|
145
|
+
r"""User data ID to set on the server. This is a custom script that will run after the deploy"""
|
|
146
|
+
|
|
147
|
+
raid: Optional[CreateServerRaid] = None
|
|
148
|
+
r"""RAID mode for the server"""
|
|
149
|
+
|
|
150
|
+
ipxe: Optional[str] = None
|
|
151
|
+
r"""URL where iPXE script is stored on, OR the iPXE script encoded in base64. This attribute is required when iPXE is selected as operating system."""
|
|
152
|
+
|
|
153
|
+
billing: Optional[CreateServerServersBilling] = None
|
|
154
|
+
r"""The server billing type. Accepts `hourly` and `monthly` for on demand projects and `yearly` for reserved projects."""
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
class CreateServerServersDataTypedDict(TypedDict):
|
|
158
|
+
type: CreateServerServersType
|
|
159
|
+
attributes: NotRequired[CreateServerServersAttributesTypedDict]
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
class CreateServerServersData(BaseModel):
|
|
163
|
+
type: CreateServerServersType
|
|
164
|
+
|
|
165
|
+
attributes: Optional[CreateServerServersAttributes] = None
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class CreateServerServersRequestBodyTypedDict(TypedDict):
|
|
169
|
+
data: NotRequired[CreateServerServersDataTypedDict]
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
class CreateServerServersRequestBody(BaseModel):
|
|
173
|
+
data: Optional[CreateServerServersData] = None
|
|
@@ -0,0 +1,50 @@
|
|
|
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 CreateTagTagsType(str, Enum):
|
|
11
|
+
TAGS = "tags"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CreateTagTagsAttributesTypedDict(TypedDict):
|
|
15
|
+
name: NotRequired[str]
|
|
16
|
+
r"""Name of the Tag"""
|
|
17
|
+
description: NotRequired[str]
|
|
18
|
+
r"""Description of the Tag"""
|
|
19
|
+
color: NotRequired[str]
|
|
20
|
+
r"""Color of the Tag"""
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CreateTagTagsAttributes(BaseModel):
|
|
24
|
+
name: Optional[str] = None
|
|
25
|
+
r"""Name of the Tag"""
|
|
26
|
+
|
|
27
|
+
description: Optional[str] = None
|
|
28
|
+
r"""Description of the Tag"""
|
|
29
|
+
|
|
30
|
+
color: Optional[str] = "#ffffff"
|
|
31
|
+
r"""Color of the Tag"""
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class CreateTagTagsDataTypedDict(TypedDict):
|
|
35
|
+
type: NotRequired[CreateTagTagsType]
|
|
36
|
+
attributes: NotRequired[CreateTagTagsAttributesTypedDict]
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
class CreateTagTagsData(BaseModel):
|
|
40
|
+
type: Optional[CreateTagTagsType] = None
|
|
41
|
+
|
|
42
|
+
attributes: Optional[CreateTagTagsAttributes] = None
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class CreateTagTagsRequestBodyTypedDict(TypedDict):
|
|
46
|
+
data: NotRequired[CreateTagTagsDataTypedDict]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class CreateTagTagsRequestBody(BaseModel):
|
|
50
|
+
data: Optional[CreateTagTagsData] = None
|
|
@@ -0,0 +1,63 @@
|
|
|
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 latitudesh_python_sdk.utils import (
|
|
7
|
+
FieldMetadata,
|
|
8
|
+
PathParamMetadata,
|
|
9
|
+
RequestMetadata,
|
|
10
|
+
)
|
|
11
|
+
from typing_extensions import Annotated, TypedDict
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CreateVirtualMachineActionVirtualMachinesType(str, Enum):
|
|
15
|
+
VIRTUAL_MACHINES = "virtual_machines"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CreateVirtualMachineActionVirtualMachinesAction(str, Enum):
|
|
19
|
+
r"""The action to perform on the virtual machine"""
|
|
20
|
+
|
|
21
|
+
POWER_ON = "power_on"
|
|
22
|
+
POWER_OFF = "power_off"
|
|
23
|
+
REBOOT = "reboot"
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class CreateVirtualMachineActionVirtualMachinesAttributesTypedDict(TypedDict):
|
|
27
|
+
action: CreateVirtualMachineActionVirtualMachinesAction
|
|
28
|
+
r"""The action to perform on the virtual machine"""
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class CreateVirtualMachineActionVirtualMachinesAttributes(BaseModel):
|
|
32
|
+
action: CreateVirtualMachineActionVirtualMachinesAction
|
|
33
|
+
r"""The action to perform on the virtual machine"""
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class CreateVirtualMachineActionVirtualMachinesRequestBodyTypedDict(TypedDict):
|
|
37
|
+
id: str
|
|
38
|
+
type: CreateVirtualMachineActionVirtualMachinesType
|
|
39
|
+
attributes: CreateVirtualMachineActionVirtualMachinesAttributesTypedDict
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
class CreateVirtualMachineActionVirtualMachinesRequestBody(BaseModel):
|
|
43
|
+
id: str
|
|
44
|
+
|
|
45
|
+
type: CreateVirtualMachineActionVirtualMachinesType
|
|
46
|
+
|
|
47
|
+
attributes: CreateVirtualMachineActionVirtualMachinesAttributes
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class CreateVirtualMachineActionRequestTypedDict(TypedDict):
|
|
51
|
+
virtual_machine_id: str
|
|
52
|
+
request_body: CreateVirtualMachineActionVirtualMachinesRequestBodyTypedDict
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class CreateVirtualMachineActionRequest(BaseModel):
|
|
56
|
+
virtual_machine_id: Annotated[
|
|
57
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
58
|
+
]
|
|
59
|
+
|
|
60
|
+
request_body: Annotated[
|
|
61
|
+
CreateVirtualMachineActionVirtualMachinesRequestBody,
|
|
62
|
+
FieldMetadata(request=RequestMetadata(media_type="application/json")),
|
|
63
|
+
]
|
|
@@ -0,0 +1,72 @@
|
|
|
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 CreateVirtualNetworkPrivateNetworksType(str, Enum):
|
|
11
|
+
VIRTUAL_NETWORK = "virtual_network"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CreateVirtualNetworkPrivateNetworksSite(str, Enum):
|
|
15
|
+
r"""Site ID or slug"""
|
|
16
|
+
|
|
17
|
+
ASH = "ASH"
|
|
18
|
+
BGT = "BGT"
|
|
19
|
+
BUE = "BUE"
|
|
20
|
+
CHI = "CHI"
|
|
21
|
+
DAL = "DAL"
|
|
22
|
+
FRA = "FRA"
|
|
23
|
+
LAX = "LAX"
|
|
24
|
+
LON = "LON"
|
|
25
|
+
MEX = "MEX"
|
|
26
|
+
MEX2 = "MEX2"
|
|
27
|
+
MIA = "MIA"
|
|
28
|
+
MIA2 = "MIA2"
|
|
29
|
+
NYC = "NYC"
|
|
30
|
+
SAN = "SAN"
|
|
31
|
+
SAO = "SAO"
|
|
32
|
+
SAO2 = "SAO2"
|
|
33
|
+
SYD = "SYD"
|
|
34
|
+
TYO = "TYO"
|
|
35
|
+
TYO2 = "TYO2"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class CreateVirtualNetworkPrivateNetworksAttributesTypedDict(TypedDict):
|
|
39
|
+
description: str
|
|
40
|
+
project: str
|
|
41
|
+
r"""Project ID or slug"""
|
|
42
|
+
site: NotRequired[CreateVirtualNetworkPrivateNetworksSite]
|
|
43
|
+
r"""Site ID or slug"""
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
class CreateVirtualNetworkPrivateNetworksAttributes(BaseModel):
|
|
47
|
+
description: str
|
|
48
|
+
|
|
49
|
+
project: str
|
|
50
|
+
r"""Project ID or slug"""
|
|
51
|
+
|
|
52
|
+
site: Optional[CreateVirtualNetworkPrivateNetworksSite] = None
|
|
53
|
+
r"""Site ID or slug"""
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
class CreateVirtualNetworkPrivateNetworksDataTypedDict(TypedDict):
|
|
57
|
+
type: CreateVirtualNetworkPrivateNetworksType
|
|
58
|
+
attributes: CreateVirtualNetworkPrivateNetworksAttributesTypedDict
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class CreateVirtualNetworkPrivateNetworksData(BaseModel):
|
|
62
|
+
type: CreateVirtualNetworkPrivateNetworksType
|
|
63
|
+
|
|
64
|
+
attributes: CreateVirtualNetworkPrivateNetworksAttributes
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class CreateVirtualNetworkPrivateNetworksRequestBodyTypedDict(TypedDict):
|
|
68
|
+
data: CreateVirtualNetworkPrivateNetworksDataTypedDict
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class CreateVirtualNetworkPrivateNetworksRequestBody(BaseModel):
|
|
72
|
+
data: CreateVirtualNetworkPrivateNetworksData
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .custom_tag_data import CustomTagData, CustomTagDataTypedDict
|
|
5
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
6
|
+
from typing import Optional
|
|
7
|
+
from typing_extensions import NotRequired, TypedDict
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class CustomTagMetaTypedDict(TypedDict):
|
|
11
|
+
pass
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CustomTagMeta(BaseModel):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CustomTagTypedDict(TypedDict):
|
|
19
|
+
data: NotRequired[CustomTagDataTypedDict]
|
|
20
|
+
meta: NotRequired[CustomTagMetaTypedDict]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CustomTag(BaseModel):
|
|
24
|
+
data: Optional[CustomTagData] = None
|
|
25
|
+
|
|
26
|
+
meta: Optional[CustomTagMeta] = None
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .team_include import TeamInclude, TeamIncludeTypedDict
|
|
5
|
+
from enum import Enum
|
|
6
|
+
from latitudesh_python_sdk.types import BaseModel
|
|
7
|
+
from typing import Optional
|
|
8
|
+
from typing_extensions import NotRequired, TypedDict
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class CustomTagDataType(str, Enum):
|
|
12
|
+
TAGS = "tags"
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
class CustomTagDataAttributesTypedDict(TypedDict):
|
|
16
|
+
name: NotRequired[str]
|
|
17
|
+
r"""Name of the Tag"""
|
|
18
|
+
slug: NotRequired[str]
|
|
19
|
+
r"""Slug of the Tag"""
|
|
20
|
+
description: NotRequired[str]
|
|
21
|
+
r"""Description of the Tag"""
|
|
22
|
+
color: NotRequired[str]
|
|
23
|
+
r"""Color of the Tag"""
|
|
24
|
+
team: NotRequired[TeamIncludeTypedDict]
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class CustomTagDataAttributes(BaseModel):
|
|
28
|
+
name: Optional[str] = None
|
|
29
|
+
r"""Name of the Tag"""
|
|
30
|
+
|
|
31
|
+
slug: Optional[str] = None
|
|
32
|
+
r"""Slug of the Tag"""
|
|
33
|
+
|
|
34
|
+
description: Optional[str] = None
|
|
35
|
+
r"""Description of the Tag"""
|
|
36
|
+
|
|
37
|
+
color: Optional[str] = None
|
|
38
|
+
r"""Color of the Tag"""
|
|
39
|
+
|
|
40
|
+
team: Optional[TeamInclude] = None
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class CustomTagDataTypedDict(TypedDict):
|
|
44
|
+
id: NotRequired[str]
|
|
45
|
+
type: NotRequired[CustomTagDataType]
|
|
46
|
+
attributes: NotRequired[CustomTagDataAttributesTypedDict]
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
class CustomTagData(BaseModel):
|
|
50
|
+
id: Optional[str] = None
|
|
51
|
+
|
|
52
|
+
type: Optional[CustomTagDataType] = None
|
|
53
|
+
|
|
54
|
+
attributes: Optional[CustomTagDataAttributes] = None
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from .custom_tag_data import CustomTagData, CustomTagDataTypedDict
|
|
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 CustomTagsMetaTypedDict(TypedDict):
|
|
11
|
+
pass
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class CustomTagsMeta(BaseModel):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class CustomTagsTypedDict(TypedDict):
|
|
19
|
+
data: NotRequired[List[CustomTagDataTypedDict]]
|
|
20
|
+
meta: NotRequired[CustomTagsMetaTypedDict]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class CustomTags(BaseModel):
|
|
24
|
+
data: Optional[List[CustomTagData]] = None
|
|
25
|
+
|
|
26
|
+
meta: Optional[CustomTagsMeta] = None
|
|
@@ -0,0 +1,16 @@
|
|
|
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 latitudesh_python_sdk.utils import FieldMetadata, PathParamMetadata
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class DeleteAPIKeyRequestTypedDict(TypedDict):
|
|
10
|
+
api_key_id: str
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class DeleteAPIKeyRequest(BaseModel):
|
|
14
|
+
api_key_id: Annotated[
|
|
15
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
16
|
+
]
|
|
@@ -0,0 +1,25 @@
|
|
|
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 latitudesh_python_sdk.utils import FieldMetadata, PathParamMetadata
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class DeleteFirewallAssignmentRequestTypedDict(TypedDict):
|
|
10
|
+
firewall_id: str
|
|
11
|
+
r"""The Firewall ID"""
|
|
12
|
+
assignment_id: str
|
|
13
|
+
r"""The Assignment ID"""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class DeleteFirewallAssignmentRequest(BaseModel):
|
|
17
|
+
firewall_id: Annotated[
|
|
18
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
19
|
+
]
|
|
20
|
+
r"""The Firewall ID"""
|
|
21
|
+
|
|
22
|
+
assignment_id: Annotated[
|
|
23
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
24
|
+
]
|
|
25
|
+
r"""The Assignment ID"""
|
|
@@ -0,0 +1,18 @@
|
|
|
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 latitudesh_python_sdk.utils import FieldMetadata, PathParamMetadata
|
|
6
|
+
from typing_extensions import Annotated, TypedDict
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class DeleteFirewallRequestTypedDict(TypedDict):
|
|
10
|
+
firewall_id: str
|
|
11
|
+
r"""The Firewall ID"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class DeleteFirewallRequest(BaseModel):
|
|
15
|
+
firewall_id: Annotated[
|
|
16
|
+
str, FieldMetadata(path=PathParamMetadata(style="simple", explode=False))
|
|
17
|
+
]
|
|
18
|
+
r"""The Firewall ID"""
|