mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
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.
42 lines
1.3 KiB
Swift
42 lines
1.3 KiB
Swift
//
|
|
// O11yGettableFlamegraphTrace.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yGettableFlamegraphTrace: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var endTimestampMillis: Int64?
|
|
public var hasMore: Bool?
|
|
public var spans: [[O11yFlamegraphSpan]]?
|
|
public var startTimestampMillis: Int64?
|
|
|
|
public init(endTimestampMillis: Int64? = nil, hasMore: Bool? = nil, spans: [[O11yFlamegraphSpan]]? = nil, startTimestampMillis: Int64? = nil) {
|
|
self.endTimestampMillis = endTimestampMillis
|
|
self.hasMore = hasMore
|
|
self.spans = spans
|
|
self.startTimestampMillis = startTimestampMillis
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case endTimestampMillis
|
|
case hasMore
|
|
case spans
|
|
case startTimestampMillis
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(endTimestampMillis, forKey: .endTimestampMillis)
|
|
try container.encodeIfPresent(hasMore, forKey: .hasMore)
|
|
try container.encodeIfPresent(spans, forKey: .spans)
|
|
try container.encodeIfPresent(startTimestampMillis, forKey: .startTimestampMillis)
|
|
}
|
|
}
|
|
|