Files
swift-sdk/Sources/Hanzo/Models/RiskDatasetDisposal.swift
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

41 lines
1.3 KiB
Swift

//
// RiskDatasetDisposal.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct RiskDatasetDisposal: Sendable, Codable, ParameterConvertible, Hashable {
/** Dataset is the dataset that was disposed of. The NAME survives: declaring it again continues the version count rather than starting over at 1. */
public var dataset: String?
/** Rows is how many rows they held between them, as the REGISTER recorded them when each was materialised — not a count of what the drop deleted, which is gone by the time this answers. */
public var rows: Int64?
/** Versions is how many versions went. */
public var versions: Int64?
public init(dataset: String? = nil, rows: Int64? = nil, versions: Int64? = nil) {
self.dataset = dataset
self.rows = rows
self.versions = versions
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case dataset
case rows
case versions
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(dataset, forKey: .dataset)
try container.encodeIfPresent(rows, forKey: .rows)
try container.encodeIfPresent(versions, forKey: .versions)
}
}