/* Options: Date: 2026-01-25 19:41:54 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: HoleZertifikatFingerabdruckAsync.* //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 information about a file or directory. */ // @Api(Description="Represents information about a file or directory.") class FileMetadata implements IFileMetadata, IConvertible { /** * The name of the file.For files, gets the name of the file.For directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory. */ // @ApiMember(Description="The name of the file.\nFor files, gets the name of the file.\nFor directories, gets the name of the last directory in the hierarchy if a hierarchy exists; otherwise, the name of the directory.") String? name; /** * The full path of the directory or file. */ // @ApiMember(Description="The full path of the directory or file.") String? fullName; /** * The time the current file or directory was last accessed. */ // @ApiMember(Description="The time the current file or directory was last accessed.") DateTime? lastAccessTime; /** * The name of the file. */ // @ApiMember(Description="The name of the file.") DateTime? lastAccessTimeUtc; /** * The time when the current file or directory was last written to. */ // @ApiMember(Description="The time when the current file or directory was last written to.") DateTime? lastWriteTime; /** * The time, in coordinated universal time (UTC), when the current file or directory was last written to. */ // @ApiMember(Description="The time, in coordinated universal time (UTC), when the current file or directory was last written to.") DateTime? lastWriteTimeUtc; /** * The size, in bytes, of the current file. */ // @ApiMember(Description="The size, in bytes, of the current file.") int? length; /** * The size, in bytes, of the current file. */ // @ApiMember(Description="The size, in bytes, of the current file.") int? userId; /** * The file group id. */ // @ApiMember(Description="The file group id.") int? groupId; /** * A value that indicates whether the others can read from this file. */ // @ApiMember(Description="A value that indicates whether the others can read from this file.") bool? othersCanRead; /** * A value that indicates whether the group members can execute this file. */ // @ApiMember(Description="A value that indicates whether the group members can execute this file.") bool? groupCanExecute; /** * A value that indicates whether the group members can write into this file. */ // @ApiMember(Description="A value that indicates whether the group members can write into this file.") bool? groupCanWrite; /** * A value that indicates whether the group members can read from this file. */ // @ApiMember(Description="A value that indicates whether the group members can read from this file.") bool? groupCanRead; /** * A value that indicates whether the owner can execute this file. */ // @ApiMember(Description="A value that indicates whether the owner can execute this file.") bool? ownerCanExecute; /** * A value that indicates whether the owner can write into this file. */ // @ApiMember(Description="A value that indicates whether the owner can write into this file.") bool? ownerCanWrite; /** * A value that indicates whether the owner can read from this file. */ // @ApiMember(Description="A value that indicates whether the owner can read from this file.") bool? ownerCanRead; /** * A value that indicates whether others can read from this file. */ // @ApiMember(Description="A value that indicates whether others can read from this file.") bool? othersCanExecute; /** * A value that indicates whether others can write into this file. */ // @ApiMember(Description="A value that indicates whether others can write into this file.") bool? othersCanWrite; /** * Extensions to the file attributes. */ // @ApiMember(Description="Extensions to the file attributes.") Map? extensions = {}; FileMetadata({this.name,this.fullName,this.lastAccessTime,this.lastAccessTimeUtc,this.lastWriteTime,this.lastWriteTimeUtc,this.length,this.userId,this.groupId,this.othersCanRead,this.groupCanExecute,this.groupCanWrite,this.groupCanRead,this.ownerCanExecute,this.ownerCanWrite,this.ownerCanRead,this.othersCanExecute,this.othersCanWrite,this.extensions}); FileMetadata.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; fullName = json['fullName']; lastAccessTime = JsonConverters.fromJson(json['lastAccessTime'],'DateTime',context!); lastAccessTimeUtc = JsonConverters.fromJson(json['lastAccessTimeUtc'],'DateTime',context!); lastWriteTime = JsonConverters.fromJson(json['lastWriteTime'],'DateTime',context!); lastWriteTimeUtc = JsonConverters.fromJson(json['lastWriteTimeUtc'],'DateTime',context!); length = json['length']; userId = json['userId']; groupId = json['groupId']; othersCanRead = json['othersCanRead']; groupCanExecute = json['groupCanExecute']; groupCanWrite = json['groupCanWrite']; groupCanRead = json['groupCanRead']; ownerCanExecute = json['ownerCanExecute']; ownerCanWrite = json['ownerCanWrite']; ownerCanRead = json['ownerCanRead']; othersCanExecute = json['othersCanExecute']; othersCanWrite = json['othersCanWrite']; extensions = JsonConverters.toStringMap(json['extensions']); return this; } Map toJson() => { 'name': name, 'fullName': fullName, 'lastAccessTime': JsonConverters.toJson(lastAccessTime,'DateTime',context!), 'lastAccessTimeUtc': JsonConverters.toJson(lastAccessTimeUtc,'DateTime',context!), 'lastWriteTime': JsonConverters.toJson(lastWriteTime,'DateTime',context!), 'lastWriteTimeUtc': JsonConverters.toJson(lastWriteTimeUtc,'DateTime',context!), 'length': length, 'userId': userId, 'groupId': groupId, 'othersCanRead': othersCanRead, 'groupCanExecute': groupCanExecute, 'groupCanWrite': groupCanWrite, 'groupCanRead': groupCanRead, 'ownerCanExecute': ownerCanExecute, 'ownerCanWrite': ownerCanWrite, 'ownerCanRead': ownerCanRead, 'othersCanExecute': othersCanExecute, 'othersCanWrite': othersCanWrite, 'extensions': extensions }; getTypeName() => "FileMetadata"; TypeContext? context = _ctx; } /** * Represents a generic file that contains raw data content in bytes */ // @Api(Description="Represents a generic file that contains raw data content in bytes") class BinaryFile extends FileBase implements IConvertible { /** * The attributes of the file. */ // @ApiMember(Description="The attributes of the file.") FileMetadata? metadata; /** * The name of the file without information on its directory path. */ // @ApiMember(Description="The name of the file without information on its directory path.") String? name; BinaryFile({this.metadata,this.name}); BinaryFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); metadata = JsonConverters.fromJson(json['metadata'],'FileMetadata',context!); name = json['name']; return this; } Map toJson() => super.toJson()..addAll({ 'metadata': JsonConverters.toJson(metadata,'FileMetadata',context!), 'name': name }); getTypeName() => "BinaryFile"; TypeContext? context = _ctx; } /** * Represents a client-side generated certificate that is protected by a password. */ // @Api(Description="Represents a client-side generated certificate that is protected by a password.") class ClientSideCertificate implements ISecuredCertificate, IConvertible { /** * The friendly name of the certificate. */ // @ApiMember(Description="The friendly name of the certificate.", IsRequired=true) String? name; /** * The password to protect the certificate from unauthorized access. */ // @StringLength(255) // @ApiMember(Description="The password to protect the certificate from unauthorized access.", IsRequired=true) String? pin; /** * The file that contains the private key. Access is protected by the PIN. */ // @ApiMember(Description="The file that contains the private key. Access is protected by the PIN.", IsRequired=true) BinaryFile? privateKeyFile; /** * The file that contains the certificate data and public key. */ // @ApiMember(Description="The file that contains the certificate data and public key.", IsRequired=true) BinaryFile? publicKeyFile; /** * Contains the checksum of the files PublicKeyFile and PrivateKeyFile. */ // @ApiMember(Description="Contains the checksum of the files PublicKeyFile and PrivateKeyFile.", IsRequired=true) BinaryFile? checksumFile; /** * The description for the certificate. */ // @StringLength(2147483647) // @ApiMember(Description="The description for the certificate.") String? description; /** * The tags that can be used to label or identify the certificate. */ // @ApiMember(Description="The tags that can be used to label or identify the certificate.") List? tags = []; ClientSideCertificate({this.name,this.pin,this.privateKeyFile,this.publicKeyFile,this.checksumFile,this.description,this.tags}); ClientSideCertificate.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; pin = json['pin']; privateKeyFile = JsonConverters.fromJson(json['privateKeyFile'],'BinaryFile',context!); publicKeyFile = JsonConverters.fromJson(json['publicKeyFile'],'BinaryFile',context!); checksumFile = JsonConverters.fromJson(json['checksumFile'],'BinaryFile',context!); description = json['description']; tags = JsonConverters.fromJson(json['tags'],'List',context!); return this; } Map toJson() => { 'name': name, 'pin': pin, 'privateKeyFile': JsonConverters.toJson(privateKeyFile,'BinaryFile',context!), 'publicKeyFile': JsonConverters.toJson(publicKeyFile,'BinaryFile',context!), 'checksumFile': JsonConverters.toJson(checksumFile,'BinaryFile',context!), 'description': description, 'tags': JsonConverters.toJson(tags,'List',context!) }; getTypeName() => "ClientSideCertificate"; TypeContext? context = _ctx; } abstract class HoleZertifikatFingerabdruckBase implements IPost { /** * The client-side certificate. Access is protected by a PIN. */ // @ApiMember(Description="The client-side certificate. Access is protected by a PIN.") ClientSideCertificate? zertifikat; HoleZertifikatFingerabdruckBase({this.zertifikat}); HoleZertifikatFingerabdruckBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { zertifikat = JsonConverters.fromJson(json['zertifikat'],'ClientSideCertificate',context!); return this; } Map toJson() => { 'zertifikat': JsonConverters.toJson(zertifikat,'ClientSideCertificate',context!) }; getTypeName() => "HoleZertifikatFingerabdruckBase"; TypeContext? context = _ctx; } abstract class ISecuredCertificate { String? pin; } abstract class IFileMetadata { String? name; String? fullName; DateTime? lastAccessTime; DateTime? lastAccessTimeUtc; DateTime? lastWriteTime; DateTime? lastWriteTimeUtc; int? length; int? userId; int? groupId; bool? groupCanExecute; bool? groupCanWrite; bool? groupCanRead; bool? ownerCanRead; bool? ownerCanExecute; bool? ownerCanWrite; bool? othersCanRead; bool? othersCanExecute; bool? othersCanWrite; Map? extensions; } /** * 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, which retrieves the fingerprint of a specified certificate. */ // @Api(Description="Represents a type that encapsulates the return values of the ERiC API function, which retrieves the fingerprint of a specified certificate.") class HoleZertifikatFingerabdruckResponse extends EricFehlerCodeResponse implements IConvertible { /** * The fingerprint of the return type. */ // @ApiMember(Description="The fingerprint of the return type.") String? fingerabdruck; /** * The signature of the return type. */ // @ApiMember(Description="The signature of the return type.") String? signatur; HoleZertifikatFingerabdruckResponse({this.fingerabdruck,this.signatur}); HoleZertifikatFingerabdruckResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); fingerabdruck = json['fingerabdruck']; signatur = json['signatur']; return this; } Map toJson() => super.toJson()..addAll({ 'fingerabdruck': fingerabdruck, 'signatur': signatur }); getTypeName() => "HoleZertifikatFingerabdruckResponse"; TypeContext? context = _ctx; } /** * An asynchronous service to get the fingerprint of a specified client-side certificate */ // @Route("/HoleZertifikatFingerabdruck", "POST") // @Api(Description="An asynchronous service to get the fingerprint of a specified client-side certificate") class HoleZertifikatFingerabdruckAsync extends HoleZertifikatFingerabdruckBase implements IReturn, IConvertible, IPost { HoleZertifikatFingerabdruckAsync(); HoleZertifikatFingerabdruckAsync.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); createResponse() => HoleZertifikatFingerabdruckResponse(); getResponseTypeName() => "HoleZertifikatFingerabdruckResponse"; getTypeName() => "HoleZertifikatFingerabdruckAsync"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'taxfiling.staging.pwc.de', types: { 'FileBase': TypeInfo(TypeOf.AbstractClass), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'FileMetadata': TypeInfo(TypeOf.Class, create:() => FileMetadata()), 'BinaryFile': TypeInfo(TypeOf.Class, create:() => BinaryFile()), 'ClientSideCertificate': TypeInfo(TypeOf.Class, create:() => ClientSideCertificate()), 'HoleZertifikatFingerabdruckBase': TypeInfo(TypeOf.AbstractClass), 'ISecuredCertificate': TypeInfo(TypeOf.Interface), 'IFileMetadata': TypeInfo(TypeOf.Interface), 'EricFehlerCodeResponse': TypeInfo(TypeOf.Class, create:() => EricFehlerCodeResponse()), 'EricFehlerCode': TypeInfo(TypeOf.Class, create:() => EricFehlerCode()), 'HoleZertifikatFingerabdruckResponse': TypeInfo(TypeOf.Class, create:() => HoleZertifikatFingerabdruckResponse()), 'HoleZertifikatFingerabdruckAsync': TypeInfo(TypeOf.Class, create:() => HoleZertifikatFingerabdruckAsync()), });