Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
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.
2026-09-05 18:55:38 -07:00

56 lines
2.2 KiB
Swift

//
// RiskTopology.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct RiskTopology: Sendable, Codable, ParameterConvertible, Hashable {
/** Blend is how much of a closing window folds into the reference: 1 replaces it outright, less makes the reference expensive to move. */
public var blend: Double?
/** Depth is how deep each tree is. With Trees it sets how finely the space is partitioned, and therefore how much history it takes to fill. */
public var depth: Int64?
/** Family is the KIND of model this candidate is: `halfspace` is an ensemble of half-space trees whose masses are counters, and it is the family this search grid ranks. The parameters below are that family's own — a family that does not partition space with trees has different ones — so read them against this. */
public var family: String?
/** Review is the appetite this shape was tried at. */
public var review: Double?
/** Trees is how many half-space trees the ensemble holds. */
public var trees: Int64?
/** Window is how many events make one reference window. */
public var window: Int64?
public init(blend: Double? = nil, depth: Int64? = nil, family: String? = nil, review: Double? = nil, trees: Int64? = nil, window: Int64? = nil) {
self.blend = blend
self.depth = depth
self.family = family
self.review = review
self.trees = trees
self.window = window
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case blend
case depth
case family
case review
case trees
case window
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(blend, forKey: .blend)
try container.encodeIfPresent(depth, forKey: .depth)
try container.encodeIfPresent(family, forKey: .family)
try container.encodeIfPresent(review, forKey: .review)
try container.encodeIfPresent(trees, forKey: .trees)
try container.encodeIfPresent(window, forKey: .window)
}
}