/* Options: Date: 2024-11-24 13:25:11 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: SearchUsersRequest.* //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/find", Verbs="GET") open class SearchUsersRequest : SearchUsersRequestDto(), 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 /** * Filter by First Name */ @ApiMember(DataType="string", Description="Filter by First Name", Name="FirstName", ParameterType="query") var FirstName:String? = null /** * Filter by Last Name */ @ApiMember(DataType="string", Description="Filter by Last Name", Name="LastName", ParameterType="query") var LastName:String? = null /** * StoreId OR ChainId is required */ @ApiMember(DataType="integer", Description="StoreId OR ChainId is required", Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * StoreId OR ChainId is required */ @ApiMember(DataType="string", Description="StoreId OR ChainId is required", Name="ChainId", ParameterType="query") var ChainId:Int? = null /** * Filter by barcode */ @ApiMember(DataType="string", Description="Filter by barcode", Name="Barcode", ParameterType="query") var Barcode:String? = null /** * Filter by Email Address */ @ApiMember(DataType="string", Description="Filter by Email Address", Name="Email", ParameterType="query") var Email:String? = null /** * Filter by Phone Number */ @ApiMember(DataType="string", Description="Filter by Phone Number", Name="Phone", ParameterType="query") var Phone:String? = null /** * Filter by ClubReady User Type */ @ApiMember(DataType="integer", Description="Filter by ClubReady User Type", Name="UserType", ParameterType="query") var UserType:Int? = null /** * Page of users to retrieve. Pulls back 100 users per page. */ @ApiMember(DataType="integer", Description="Page of users to retrieve. Pulls back 100 users per page.", Name="Page", ParameterType="query") var Page:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = 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 SearchUsersRequestDto : ApiDtoBase() { var Barcode:String? = null var FirstName:String? = null var LastName:String? = null var Email:String? = null var Phone:String? = null var UserType:Int? = null var Page:Int? = null }