/* Options: Date: 2024-12-15 19:51:14 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: OfflineCarRequest.* //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/{Id}/offline", Verbs="PUT,PATCH") open class OfflineCarRequest : PutPatchOperationTenanted(), IReturn { var id:String? = null var fromUtc:Date? = null var toUtc:Date? = null companion object { private val responseType = OfflineCarResponse::class.java } override fun getResponseType(): Any? = OfflineCarRequest.responseType } open class OfflineCarResponse { var responseStatus:ResponseStatus? = null var car:Car? = null } open interface ITenantedRequest { var organisationId:String? } open class PutPatchOperationUnTenanted : IPatch, IPut { } open class PutPatchOperationTenanted : PutPatchOperationUnTenanted(), ITenantedRequest { var organisationId:String? = 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 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 }