mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
The forge tree held the package scaffolding and none of the generated sources — 2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply absent, so anything depending on this copy had a package that compiled to nothing usable. Generated from the current API document rather than reconciled with the other copy: a client is a function of the spec, so regenerating answers "which history wins" without anyone having to choose. .spec-lock records which document, so the next reader can tell.
50 lines
1.6 KiB
Swift
50 lines
1.6 KiB
Swift
//
|
|
// EsignUploadIn.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct EsignUploadIn: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var externalId: JSONValue?
|
|
public var message: JSONValue?
|
|
public var pdfBase64: JSONValue?
|
|
public var signingOrder: JSONValue?
|
|
public var subject: JSONValue?
|
|
public var title: JSONValue?
|
|
|
|
public init(externalId: JSONValue? = nil, message: JSONValue? = nil, pdfBase64: JSONValue? = nil, signingOrder: JSONValue? = nil, subject: JSONValue? = nil, title: JSONValue? = nil) {
|
|
self.externalId = externalId
|
|
self.message = message
|
|
self.pdfBase64 = pdfBase64
|
|
self.signingOrder = signingOrder
|
|
self.subject = subject
|
|
self.title = title
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case externalId
|
|
case message
|
|
case pdfBase64
|
|
case signingOrder
|
|
case subject
|
|
case title
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(externalId, forKey: .externalId)
|
|
try container.encodeIfPresent(message, forKey: .message)
|
|
try container.encodeIfPresent(pdfBase64, forKey: .pdfBase64)
|
|
try container.encodeIfPresent(signingOrder, forKey: .signingOrder)
|
|
try container.encodeIfPresent(subject, forKey: .subject)
|
|
try container.encodeIfPresent(title, forKey: .title)
|
|
}
|
|
}
|
|
|