/* Options: Date: 2024-12-22 12:30:35 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: UserPostReport.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/posts/{Id}/report", "PUT") public class UserPostReport : IReturn, IPut, Codable { public typealias Return = UserPostReportResponse public var id:Int? public var flagType:FlagType? public var reportNotes:String? required public init(){} } public class UserPostReportResponse : Codable { public var responseStatus:ResponseStatus? required public init(){} } public enum FlagType : String, Codable { case Violation case Spam case Abusive case Confidential case OffTopic case Other }