(* Options: Date: 2024-11-24 13:46:24 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: ClassRosterRequest.* //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 ClassRosterRequestDto() = inherit ApiDtoBase() member val ClassScheduleId:Int32 = new Int32() with get,set type ClassRosterCreditType = | Uninitialized = 0 | PaidCredit = 1 | FreeCredit = 2 | AmenityCredit = 3 | MembershipTypeCredit = 4 | ClassPassCredit = 5 | Error = -1 [] type ClassRosterItem() = member val BookingId:Int32 = new Int32() with get,set member val UserId:Int32 = new Int32() with get,set member val FirstName:String = null with get,set member val LastName:String = null with get,set member val Email:String = null with get,set member val Phone:String = null with get,set member val BookingMade:DateTime = new DateTime() with get,set member val FirstTimeBooking:Boolean = new Boolean() with get,set member val PackageName:String = null with get,set member val PackageId:Nullable = new Nullable() with get,set member val LeadTypeName:String = null with get,set member val LeadTypeId:Nullable = new Nullable() with get,set member val IsMember:Boolean = new Boolean() with get,set member val MemberExpiration:Nullable = new Nullable() with get,set member val CreditType:ClassRosterCreditType = new ClassRosterCreditType() with get,set member val CreditsRemaining:Int32 = new Int32() with get,set member val NextCreditExpiration:Nullable = new Nullable() with get,set member val BookingStatusId:Nullable = new Nullable() with get,set member val BookingStatusDescription:String = null with get,set [] type ApiResponseBase() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set [] type ClassRosterResponseDto() = inherit ApiResponseBase() member val ClassRoster:ResizeArray = new ResizeArray() with get,set member val WaitList:ResizeArray = new ResizeArray() with get,set [] type ClassRosterResponse() = inherit ClassRosterResponseDto() member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set member val ClassDate:DateTime = new DateTime() with get,set member val FreeSpots:Int32 = new Int32() with get,set member val MaxSpots:Int32 = new Int32() with get,set member val TotalBooked:Int32 = new Int32() with get,set member val LocationType:String = null with get,set member val VirtualLink:String = null with get,set member val ClassRoster:ResizeArray = new ResizeArray() with get,set member val WaitList:ResizeArray = new ResizeArray() with get,set [] [] type ClassRosterRequest() = inherit ClassRosterRequestDto() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///Store Id or Chain Id is required /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///Store Id or Chain Id is required /// [] member val ChainId:Nullable = new Nullable() with get,set /// ///Class Schedule ID /// [] member val ClassScheduleId:Int32 = new Int32() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set