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

//
// VersionMeta.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct VersionMeta: Sendable, Codable, ParameterConvertible, Hashable {
/** Brand is the white-label key this revision was authored under; empty is the shared base playbook. Revisions of two brands never share a number line. */
public var brand: String?
/** UpdatedAt is when this revision was written, as Unix seconds — the \"who changed the playbook, and when\" half of the audit trail. */
public var updatedAt: Int64?
/** Version is the store's own revision counter for that brand, starting at 1 for the seeded playbook and incrementing on every edit. Nothing is overwritten, so the highest number is the live one and every lower number is still readable. It is not the playbook's authored `version` string. */
public var version: Int64?
public init(brand: String? = nil, updatedAt: Int64? = nil, version: Int64? = nil) {
self.brand = brand
self.updatedAt = updatedAt
self.version = version
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case brand
case updatedAt
case version
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(brand, forKey: .brand)
try container.encodeIfPresent(updatedAt, forKey: .updatedAt)
try container.encodeIfPresent(version, forKey: .version)
}
}