/* Options: Date: 2024-05-16 23:56:51 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api/current //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: StaffListRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/staff", Verbs="GET") open class StaffListRequest : StaffListRequestDto(), 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 /** * StoreId is required */ @ApiMember(DataType="integer", Description="StoreId is required", IsRequired=true, Name="StoreId", ParameterType="query") var StoreId:Int? = null /** * ClubReady AdminTypeId */ @ApiMember(DataType="integer", Description="ClubReady AdminTypeId", Name="StaffType", ParameterType="query") var StaffType:Int? = null var RestrictedId:Int? = null var RestrictedResourceType:RestrictedResourceType? = null /** * Restricts results to staff that are available for scheduling */ @ApiMember(DataType="bool", Description="Restricts results to staff that are available for scheduling", Name="AvailableForScheduling", ParameterType="query") var AvailableForScheduling:Boolean? = 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 StaffListRequestDto : ApiDtoBase() { var StaffType:Int? = null }