/* Options: Date: 2026-01-25 05:51:12 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: GetPortalCertificatePublicKeyAsync.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Represents a base class for a file with raw data. */ // @Api(Description="Represents a base class for a file with raw data.") abstract class FileBase { /** * The raw data content of the file in bytes. */ // @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") Uint8List? content; FileBase({this.content}); FileBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { content = JsonConverters.fromJson(json['content'],'Uint8List',context!); return this; } Map toJson() => { 'content': JsonConverters.toJson(content,'Uint8List',context!) }; getTypeName() => "FileBase"; TypeContext? context = _ctx; } /** * Represents a portal certificate that is protected by a password. */ // @Api(Description="Represents a portal certificate that is protected by a password.") class PortalCertificate extends FileBase implements ISecuredCertificate, IConvertible { /** * The file name of the certificate. */ // @ApiMember(Description="The file name of the certificate.") // @StringLength(128) String? name; /** * The password to protect the certificate from unauthorized access. */ // @StringLength(255) // @ApiMember(Description="The password to protect the certificate from unauthorized access.") String? pin; /** * The description of the certificate. */ // @StringLength(2147483647) // @ApiMember(Description="The description of the certificate.") String? description; /** * Tags that can be used to label or identify the certificate. */ // @ApiMember(Description="Tags that can be used to label or identify the certificate.") List? tags = []; PortalCertificate({this.name,this.pin,this.description,this.tags}); PortalCertificate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); name = json['name']; pin = json['pin']; description = json['description']; tags = JsonConverters.fromJson(json['tags'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'name': name, 'pin': pin, 'description': description, 'tags': JsonConverters.toJson(tags,'List',context!) }); getTypeName() => "PortalCertificate"; TypeContext? context = _ctx; } /** * A base service to get the public key of a password-protected portal certificate. */ // @Api(Description="A base service to get the public key of a password-protected portal certificate.") abstract class GetPortalCertificatePublicKeyBase implements IPost { /** * The portal certificate. */ // @ApiMember(Description="The portal certificate.") PortalCertificate? zertifikat; GetPortalCertificatePublicKeyBase({this.zertifikat}); GetPortalCertificatePublicKeyBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { zertifikat = JsonConverters.fromJson(json['zertifikat'],'PortalCertificate',context!); return this; } Map toJson() => { 'zertifikat': JsonConverters.toJson(zertifikat,'PortalCertificate',context!) }; getTypeName() => "GetPortalCertificatePublicKeyBase"; TypeContext? context = _ctx; } abstract class ISecuredCertificate { String? pin; } /** * 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.") class EricFehlerCodeResponse extends ServiceReponseBase implements IConvertible { /** * The status code that the ERiC API function returns. */ // @ApiMember(Description="The status code that the ERiC API function returns.") EricFehlerCode? statusCode; /** * The status message that the ERiC API function returns. */ // @ApiMember(Description="The status message that the ERiC API function returns.") String? statusText; EricFehlerCodeResponse({this.statusCode,this.statusText}); EricFehlerCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); statusCode = JsonConverters.fromJson(json['statusCode'],'EricFehlerCode',context!); statusText = json['statusText']; return this; } Map toJson() => super.toJson()..addAll({ 'statusCode': JsonConverters.toJson(statusCode,'EricFehlerCode',context!), 'statusText': statusText }); getTypeName() => "EricFehlerCodeResponse"; TypeContext? context = _ctx; } /** * Represents a type that encapsulates the return values of the ERiC API function that retrieves the public key of a given certificate. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function that retrieves the public key of a given certificate.") class GetPublicKeyResponse extends EricFehlerCodeResponse implements IConvertible { /** * The public key of a given certificate. */ // @ApiMember(Description="The public key of a given certificate.") String? rueckgabe; GetPublicKeyResponse({this.rueckgabe}); GetPublicKeyResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); rueckgabe = json['rueckgabe']; return this; } Map toJson() => super.toJson()..addAll({ 'rueckgabe': rueckgabe }); getTypeName() => "GetPublicKeyResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to get the public key of the provided portal certificate. */ // @Route("/GetPortalCertificatePublicKeyAsync", "POST") // @Api(Description="An asynchronous service to get the public key of the provided portal certificate.") class GetPortalCertificatePublicKeyAsync extends GetPortalCertificatePublicKeyBase implements IReturn, IConvertible, IPost { GetPortalCertificatePublicKeyAsync(); GetPortalCertificatePublicKeyAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => GetPublicKeyResponse(); getResponseTypeName() => "GetPublicKeyResponse"; getTypeName() => "GetPortalCertificatePublicKeyAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'FileBase': TypeInfo(TypeOf.AbstractClass), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'PortalCertificate': TypeInfo(TypeOf.Class, create:() => PortalCertificate()), 'GetPortalCertificatePublicKeyBase': TypeInfo(TypeOf.AbstractClass), 'ISecuredCertificate': TypeInfo(TypeOf.Interface), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'GetPublicKeyResponse': TypeInfo(TypeOf.Class, create:() => GetPublicKeyResponse()), 'GetPortalCertificatePublicKeyAsync': TypeInfo(TypeOf.Class, create:() => GetPortalCertificatePublicKeyAsync()), });