(* Options:
Date: 2026-01-26 00:22:34
Version: 8.90
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://taxfiling.staging.pwc.de
//GlobalNamespace:
//MakeDataContractsExtensible: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//ExportValueTypes: False
IncludeTypes: HoleZertifikatFingerabdruck.*
//ExcludeTypes:
//InitializeCollections: False
//AddNamespaces:
*)
namespace PwC.DigitalHub.Utilities.Domain.IO.Contracts
open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations
open System.Net
///
///Represents a base class for a file with raw data.
///
[]
[]
type FileBase() =
///
///The raw data content of the file in bytes.
///
[]
member val Content:Byte[] = null with get,set
///
///Represents information about a file or directory.
///
[]
[]
type FileMetadata() =
///
///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.
///
[]
member val Name:String = null with get,set
///
///The full path of the directory or file.
///
[]
member val FullName:String = null with get,set
///
///The time the current file or directory was last accessed.
///
[]
member val LastAccessTime:DateTime = new DateTime() with get,set
///
///The name of the file.
///
[]
member val LastAccessTimeUtc:DateTime = new DateTime() with get,set
///
///The time when the current file or directory was last written to.
///
[]
member val LastWriteTime:DateTime = new DateTime() with get,set
///
///The time, in coordinated universal time (UTC), when the current file or directory was last written to.
///
[]
member val LastWriteTimeUtc:DateTime = new DateTime() with get,set
///
///The size, in bytes, of the current file.
///
[]
member val Length:Int64 = new Int64() with get,set
///
///The size, in bytes, of the current file.
///
[]
member val UserId:Int32 = new Int32() with get,set
///
///The file group id.
///
[]
member val GroupId:Int32 = new Int32() with get,set
///
///A value that indicates whether the others can read from this file.
///
[]
member val OthersCanRead:Boolean = new Boolean() with get,set
///
///A value that indicates whether the group members can execute this file.
///
[]
member val GroupCanExecute:Boolean = new Boolean() with get,set
///
///A value that indicates whether the group members can write into this file.
///
[]
member val GroupCanWrite:Boolean = new Boolean() with get,set
///
///A value that indicates whether the group members can read from this file.
///
[]
member val GroupCanRead:Boolean = new Boolean() with get,set
///
///A value that indicates whether the owner can execute this file.
///
[]
member val OwnerCanExecute:Boolean = new Boolean() with get,set
///
///A value that indicates whether the owner can write into this file.
///
[]
member val OwnerCanWrite:Boolean = new Boolean() with get,set
///
///A value that indicates whether the owner can read from this file.
///
[]
member val OwnerCanRead:Boolean = new Boolean() with get,set
///
///A value that indicates whether others can read from this file.
///
[]
member val OthersCanExecute:Boolean = new Boolean() with get,set
///
///A value that indicates whether others can write into this file.
///
[]
member val OthersCanWrite:Boolean = new Boolean() with get,set
///
///Extensions to the file attributes.
///
[]
member val Extensions:Dictionary = null with get,set
///
///Represents a generic file that contains raw data content in bytes
///
[]
[]
type BinaryFile() =
inherit FileBase()
///
///The attributes of the file.
///
[]
member val Metadata:FileMetadata = null with get,set
///
///The name of the file without information on its directory path.
///
[]
member val Name:String = null with get,set
///
///Represents a client-side generated certificate that is protected by a password.
///
[]
[]
type ClientSideCertificate() =
///
///The friendly name of the certificate.
///
[]
member val Name:String = null with get,set
///
///The password to protect the certificate from unauthorized access.
///
[]
[]
member val Pin:String = null with get,set
///
///The file that contains the private key. Access is protected by the PIN.
///
[]
member val PrivateKeyFile:BinaryFile = null with get,set
///
///The file that contains the certificate data and public key.
///
[]
member val PublicKeyFile:BinaryFile = null with get,set
///
///Contains the checksum of the files PublicKeyFile and PrivateKeyFile.
///
[]
member val ChecksumFile:BinaryFile = null with get,set
///
///The description for the certificate.
///
[]
[]
member val Description:String = null with get,set
///
///The tags that can be used to label or identify the certificate.
///
[]
member val Tags:ResizeArray = null with get,set
[]
type HoleZertifikatFingerabdruckBase() =
interface IPost
///
///The client-side certificate. Access is protected by a PIN.
///
[]
member val Zertifikat:ClientSideCertificate = null with get,set
[]
type ISecuredCertificate =
abstract Pin:String with get,set
[]
type IFileMetadata =
abstract Name:String with get,set
abstract FullName:String with get,set
abstract LastAccessTime:DateTime with get,set
abstract LastAccessTimeUtc:DateTime with get,set
abstract LastWriteTime:DateTime with get,set
abstract LastWriteTimeUtc:DateTime with get,set
abstract Length:Int64 with get,set
abstract UserId:Int32 with get,set
abstract GroupId:Int32 with get,set
abstract GroupCanExecute:Boolean with get,set
abstract GroupCanWrite:Boolean with get,set
abstract GroupCanRead:Boolean with get,set
abstract OwnerCanRead:Boolean with get,set
abstract OwnerCanExecute:Boolean with get,set
abstract OwnerCanWrite:Boolean with get,set
abstract OthersCanRead:Boolean with get,set
abstract OthersCanExecute:Boolean with get,set
abstract OthersCanWrite:Boolean with get,set
abstract Extensions:Dictionary with get,set
///
///Represent a base response that encapsulate any ERiC API function return value.
///
[]
[]
type EricFehlerCodeResponse() =
inherit ServiceReponseBase()
///
///The status code that the ERiC API function returns.
///
[]
member val StatusCode:EricFehlerCode = new EricFehlerCode() with get,set
///
///The status message that the ERiC API function returns.
///
[]
member val StatusText:String = null with get,set
///
///Represents a type that encapsulates the return values of the ERiC API function, which retrieves the fingerprint of a specified certificate.
///
[]
[]
type HoleZertifikatFingerabdruckResponse() =
inherit EricFehlerCodeResponse()
///
///The fingerprint of the return type.
///
[]
member val Fingerabdruck:String = null with get,set
///
///The signature of the return type.
///
[]
member val Signatur:String = null with get,set
///
///A synchronous service to get the fingerprint of a specified client-side certificate
///
[]
[]
[]
type HoleZertifikatFingerabdruck() =
inherit HoleZertifikatFingerabdruckBase()
interface IReturn