/* Options: Date: 2024-12-15 20:27:43 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: SearchAllAvailableCarsRequest.* //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/available", Verbs="GET") open class SearchAllAvailableCarsRequest : SearchOperationTenanted(), IReturn { var fromUtc:Date? = null var toUtc:Date? = null companion object { private val responseType = SearchAllAvailableCarsResponse::class.java } override fun getResponseType(): Any? = SearchAllAvailableCarsRequest.responseType } open class SearchAllAvailableCarsResponse : SearchOperationResponse() { var responseStatus:ResponseStatus? = null var cars: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 interface ITenantedRequest { var organisationId:String? } open class SearchOperationTenanted : SearchOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } 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 Car : IIdentifiableResource { var manufacturer:CarManufacturer? = null var plate:CarLicensePlate? = null var owner:CarOwner? = null var managers:ArrayList = ArrayList() var status:String? = null var altered:Boolean? = null var id:String? = null } open interface IIdentifiableResource { var id:String? } open class Sorting { @SerializedName("by") var By:String? = null var direction:SortDirection? = null } open class Filtering { var fields:ArrayList = ArrayList() var search:String? = null } open class CarManufacturer { var year:Int? = null var make:String? = null var model:String? = null } open class CarLicensePlate { var jurisdiction:String? = null var number:String? = null } open class CarOwner { var id:String? = null } open class CarManager { var id:String? = null } enum class SortDirection { Ascending, Descending, }