/* Options: Date: 2026-11-21 21:05:20 SwiftVersion: 6.0 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: EngineWorkflowArchiveRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/engine/workflows/{WorkflowId}/archive", "POST") // @Route("/v1/engine/workflows/{WorkflowId}/restore", "POST") public class EngineWorkflowArchiveRequest : IReturn, Codable { public typealias Return = EngineWorkflowArchiveResponse public var workflowId:Int? required public init(){} } public class EngineWorkflowArchiveResponse : Codable { public var workflowId:Int? public var status:String? public var cancelled:Int? public var withdrew:Bool? public var note:String? public var responseStatus:ResponseStatus? required public init(){} }