Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

51 lines
1.6 KiB
Swift

//
// Admission.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Admission: Sendable, Codable, ParameterConvertible, Hashable {
/** Benchmarks are the catalog ids admitted. */
public var benchmarks: [String]?
/** Endpoint is the caller's own endpoint the run targets. */
public var endpoint: String?
/** Model is the catalog model the run targets. */
public var model: String?
/** Note explains what admission does and does not promise. */
public var note: String?
/** Status is \"queued\": the run is admitted, not finished. */
public var status: String?
public init(benchmarks: [String]? = nil, endpoint: String? = nil, model: String? = nil, note: String? = nil, status: String? = nil) {
self.benchmarks = benchmarks
self.endpoint = endpoint
self.model = model
self.note = note
self.status = status
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case benchmarks
case endpoint
case model
case note
case status
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(benchmarks, forKey: .benchmarks)
try container.encodeIfPresent(endpoint, forKey: .endpoint)
try container.encodeIfPresent(model, forKey: .model)
try container.encodeIfPresent(note, forKey: .note)
try container.encodeIfPresent(status, forKey: .status)
}
}