Files

36 lines
919 B
Swift

//
// SyncTally.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct SyncTally: Sendable, Codable, ParameterConvertible, Hashable {
/** Live is the number of vouchers newly posted to the live ledger. */
public var live: Int64?
/** Sandbox is the number newly posted to the sandbox ledger. */
public var sandbox: Int64?
public init(live: Int64? = nil, sandbox: Int64? = nil) {
self.live = live
self.sandbox = sandbox
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case live
case sandbox
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(live, forKey: .live)
try container.encodeIfPresent(sandbox, forKey: .sandbox)
}
}