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

44 lines
1.4 KiB
Swift

//
// Survey.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Survey: Sendable, Codable, ParameterConvertible, Hashable {
/** Carries is all four where the node answered and `null` where it did not. It is never a short list: a partial read reporting three would let a reader count them and conclude the chain is missing one. */
public var carries: [Precompile]?
public var chain: String?
public var reach: Reach?
/** RPC is the endpoint that was asked, so an answer names where it came from. */
public var rpc: String?
public init(carries: [Precompile]? = nil, chain: String? = nil, reach: Reach? = nil, rpc: String? = nil) {
self.carries = carries
self.chain = chain
self.reach = reach
self.rpc = rpc
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case carries
case chain
case reach
case rpc
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(carries, forKey: .carries)
try container.encodeIfPresent(chain, forKey: .chain)
try container.encodeIfPresent(reach, forKey: .reach)
try container.encodeIfPresent(rpc, forKey: .rpc)
}
}