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

59 lines
1.7 KiB
Swift

//
// Benchmark.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Benchmark: Sendable, Codable, ParameterConvertible, Hashable {
/** what capability it measures */
public var axis: String?
/** the id every other op on this surface takes */
public var id: String?
/** how many items it holds, when the set is fixed */
public var items: Int64?
/** whether the standardized harness runs it today */
public var native: Bool?
/** where the items come from */
public var source: String?
/** the benchmark's published name */
public var title: String?
public init(axis: String? = nil, id: String? = nil, items: Int64? = nil, native: Bool? = nil, source: String? = nil, title: String? = nil) {
self.axis = axis
self.id = id
self.items = items
self.native = native
self.source = source
self.title = title
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case axis
case id
case items
case native
case source
case title
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(axis, forKey: .axis)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(items, forKey: .items)
try container.encodeIfPresent(native, forKey: .native)
try container.encodeIfPresent(source, forKey: .source)
try container.encodeIfPresent(title, forKey: .title)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension Benchmark: Identifiable {}