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

//
// BoardPoint.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct BoardPoint: Sendable, Codable, ParameterConvertible, Hashable {
/** what this bucket cost, in cents */
public var costCents: Int64?
/** calls in this bucket that did not succeed */
public var errors: Int64?
/** model calls in this bucket */
public var generations: Int64?
/** RFC3339 (UTC) bucket start */
public var t: String?
/** tokens in this bucket */
public var totalTokens: Int64?
public init(costCents: Int64? = nil, errors: Int64? = nil, generations: Int64? = nil, t: String? = nil, totalTokens: Int64? = nil) {
self.costCents = costCents
self.errors = errors
self.generations = generations
self.t = t
self.totalTokens = totalTokens
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case costCents
case errors
case generations
case t
case totalTokens
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(costCents, forKey: .costCents)
try container.encodeIfPresent(errors, forKey: .errors)
try container.encodeIfPresent(generations, forKey: .generations)
try container.encodeIfPresent(t, forKey: .t)
try container.encodeIfPresent(totalTokens, forKey: .totalTokens)
}
}