/* Options: Date: 2024-11-24 13:50:25 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: CancelWaitListRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/scheduling/{UserId}/cancel-wait-list", Verbs="POST") open class CancelWaitListRequest : IReturn, 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 /** * Store ID or Chain ID is required */ @ApiMember(DataType="integer", Description="Store ID or Chain ID is required", Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * Store ID or Chain ID is required */ @ApiMember(DataType="integer", Description="Store ID or Chain ID is required", Name="ChainId", ParameterType="query") var ChainId:Int? = null /** * ClubReady User ID */ @ApiMember(DataType="integer", Description="ClubReady User ID", IsRequired=true, Name="UserId", ParameterType="path") var UserId:Int? = null /** * Class Schedule ID */ @ApiMember(DataType="integer", Description="Class Schedule ID", IsRequired=true, Name="ClassScheduleId", ParameterType="query") var ClassScheduleId:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null companion object { private val responseType = CancelWaitListResponse::class.java } override fun getResponseType(): Any? = CancelWaitListRequest.responseType } open class CancelWaitListResponse { var Success:Boolean? = null var Message:String? = null } enum class RestrictedResourceType { Store, Chain, User, Undefined, } open interface IRestrictedApiRequest : IApiKeyEndpoint { var RestrictedId:Int? var RestrictedResourceType:RestrictedResourceType? } open interface IApiKeyEndpoint { var ApiKey:String? }