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

41 lines
1.2 KiB
Swift

//
// Summary.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Summary: Sendable, Codable, ParameterConvertible, Hashable {
/** Calls is how many calls this org has placed or received, over its whole history — a running total, not a window. */
public var calls: Int64?
/** Messages is the same running total for messages. */
public var messages: Int64?
/** Numbers is how many numbers this org holds right now. */
public var numbers: Int64?
public init(calls: Int64? = nil, messages: Int64? = nil, numbers: Int64? = nil) {
self.calls = calls
self.messages = messages
self.numbers = numbers
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case calls
case messages
case numbers
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(calls, forKey: .calls)
try container.encodeIfPresent(messages, forKey: .messages)
try container.encodeIfPresent(numbers, forKey: .numbers)
}
}