/* Options: Date: 2024-12-15 21:01:18 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SearchAllModelsRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/cars/models", Verbs="GET") open class SearchAllModelsRequest : SearchOperationUnTenanted(), IReturn { var make:String? = null companion object { private val responseType = SearchAllModelsResponse::class.java } override fun getResponseType(): Any? = SearchAllModelsRequest.responseType } open class SearchAllModelsResponse : SearchOperationResponse() { var responseStatus:ResponseStatus? = null var models:ArrayList = ArrayList() } open class GetOperationUnTenanted : IHasGetOptions, IGet { var embed:String? = null } open interface IHasGetOptions { var embed:String? } open class SearchOperationUnTenanted : GetOperationUnTenanted(), IHasSearchOptions { var distinct:String? = null var limit:Int? = null var offset:Int? = null var sort:String? = null var filter:String? = null var search:String? = null } open interface IHasSearchOptions : IHasGetOptions { var limit:Int? var offset:Int? var sort:String? var filter:String? var search:String? } open class SearchMetadata { var total:Int? = null var limit:Int? = null var offset:Int? = null var sort:Sorting? = null var filter:Filtering? = null } open class SearchOperationResponse { var metadata:SearchMetadata? = null } open class CarModel { var make:String? = null var model:String? = null } open class Sorting { @SerializedName("by") var By:String? = null var direction:SortDirection? = null } open class Filtering { var fields:ArrayList = ArrayList() var search:String? = null } enum class SortDirection { Ascending, Descending, }