/* Options: Date: 2024-11-24 13:30:07 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: BookingStatusUpdateRequest.* //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/booking-status-update", Verbs="POST") open class BookingStatusUpdateRequest : BookingStatusUpdateRequestDto(), 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 /** * StoreId */ @ApiMember(DataType="string", Description="StoreId", IsRequired=true, Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * UserID */ @ApiMember(DataType="string", Description="UserID", IsRequired=true, Name="UserId", ParameterType="query") var UserId:Int? = null /** * Status ID */ @ApiMember(DataType="integer", Description="Status ID", IsRequired=true, Name="StatusId", ParameterType="query") var StatusId:Int? = null /** * Booking ID */ @ApiMember(DataType="integer", Description="Booking ID", IsRequired=true, Name="BookingId", ParameterType="query") var BookingId:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null companion object { private val responseType = BookingStatusUpdateResponse::class.java } override fun getResponseType(): Any? = BookingStatusUpdateRequest.responseType } open class BookingStatusUpdateResponse : BookingStatusUpdateResponseDto() { 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? } open class BookingStatusUpdateRequestDto : ApiDtoBase() { var UserId:Int? = null var StatusId:Int? = null var BookingId:Int? = null } open class ApiDtoBase { var ApiKey:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class BookingStatusUpdateResponseDto { var Success:Boolean? = null var Message:String? = null }