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.
41 lines
1.3 KiB
Swift
41 lines
1.3 KiB
Swift
//
|
|
// O11yO11yDashboardListForUser.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yO11yDashboardListForUser: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Dashboards are the rows for this page, each with the caller's pin state. */
|
|
public var dashboards: [O11yO11yDashboardListItemForUser]?
|
|
/** Tags are all tags in use across the org's dashboards. */
|
|
public var tags: [O11yO11yDashboardTag]?
|
|
/** Total is the count across all pages. */
|
|
public var total: Int64?
|
|
|
|
public init(dashboards: [O11yO11yDashboardListItemForUser]? = nil, tags: [O11yO11yDashboardTag]? = nil, total: Int64? = nil) {
|
|
self.dashboards = dashboards
|
|
self.tags = tags
|
|
self.total = total
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case dashboards
|
|
case tags
|
|
case total
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(dashboards, forKey: .dashboards)
|
|
try container.encodeIfPresent(tags, forKey: .tags)
|
|
try container.encodeIfPresent(total, forKey: .total)
|
|
}
|
|
}
|
|
|