/* Options: Date: 2025-09-15 14:32:50 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateBookingLogItem.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* @Route(Path="/bookinglog", Verbs="POST") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) open class CreateBookingLogItem : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") override var CompanyId:UUID? = null /** * The booking id */ @ApiMember(Description="The booking id", IsRequired=true) open var BookingId:Int? = null /** * The type of event */ @ApiMember(Description="The type of event", IsRequired=true) open var EventTypeId:Int? = null /** * Comments that could be added to the event log item */ @ApiMember(Description="Comments that could be added to the event log item", IsRequired=true) open var Comments:String? = null /** * The date when the event occurred. Leave blank for the current datetime */ @ApiMember(Description="The date when the event occurred. Leave blank for the current datetime", IsRequired=true) open var Created:Date? = null companion object { private val responseType = BookingLogQueryResponse::class.java } override fun getResponseType(): Any? = CreateBookingLogItem.responseType } open class BookingLogQueryResponse { /** * The booking log id */ @ApiMember(Description="The booking log id") open var Id:Int? = null /** * The booking id */ @ApiMember(Description="The booking id") open var BookingId:Int? = null /** * The type of event */ @ApiMember(Description="The type of event") open var EventTypeId:Int? = null /** * The type of event */ @ApiMember(Description="The type of event") open var EventType:BookingLogEventTypeResponse? = null /** * Comments that could be added to the event log item */ @ApiMember(Description="Comments that could be added to the event log item") open var Comments:String? = null /** * The user created the event */ @ApiMember(Description="The user created the event") open var UserName:String? = null /** * The date when the event occurred */ @ApiMember(Description="The date when the event occurred") open var Created:Date? = null } interface ICompany { var CompanyId:UUID? } open class BookingLogEventTypeResponse { /** * The event type id */ @ApiMember(Description="The event type id") open var Id:Int? = null /** * The event type name */ @ApiMember(Description="The event type name") open var Name:String? = null /** * The event type description */ @ApiMember(Description="The event type description") open var Description:String? = null }