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

51 lines
1.7 KiB
Swift

//
// RunPoint.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct RunPoint: Sendable, Codable, ParameterConvertible, Hashable {
/** At is when the run was recorded. */
public var at: Date?
/** Delta is the change in score from the previous run for this model, absent on the first. It is the number the whole surface exists to make visible. */
public var delta: Double?
/** N is how many items the run covered. Two runs are only comparable at the same n, which is why it travels with every point rather than being assumed. */
public var n: Int64?
/** Run is the measurement id these attempts were recorded under. */
public var run: String?
/** Score is accuracy over the items this run covered, as a percentage. */
public var score: Double?
public init(at: Date? = nil, delta: Double? = nil, n: Int64? = nil, run: String? = nil, score: Double? = nil) {
self.at = at
self.delta = delta
self.n = n
self.run = run
self.score = score
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case at
case delta
case n
case run
case score
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(at, forKey: .at)
try container.encodeIfPresent(delta, forKey: .delta)
try container.encodeIfPresent(n, forKey: .n)
try container.encodeIfPresent(run, forKey: .run)
try container.encodeIfPresent(score, forKey: .score)
}
}