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.
36 lines
1000 B
Swift
36 lines
1000 B
Swift
//
|
|
// ImportDocumentsOut.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct ImportDocumentsOut: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Formation is the org's incorporation record with the imported document ids. */
|
|
public var formation: Formation?
|
|
/** Ingested is how many files this call put in the data room. */
|
|
public var ingested: Int64?
|
|
|
|
public init(formation: Formation? = nil, ingested: Int64? = nil) {
|
|
self.formation = formation
|
|
self.ingested = ingested
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case formation
|
|
case ingested
|
|
}
|
|
|
|
// 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(ingested, forKey: .ingested)
|
|
}
|
|
}
|
|
|