mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
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.
46 lines
1.5 KiB
Swift
46 lines
1.5 KiB
Swift
//
|
|
// BlueprintHealth.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct BlueprintHealth: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Blueprints is how many blueprints this build has embedded and priced. */
|
|
public var blueprints: Int64?
|
|
/** RateCard is the rate card actually in force after the operator env overlay (CLOUD_BLUEPRINT_UCPU_HR / CLOUD_BLUEPRINT_UGB_HR), not the shipped default. */
|
|
public var rateCard: RateCard?
|
|
/** Service names the subsystem answering — always \"blueprint\". */
|
|
public var service: String?
|
|
/** Status is \"ok\"; the route answers 200 whenever the subsystem is mounted. */
|
|
public var status: String?
|
|
|
|
public init(blueprints: Int64? = nil, rateCard: RateCard? = nil, service: String? = nil, status: String? = nil) {
|
|
self.blueprints = blueprints
|
|
self.rateCard = rateCard
|
|
self.service = service
|
|
self.status = status
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case blueprints
|
|
case rateCard
|
|
case service
|
|
case status
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(blueprints, forKey: .blueprints)
|
|
try container.encodeIfPresent(rateCard, forKey: .rateCard)
|
|
try container.encodeIfPresent(service, forKey: .service)
|
|
try container.encodeIfPresent(status, forKey: .status)
|
|
}
|
|
}
|
|
|