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

//
// PricingModelList.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct PricingModelList: Sendable, Codable, ParameterConvertible, Hashable {
/** Models are the catalog entries visible to the caller, each an opaque object exactly as the pricing source emits it, with any admin override merged on top. An admin additionally sees hidden entries, each annotated under \"_overlay\". */
public var models: [[String: JSONValue]]?
/** Total is how many models this answer carries — recounted over the visible set, not the catalog's own total. */
public var total: Int64?
/** Updated is when the catalog was last refreshed, as the pricing source recorded it. */
public var updated: JSONValue?
public init(models: [[String: JSONValue]]? = nil, total: Int64? = nil, updated: JSONValue? = nil) {
self.models = models
self.total = total
self.updated = updated
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case models
case total
case updated
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(models, forKey: .models)
try container.encodeIfPresent(total, forKey: .total)
try container.encodeIfPresent(updated, forKey: .updated)
}
}