(* Options: Date: 2024-07-03 12:25:55 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: DashboardMessageQuery.* //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 System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type DashboardMessageType() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set [] member val Image:String = null with get,set member val ApplicationMessage:Nullable = new Nullable() with get,set [] member val Color:String = null with get,set [] member val Icon:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val Id:Int32 = new Int32() with get,set [] type DashboardMessage() = inherit BaseModel() [)>] member val MessageTypeId:Int32 = new Int32() with get,set member val MessageType:DashboardMessageType = null with get,set [] member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set [] member val Title:String = null with get,set [] member val Body:String = null with get,set [] member val Important:Boolean = new Boolean() with get,set [] member val VisibleFrom:DateTime = new DateTime() with get,set [] member val VisibleTo:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val SupportCaseId:Nullable = new Nullable() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type DasboardMessageTypeResponse() = /// ///The message type id /// [] member val Id:Int32 = new Int32() with get,set /// ///The message type name /// [] member val Name:String = null with get,set /// ///The message type description /// [] member val Description:String = null with get,set /// ///The message type image /// [] member val ImageUrl:String = null with get,set /// ///If the message type is a application message /// [] member val ApplicationMessage:Nullable = new Nullable() with get,set /// ///The message type icon /// [] member val Icon:String = null with get,set /// ///The message type color /// [] member val Color:String = null with get,set [] type DashboardMessageQueryResponse() = /// ///The message id /// [] member val Id:Int32 = new Int32() with get,set /// ///The message title. /// [] member val Title:String = null with get,set /// ///The message body. /// [] member val Body:String = null with get,set /// ///If the message is important. /// [] member val Important:Boolean = new Boolean() with get,set /// ///If the message visible from date. /// [] member val VisibleFrom:DateTime = new DateTime() with get,set /// ///If the message visible to date. /// [] member val VisibleTo:DateTime = new DateTime() with get,set /// ///If the message created date. /// [] member val Created:DateTime = new DateTime() with get,set /// ///If the message type id. /// [] member val MessageTypeId:Int32 = new Int32() with get,set /// ///If the message is connected to a support case. /// [] member val SupportCaseId:Nullable = new Nullable() with get,set /// ///If the message type information. /// [] member val MessageType:DasboardMessageTypeResponse = null with get,set [] [] [] [] type DashboardMessageQuery() = 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 filter on important messages only /// [] member val Important:Nullable = new Nullable() with get,set /// ///Filter on Message Type Id /// [] member val MessageTypeId:Nullable = new Nullable() with get,set /// ///If you want to include the message type information /// [] member val IncludeMessageTypeInformation:Boolean = new Boolean() with get,set member val ResponseStatus:ResponseStatus = null with get,set