(* Options: Date: 2024-11-21 12:17:47 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: NewsletterLogQuery.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type NewsletterLog() = inherit BaseModel() member val NewslettersId:Nullable = new Nullable() with get,set [] member val SenderName:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val CorrelationId:Nullable = new Nullable() with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val SendMethodId:Int32 = new Int32() with get,set [] member val Receiver:String = null with get,set [] member val Sender:String = null with get,set member val MessageTitle:String = null with get,set [] member val MessageBody:String = null with get,set [] member val Sent:Boolean = new Boolean() with get,set [] member val ToSendDate:DateTime = new DateTime() with get,set member val SentDate:Nullable = new Nullable() with get,set member val MessageCount:Nullable = new Nullable() with get,set member val SMSStatus:Nullable = new Nullable() with get,set [] member val MessageRetries:Int32 = new Int32() with get,set member val CreatedBy:String = null with get,set [] member val Created:DateTime = new DateTime() with get,set member val StorageUrl:String = null with get,set [] type IMessageLog = abstract CompanyId:Guid with get,set abstract Id:Int32 with get,set abstract Receiver:String with get,set abstract Sender:String with get,set abstract MessageTitle:String with get,set abstract MessageBody:String with get,set abstract CreatedBy:String with get,set abstract Created:DateTime with get,set abstract Sent:Boolean with get,set abstract ToSendDate:DateTime with get,set abstract SentDate:Nullable with get,set abstract SendMethodId:Int32 with get,set abstract MessageCount:Nullable with get,set abstract SMSStatus:Nullable with get,set abstract MessageRetries:Int32 with get,set abstract StorageUrl:String with get,set [] type NewsletterLogQueryResponse() = /// ///The message log id /// [] member val Id:Int32 = new Int32() with get,set /// ///The message receiver. Either a email or a mobile phone number. /// [] member val Receiver:String = null with get,set /// ///Nessage Title. /// [] member val MessageTitle:String = null with get,set /// ///Nessage Body. /// [] member val MessageBody:String = null with get,set /// ///When message was created. /// [] member val Created:DateTime = new DateTime() with get,set /// ///When the message will be sent. /// [] member val ToSendDate:DateTime = new DateTime() with get,set /// ///When the message was sent. /// [] member val SentDate:Nullable = new Nullable() with get,set /// ///If Message is sent /// [] member val Sent:Boolean = new Boolean() with get,set /// ///Number of retries to send the message /// [] member val MessageRetries:Int32 = new Int32() with get,set /// ///Send Method. 1 = Email, 2 = SMS /// [] member val SendMethodId:Int32 = new Int32() with get,set [] [] [] [] type NewsletterLogQuery() = inherit QueryDb() interface IReturn> /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///If you want to search on sent messages /// [] member val Sent:Nullable = new Nullable() with get,set /// ///Message Id /// [] member val Id:Nullable = new Nullable() with get,set /// ///If you want to search on a messages for a specific receiver /// [] member val Receiver:String = null with get,set /// ///If you want to search on a messages created a specific date /// [] member val Created:Nullable = new Nullable() with get,set /// ///If you want to search on a messages sent a specific date /// [] member val SentDate:Nullable = new Nullable() with get,set member val ResponseStatus:ResponseStatus = null with get,set