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

54 lines
1.7 KiB
Swift

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