(* Options: Date: 2024-06-26 04:35:07 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: CreateBookingUserQueue.* //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 CustomerToBook() = /// ///Customers firstname /// [] member val Firstname:String = null with get,set /// ///Customers lastname /// [] member val Lastname:String = null with get,set /// ///Customers email /// [] member val Email:String = null with get,set /// ///Customers phone number. Mobile phone number is required for SMS messages to be sent. /// [] member val Phone:String = null with get,set [] type QuantityToBook() = /// ///If service has a price, enter the price id for that price. If no price exists for the service set 0 as PriceId. If you put 0 and a price exists, it will use that price (only works if just one price exists for the current selected date to book) /// [] member val PriceId:Int32 = new Int32() with get,set /// ///Set the number of spots or resources you want to book on the specific price category /// [] member val Quantity:Int32 = new Int32() with get,set /// ///If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information. /// [] member val OccupiesSpot:Boolean = new Boolean() with get,set [] type GroupBookingSettings() = member val Active:Boolean = new Boolean() with get,set member val Min:Int32 = new Int32() with get,set member val Max:Int32 = new Int32() with get,set [] type MultipleResourceSettings() = member val Active:Boolean = new Boolean() with get,set member val Min:Int32 = new Int32() with get,set member val Max:Int32 = new Int32() with get,set [] type BookingUserQueuePriceResponse() = member val CompanyId:Guid = new Guid() with get,set member val Id:Int32 = new Int32() with get,set member val BookingUserQueueId:Int32 = new Int32() with get,set member val ServicePriceId:Nullable = new Nullable() with get,set member val Quantity:Nullable = new Nullable() with get,set [] type ServiceInfoResponse() = member val Id:Int32 = new Int32() with get,set member val Name:String = null with get,set member val Description:String = null with get,set member val ImageUrl:Uri = null with get,set member val LengthInMinutes:Nullable = new Nullable() with get,set member val MaxNumberOfSpotsPerBooking:Int32 = new Int32() with get,set member val GroupBooking:GroupBookingSettings = null with get,set member val MultipleResource:MultipleResourceSettings = null with get,set member val IsGroupBooking:Boolean = new Boolean() with get,set member val IsPaymentEnabled:Boolean = new Boolean() with get,set [] type CompanyInfoResponse() = member val Id:Guid = new Guid() with get,set member val Name:String = null with get,set member val LogoType:Uri = null with get,set member val Category:String = null with get,set member val Street1:String = null with get,set member val Street2:String = null with get,set member val ZipCode:String = null with get,set member val City:String = null with get,set member val CountryId:String = null with get,set member val Longitude:String = null with get,set member val Latitude:String = null with get,set member val Phone:String = null with get,set member val Email:String = null with get,set member val HomePage:String = null with get,set member val SitePath:String = null with get,set [] type BookingUserQueueItemResponse() = member val BookingUserQueueId:Int32 = new Int32() with get,set member val CompanyId:Guid = new Guid() with get,set member val CustomerId:Guid = new Guid() with get,set member val ServiceId: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 StatusCode:Int32 = new Int32() with get,set member val StatusName:String = null with get,set member val SendConfirmationTime:Nullable = new Nullable() with get,set member val Quantities:ResizeArray = new ResizeArray() with get,set member val Service:ServiceInfoResponse = null with get,set member val Company:CompanyInfoResponse = null with get,set [] [] type CreateBookingUserQueue() = interface IReturn member val CompanyId:Nullable = new Nullable() with get,set member val CustomerId:Nullable = new Nullable() with get,set member val Customer:CustomerToBook = null with get,set member val ServiceId: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 Quantities:ResizeArray = new ResizeArray() with get,set