(* Options: Date: 2024-11-24 13:40:38 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: BookingStatusEventsRequest.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace ClubReady.Core.Api.Models open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type RestrictedResourceType = | Store = 0 | Chain = 1 | User = 2 | Undefined = 3 [] type ApiDtoBase() = member val ApiKey:String = null with get,set member val StoreId:Nullable = new Nullable() with get,set member val ChainId:Nullable = new Nullable() with get,set [] type BookingStatusEventsRequestDto() = inherit ApiDtoBase() member val FromDate:DateTime = new DateTime() with get,set member val ToDate:DateTime = new DateTime() with get,set member val BookingTypeFilter:Int32 = new Int32() with get,set member val ConsultFilter:Int32 = new Int32() with get,set member val StatusFilter:Nullable = new Nullable() with get,set [] type IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set type BookingStatus = | Undefined = 0 | Unavailable = 1 | Open = 2 | CancelledWithinPolicy = 3 | CancelledOutsidePolicy = 4 | Completed = 5 | NoShow = 6 | RescheduledWithinPolicy = 8 | RescheduledByAdmin = 9 | CancelledByAdminNotCustomerFault = 10 | Pending = 11 | WaitListed = 12 | Error = -1 [] type BookingStatusEventItem() = member val ChainId:Nullable = new Nullable() with get,set member val StoreId:Nullable = new Nullable() with get,set member val UserId:Int32 = new Int32() with get,set member val BookingId:Int32 = new Int32() with get,set member val ClassScheduleId:Nullable = new Nullable() with get,set member val ServiceId:Nullable = new Nullable() with get,set member val SessionSizeId:Nullable = new Nullable() with get,set member val BookingDateTime:DateTime = new DateTime() with get,set member val Status:BookingStatus = new BookingStatus() with get,set member val StatusId:Int32 = new Int32() with get,set member val StatusChanged:DateTime = new DateTime() with get,set member val Consult:Boolean = new Boolean() with get,set member val BookedFromWaitList:Boolean = new Boolean() with get,set [] type ApiResponseBase() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set [] type BookingStatusEventsResponseDto() = inherit ApiResponseBase() member val BookingStatusEvents:ResizeArray = new ResizeArray() with get,set [] type BookingStatusEventsResponse() = inherit BookingStatusEventsResponseDto() member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set member val BookingStatusEvents:ResizeArray = new ResizeArray() with get,set [] [] type BookingStatusEventsRequest() = inherit BookingStatusEventsRequestDto() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///Chain ID /// [] member val ChainId:Nullable = new Nullable() with get,set /// ///Store ID /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///UTC Format /// [] member val FromDate:DateTime = new DateTime() with get,set /// ///Max 24 Hours (UTC Format) /// [] member val ToDate:DateTime = new DateTime() with get,set /// ///0 = All, 1 = Classes, 2 = Services /// [] member val BookingTypeFilter:Int32 = new Int32() with get,set /// ///0 = Any, 1 = Only Consults, 2 = Exclude Consults /// [] member val ConsultFilter:Int32 = new Int32() with get,set /// ///Leave blank for any, otherwise use ClubReady BookingStatus enum /// [] member val StatusFilter:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set