(* Options: Date: 2024-06-16 19:22:41 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: UpdateDateSchedule.* //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 System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type AddScheduleService() = /// ///The service id /// [] member val Id:Int32 = new Int32() with get,set [] type AddDateScheduleDate() = /// ///The from date for the timeslot /// [] member val From:DateTime = new DateTime() with get,set /// ///The to date for the timeslot /// [] member val To:DateTime = new DateTime() with get,set [] type AddScheduleResource() = /// ///The resource id /// [] member val Id:Int32 = new Int32() with get,set [] type ScheduleResources() = member val Id:Int32 = new Int32() with get,set /// ///Name of the resource /// [] member val Name:String = null with get,set /// ///The image url of the resource /// [] member val ImageUrl:Uri = null with get,set [] type ScheduleServices() = 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 DateScheduleDateResponse() = member val Id:Int32 = new Int32() with get,set member val From:DateTime = new DateTime() with get,set member val To:DateTime = new DateTime() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] type DateScheduleQueryResponse() = /// ///The schedule id /// [] member val Id:Int32 = new Int32() with get,set /// ///Name of the schedule /// [] member val Name:String = null with get,set /// ///Description of the schedule /// [] member val Description:String = null with get,set /// ///If the schedule is active or not /// [] member val Active:Boolean = new Boolean() with get,set /// ///If the schedule is only connected to some specific resources. Note: You must have IncludeResources property to see this. /// [] member val IsResourceSpecific:Nullable = new Nullable() with get,set /// ///Schedule dates /// [] member val ScheduleDates:ResizeArray = new ResizeArray() with get,set /// ///The resources that is connected to the schedule /// [] member val Resources:ResizeArray = new ResizeArray() with get,set /// ///The services that is connected to the schedule /// [] member val Services:ResizeArray = new ResizeArray() with get,set /// ///The timestamp when the schedule was updated /// [] member val UpdatedDate:DateTime = new DateTime() with get,set /// ///The timestamp when the schedule was created /// [] member val CreatedDate:DateTime = new DateTime() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] [] type UpdateDateSchedule() = interface IReturn /// ///Id of the schedule to update /// [] member val Id:Int32 = new Int32() with get,set /// ///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 schedule name /// [] member val Name:String = null with get,set /// ///The schedule description /// [] member val Description:String = null with get,set /// ///If schedule is active or not /// [] member val Active:Nullable = new Nullable() with get,set /// ///The number of days the schedule is valid from todays date /// [] member val NumberOfScheduleDays:Int32 = new Int32() with get,set /// ///The dates for the schedule. This is the actual timeslots. /// [] member val ScheduleDates:ResizeArray = new ResizeArray() with get,set /// ///If the schedule is only connected to some resources, add them here. If empty, it will be used by all resources. /// [] member val Resources:ResizeArray = new ResizeArray() with get,set /// ///Set what services the schedule should be connected to. /// [] member val Services:ResizeArray = new ResizeArray() with get,set