(* Options: Date: 2024-11-21 11:34:24 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: CreateResourceType.* //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 open System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type AddResourceTypeResource() = /// ///The resource id /// [] member val Id:Int32 = new Int32() with get,set /// ///The priority of the resource. If no priority is set it will take random resource when booking a time. /// [] member val Priority:Int32 = new Int32() with get,set [] type ResourceTypeResource() = /// ///The resource id /// [] member val Id:Int32 = new Int32() with get,set /// ///The resource name /// [] member val Name:String = null with get,set /// ///The resource status /// [] member val Active:Boolean = new Boolean() with get,set /// ///The resource description /// [] member val Description:String = null with get,set /// ///The resource email /// [] member val Email:String = null with get,set /// ///The resource phone /// [] member val Phone:String = null with get,set /// ///The resource color /// [] member val Color:String = null with get,set /// ///The resource image /// [] member val ImageUrl:Uri = null with get,set /// ///The priority of the resource /// [] member val Priority:Int32 = new Int32() with get,set /// ///If the resource want to receive email notifications /// [] member val EmailNotification:Boolean = new Boolean() with get,set /// ///If the resource want to receive sms notifications /// [] member val SMSNotification:Boolean = new Boolean() with get,set /// ///If the resource want to receive email reminders /// [] member val EmailReminder:Boolean = new Boolean() with get,set /// ///If the resource want to receive sms reminders /// [] member val SMSReminder:Boolean = new Boolean() with get,set [] type ResourceTypeQueryResponse() = /// ///The resourcetype id /// [] member val Id:Int32 = new Int32() with get,set /// ///The resourcetype name /// [] member val Name:String = null with get,set /// ///The resourcetype description /// [] member val Description:String = null with get,set /// ///The resources in the resourcetype. Only shows active resources if not admin. /// [] member val Resources:ResizeArray = new ResizeArray() with get,set /// ///If resourcetype is active or not /// [] member val Active:Boolean = new Boolean() with get,set /// ///Then date when the resource was created /// [] member val Created:DateTime = new DateTime() with get,set /// ///Then date when the resource was updated /// [] member val Updated:DateTime = new DateTime() with get,set [] [] [] [] [] type CreateResourceType() = 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 resourcetype name /// [] member val Name:String = null with get,set /// ///The resources to be included /// [] member val Resources:ResizeArray = new ResizeArray() with get,set /// ///The resourcetype description /// [] member val Description:String = null with get,set /// ///If resourcetype is active or not /// [] member val Active:Boolean = new Boolean() with get,set