mirror of
https://github.com/hanzo-swift/sdk.git
synced 2026-10-30 20:43:50 +00:00
34 lines
821 B
Swift
34 lines
821 B
Swift
//
|
|
// O11yNodeCountsByReadiness.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yNodeCountsByReadiness: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var notReady: Int64?
|
|
public var ready: Int64?
|
|
|
|
public init(notReady: Int64? = nil, ready: Int64? = nil) {
|
|
self.notReady = notReady
|
|
self.ready = ready
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case notReady
|
|
case ready
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(notReady, forKey: .notReady)
|
|
try container.encodeIfPresent(ready, forKey: .ready)
|
|
}
|
|
}
|
|
|