/* Options: Date: 2024-12-22 12:51:47 SwiftVersion: 6.0 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: SubscribeToOrganization.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/orgs/{OrganizationId}/subscribe", "PUT") public class SubscribeToOrganization : IReturnVoid, IPut, Codable { public var organizationId:Int? public var postTypes:[PostType]? public var frequency:Frequency? required public init(){} } public enum Frequency : Int, Codable { case Daily = 1 case Weekly = 7 case Monthly = 30 case Quarterly = 90 }