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.
38 lines
955 B
Swift
38 lines
955 B
Swift
//
|
|
// O11yGettableRuleStateWindow.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yGettableRuleStateWindow: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var end: Int64?
|
|
public var start: Int64?
|
|
public var state: JSONValue?
|
|
|
|
public init(end: Int64? = nil, start: Int64? = nil, state: JSONValue? = nil) {
|
|
self.end = end
|
|
self.start = start
|
|
self.state = state
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case end
|
|
case start
|
|
case state
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(end, forKey: .end)
|
|
try container.encodeIfPresent(start, forKey: .start)
|
|
try container.encodeIfPresent(state, forKey: .state)
|
|
}
|
|
}
|
|
|