(* Options: Date: 2024-11-21 11:29:44 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: ReferenceQuery.* //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 ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type ExternalReference() = inherit BaseModel() [] member val CompanyId:Guid = new Guid() with get,set [] member val Id:Guid = new Guid() with get,set [] member val OwnerId:Guid = new Guid() with get,set [] member val ReferenceType:String = null with get,set member val ExternalData:String = null with get,set member val CreatedBy:String = null with get,set [] member val Updated:DateTime = new DateTime() with get,set [] member val Created:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type ReferenceQueryResponse() = /// ///The company id /// [] member val CompanyId:Guid = new Guid() with get,set /// ///Id of the reference /// [] member val Id:Guid = new Guid() with get,set /// ///Internal Id of the reference. Example could be the Booking Id /// [] member val OwnerId:Guid = new Guid() with get,set /// ///The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system /// [] member val ReferenceType:String = null with get,set /// ///The external data. Could be a Id or a JSON object or anything /// [] member val ExternalData:String = null with get,set /// ///Will show when the reference was updated. /// [] member val Updated:DateTime = new DateTime() with get,set /// ///Will show when the reference was created. /// [] member val Created:DateTime = new DateTime() with get,set /// ///Will show who created the reference. /// [] member val CreatedBy:String = null with get,set /// ///Will show who update the reference. /// [] member val UpdatedBy:String = null with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] type ReferenceQuery() = inherit QueryDb() interface IReturn> /// ///The company id, if empty will use the company id for the user you are logged in with. /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Id of the reference /// [] member val Id:Nullable = new Nullable() with get,set /// ///Internal Id of the reference. Example could be the Booking Id /// [] member val OwnerId:Nullable = new Nullable() with get,set /// ///The type of reference, you can name this parameter what you like. Example could be system_bookingid where the system is the external system /// [] member val ReferenceType:String = null with get,set /// ///The external data. Could be a Id or a JSON object or anything /// [] member val ExternalData:String = null with get,set