/* Options: Date: 2024-12-22 12:23:47 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: SubscribeToOrganization.* //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; 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 virtual int OrganizationId { get; set; } public virtual PostType[] PostTypes { get; set; } public virtual Frequency? Frequency { get; set; } } }