/* Options: Date: 2024-05-02 23:37:13 Version: 8.13 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: True //ExportValueTypes: False IncludeTypes: SubscribeToOrganization.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using TechStacks.ServiceModel; namespace TechStacks.ServiceModel { public enum Frequency { Daily = 1, Weekly = 7, Monthly = 30, Quarterly = 90, } [Route("/orgs/{OrganizationId}/subscribe", "PUT")] public partial class SubscribeToOrganization : IReturnVoid, IPut { public SubscribeToOrganization() { PostTypes = new PostType[]{}; } public virtual int OrganizationId { get; set; } public virtual PostType[] PostTypes { get; set; } public virtual Frequency? Frequency { get; set; } } }