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

66 lines
2.1 KiB
Swift

//
// Principle.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Principle: Sendable, Codable, ParameterConvertible, Hashable {
/** the Book of Changes reading */
public var change: String?
/** the growth / go-to-market domain it governs */
public var domain: String?
/** the I-Ching hexagram (pinyin + gloss) */
public var hexagram: String?
/** 1..64, the hexagram number + canonical order */
public var n: Int64?
/** the principle's short name */
public var name: String?
/** the actionable growth law */
public var principle: String?
/** stable identifier a tactic files under */
public var slug: String?
/** the Art of War teaching */
public var sunTzu: String?
public init(change: String? = nil, domain: String? = nil, hexagram: String? = nil, n: Int64? = nil, name: String? = nil, principle: String? = nil, slug: String? = nil, sunTzu: String? = nil) {
self.change = change
self.domain = domain
self.hexagram = hexagram
self.n = n
self.name = name
self.principle = principle
self.slug = slug
self.sunTzu = sunTzu
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case change
case domain
case hexagram
case n
case name
case principle
case slug
case sunTzu
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(change, forKey: .change)
try container.encodeIfPresent(domain, forKey: .domain)
try container.encodeIfPresent(hexagram, forKey: .hexagram)
try container.encodeIfPresent(n, forKey: .n)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(principle, forKey: .principle)
try container.encodeIfPresent(slug, forKey: .slug)
try container.encodeIfPresent(sunTzu, forKey: .sunTzu)
}
}