/* Options: Date: 2024-12-15 20:50:20 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: CreateCarRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/cars", Verbs="POST") open class CreateCarRequest : PostOperationTenanted(), IReturn { var year:Int? = null var make:String? = null var model:String? = null companion object { private val responseType = CreateCarResponse::class.java } override fun getResponseType(): Any? = CreateCarRequest.responseType } open class CreateCarResponse { var responseStatus:ResponseStatus? = null var car:Car? = null } open class PostOperationUnTenanted : IPost { } open class PostOperationTenanted : PostOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open interface ITenantedRequest { var organisationId:String? } 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 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 }