Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

41 lines
1.1 KiB
Swift

//
// StatusBreakdown.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct StatusBreakdown: Sendable, Codable, ParameterConvertible, Hashable {
/** invocations that ran and failed */
public var error: Int64?
/** invocations whose code ran and wrote nothing to stderr */
public var success: Int64?
/** invocations that hit their configured deadline */
public var timeout: Int64?
public init(error: Int64? = nil, success: Int64? = nil, timeout: Int64? = nil) {
self.error = error
self.success = success
self.timeout = timeout
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case error
case success
case timeout
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(error, forKey: .error)
try container.encodeIfPresent(success, forKey: .success)
try container.encodeIfPresent(timeout, forKey: .timeout)
}
}