(* Options: Date: 2024-06-26 21:45:26 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: AvaiableTimesGroupedQuery.* //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 IInterval = abstract From:DateTime with get,set abstract To:DateTime with get,set [] type AvailableTimesResourceTypeResource() = /// ///The resourcetype id /// [] member val ResourceTypeId:Int32 = new Int32() with get,set /// ///The resource id /// [] member val ResourceId:Int32 = new Int32() with get,set [] type ExceptionText() = member val Reason:String = null with get,set member val ReasonPublic:String = null with get,set [] type AvailableTimesSum() = member val From:DateTime = new DateTime() with get,set member val To:DateTime = new DateTime() with get,set member val Free:Int32 = new Int32() with get,set member val FreeSpots:Int32 = new Int32() with get,set member val ExceptionTexts:IEnumerable = null with get,set [] type AvailableTimesGroupedDates() = member val Group:DateTime = new DateTime() with get,set member val Times:ResizeArray = new ResizeArray() with get,set [] type IAvailableTime = abstract Free:Int32 with get,set [] type AvailableTimesGroupedDatesResponse() = member val CompanyId:Guid = new Guid() with get,set member val ServiceId:Int32 = new Int32() with get,set member val TimesFreeTextSingle:String = null with get,set member val TimesFreeTextMultiple:String = null with get,set member val Items:ResizeArray = new ResizeArray() with get,set [] [] type AvaiableTimesGroupedQuery() = interface IReturn /// ///Company to show services for /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Service id /// [] member val ServiceId:Int32 = new Int32() with get,set /// ///From what datetime to show available times /// [] member val From:DateTime = new DateTime() with get,set /// ///To what datetime to show available times /// [] member val To:DateTime = new DateTime() with get,set /// ///Here you can select one of the resource in each resourcetype connected to the service, if none is selected it will show available times for all /// [] member val Resources:ResizeArray = new ResizeArray() with get,set /// ///Here you select number of resources to book (in each resourcetype). Default is 1. /// [] member val NumberOfResources:Int32 = new Int32() with get,set /// ///If you want to include the connected resourcetypes and resources /// [] member val ShowPerResource:Boolean = new Boolean() with get,set /// ///Both start and time time should be inside test interval. Default is false which means only start time needs to be inside. /// [] member val InsideSearchInterval:Boolean = new Boolean() with get,set /// ///The duration you want to book. Needs to withing the service Min and Max. If not set it will use the service duration /// [] member val Duration:Nullable = new Nullable() with get,set member val ResponseStatus:ResponseStatus = null with get,set