(* Options: Date: 2024-11-21 11:41:35 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: DeleteNewsItem.* //ExcludeTypes: //InitializeCollections: True //AddNamespaces: *) namespace BokaMera.API.ServiceModel.Dtos 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 NewsItemQueryResponse() = /// ///The news item id /// [] member val Id:Int32 = new Int32() with get,set /// ///Heading of the news item /// [] member val Heading:String = null with get,set /// ///Body of the news item /// [] member val Body:String = null with get,set /// ///Url to a image associated with the news /// [] member val ImageUrl:Uri = null with get,set /// ///The timestamp from which the newsitem should be visible from /// [] member val From:DateTime = new DateTime() with get,set /// ///The timestamp to which the newsitem should be visible to /// [] member val To:DateTime = new DateTime() with get,set /// ///The timestamp when news was created /// [] member val Created:DateTime = new DateTime() with get,set member val ResponseStatus:ResponseStatus = null with get,set [] [] [] type DeleteNewsItem() = 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 newsitem to delete /// [] member val Id:Int32 = new Int32() with get,set