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

46 lines
1.4 KiB
Swift

//
// O11yTracesOut.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yTracesOut: Sendable, Codable, ParameterConvertible, Hashable {
/** Count is how many traces this page carries. */
public var count: Int64?
/** Limit is the page cap actually applied, after clamping. */
public var limit: Int64?
/** SinceSec is the window actually read, in seconds, after clamping. */
public var sinceSec: Int64?
/** Traces are the caller org's traces, most recently active first. */
public var traces: [O11yTraceRow]?
public init(count: Int64? = nil, limit: Int64? = nil, sinceSec: Int64? = nil, traces: [O11yTraceRow]? = nil) {
self.count = count
self.limit = limit
self.sinceSec = sinceSec
self.traces = traces
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case count
case limit
case sinceSec
case traces
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(count, forKey: .count)
try container.encodeIfPresent(limit, forKey: .limit)
try container.encodeIfPresent(sinceSec, forKey: .sinceSec)
try container.encodeIfPresent(traces, forKey: .traces)
}
}