mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
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.
41 lines
1.3 KiB
Swift
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)
|
|
}
|
|
}
|
|
|