Files
sdk/Sources/Hanzo/Models/ImportDocumentsOut.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)
}
}