Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

59 lines
2.0 KiB
Swift

//
// RiskDatasetRow.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct RiskDatasetRow: Sendable, Codable, ParameterConvertible, Hashable {
/** At is the row's instant. */
public var at: String?
/** ID names the row forever. It is DERIVED from the row's own subject and instant, not allocated, so two materialisations of the same fact agree on it without coordinating. */
public var id: String?
/** Kind is the subject kind: person, session or account. */
public var kind: String?
/** Point is the coordinates, in the order the version's spec names its dims. */
public var point: [Double]?
/** Split is train, val or test. */
public var split: String?
/** Subject is the identity within that kind — whose row this is. Every row of one subject is in ONE split, decided by that subject's earliest instant, so a subject is never on both sides of a cut. */
public var subject: String?
public init(at: String? = nil, id: String? = nil, kind: String? = nil, point: [Double]? = nil, split: String? = nil, subject: String? = nil) {
self.at = at
self.id = id
self.kind = kind
self.point = point
self.split = split
self.subject = subject
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case at
case id
case kind
case point
case split
case subject
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(at, forKey: .at)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(kind, forKey: .kind)
try container.encodeIfPresent(point, forKey: .point)
try container.encodeIfPresent(split, forKey: .split)
try container.encodeIfPresent(subject, forKey: .subject)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension RiskDatasetRow: Identifiable {}