Files
zeekay 87d088ed73 Regenerate against the current cloud document
The lock sat at 574d1f1d while the product moved on. The team surface
stopped at rooms — no messages path, no way to open one — so anything
built on this client had to reach past it with its own HTTP calls, which
is the duplication a generated client exists to prevent.
2026-09-01 02:21:56 -07:00

39 lines
1021 B
Swift

//
// Tokens.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Tokens: Sendable, Codable, ParameterConvertible, Hashable {
public var chain: String?
public var reach: Reach?
/** Tokens is `[]` where the indexer holds none and `null` where the read failed. */
public var tokens: [Token]?
public init(chain: String? = nil, reach: Reach? = nil, tokens: [Token]? = nil) {
self.chain = chain
self.reach = reach
self.tokens = tokens
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case chain
case reach
case tokens
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(chain, forKey: .chain)
try container.encodeIfPresent(reach, forKey: .reach)
try container.encodeIfPresent(tokens, forKey: .tokens)
}
}