/* Options: Date: 2024-11-24 14:34:06 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: GetCustomCategoriesRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/club/custom-category", Verbs="GET") open class GetCustomCategoriesRequest : GetCustomCategoriesRequestDto(), 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 /** * Either StoreId or ChainId is required */ @ApiMember(DataType="integer", Description="Either StoreId or ChainId is required", Name="ChainId", ParameterType="query") var ChainId:Int? = null /** * Either StoreId or ChainId is required */ @ApiMember(DataType="integer", Description="Either StoreId or ChainId is required", Name="StoreId", ParameterType="query") var StoreId:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null companion object { private val responseType = GetCustomCategoriesResponse::class.java } override fun getResponseType(): Any? = GetCustomCategoriesRequest.responseType } open class GetCustomCategoriesResponse : GetCustomCategoriesResponseDto() { var CustomCategories:ArrayList = ArrayList() 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 ApiDtoBase { var ApiKey:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class GetCustomCategoriesRequestDto : ApiDtoBase() { var CustomCategoryId:Int? = null } open class ApiGenericType { var Id:Int? = null var Name:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class CustomCategoryInfo : ApiGenericType() { var ItemCount:Int? = null } open class GetCustomCategoriesResponseDto : ApiResponseBase() { var CustomCategories:ArrayList = ArrayList() } open class ApiResponseBase { var Success:Boolean? = null var Message:String? = null }