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

51 lines
2.0 KiB
Swift

//
// CaptableTotals.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CaptableTotals: Sendable, Codable, ParameterConvertible, Hashable {
/** FullyDilutedShares is outstandingShares plus grantedOptions. */
public var fullyDilutedShares: Int64?
/** GrantedOptions is the shares under non-terminal option grants — grants that are EXERCISED, EXPIRED or CANCELLED are excluded, so nothing double-counts. */
public var grantedOptions: Int64?
/** OutstandingShares is the sum of every issued share certificate. */
public var outstandingShares: Int64?
/** ShareClasses is how many share classes the company has authorized. */
public var shareClasses: Int64?
/** Stakeholders is how many stakeholders the company has. */
public var stakeholders: Int64?
public init(fullyDilutedShares: Int64? = nil, grantedOptions: Int64? = nil, outstandingShares: Int64? = nil, shareClasses: Int64? = nil, stakeholders: Int64? = nil) {
self.fullyDilutedShares = fullyDilutedShares
self.grantedOptions = grantedOptions
self.outstandingShares = outstandingShares
self.shareClasses = shareClasses
self.stakeholders = stakeholders
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case fullyDilutedShares
case grantedOptions
case outstandingShares
case shareClasses
case stakeholders
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(fullyDilutedShares, forKey: .fullyDilutedShares)
try container.encodeIfPresent(grantedOptions, forKey: .grantedOptions)
try container.encodeIfPresent(outstandingShares, forKey: .outstandingShares)
try container.encodeIfPresent(shareClasses, forKey: .shareClasses)
try container.encodeIfPresent(stakeholders, forKey: .stakeholders)
}
}