/* Options: Date: 2026-01-25 20:35:45 SwiftVersion: 6.0 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: FormatEWAzAsync.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * An asynchronous service to convert the ELSTER-formatted file number of an assesed value of real estate into its equivalent federal state-specific format. */ // @Route("/FormatEWAzAsync/{FileNumber}", "GET") // @Api(Description="An asynchronous service to convert the ELSTER-formatted file number of an assesed value of real estate into its equivalent federal state-specific format.") public class FormatEWAzAsync : FormatEWAzBase, IReturn { public typealias Return = FormatEWAzResponse required public init(){ super.init() } required public init(from decoder: Decoder) throws { try super.init(from: decoder) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) } } /** * Encapsulates the German federal state-specific file number (e.g. 3100190001250002) of assessed unit value of real estate. */ // @Api(Description="Encapsulates the German federal state-specific file number (e.g. 3100190001250002) of assessed unit value of real estate.") public class FormatEWAzResponse : EricFehlerCodeResponse { /** * German federal state-specific file number (e.g. 3100190001250002) of assessed unit value of real estate. */ // @ApiMember(Description="German federal state-specific file number (e.g. 3100190001250002) of assessed unit value of real estate.") public var fileNumber:String? required public init(){ super.init() } private enum CodingKeys : String, CodingKey { case fileNumber } required public init(from decoder: Decoder) throws { try super.init(from: decoder) let container = try decoder.container(keyedBy: CodingKeys.self) fileNumber = try container.decodeIfPresent(String.self, forKey: .fileNumber) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) var container = encoder.container(keyedBy: CodingKeys.self) if fileNumber != nil { try container.encode(fileNumber, forKey: .fileNumber) } } } /** * A base service to convert the ELSTER-formatted file number of an assesed value of real estate into its equivalent federal state-specific format. */ // @Api(Description="A base service to convert the ELSTER-formatted file number of an assesed value of real estate into its equivalent federal state-specific format.") public class FormatEWAzBase : IGet, Codable { /** * Elster-formatted file reference of assessed value (e.g. 2831400190001250002) */ // @ApiMember(Description="Elster-formatted file reference of assessed value (e.g. 2831400190001250002)", Name="FileNumber") public var fileNumber:String? required public init(){} } /** * Represent a base response that encapsulate any ERiC API function return value. */ // @Api(Description="Represent a base response that encapsulate any ERiC API function return value.") public class EricFehlerCodeResponse : ServiceReponseBase { /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.") public var statusCode:EricFehlerCode? /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.") public var statusText:String? required public init(){ super.init() } private enum CodingKeys : String, CodingKey { case statusCode case statusText } required public init(from decoder: Decoder) throws { try super.init(from: decoder) let container = try decoder.container(keyedBy: CodingKeys.self) statusCode = try container.decodeIfPresent(EricFehlerCode.self, forKey: .statusCode) statusText = try container.decodeIfPresent(String.self, forKey: .statusText) } public override func encode(to encoder: Encoder) throws { try super.encode(to: encoder) var container = encoder.container(keyedBy: CodingKeys.self) if statusCode != nil { try container.encode(statusCode, forKey: .statusCode) } if statusText != nil { try container.encode(statusText, forKey: .statusText) } } }