/* Options: Date: 2024-11-24 14:54:53 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: UserListDateAddedRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/users/date-added", Verbs="GET") open class UserListDateAddedRequest : UserListDateAddedRequestDto(), 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 /** * Chain ID */ @ApiMember(DataType="integer", Description="Chain ID", Name="ChainId", ParameterType="query") var ChainId:Int? = null /** * Store ID */ @ApiMember(DataType="integer", Description="Store ID", Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * UTC Format */ @ApiMember(DataType="date", Description="UTC Format", IsRequired=true, Name="FromDate", ParameterType="query") var FromDate:Date? = null /** * Max 24 Hours (UTC Format) */ @ApiMember(DataType="date", Description="Max 24 Hours (UTC Format)", IsRequired=true, Name="ToDate", ParameterType="query") var ToDate:Date? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null companion object { private val responseType = UserListDateAddedResponse::class.java } override fun getResponseType(): Any? = UserListDateAddedRequest.responseType } open class UserListDateAddedResponse : UserListDateAddedResponseDto() { var Users: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 UserListDateAddedRequestDto : ApiDtoBase() { var FromDate:Date? = null var ToDate:Date? = null } open class ClubClient { var UserId:Int? = null var Username:String? = null var FirstName:String? = null var LastName:String? = null var StoreId:Int? = null var DateAdded:Date? = null var ReferredBy:Int? = null var AddedBy:Int? = null var ReferralTypeId:Int? = null var ReferralTypeName:String? = null } open class UserListDateAddedResponseDto { var Users:ArrayList = ArrayList() }