(* Options: Date: 2024-05-10 12:50:06 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api/current //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: CheckBookingStatusRequest.* //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 IRestrictedApiRequest = abstract RestrictedId:Nullable with get,set abstract RestrictedResourceType:RestrictedResourceType with get,set [] type IApiKeyEndpoint = abstract ApiKey:String with get,set [] 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 CheckClassBookingStatusRequestDto() = inherit ApiDtoBase() member val ClassScheduleId:Int32 = new Int32() with get,set member val UserId:Int32 = new Int32() with get,set [] type ApiResponseBase() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set [] type CheckBookingStatusResponseDto() = inherit ApiResponseBase() member val CanBook:Boolean = new Boolean() with get,set member val ConsumesCredit:Boolean = new Boolean() with get,set member val Source:String = null with get,set member val AvailableCredits:Int32 = new Int32() with get,set member val IsBooked:Boolean = new Boolean() with get,set member val IsWaitListed:Boolean = new Boolean() with get,set member val CancelHours:Int32 = new Int32() with get,set member val LeadTime:Int32 = new Int32() with get,set member val MaxLeadTime:Nullable = new Nullable() with get,set [] type CheckBookingStatusResponse() = inherit CheckBookingStatusResponseDto() member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set member val CanBook:Boolean = new Boolean() with get,set member val ConsumesCredit:Boolean = new Boolean() with get,set member val Source:String = null with get,set member val AvailableCredits:Int32 = new Int32() with get,set member val IsBooked:Boolean = new Boolean() with get,set member val IsWaitListed:Boolean = new Boolean() with get,set member val CancelHours:Int32 = new Int32() with get,set member val LeadTime:Int32 = new Int32() with get,set member val MaxLeadTime:Nullable = new Nullable() with get,set [] [] type CheckBookingStatusRequest() = inherit CheckClassBookingStatusRequestDto() 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 /// ///ClubReady Class Schedule ID /// [] member val ClassScheduleId:Int32 = new Int32() with get,set /// ///ClubReady User ID /// [] member val UserId:Int32 = new Int32() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set