/* Options: Date: 2026-08-11 12:32:39 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: EngineHealthRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/v1/engine/health", "GET,OPTIONS") public class EngineHealthRequest : IReturn, Codable { public typealias Return = EngineHealthResponse required public init(){} } public class EngineHealthResponse : Codable { public var runs30:Int? public var succeeded30:Int? public var failed30:Int? public var waiting:Int? public var openErrorGroups:Int? public var affectedRuns:Int? public var slaBreaches:Int? public var throughput:[WorkflowThroughputView] = [] public var byVertical:[WorkflowVerticalHealthView] = [] public var responseStatus:ResponseStatus? required public init(){} } public class WorkflowThroughputView : Codable { public var hour:Int? public var ok:Int? public var failed:Int? required public init(){} } public class WorkflowVerticalHealthView : Codable { public var vertical:String? public var workflows:Int? public var runs30:Int? public var fail30:Int? public var waiting:Int? required public init(){} }