From c7c1e4fa406aeca7e73aa15215e9d235f6a42d2c Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Thu, 28 May 2026 12:56:27 +0000 Subject: [PATCH] Generate vpn --- services/vpn/oas_commit | 2 +- services/vpn/src/stackit/vpn/models/bgp_gateway_config.py | 3 +-- .../vpn/src/stackit/vpn/models/gateway_status_response.py | 8 +++++++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/services/vpn/oas_commit b/services/vpn/oas_commit index 05026c103..9fb946c55 100644 --- a/services/vpn/oas_commit +++ b/services/vpn/oas_commit @@ -1 +1 @@ -91111d4871a604207235ce0835c7840677bda134 +a06cb6347c39c30aa1f6e1a1e0a25805978b4fb0 diff --git a/services/vpn/src/stackit/vpn/models/bgp_gateway_config.py b/services/vpn/src/stackit/vpn/models/bgp_gateway_config.py index c60a82be4..e2ac02bba 100644 --- a/services/vpn/src/stackit/vpn/models/bgp_gateway_config.py +++ b/services/vpn/src/stackit/vpn/models/bgp_gateway_config.py @@ -27,8 +27,7 @@ class BGPGatewayConfig(BaseModel): BGP configuration effects all connections. (only for routingMode=BGP_ROUTE_BASED) """ # noqa: E501 - local_asn: Optional[Annotated[int, Field(le=4294967294, strict=True, ge=64512)]] = Field( - default=None, + local_asn: Annotated[int, Field(le=4294967294, strict=True, ge=64512)] = Field( description="ASN for private use (reserved by IANA), both 16Bit and 32Bit ranges are valid (RFC 6996). ", alias="localAsn", ) diff --git a/services/vpn/src/stackit/vpn/models/gateway_status_response.py b/services/vpn/src/stackit/vpn/models/gateway_status_response.py index 50d2b66cd..7b1d57795 100644 --- a/services/vpn/src/stackit/vpn/models/gateway_status_response.py +++ b/services/vpn/src/stackit/vpn/models/gateway_status_response.py @@ -36,10 +36,15 @@ class GatewayStatusResponse(BaseModel): display_name: Optional[StrictStr] = Field( default=None, description="Name of the Gateway instance.", alias="displayName" ) + error_message: Optional[StrictStr] = Field( + default=None, + description="A descriptive message provided when the gateway is in an error state.", + alias="errorMessage", + ) gateway_status: Optional[GatewayStatus] = Field(default=None, alias="gatewayStatus") id: Optional[UUID] = Field(default=None, description="UUID of the Gateway instance.") tunnels: Optional[List[VPNTunnels]] = None - __properties: ClassVar[List[str]] = ["connections", "displayName", "gatewayStatus", "id", "tunnels"] + __properties: ClassVar[List[str]] = ["connections", "displayName", "errorMessage", "gatewayStatus", "id", "tunnels"] model_config = ConfigDict( validate_by_name=True, @@ -111,6 +116,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: else None ), "displayName": obj.get("displayName"), + "errorMessage": obj.get("errorMessage"), "gatewayStatus": obj.get("gatewayStatus"), "id": obj.get("id"), "tunnels": (