Files
swift-sdk/Sources/Hanzo/Models/O11ySpanMapperSource.swift
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.1 KiB
Swift

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