(* Options: Date: 2024-11-21 16:57:40 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: NextFreeTimeQuery.* //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 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 IAvailableTime = abstract Free:Int32 with get,set [] type AvailableTimesResponse() = 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 Times:ResizeArray = new ResizeArray() with get,set [] [] type NextFreeTimeQuery() = interface IReturn /// ///Company to show available time 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 search available times /// [] member val From:DateTime = new DateTime() with get,set /// ///To what datetime to show available times. Optional, if no datetime is set it will search one year /// [] member val To:DateTime = new DateTime() with get,set /// ///Here you can select one of the resource in each resource type 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 resource type). Default is 1. /// [] member val NumberOfResources:Int32 = new Int32() 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 /// ///If you want to include the connected resource types and resources /// [] member val ShowPerResource:Boolean = new Boolean() with get,set