Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

51 lines
1.6 KiB
Swift

//
// Blog.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Blog: Sendable, Codable, ParameterConvertible, Hashable {
/** CaseStudy is one worked instance — somebody who ran it, and what happened. */
public var caseStudy: String?
/** How is the run book: the steps to execute the tactic. */
public var how: String?
/** Slug is the post's address — the last path segment it is published at. */
public var slug: String?
/** Title is the post's headline. */
public var title: String?
/** Why is the mechanism: the reason the tactic works, stated as a principle rather than as instructions. */
public var why: String?
public init(caseStudy: String? = nil, how: String? = nil, slug: String? = nil, title: String? = nil, why: String? = nil) {
self.caseStudy = caseStudy
self.how = how
self.slug = slug
self.title = title
self.why = why
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case caseStudy
case how
case slug
case title
case why
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(caseStudy, forKey: .caseStudy)
try container.encodeIfPresent(how, forKey: .how)
try container.encodeIfPresent(slug, forKey: .slug)
try container.encodeIfPresent(title, forKey: .title)
try container.encodeIfPresent(why, forKey: .why)
}
}