(* Options: Date: 2024-07-03 13:21:06 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: RatingQuery.* //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 System.IO [] type ICompany = abstract CompanyId:Nullable with get,set [] type BaseModel() = class end [] type Review() = inherit BaseModel() member val ReviewId:Guid = new Guid() with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val Title:String = null with get,set [] member val Description:String = null with get,set [] member val Author:String = null with get,set [] member val Status:Int32 = new Int32() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Updated:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set member val ReviewAnswer:String = null with get,set [] type Rating() = inherit BaseModel() member val ReviewId:Nullable = new Nullable() with get,set member val Review:Review = null with get,set [] member val CompanyId:Guid = new Guid() with get,set [] member val BookingId:Int32 = new Int32() with get,set [] member val RatingScore:Int32 = new Int32() with get,set [] member val Status:Int32 = new Int32() with get,set [] member val Created:DateTime = new DateTime() with get,set [] member val Updated:DateTime = new DateTime() with get,set member val ModifiedDate:Nullable = new Nullable() with get,set [] type RatingReviewResponse() = /// ///The title for the review /// [] member val Title:String = null with get,set /// ///The description for the review /// [] member val Description:String = null with get,set /// ///The rating score /// [] member val RatingScore:Int32 = new Int32() with get,set /// ///The review author /// [] member val Author:String = null with get,set /// ///The created date /// [] member val Created:DateTime = new DateTime() with get,set /// ///The review answer from the company /// [] member val ReviewAnswer:String = null with get,set [] type CompanyRatingResponse() = /// /// /// [] member val CompanyId:Guid = new Guid() with get,set /// ///Id of the booking /// [] member val BookingId:Int32 = new Int32() with get,set /// ///The status of the rating, 1 = Active /// [] member val Status:Int32 = new Int32() with get,set /// ///The rating score /// [] member val RatingScore:Int32 = new Int32() with get,set /// ///The review if any exists to the rating /// [] member val Review:RatingReviewResponse = null with get,set member val CreatedDate:DateTime = new DateTime() with get,set member val UpdatedDate:DateTime = new DateTime() with get,set [] [] [] type RatingQuery() = inherit QueryDb() interface IReturn> /// /// /// [] member val CompanyId:Nullable = new Nullable() with get,set /// ///Id of the booking /// [] [] member val BookingId:Nullable = new Nullable() with get,set /// ///If you want to collect only active ratings. Ratings are only active after one has past since creation date. /// [] member val Active:Nullable = new Nullable() with get,set /// ///If you want to include the rating reviews /// [] member val IncludeRatingReviews:Boolean = new Boolean() with get,set /// ///Start of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339 /// [] member val CreatedFrom:Nullable = new Nullable() with get,set /// ///End of interval to query for bookings when they where created. UTC+0 and parameter as defined by date-time - RFC3339 /// [] member val CreatedTo:Nullable = new Nullable() with get,set