mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
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.
86 lines
4.0 KiB
Swift
86 lines
4.0 KiB
Swift
//
|
|
// CaptableShareClassAmend.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct CaptableShareClassAmend: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var boardApprovalDate: JSONValue?
|
|
public var classType: JSONValue?
|
|
public var conversionRights: JSONValue?
|
|
public var convertsToShareClassId: JSONValue?
|
|
/** ID addresses the resource. The URL is the addressing authority — a path segment binds after the body and after the query — so the address decides which row is written whatever a body claims. */
|
|
public var id: String?
|
|
public var initialSharesAuthorized: JSONValue?
|
|
public var liquidationPreferenceMultiple: JSONValue?
|
|
public var name: JSONValue?
|
|
public var parValue: JSONValue?
|
|
public var participationCapMultiple: JSONValue?
|
|
public var pricePerShare: JSONValue?
|
|
public var seniority: JSONValue?
|
|
public var stockholderApprovalDate: JSONValue?
|
|
public var votesPerShare: JSONValue?
|
|
|
|
public init(boardApprovalDate: JSONValue? = nil, classType: JSONValue? = nil, conversionRights: JSONValue? = nil, convertsToShareClassId: JSONValue? = nil, id: String? = nil, initialSharesAuthorized: JSONValue? = nil, liquidationPreferenceMultiple: JSONValue? = nil, name: JSONValue? = nil, parValue: JSONValue? = nil, participationCapMultiple: JSONValue? = nil, pricePerShare: JSONValue? = nil, seniority: JSONValue? = nil, stockholderApprovalDate: JSONValue? = nil, votesPerShare: JSONValue? = nil) {
|
|
self.boardApprovalDate = boardApprovalDate
|
|
self.classType = classType
|
|
self.conversionRights = conversionRights
|
|
self.convertsToShareClassId = convertsToShareClassId
|
|
self.id = id
|
|
self.initialSharesAuthorized = initialSharesAuthorized
|
|
self.liquidationPreferenceMultiple = liquidationPreferenceMultiple
|
|
self.name = name
|
|
self.parValue = parValue
|
|
self.participationCapMultiple = participationCapMultiple
|
|
self.pricePerShare = pricePerShare
|
|
self.seniority = seniority
|
|
self.stockholderApprovalDate = stockholderApprovalDate
|
|
self.votesPerShare = votesPerShare
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case boardApprovalDate
|
|
case classType
|
|
case conversionRights
|
|
case convertsToShareClassId
|
|
case id
|
|
case initialSharesAuthorized
|
|
case liquidationPreferenceMultiple
|
|
case name
|
|
case parValue
|
|
case participationCapMultiple
|
|
case pricePerShare
|
|
case seniority
|
|
case stockholderApprovalDate
|
|
case votesPerShare
|
|
}
|
|
|
|
// 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(classType, forKey: .classType)
|
|
try container.encodeIfPresent(conversionRights, forKey: .conversionRights)
|
|
try container.encodeIfPresent(convertsToShareClassId, forKey: .convertsToShareClassId)
|
|
try container.encodeIfPresent(id, forKey: .id)
|
|
try container.encodeIfPresent(initialSharesAuthorized, forKey: .initialSharesAuthorized)
|
|
try container.encodeIfPresent(liquidationPreferenceMultiple, forKey: .liquidationPreferenceMultiple)
|
|
try container.encodeIfPresent(name, forKey: .name)
|
|
try container.encodeIfPresent(parValue, forKey: .parValue)
|
|
try container.encodeIfPresent(participationCapMultiple, forKey: .participationCapMultiple)
|
|
try container.encodeIfPresent(pricePerShare, forKey: .pricePerShare)
|
|
try container.encodeIfPresent(seniority, forKey: .seniority)
|
|
try container.encodeIfPresent(stockholderApprovalDate, forKey: .stockholderApprovalDate)
|
|
try container.encodeIfPresent(votesPerShare, forKey: .votesPerShare)
|
|
}
|
|
}
|
|
|
|
|
|
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
|
|
extension CaptableShareClassAmend: Identifiable {}
|