/* Options: Date: 2024-12-15 19:46:09 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: CreateBookingRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/bookings", Verbs="POST") open class CreateBookingRequest : PostOperationTenanted(), IReturn { var carId:String? = null var startUtc:Date? = null var endUtc:Date? = null companion object { private val responseType = CreateBookingResponse::class.java } override fun getResponseType(): Any? = CreateBookingRequest.responseType } open class CreateBookingResponse { var responseStatus:ResponseStatus? = null var booking:Booking? = null } open class PostOperationUnTenanted : IPost { } open class PostOperationTenanted : PostOperationUnTenanted(), ITenantedRequest { var organisationId:String? = null } open interface ITenantedRequest { var organisationId:String? } open class Booking : IIdentifiableResource { var startUtc:Date? = null var endUtc:Date? = null var borrowerId:String? = null var carId:String? = null var id:String? = null } open interface IIdentifiableResource { var id:String? }