/* Options: Date: 2024-11-24 14:46:45 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: GetReferralTypesRequest.* //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/referral-types", Verbs="GET") open class GetReferralTypesRequest : ApiDtoBase(), 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 = GetReferralTypesResponse::class.java } override fun getResponseType(): Any? = GetReferralTypesRequest.responseType } open class GetReferralTypesResponse : GetReferralTypesResponseDto() { var ReferralTypes:ArrayList = ArrayList() } 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 ApiGenericType { var Id:Int? = null var Name:String? = null var StoreId:Int? = null var ChainId:Int? = null } open class GetReferralTypesResponseDto { var ReferralTypes:ArrayList = ArrayList() }