""" Options: Date: 2026-01-25 18:49:58 Version: 8.90 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: HoleFinanzamtLandNummernAsync.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum Object = TypeVar('Object') # @Api(Description="A base service to get the list of tax office numbers for a specified federal state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzamtLandNummernBase(IReturn[HoleFinanzamtLandNummernResponse], IGet): """ A base service to get the list of tax office numbers for a specified federal state. """ @staticmethod def response_type(): return HoleFinanzamtLandNummernResponse # @Api(Description="Represents the state details of a German tax office.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class FinanzamtLand: """ Represents the state details of a German tax office. """ # @ApiMember(Description="The identification number of the state.", Name="FinanzamtLandNummer") finanzamt_land_nummer: Optional[str] = None """ The identification number of the state. """ # @ApiMember(Description="The name of the state.", Name="Name") name: Optional[str] = None """ The name of the state. """ # @Api(Description="Represents a structure that encapsulates a list of state details of German tax offices.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricHoleFinanzamtLandNummern: """ Represents a structure that encapsulates a list of state details of German tax offices. """ # @ApiMember(Description="The list of state details of German tax offices.", Name="FinanzamtLaender") finanzamt_laender: List[FinanzamtLand] = field(default_factory=list) """ The list of state details of German tax offices. """ # @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class EricFehlerCodeResponse(ServiceReponseBase): """ Represent a base response that encapsulate any ERiC API function return value. """ # @ApiMember(Description="The status code that the ERiC API function returns.") status_code: Optional[EricFehlerCode] = None """ The status code that the ERiC API function returns. """ # @ApiMember(Description="The status message that the ERiC API function returns.") status_text: Optional[str] = None """ The status message that the ERiC API function returns. """ # @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves all tax office numbers.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzamtLandNummernResponse(EricFehlerCodeResponse): """ Represents a type that encapsulates the return values of the ERiC API function, which retrieves all tax office numbers. """ # @ApiMember(Description="The list of all tax office numbers.") rueckgabe: Optional[EricHoleFinanzamtLandNummern] = None """ The list of all tax office numbers. """ # @Route("/HoleFinanzamtLandNummernAsync", "GET") # @Api(Description="An asynchronous service to get the list of tax office numbers for a specified federal state.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class HoleFinanzamtLandNummernAsync(HoleFinanzamtLandNummernBase, IReturn[HoleFinanzamtLandNummernResponse]): """ An asynchronous service to get the list of tax office numbers for a specified federal state. """ pass