Files
zeekay b0db427c79 regenerate from cloud 939b09d4
The projection was 113 commits behind the document it claims to describe, and
`generate.py --all --check` reported every one of the thirteen clients DRIFTED —
the same +19 models in each, because they all fell behind the same emission.

Regenerated in place from hanzo-inc/cloud openapi.yaml at 939b09d4
(sha256 087024f6…), which is the only description of this API that cannot name a
route the binary does not serve. `--check` is clean across all thirteen after.

.spec-lock moved with the code. The generator READS that file and never writes
it — hanzoai/ci`s lane does — so a hand run leaves every lock naming the previous
document. A lock that disagrees with the tree beside it is worse than no lock:
the next `--check` without `--spec` fetches what production serves, compares it
to a digest that was already wrong, and reports drift that is really staleness.
2026-08-24 23:32:45 -07:00

86 lines
3.4 KiB
Swift

//
// CaptableOptionIn.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CaptableOptionIn: Sendable, Codable, ParameterConvertible, Hashable {
public var boardApprovalDate: JSONValue?
public var cliffYears: JSONValue?
public var equityPlanId: JSONValue?
public var exercisePrice: JSONValue?
public var expirationDate: JSONValue?
public var grantId: JSONValue?
public var issueDate: JSONValue?
public var notes: JSONValue?
public var quantity: JSONValue?
public var rule144Date: JSONValue?
public var stakeholderId: JSONValue?
public var status: JSONValue?
public var type: JSONValue?
public var vestingStartDate: JSONValue?
public var vestingYears: JSONValue?
public init(boardApprovalDate: JSONValue? = nil, cliffYears: JSONValue? = nil, equityPlanId: JSONValue? = nil, exercisePrice: JSONValue? = nil, expirationDate: JSONValue? = nil, grantId: JSONValue? = nil, issueDate: JSONValue? = nil, notes: JSONValue? = nil, quantity: JSONValue? = nil, rule144Date: JSONValue? = nil, stakeholderId: JSONValue? = nil, status: JSONValue? = nil, type: JSONValue? = nil, vestingStartDate: JSONValue? = nil, vestingYears: JSONValue? = nil) {
self.boardApprovalDate = boardApprovalDate
self.cliffYears = cliffYears
self.equityPlanId = equityPlanId
self.exercisePrice = exercisePrice
self.expirationDate = expirationDate
self.grantId = grantId
self.issueDate = issueDate
self.notes = notes
self.quantity = quantity
self.rule144Date = rule144Date
self.stakeholderId = stakeholderId
self.status = status
self.type = type
self.vestingStartDate = vestingStartDate
self.vestingYears = vestingYears
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case boardApprovalDate
case cliffYears
case equityPlanId
case exercisePrice
case expirationDate
case grantId
case issueDate
case notes
case quantity
case rule144Date
case stakeholderId
case status
case type
case vestingStartDate
case vestingYears
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(boardApprovalDate, forKey: .boardApprovalDate)
try container.encodeIfPresent(cliffYears, forKey: .cliffYears)
try container.encodeIfPresent(equityPlanId, forKey: .equityPlanId)
try container.encodeIfPresent(exercisePrice, forKey: .exercisePrice)
try container.encodeIfPresent(expirationDate, forKey: .expirationDate)
try container.encodeIfPresent(grantId, forKey: .grantId)
try container.encodeIfPresent(issueDate, forKey: .issueDate)
try container.encodeIfPresent(notes, forKey: .notes)
try container.encodeIfPresent(quantity, forKey: .quantity)
try container.encodeIfPresent(rule144Date, forKey: .rule144Date)
try container.encodeIfPresent(stakeholderId, forKey: .stakeholderId)
try container.encodeIfPresent(status, forKey: .status)
try container.encodeIfPresent(type, forKey: .type)
try container.encodeIfPresent(vestingStartDate, forKey: .vestingStartDate)
try container.encodeIfPresent(vestingYears, forKey: .vestingYears)
}
}