(* Options: Date: 2024-05-16 08:11:56 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: CreateGuestPassRequest.* //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 CreateGuestPassRequestDto() = inherit ApiDtoBase() member val UserId:Int32 = new Int32() with get,set member val GuestPassTypeId:Int32 = new Int32() with get,set member val Activated:Boolean = new Boolean() with get,set member val Expires:Nullable = new Nullable() with get,set [] type ApiResponseBase() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set [] type CreateGuestPassResponseDto() = inherit ApiResponseBase() member val GuestPassId:Int32 = new Int32() with get,set [] type CreateGuestPassResponse() = inherit CreateGuestPassResponseDto() member val Success:Boolean = new Boolean() with get,set member val GuestPassId:Int32 = new Int32() with get,set member val Message:String = null with get,set [] [] type CreateGuestPassRequest() = inherit CreateGuestPassRequestDto() interface IReturn /// ///Api Key - grants access to resources /// [] member val ApiKey:String = null with get,set /// ///User ID /// [] member val UserId:Int32 = new Int32() with get,set /// ///Store ID /// [] member val StoreId:Nullable = new Nullable() with get,set /// ///Guest pass type to create. /// [] member val GuestPassTypeId:Int32 = new Int32() with get,set /// ///Activate this Guest Pass immediately? (True or False) /// [] member val Activated:Boolean = new Boolean() with get,set /// ///When will this pass expire? (leave blank for never) /// [] member val Expires:Nullable = new Nullable() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set