/* Options: Date: 2024-11-24 13:19:27 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: GetGuestPassTypesRequest.* //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/guest-pass/types", Verbs="GET") open class GetGuestPassTypesRequest : GetGuestPassTypesRequestDto(), 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="StoreId", ParameterType="query") var StoreId:Int? = 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 var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null companion object { private val responseType = GetGuestPassTypesResponse::class.java } override fun getResponseType(): Any? = GetGuestPassTypesRequest.responseType } open class GetGuestPassTypesResponse : GetGuestPassTypesResponseDto() { var GuestPassTypes: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 GetGuestPassTypesRequestDto : ApiDtoBase() { } open class GuestPassTypeDto { var GuestPassTypeId:Int? = null var ChainId:Int? = null var StoreId:Int? = null var PassName:String? = null var DurationDays:Int? = null var ExpirationEditable:Boolean? = null var MaxDurationDays:Int? = null var AutoActivateWhenIssued:Boolean? = null var IssueBarcodeWhenActivated:Boolean? = null var TagWhenActivated:String? = null var MaxIssuedCount:Int? = null var IsDeleted:Boolean? = null var InactiveCount:Int? = null var ActiveCount:Int? = null var ExpiredCount:Int? = null var TotalCount:Int? = null } open class GetGuestPassTypesResponseDto : ApiResponseBase() { var GuestPassTypes:ArrayList = ArrayList() } open class ApiResponseBase { var Success:Boolean? = null var Message:String? = null }