diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv4.py b/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv4.py index 47975eaa..a9a402f5 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv4.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv4.py @@ -43,9 +43,19 @@ class CreateNetworkIPv4(BaseModel): """ # data type: CreateNetworkIPv4WithPrefix + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_1_validator: Optional[CreateNetworkIPv4WithPrefix] = None + # END of the workaround # data type: CreateNetworkIPv4WithPrefixLength + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_2_validator: Optional[CreateNetworkIPv4WithPrefixLength] = None + # END of the workaround actual_instance: Optional[Union[CreateNetworkIPv4WithPrefix, CreateNetworkIPv4WithPrefixLength]] = None one_of_schemas: Set[str] = {"CreateNetworkIPv4WithPrefix", "CreateNetworkIPv4WithPrefixLength"} diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv6.py b/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv6.py index 0d901410..56da6bcb 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv6.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/create_network_ipv6.py @@ -43,9 +43,19 @@ class CreateNetworkIPv6(BaseModel): """ # data type: CreateNetworkIPv6WithPrefix + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_1_validator: Optional[CreateNetworkIPv6WithPrefix] = None + # END of the workaround # data type: CreateNetworkIPv6WithPrefixLength + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_2_validator: Optional[CreateNetworkIPv6WithPrefixLength] = None + # END of the workaround actual_instance: Optional[Union[CreateNetworkIPv6WithPrefix, CreateNetworkIPv6WithPrefixLength]] = None one_of_schemas: Set[str] = {"CreateNetworkIPv6WithPrefix", "CreateNetworkIPv6WithPrefixLength"} diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/route_destination.py b/services/iaasalpha/src/stackit/iaasalpha/models/route_destination.py index ecb73e0b..b90bb8f8 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/route_destination.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/route_destination.py @@ -39,9 +39,19 @@ class RouteDestination(BaseModel): """ # data type: DestinationCIDRv4 + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_1_validator: Optional[DestinationCIDRv4] = None + # END of the workaround # data type: DestinationCIDRv6 + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_2_validator: Optional[DestinationCIDRv6] = None + # END of the workaround actual_instance: Optional[Union[DestinationCIDRv4, DestinationCIDRv6]] = None one_of_schemas: Set[str] = {"DestinationCIDRv4", "DestinationCIDRv6"} diff --git a/services/iaasalpha/src/stackit/iaasalpha/models/route_nexthop.py b/services/iaasalpha/src/stackit/iaasalpha/models/route_nexthop.py index 1b254c69..4aea0565 100644 --- a/services/iaasalpha/src/stackit/iaasalpha/models/route_nexthop.py +++ b/services/iaasalpha/src/stackit/iaasalpha/models/route_nexthop.py @@ -41,13 +41,33 @@ class RouteNexthop(BaseModel): """ # data type: NexthopIPv4 + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_1_validator: Optional[NexthopIPv4] = None + # END of the workaround # data type: NexthopIPv6 + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_2_validator: Optional[NexthopIPv6] = None + # END of the workaround # data type: NexthopInternet + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_3_validator: Optional[NexthopInternet] = None + # END of the workaround # data type: NexthopBlackhole + # BEGIN of the workaround until upstream issues are fixed: + # https://github.com/OpenAPITools/openapi-generator/issues/19034 from Jun 28, 2024 + # and https://github.com/OpenAPITools/openapi-generator/issues/19842 from Oct 11, 2024 + # Tracking issue on our side: https://jira.schwarz/browse/STACKITSDK-227 oneof_schema_4_validator: Optional[NexthopBlackhole] = None + # END of the workaround actual_instance: Optional[Union[NexthopBlackhole, NexthopIPv4, NexthopIPv6, NexthopInternet]] = None one_of_schemas: Set[str] = {"NexthopBlackhole", "NexthopIPv4", "NexthopIPv6", "NexthopInternet"}