(* Options: Date: 2024-11-24 13:59:35 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: GetSalesPackagesRequest.* //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 GetSalesPackagesRequestDto() = inherit ApiDtoBase() [] [] type GetSalesPackagesRequest() = inherit GetSalesPackagesRequestDto() /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///ID # of store to get packages for /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///ID # of the user to get packages for /// [] member val UserId:Nullable = new Nullable() with get,set /// ///The filter type which will used for packages credit (Class = 1, ClassSchedule = 2, SessionSize = 3) /// [] member val CreditFilterType:Nullable = new Nullable() with get,set /// ///ClassId or ClassScheduleId or SessionSizeId packages which drop credits /// [] member val CreditFilterId:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set /// ///Show packages enabled for In App purchase. True or False /// [] member val InApp:Boolean = new Boolean() with get,set