""" Options: Date: 2026-01-25 02:39:57 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: MakeElsterEWAz.* #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') class Bundesland(str, Enum): """ Uniform abbreviations for the federal states or alternative recipients """ BW = 'BW' BY = 'BY' BE = 'BE' BB = 'BB' HB = 'HB' HH = 'HH' HE = 'HE' MV = 'MV' NI = 'NI' NW = 'NW' RP = 'RP' SL = 'SL' SN = 'SN' ST = 'ST' SH = 'SH' TH = 'TH' EC = 'EC' BF = 'BF' CS = 'CS' CD = 'CD' CM = 'CM' CN = 'CN' DS = 'DS' OP = 'OP' TK = 'TK' ZF = 'ZF' # @Api(Description="A base service to convert the federal state-formatted file number of an assesed value of real estate into its equivalent ELSTER format.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class MakeElsterEWAzBase(IReturn[MakeElsterEWAzResponse], IGet): """ A base service to convert the federal state-formatted file number of an assesed value of real estate into its equivalent ELSTER format. """ # @ApiMember(Description="Federal state-formatted file number of an assesed value of real estate.") file_number: Optional[str] = None """ Federal state-formatted file number of an assesed value of real estate. """ # @ApiMember(Description="Code to identify the German federal state.") state_code: Optional[Bundesland] = None """ Code to identify the German federal state. """ @staticmethod def response_type(): return MakeElsterEWAzResponse # @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="Encapsulates the ELSTER-formatted file number (e.g. 2831400190001250002) of assessed unit value of real estate.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class MakeElsterEWAzResponse(EricFehlerCodeResponse): """ Encapsulates the ELSTER-formatted file number (e.g. 2831400190001250002) of assessed unit value of real estate. """ # @ApiMember(Description="ELSTER-formatted file number (e.g. 2831400190001250002) of assessed unit value of real estate.", Name="FileNumber") file_number: Optional[str] = None """ ELSTER-formatted file number (e.g. 2831400190001250002) of assessed unit value of real estate. """ # @Route("/MakeElsterEWAz", "GET") # @Api(Description="A synchronous service to convert the federal state-formatted file number of an assesed value of real estate into its equivalent ELSTER format.") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class MakeElsterEWAz(MakeElsterEWAzBase, IReturn[MakeElsterEWAzResponse]): """ A synchronous service to convert the federal state-formatted file number of an assesed value of real estate into its equivalent ELSTER format. """ pass