/* Options: Date: 2024-12-22 12:50:12 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: UpdatePost.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using TechStacks.ServiceModel.Types; using TechStacks.ServiceModel; namespace TechStacks.ServiceModel { [Route("/posts/{Id}", "PUT")] public partial class UpdatePost : IReturn, IPut { public virtual long Id { get; set; } public virtual int OrganizationId { get; set; } public virtual PostType Type { get; set; } public virtual int CategoryId { get; set; } public virtual string Title { get; set; } public virtual string Url { get; set; } public virtual string ImageUrl { get; set; } public virtual string Content { get; set; } public virtual bool? Lock { get; set; } public virtual int[] TechnologyIds { get; set; } public virtual string[] Labels { get; set; } public virtual DateTime? FromDate { get; set; } public virtual DateTime? ToDate { get; set; } public virtual string MetaType { get; set; } public virtual string Meta { get; set; } } public partial class UpdatePostResponse { public virtual ResponseStatus ResponseStatus { get; set; } } } namespace TechStacks.ServiceModel.Types { public enum PostType { Announcement, Post, Showcase, Question, Request, } }