Files
sdk/Sources/Hanzo/Models/O11yNodeCountByCondition.swift

38 lines
990 B
Swift

//
// O11yNodeCountByCondition.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yNodeCountByCondition: Sendable, Codable, ParameterConvertible, Hashable {
public var notReady: Int64?
public var ready: Int64?
public var unknown: Int64?
public init(notReady: Int64? = nil, ready: Int64? = nil, unknown: Int64? = nil) {
self.notReady = notReady
self.ready = ready
self.unknown = unknown
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case notReady
case ready
case unknown
}
// 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)
try container.encodeIfPresent(unknown, forKey: .unknown)
}
}