/* Options: Date: 2024-12-23 13:15:56 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: LogFrontEndEventRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/log/event", "POST") public class LogFrontEndEventRequest : IReturn, IPost, Codable { public typealias Return = LogFrontEndEventResponse // @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(256)") public var location:String // @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(128)") public var tag:String // @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(512)") public var message:String required public init(){} } public class LogFrontEndEventResponse : Codable { public var loggedAt:Date required public init(){} }