/* Options: Date: 2026-01-25 21:10:30 Version: 8.90 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://taxfiling.staging.pwc.de //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: HoleZertifikatFingerabdruck.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* /** * A synchronous service to get the fingerprint of a specified client-side certificate */ @Route(Path="/HoleZertifikatFingerabdruck", Verbs="POST") @Api(Description="A synchronous service to get the fingerprint of a specified client-side certificate") open class HoleZertifikatFingerabdruck : HoleZertifikatFingerabdruckBase(), IReturn { companion object { private val responseType = HoleZertifikatFingerabdruckResponse::class.java } override fun getResponseType(): Any? = HoleZertifikatFingerabdruck.responseType } /** * 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.") open class HoleZertifikatFingerabdruckResponse : EricFehlerCodeResponse() { /** * The fingerprint of the return type. */ @ApiMember(Description="The fingerprint of the return type.") open var fingerabdruck:String? = null /** * The signature of the return type. */ @ApiMember(Description="The signature of the return type.") open var signatur:String? = null } /** * 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.") open class ClientSideCertificate : ISecuredCertificate { /** * The friendly name of the certificate. */ @ApiMember(Description="The friendly name of the certificate.", IsRequired=true) open var name:String? = null /** * The password to protect the certificate from unauthorized access. */ @StringLength(MaximumLength=255) @ApiMember(Description="The password to protect the certificate from unauthorized access.", IsRequired=true) override var pin:String? = null /** * 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) open var privateKeyFile:BinaryFile? = null /** * The file that contains the certificate data and public key. */ @ApiMember(Description="The file that contains the certificate data and public key.", IsRequired=true) open var publicKeyFile:BinaryFile? = null /** * Contains the checksum of the files PublicKeyFile and PrivateKeyFile. */ @ApiMember(Description="Contains the checksum of the files PublicKeyFile and PrivateKeyFile.", IsRequired=true) open var checksumFile:BinaryFile? = null /** * The description for the certificate. */ @StringLength(MaximumLength=2147483647) @ApiMember(Description="The description for the certificate.") open var description:String? = null /** * 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.") open var tags:ArrayList = ArrayList() } open class HoleZertifikatFingerabdruckBase : IPost { /** * The client-side certificate. Access is protected by a PIN. */ @ApiMember(Description="The client-side certificate. Access is protected by a PIN.") open var zertifikat:ClientSideCertificate? = null } /** * Represents a generic file that contains raw data content in bytes */ @Api(Description="Represents a generic file that contains raw data content in bytes") open class BinaryFile : FileBase() { /** * The attributes of the file. */ @ApiMember(Description="The attributes of the file.") open var metadata:FileMetadata? = null /** * The name of the file without information on its directory path. */ @ApiMember(Description="The name of the file without information on its directory path.") open var name:String? = null } /** * Represents a base class for a file with raw data. */ @Api(Description="Represents a base class for a file with raw data.") open class FileBase { /** * The raw data content of the file in bytes. */ @ApiMember(Description="The raw data content of the file in bytes.", Name="Content") open var content:ByteArray? = null } interface ISecuredCertificate { var pin:String? } /** * Represents information about a file or directory. */ @Api(Description="Represents information about a file or directory.") open class FileMetadata : IFileMetadata { /** * 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.") override var name:String? = null /** * The full path of the directory or file. */ @ApiMember(Description="The full path of the directory or file.") override var fullName:String? = null /** * The time the current file or directory was last accessed. */ @ApiMember(Description="The time the current file or directory was last accessed.") override var lastAccessTime:Date? = null /** * The name of the file. */ @ApiMember(Description="The name of the file.") override var lastAccessTimeUtc:Date? = null /** * 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.") override var lastWriteTime:Date? = null /** * 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.") override var lastWriteTimeUtc:Date? = null /** * The size, in bytes, of the current file. */ @ApiMember(Description="The size, in bytes, of the current file.") override var length:Long? = null /** * The size, in bytes, of the current file. */ @ApiMember(Description="The size, in bytes, of the current file.") override var userId:Int? = null /** * The file group id. */ @ApiMember(Description="The file group id.") override var groupId:Int? = null /** * 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.") override var othersCanRead:Boolean? = null /** * 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.") override var groupCanExecute:Boolean? = null /** * 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.") override var groupCanWrite:Boolean? = null /** * 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.") override var groupCanRead:Boolean? = null /** * A value that indicates whether the owner can execute this file. */ @ApiMember(Description="A value that indicates whether the owner can execute this file.") override var ownerCanExecute:Boolean? = null /** * 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.") override var ownerCanWrite:Boolean? = null /** * 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.") override var ownerCanRead:Boolean? = null /** * A value that indicates whether others can read from this file. */ @ApiMember(Description="A value that indicates whether others can read from this file.") override var othersCanExecute:Boolean? = null /** * A value that indicates whether others can write into this file. */ @ApiMember(Description="A value that indicates whether others can write into this file.") override var othersCanWrite:Boolean? = null /** * Extensions to the file attributes. */ @ApiMember(Description="Extensions to the file attributes.") override var extensions:HashMap = HashMap() } interface IFileMetadata { var name:String? var fullName:String? var lastAccessTime:Date? var lastAccessTimeUtc:Date? var lastWriteTime:Date? var lastWriteTimeUtc:Date? var length:Long? var userId:Int? var groupId:Int? var groupCanExecute:Boolean? var groupCanWrite:Boolean? var groupCanRead:Boolean? var ownerCanRead:Boolean? var ownerCanExecute:Boolean? var ownerCanWrite:Boolean? var othersCanRead:Boolean? var othersCanExecute:Boolean? var othersCanWrite:Boolean? var extensions:HashMap? } /** * 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.") open class EricFehlerCodeResponse : ServiceReponseBase() { /** * The status code that the ERiC API function returns. */ @ApiMember(Description="The status code that the ERiC API function returns.") open var statusCode:EricFehlerCode? = null /** * The status message that the ERiC API function returns. */ @ApiMember(Description="The status message that the ERiC API function returns.") open var statusText:String? = null }