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.
46 lines
1.3 KiB
Swift
46 lines
1.3 KiB
Swift
//
|
|
// O11yO11yErrorIssues.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yO11yErrorIssues: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Items are the issues. */
|
|
public var items: [O11yO11yErrorIssue]?
|
|
/** Limit is the page cap that was applied. */
|
|
public var limit: Int64?
|
|
/** Offset is how many were skipped. */
|
|
public var offset: Int64?
|
|
/** Total is how many matched the filter. */
|
|
public var total: Int64?
|
|
|
|
public init(items: [O11yO11yErrorIssue]? = nil, limit: Int64? = nil, offset: Int64? = nil, total: Int64? = nil) {
|
|
self.items = items
|
|
self.limit = limit
|
|
self.offset = offset
|
|
self.total = total
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case items
|
|
case limit
|
|
case offset
|
|
case total
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(items, forKey: .items)
|
|
try container.encodeIfPresent(limit, forKey: .limit)
|
|
try container.encodeIfPresent(offset, forKey: .offset)
|
|
try container.encodeIfPresent(total, forKey: .total)
|
|
}
|
|
}
|
|
|