Files
swift-sdk/Sources/Hanzo/Models/CaptableConvertibleIn.swift
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

70 lines
2.7 KiB
Swift

//
// CaptableConvertibleIn.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CaptableConvertibleIn: Sendable, Codable, ParameterConvertible, Hashable {
public var additionalTerms: JSONValue?
public var boardApprovalDate: JSONValue?
public var capital: JSONValue?
public var conversionCap: JSONValue?
public var discountRate: JSONValue?
public var interestRate: JSONValue?
public var issueDate: JSONValue?
public var publicId: JSONValue?
public var stakeholderId: JSONValue?
public var status: JSONValue?
public var type: JSONValue?
public init(additionalTerms: JSONValue? = nil, boardApprovalDate: JSONValue? = nil, capital: JSONValue? = nil, conversionCap: JSONValue? = nil, discountRate: JSONValue? = nil, interestRate: JSONValue? = nil, issueDate: JSONValue? = nil, publicId: JSONValue? = nil, stakeholderId: JSONValue? = nil, status: JSONValue? = nil, type: JSONValue? = nil) {
self.additionalTerms = additionalTerms
self.boardApprovalDate = boardApprovalDate
self.capital = capital
self.conversionCap = conversionCap
self.discountRate = discountRate
self.interestRate = interestRate
self.issueDate = issueDate
self.publicId = publicId
self.stakeholderId = stakeholderId
self.status = status
self.type = type
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case additionalTerms
case boardApprovalDate
case capital
case conversionCap
case discountRate
case interestRate
case issueDate
case publicId
case stakeholderId
case status
case type
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(additionalTerms, forKey: .additionalTerms)
try container.encodeIfPresent(boardApprovalDate, forKey: .boardApprovalDate)
try container.encodeIfPresent(capital, forKey: .capital)
try container.encodeIfPresent(conversionCap, forKey: .conversionCap)
try container.encodeIfPresent(discountRate, forKey: .discountRate)
try container.encodeIfPresent(interestRate, forKey: .interestRate)
try container.encodeIfPresent(issueDate, forKey: .issueDate)
try container.encodeIfPresent(publicId, forKey: .publicId)
try container.encodeIfPresent(stakeholderId, forKey: .stakeholderId)
try container.encodeIfPresent(status, forKey: .status)
try container.encodeIfPresent(type, forKey: .type)
}
}