/* Options: Date: 2024-11-24 13:39:58 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://clubready.com/api/current //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DoCheckInRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* /** * Check a user into a club */ @Route(Path="/users/checkin", Verbs="POST") @Api(Description="Check a user into a club") open class DoCheckInRequest : DoCheckInRequestDto(), IRestrictedApiRequest { /** * Api Key - grants access to resources */ @ApiMember(DataType="string", Description="Api Key - grants access to resources", IsRequired=true, Name="ApiKey", ParameterType="query") var ApiKey:String? = null /** * User barcode */ @ApiMember(DataType="string", Description="User barcode", IsRequired=true, Name="Barcode", ParameterType="query") var Barcode:String? = null /** * ClubReady StoreId required */ @ApiMember(DataType="integer", Description="ClubReady StoreId required", IsRequired=true, Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * UserId to check into club */ @ApiMember(DataType="integer", Description="UserId to check into club", Name="UserId", ParameterType="query") var UserId:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null } enum class RestrictedResourceType { Store, Chain, User, Undefined, } open interface IRestrictedApiRequest : IApiKeyEndpoint { var RestrictedId:Int? var RestrictedResourceType:RestrictedResourceType? } open interface IApiKeyEndpoint { var ApiKey:String? } open class ApiDtoBase { var ApiKey:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class DoCheckInRequestDto : ApiDtoBase() { var Barcode:String? = null var UserId:Int? = null var UtcTimeStamp:Date? = null }