(* Options: Date: 2024-11-24 13:53:59 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: ClubVisitHistoryRequest.* //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 ClubVisitHistoryRequestDto() = inherit ApiDtoBase() member val FromDate:DateTime = new DateTime() with get,set member val ToDate:DateTime = new DateTime() with get,set [] type ClubVisitHistoryItem() = member val CheckinLogId: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 CheckinStoreId:Int32 = new Int32() with get,set member val CheckinLocationName:String = null with get,set member val HomeStoreId:Int32 = new Int32() with get,set member val HomeStoreLocationName:String = null with get,set member val UtcTime:DateTime = new DateTime() with get,set [] type ApiResponseBase() = member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set [] type ClubVisitHistoryResponseDto() = inherit ApiResponseBase() member val TotalVisits:Int32 = new Int32() with get,set member val Visits:ResizeArray = new ResizeArray() with get,set [] type ClubVisitHistoryResponse() = inherit ClubVisitHistoryResponseDto() member val Success:Boolean = new Boolean() with get,set member val Message:String = null with get,set member val TotalVisits:Int32 = new Int32() with get,set member val Visits:ResizeArray = new ResizeArray() with get,set [] [] type ClubVisitHistoryRequest() = inherit ClubVisitHistoryRequestDto() 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 /// ///UTC Format /// [] member val FromDate:DateTime = new DateTime() with get,set /// ///Max 24 Hours (UTC Format) /// [] member val ToDate:DateTime = new DateTime() with get,set member val RestrictedId:Nullable = new Nullable() with get,set member val RestrictedResourceType:RestrictedResourceType = new RestrictedResourceType() with get,set