(* Options: Date: 2024-11-21 11:38:07 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: BookingLogQuery.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Db open System open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations open System.Globalization open ServiceStack.Data open System.IO [] type BaseModel() = class end [] type BookingLogEventType() = inherit BaseModel() [] member val Name:String = null with get,set [] member val Description:String = null with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] member val Id:Int32 = new Int32() with get,set [] type BookingLog() = inherit BaseModel() [)>] member val EventTypeId:Int32 = new Int32() with get,set member val EventType:BookingLogEventType = null with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val BookingId:Int32 = new Int32() with get,set member val Id:Int32 = new Int32() with get,set member val Comments:String = null with get,set member val UserId:String = null with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type BookingLogEventTypeResponse() = /// ///The event type id /// [] member val Id:Int32 = new Int32() with get,set /// ///The event type name /// [] member val Name:String = null with get,set /// ///The event type description /// [] member val Description:String = null with get,set [] type BookingLogQueryResponse() = /// ///The booking log id /// [] member val Id:Int32 = new Int32() with get,set /// ///The booking id /// [] member val BookingId:Int32 = new Int32() with get,set /// ///The type of event /// [] member val EventTypeId:Int32 = new Int32() with get,set /// ///The type of event /// [] member val EventType:BookingLogEventTypeResponse = null with get,set /// ///Comments that could be added to the event log item /// [] member val Comments:String = null with get,set /// ///The user created the event /// [] member val UserName:String = null with get,set /// ///Then date when the event occured /// [] member val Created:DateTime = new DateTime() with get,set [] [] [] [] [] type BookingLogQuery() = inherit QueryDb() interface IReturn> /// ///Enter the company and booking id you want to see log for, if blank company id and you are an admin, your company id will be used /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Enter the booking id you want to get the log /// [] member val BookingId:Int32 = new Int32() with get,set