Files
swift-sdk/Sources/Hanzo/Models/O11yO11yErrorsCountIn.swift
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

51 lines
1.7 KiB
Swift

//
// O11yO11yErrorsCountIn.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yO11yErrorsCountIn: Sendable, Codable, ParameterConvertible, Hashable {
/** End is the window end, as a nanosecond epoch spelled as a string. */
public var end: String?
/** ExceptionType narrows to one exception type. */
public var exceptionType: String?
/** ServiceName narrows to one reporting service. */
public var serviceName: String?
/** Start is the window start, as a nanosecond epoch spelled as a string. */
public var start: String?
/** Tags narrow the scan to spans carrying the given tag values. */
public var tags: [O11yO11yTagQuery]?
public init(end: String? = nil, exceptionType: String? = nil, serviceName: String? = nil, start: String? = nil, tags: [O11yO11yTagQuery]? = nil) {
self.end = end
self.exceptionType = exceptionType
self.serviceName = serviceName
self.start = start
self.tags = tags
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case end
case exceptionType
case serviceName
case start
case tags
}
// 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(exceptionType, forKey: .exceptionType)
try container.encodeIfPresent(serviceName, forKey: .serviceName)
try container.encodeIfPresent(start, forKey: .start)
try container.encodeIfPresent(tags, forKey: .tags)
}
}