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.0 KiB
Swift

//
// DriftTally.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct DriftTally: Sendable, Codable, ParameterConvertible, Hashable {
/** OK is how many rows run what they declare. */
public var ok: Int64?
/** Red is how many have drifted badly. */
public var red: Int64?
/** Yellow is how many have drifted within tolerance. */
public var yellow: Int64?
public init(ok: Int64? = nil, red: Int64? = nil, yellow: Int64? = nil) {
self.ok = ok
self.red = red
self.yellow = yellow
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case ok
case red
case yellow
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(ok, forKey: .ok)
try container.encodeIfPresent(red, forKey: .red)
try container.encodeIfPresent(yellow, forKey: .yellow)
}
}