/* Options: Date: 2024-11-28 09:31:32 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: SetWorkflowTaskMessage.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class SetWorkflowTaskMessage : IReturn, Codable { public typealias Return = WorkflowTaskComment public var id:Int? public var userID:Int? public var message:String? required public init(){} } public class WorkflowTaskComment : IComment, Codable { public var workflowTaskID:Int? public var userID:Int? public var taskTitle:String? public var connection:String? 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 } }