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

42 lines
1.3 KiB
Swift

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