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.
61 lines
2.0 KiB
Swift
61 lines
2.0 KiB
Swift
//
|
|
// Waiting.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct Waiting: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Email is the founder's email — the key a decision is posted against. */
|
|
public var email: String?
|
|
/** Founder is the founder's name. */
|
|
public var founder: String?
|
|
/** KYCRef is the identity-verification session reference, when one was opened. */
|
|
public var kycRef: String?
|
|
/** KYCStatus is the founder's unsettled status. */
|
|
public var kycStatus: String?
|
|
/** Name is the proposed company name. */
|
|
public var name: String?
|
|
/** Org is the tenant whose formation the founder belongs to. */
|
|
public var org: String?
|
|
/** Since is when the formation was last touched, as a unix second. */
|
|
public var since: Int64?
|
|
|
|
public init(email: String? = nil, founder: String? = nil, kycRef: String? = nil, kycStatus: String? = nil, name: String? = nil, org: String? = nil, since: Int64? = nil) {
|
|
self.email = email
|
|
self.founder = founder
|
|
self.kycRef = kycRef
|
|
self.kycStatus = kycStatus
|
|
self.name = name
|
|
self.org = org
|
|
self.since = since
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case email
|
|
case founder
|
|
case kycRef
|
|
case kycStatus
|
|
case name
|
|
case org
|
|
case since
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(email, forKey: .email)
|
|
try container.encodeIfPresent(founder, forKey: .founder)
|
|
try container.encodeIfPresent(kycRef, forKey: .kycRef)
|
|
try container.encodeIfPresent(kycStatus, forKey: .kycStatus)
|
|
try container.encodeIfPresent(name, forKey: .name)
|
|
try container.encodeIfPresent(org, forKey: .org)
|
|
try container.encodeIfPresent(since, forKey: .since)
|
|
}
|
|
}
|
|
|