/* Options: Date: 2024-12-22 21:19:52 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryChinookEmployees.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/employees", Verbs="GET") // @Route(Path="/employees/{EmployeeId}", Verbs="GET") open class QueryChinookEmployees : QueryDb(), IReturn>, IGet { open var employeeId:Long? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryChinookEmployees.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) open var offset:Int? = null @DataMember(Order=2) open var total:Int? = null @DataMember(Order=3) open var results:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } open class Employees { open var employeeId:Long? = null @Required() open var lastName:String? = null @Required() open var firstName:String? = null open var title:String? = null open var reportsTo:Long? = null open var birthDate:Date? = null open var hireDate:Date? = null open var address:String? = null open var city:String? = null open var state:String? = null open var country:String? = null open var postalCode:String? = null open var phone:String? = null open var fax:String? = null open var email:String? = null } @DataContract open class QueryBase { @DataMember(Order=1) open var skip:Int? = null @DataMember(Order=2) open var take:Int? = null @DataMember(Order=3) open var orderBy:String? = null @DataMember(Order=4) open var orderByDesc:String? = null @DataMember(Order=5) open var include:String? = null @DataMember(Order=6) open var fields:String? = null @DataMember(Order=7) open var meta:HashMap? = null }