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

//
// BaseView.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct BaseView: Sendable, Codable, ParameterConvertible, Hashable {
/** Bytes is the store's size on disk, present only once it exists. It is what this Base occupies, not a quota. */
public var bytes: Int64?
/** Exists reports whether this Base's store has been provisioned. False is an org nobody has stored anything for yet, which is a state to name rather than an error: the store is created the first time anything writes. */
public var exists: Bool?
/** Org is the org this Base belongs to. It is the address every other Base call is scoped by, and a Base has no name of its own. */
public var org: String?
public init(bytes: Int64? = nil, exists: Bool? = nil, org: String? = nil) {
self.bytes = bytes
self.exists = exists
self.org = org
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case bytes
case exists
case org
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(bytes, forKey: .bytes)
try container.encodeIfPresent(exists, forKey: .exists)
try container.encodeIfPresent(org, forKey: .org)
}
}