(* Options: Date: 2024-11-21 13:20:33 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: NewsletterTemplatesQuery.* //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 SendMethod() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type NewsletterSendMethodQueryResponse() = /// ///The send method id /// [] member val Id:Int32 = new Int32() with get,set /// ///The send method name. /// [] member val Name:String = null with get,set /// ///The send method description. /// [] member val Description:String = null with get,set [] type EmailTemplate() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Body:String = null with get,set [] member val Type:Int32 = new Int32() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type NewsletterEmailTemplatesQueryResponse() = /// ///The email template id /// [] member val Id:Int32 = new Int32() with get,set /// ///The email template name. /// [] member val Name:String = null with get,set /// ///The email template description. /// [] member val Description:String = null with get,set /// ///The email template html content. /// [] member val Body:String = null with get,set [] type NewsletterTemplate() = inherit BaseModel() member val SendMethod:SendMethod = null with get,set member val EmailTemplate:EmailTemplate = null with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val Heading:String = null with get,set [] member val Body:String = null with get,set member val ImageUrl:String = null with get,set [] member val SendMethodId:Int32 = new Int32() with get,set member val EmailTemplateId:Nullable = new Nullable() with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type NewsletterTemplatesQueryResponse() = /// ///The newsletter template id /// [] member val Id:Int32 = new Int32() with get,set /// ///The newsletter template heading. /// [] member val Heading:String = null with get,set /// ///The newsletter template body. /// [] member val Body:String = null with get,set /// ///The email template the newsletter uses. /// [] member val EmailTemplateId:Nullable = new Nullable() with get,set /// ///Send Method. 1 = Email, 2 = SMS /// [] member val SendMethodId:Int32 = new Int32() with get,set /// ///The newsletter template image url. /// [] member val ImageUrl:String = null with get,set /// ///The newsletter created date. /// [] member val Created:DateTime = new DateTime() with get,set /// ///Send method information. /// [] member val SendMethodInformation:NewsletterSendMethodQueryResponse = null with get,set /// ///Email template information. /// [] member val EmailTemplateInformation:NewsletterEmailTemplatesQueryResponse = null with get,set [] [] [] [] type NewsletterTemplatesQuery() = 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 /// ///The newsletter template id. /// [] member val Id:Nullable = new Nullable() with get,set /// ///If you want to include the message send method information /// [] member val IncludeSendMethodInformation:Boolean = new Boolean() with get,set /// ///If you want to include the email template information /// [] member val IncludeEmailTemplateInformation:Boolean = new Boolean() with get,set