Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
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.
2026-09-05 18:55:38 -07:00

38 lines
1.1 KiB
Swift

//
// RollupBalance.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct RollupBalance: Sendable, Codable, ParameterConvertible, Hashable {
public var availableCents: Int64?
public var balanceCents: Int64?
public var holdsCents: Int64?
public init(availableCents: Int64? = nil, balanceCents: Int64? = nil, holdsCents: Int64? = nil) {
self.availableCents = availableCents
self.balanceCents = balanceCents
self.holdsCents = holdsCents
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case availableCents
case balanceCents
case holdsCents
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(availableCents, forKey: .availableCents)
try container.encodeIfPresent(balanceCents, forKey: .balanceCents)
try container.encodeIfPresent(holdsCents, forKey: .holdsCents)
}
}