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

50 lines
1.6 KiB
Swift

//
// CaptableInvestmentIn.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CaptableInvestmentIn: Sendable, Codable, ParameterConvertible, Hashable {
public var amount: JSONValue?
public var comments: JSONValue?
public var date: JSONValue?
/** ID is the round to invest in. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which round is written whatever a body claims. */
public var id: String?
public var stakeholderId: JSONValue?
public init(amount: JSONValue? = nil, comments: JSONValue? = nil, date: JSONValue? = nil, id: String? = nil, stakeholderId: JSONValue? = nil) {
self.amount = amount
self.comments = comments
self.date = date
self.id = id
self.stakeholderId = stakeholderId
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case amount
case comments
case date
case id
case stakeholderId
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(amount, forKey: .amount)
try container.encodeIfPresent(comments, forKey: .comments)
try container.encodeIfPresent(date, forKey: .date)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(stakeholderId, forKey: .stakeholderId)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension CaptableInvestmentIn: Identifiable {}