Files
swift-sdk/Sources/Hanzo/Models/O11yPostablePipeline.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

61 lines
1.9 KiB
Swift

//
// O11yPostablePipeline.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yPostablePipeline: Sendable, Codable, ParameterConvertible, Hashable {
public var alias: String?
public var config: [JSONValue]?
public var description: String?
public var enabled: Bool?
public var filter: O11yFilterSet?
public var id: String?
public var name: String?
public var orderId: Int64?
public init(alias: String? = nil, config: [JSONValue]? = nil, description: String? = nil, enabled: Bool? = nil, filter: O11yFilterSet? = nil, id: String? = nil, name: String? = nil, orderId: Int64? = nil) {
self.alias = alias
self.config = config
self.description = description
self.enabled = enabled
self.filter = filter
self.id = id
self.name = name
self.orderId = orderId
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case alias
case config
case description
case enabled
case filter
case id
case name
case orderId
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(alias, forKey: .alias)
try container.encodeIfPresent(config, forKey: .config)
try container.encodeIfPresent(description, forKey: .description)
try container.encodeIfPresent(enabled, forKey: .enabled)
try container.encodeIfPresent(filter, forKey: .filter)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(orderId, forKey: .orderId)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension O11yPostablePipeline: Identifiable {}