/* Options: Date: 2024-11-28 09:29:35 SwiftVersion: 5.0 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: SetDocumentComment.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class SetDocumentComment : IReturn, Codable { public typealias Return = DocumentComment public var id:String? public var comment:String? required public init(){} } public class DocumentComment : IComment, Codable { public var id:Int? public var documentID:String? public var userID:Int? public var username:String? public var text:String? public var date:Date? public var isMine:Bool? required public init(){} } public protocol IComment { var text:String? { get set } var date:Date? { get set } var username:String? { get set } var isMine:Bool? { get set } }