(* Options: Date: 2024-11-24 14:06:26 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: GetGuestPassTypesRequest.* //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 GetGuestPassTypesRequestDto() = inherit ApiDtoBase() [] type GuestPassTypeDto() = member val GuestPassTypeId:Int32 = new Int32() with get,set member val ChainId:Nullable = new Nullable() with get,set member val StoreId:Nullable = new Nullable() with get,set member val PassName:String = null with get,set member val DurationDays:Int32 = new Int32() with get,set member val ExpirationEditable:Boolean = new Boolean() with get,set member val MaxDurationDays:Int32 = new Int32() with get,set member val AutoActivateWhenIssued:Boolean = new Boolean() with get,set member val IssueBarcodeWhenActivated:Boolean = new Boolean() with get,set member val TagWhenActivated:String = null with get,set member val MaxIssuedCount:Int32 = new Int32() with get,set member val IsDeleted:Boolean = new Boolean() with get,set member val InactiveCount:Int32 = new Int32() with get,set member val ActiveCount:Int32 = new Int32() with get,set member val ExpiredCount:Int32 = new Int32() with get,set member val TotalCount: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 GetGuestPassTypesResponseDto() = inherit ApiResponseBase() member val GuestPassTypes:ResizeArray = new ResizeArray() with get,set [] type GetGuestPassTypesResponse() = inherit GetGuestPassTypesResponseDto() member val GuestPassTypes:ResizeArray = new ResizeArray() with get,set [] [] type GetGuestPassTypesRequest() = inherit GetGuestPassTypesRequestDto() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///Either StoreId or ChainId is required /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///Either StoreId or ChainId is required /// [] member val ChainId:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set