(* Options: Date: 2024-12-03 17:59:31 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: CreateMessageTemplate.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data [] type ICompany = abstract CompanyId:Nullable with get,set [] type MessageTypeQueryResponse() = /// ///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 maximum number of charachters that can be entered into message body using this type. /// [] member val MaxCharacters:Int32 = new Int32() with get,set /// ///The default text that is always included when sending messages of this type. /// [] member val DefaultText:String = null with get,set /// ///The send method for this type. 1 = Email, 2 = SMS. /// [] member val SendMethodId:Int32 = new Int32() with get,set [] type MessageServices() = member val Id:Int32 = new Int32() with get,set /// ///Name of the service /// [] member val Name:String = null with get,set /// ///The image url of the service /// [] member val ImageUrl:Uri = null with get,set [] type MessageTemplatesQueryResponse() = /// ///The message template id /// [] member val Id:Int32 = new Int32() with get,set /// ///The message template name. /// [] member val Name:String = null with get,set /// ///The message template title. /// [] member val Title:String = null with get,set /// ///The message template title. /// [] member val Body:String = null with get,set /// ///The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set). /// [] member val Sender:String = null with get,set /// ///If the message template is the default message currently in use. /// [] member val Default:Boolean = new Boolean() with get,set /// ///If the message type information. /// [] member val MessageType:MessageTypeQueryResponse = null with get,set /// ///Template language. /// [] member val Language:String = null with get,set /// ///The connected services which the template is valid for. If empty then it's valid for all services. /// [] member val Services:ResizeArray = new ResizeArray() with get,set [] [] [] [] type CreateMessageTemplate() = 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 message type id. See GET /messages/templates/types /// [] member val TypeId:Int32 = new Int32() with get,set /// ///The message template name. /// [] member val Name:String = null with get,set /// ///The message template title. /// [] member val Title:String = null with get,set /// ///The message template title. /// [] member val Body:String = null with get,set /// ///The message template sender (an email for message types with sendmethod 1, for SMS this cannot be set). /// [] member val Sender:String = null with get,set /// ///Template Language sv / en /// [] member val Language:String = null with get,set /// ///The services that is connected to the template. If null it will be connected to all services. /// [] member val Services:Int32[] = [||] with get,set