(* Options: Date: 2024-10-18 17:17:27 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://reportfiling.pwc.de //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: BrowseFilesAsync.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace PwC.DigitalHub.Utilities.IO.Core.Concretes.Models open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Xml.Schema open System.Net /// ///Represents a PEM-encoded certificate. /// [] [] type PemCertificate() = /// ///The unique identifier (e.g. the file name) of the certificate. /// [] member val Id:String = null with get,set /// ///The PEM-encoded content of the certificate. /// [] member val Content:String = null with get,set /// ///The description of the certificate. /// [] member val Description:String = null with get,set /// ///Tags to label or identify the certificate. /// [] member val Tags:ResizeArray = new ResizeArray() with get,set /// ///Represents the credentials of a user to authenticate the access of an ELMA server. /// [] [] type ElmaCredential() = /// ///The unique identifier of this instance. This identifer is only relevant in the context of data storage and retrieval. /// [] member val Id:String = null with get,set /// ///The security certificate to authenticate the user and grant access to the ELMA server. This certificate is generated from the BZSt-issued *.pfx BOP certificate. More details on BOP (BZSt-Online Portal - https://www.elster.de/bportal/start) /// [] [] [] member val Certificate:PemCertificate = null with get,set /// ///The BZSt (Bundeszentralamt für Steuern) - tax number of the user. 11-character text field that may only consist of two capital letters and 9 digits (0-9). The fiscal authority BZSt provides this number during registration at the BOP (BZSt-Online Portal - https://www.elster.de/bportal/start). The number is available in the private area of the BOP user account under "My BOP" under the "Registration Information" /// [] [] [] member val AuthSteuernummer:String = null with get,set /// ///The account identifier of a BZSt-Online Portal (BOP) user. 10-character text field that may only contain numbers (0-9). /// [] [] [] member val AccountId:String = null with get,set /// ///The password to protect the certificate from unauthorized access. /// [] member val Password:String = null with get,set [] type IAuthenticateRequest = abstract Credential:ElmaCredential with get,set [] type IStageableRequest = abstract StagingEnabled:Nullable with get,set type DirectoryType = | Upload = 0 | Download = 1 /// ///Specifies a request to browse directories for files on the ELMA server. /// [] [] type BrowseFilesBase() = interface IPost /// ///The directory to browse for files. /// [] member val DirectoryType:DirectoryType = new DirectoryType() with get,set /// ///The credential to gain access on the ELMA server. /// [] member val Credential:ElmaCredential = null with get,set /// ///Should operations be staged on the ELMA server? true: operations are executed on the Test ELMA server. false: operations are executed on the Live (Production) ELMA server. /// [] member val StagingEnabled:Nullable = new Nullable() 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 = new Dictionary() with get,set [] type IElmaCredential = abstract Certificate:PemCertificate with get,set abstract AuthSteuernummer:String with get,set abstract AccountId:String with get,set abstract Password: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 /// ///Encapsulates the results of browsing an ELMA server directory /// [] [] type BrowseResponse() = /// ///The files from the file browse operation. /// [] member val Files:ResizeArray = new ResizeArray() with get,set /// ///The status of the file browse operation. /// [] member val ResponseStatus:ResponseStatus = null with get,set /// ///Represents a request to browse directories for files on the ELMA server in an asynchronous operation. /// [] [] [] type BrowseFilesAsync() = inherit BrowseFilesBase() interface IReturn