From 293d872ba6ec3cf7706cd523ca9efa76b8e2f2a9 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Fri, 17 Jul 2026 07:47:15 +0000 Subject: [PATCH] Generate alb --- services/alb/oas_commit | 2 +- services/alb/src/stackit/alb/exceptions.py | 8 ++++---- .../alb/src/stackit/alb/models/load_balancer_error.py | 6 +++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/services/alb/oas_commit b/services/alb/oas_commit index 36076afe8..97ce74323 100644 --- a/services/alb/oas_commit +++ b/services/alb/oas_commit @@ -1 +1 @@ -87a3ad63dec0a953ff5c6072ad9a15fddd8ec5f8 +e4d23dc7d62fd23751cce23a8f70967f581bb282 diff --git a/services/alb/src/stackit/alb/exceptions.py b/services/alb/src/stackit/alb/exceptions.py index 297834376..4840e64f4 100644 --- a/services/alb/src/stackit/alb/exceptions.py +++ b/services/alb/src/stackit/alb/exceptions.py @@ -45,7 +45,7 @@ def __init__(self, msg, path_to_item=None, valid_classes=None, key_type=None) -> full_msg = msg if path_to_item: full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiTypeError, self).__init__(full_msg) + super(ApiTypeError, self).__init__(full_msg, path_to_item, valid_classes, key_type) class ApiValueError(OpenApiException, ValueError): @@ -63,7 +63,7 @@ def __init__(self, msg, path_to_item=None) -> None: full_msg = msg if path_to_item: full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiValueError, self).__init__(full_msg) + super(ApiValueError, self).__init__(full_msg, path_to_item) class ApiAttributeError(OpenApiException, AttributeError): @@ -82,7 +82,7 @@ def __init__(self, msg, path_to_item=None) -> None: full_msg = msg if path_to_item: full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiAttributeError, self).__init__(full_msg) + super(ApiAttributeError, self).__init__(full_msg, path_to_item) class ApiKeyError(OpenApiException, KeyError): @@ -99,7 +99,7 @@ def __init__(self, msg, path_to_item=None) -> None: full_msg = msg if path_to_item: full_msg = "{0} at {1}".format(msg, render_path(path_to_item)) - super(ApiKeyError, self).__init__(full_msg) + super(ApiKeyError, self).__init__(full_msg, path_to_item) class ApiException(OpenApiException): diff --git a/services/alb/src/stackit/alb/models/load_balancer_error.py b/services/alb/src/stackit/alb/models/load_balancer_error.py index 557aaa0c2..6542ec21a 100644 --- a/services/alb/src/stackit/alb/models/load_balancer_error.py +++ b/services/alb/src/stackit/alb/models/load_balancer_error.py @@ -54,10 +54,14 @@ def type_validate_enum(cls, value): "TYPE_TARGET_NOT_ACTIVE", "TYPE_METRICS_MISCONFIGURED", "TYPE_LOGS_MISCONFIGURED", + "TYPE_FIP_NOT_FOUND", + "TYPE_IP_EXHAUSTED", + "TYPE_DNS_NOT_CONFIGURED", + "TYPE_VM_PORT_NOT_CONFIGURED", ] ): raise ValueError( - "must be one of enum values ('TYPE_UNSPECIFIED', 'TYPE_INTERNAL', 'TYPE_QUOTA_SECGROUP_EXCEEDED', 'TYPE_QUOTA_SECGROUPRULE_EXCEEDED', 'TYPE_PORT_NOT_CONFIGURED', 'TYPE_FIP_NOT_CONFIGURED', 'TYPE_TARGET_NOT_ACTIVE', 'TYPE_METRICS_MISCONFIGURED', 'TYPE_LOGS_MISCONFIGURED')" + "must be one of enum values ('TYPE_UNSPECIFIED', 'TYPE_INTERNAL', 'TYPE_QUOTA_SECGROUP_EXCEEDED', 'TYPE_QUOTA_SECGROUPRULE_EXCEEDED', 'TYPE_PORT_NOT_CONFIGURED', 'TYPE_FIP_NOT_CONFIGURED', 'TYPE_TARGET_NOT_ACTIVE', 'TYPE_METRICS_MISCONFIGURED', 'TYPE_LOGS_MISCONFIGURED', 'TYPE_FIP_NOT_FOUND', 'TYPE_IP_EXHAUSTED', 'TYPE_DNS_NOT_CONFIGURED', 'TYPE_VM_PORT_NOT_CONFIGURED')" ) return value