(* Options: Date: 2024-12-22 11:51:08 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //MakeDataContractsExtensible: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //ExportValueTypes: False IncludeTypes: QueryPosts.* //ExcludeTypes: //InitializeCollections: False //AddNamespaces: *) namespace TechStacks.ServiceModel open System open System.IO open System.Collections open System.Collections.Generic open System.Runtime.Serialization open ServiceStack open ServiceStack.DataAnnotations type PostType = | Announcement = 0 | Post = 1 | Showcase = 2 | Question = 3 | Request = 4 [] type Post() = member val Id:Int64 = new Int64() with get,set member val OrganizationId:Int32 = new Int32() with get,set member val UserId:Int32 = new Int32() with get,set member val Type:PostType = new PostType() with get,set member val CategoryId:Int32 = new Int32() with get,set member val Title:String = null with get,set member val Slug:String = null with get,set member val Url:String = null with get,set member val ImageUrl:String = null with get,set [] member val Content:String = null with get,set [] member val ContentHtml:String = null with get,set member val PinCommentId:Nullable = new Nullable() with get,set member val TechnologyIds:Int32[] = null with get,set member val FromDate:Nullable = new Nullable() with get,set member val ToDate:Nullable = new Nullable() with get,set member val Location:String = null with get,set member val MetaType:String = null with get,set member val Meta:String = null with get,set member val Approved:Boolean = new Boolean() with get,set member val UpVotes:Int64 = new Int64() with get,set member val DownVotes:Int64 = new Int64() with get,set member val Points:Int64 = new Int64() with get,set member val Views:Int64 = new Int64() with get,set member val Favorites:Int64 = new Int64() with get,set member val Subscribers:Int32 = new Int32() with get,set member val ReplyCount:Int32 = new Int32() with get,set member val CommentsCount:Int32 = new Int32() with get,set member val WordCount:Int32 = new Int32() with get,set member val ReportCount:Int32 = new Int32() with get,set member val LinksCount:Int32 = new Int32() with get,set member val LinkedToCount:Int32 = new Int32() with get,set member val Score:Int32 = new Int32() with get,set member val Rank:Int32 = new Int32() with get,set member val Labels:String[] = null with get,set member val RefUserIds:Int32[] = null with get,set member val RefLinks:String[] = null with get,set member val MuteUserIds:Int32[] = null with get,set member val LastCommentDate:Nullable = new Nullable() with get,set member val LastCommentId:Nullable = new Nullable() with get,set member val LastCommentUserId:Nullable = new Nullable() with get,set member val Deleted:Nullable = new Nullable() with get,set member val DeletedBy:String = null with get,set member val Locked:Nullable = new Nullable() with get,set member val LockedBy:String = null with get,set member val Hidden:Nullable = new Nullable() with get,set member val HiddenBy:String = null with get,set member val Status:String = null with get,set member val StatusDate:Nullable = new Nullable() with get,set member val StatusBy:String = null with get,set member val Archived:Boolean = new Boolean() with get,set member val Bumped:Nullable = new Nullable() with get,set member val Created:DateTime = new DateTime() with get,set member val CreatedBy:String = null with get,set member val Modified:DateTime = new DateTime() with get,set member val ModifiedBy:String = null with get,set member val RefId:Nullable = new Nullable() with get,set member val RefSource:String = null with get,set member val RefUrn:String = null with get,set [] [] type QueryPosts() = inherit QueryDb() interface IReturn> member val Ids:Int32[] = null with get,set member val OrganizationId:Nullable = new Nullable() with get,set member val OrganizationIds:ResizeArray = null with get,set member val Types:HashSet = null with get,set member val AnyTechnologyIds:HashSet = null with get,set member val Is:String[] = null with get,set