/* Options: Date: 2024-12-22 12:43:16 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: UserPostCommentReport.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/posts/{PostId}/comments/{Id}/report", "PUT") public class UserPostCommentReport : IReturn, IPut, Codable { public typealias Return = UserPostCommentReportResponse public var id:Int? public var postId:Int? public var flagType:FlagType? public var reportNotes:String? required public init(){} } public class UserPostCommentReportResponse : 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 }