Files
swift-sdk/Sources/Hanzo/Models/ImportCapTableOut.swift
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

41 lines
1.3 KiB
Swift

//
// ImportCapTableOut.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct ImportCapTableOut: Sendable, Codable, ParameterConvertible, Hashable {
/** Formation is the org's incorporation record, now marked cap-table-imported. */
public var formation: Formation?
/** Rows is how many rows were read from the sheet, header included. */
public var rows: Int64?
/** StakeholdersImported is how many stakeholders the cap table accepted. */
public var stakeholdersImported: Int64?
public init(formation: Formation? = nil, rows: Int64? = nil, stakeholdersImported: Int64? = nil) {
self.formation = formation
self.rows = rows
self.stakeholdersImported = stakeholdersImported
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case formation
case rows
case stakeholdersImported
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(formation, forKey: .formation)
try container.encodeIfPresent(rows, forKey: .rows)
try container.encodeIfPresent(stakeholdersImported, forKey: .stakeholdersImported)
}
}