Files
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

56 lines
2.0 KiB
Swift

//
// CaptableHolding.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CaptableHolding: Sendable, Codable, ParameterConvertible, Hashable {
/** FullyDiluted is shares plus options. */
public var fullyDiluted: Int64?
/** Name is the stakeholder's name. */
public var name: String?
/** Options is the shares under this stakeholder's non-terminal option grants. */
public var options: Int64?
/** OwnershipPct is fullyDiluted as a percentage of the company's fullyDilutedShares, rounded to two decimals; 0 when nothing is issued. */
public var ownershipPct: Double?
/** Shares is the shares this stakeholder holds by certificate. */
public var shares: Int64?
/** StakeholderID addresses the stakeholder these totals are for. */
public var stakeholderId: String?
public init(fullyDiluted: Int64? = nil, name: String? = nil, options: Int64? = nil, ownershipPct: Double? = nil, shares: Int64? = nil, stakeholderId: String? = nil) {
self.fullyDiluted = fullyDiluted
self.name = name
self.options = options
self.ownershipPct = ownershipPct
self.shares = shares
self.stakeholderId = stakeholderId
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case fullyDiluted
case name
case options
case ownershipPct
case shares
case stakeholderId
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(fullyDiluted, forKey: .fullyDiluted)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(options, forKey: .options)
try container.encodeIfPresent(ownershipPct, forKey: .ownershipPct)
try container.encodeIfPresent(shares, forKey: .shares)
try container.encodeIfPresent(stakeholderId, forKey: .stakeholderId)
}
}