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

46 lines
1.7 KiB
Swift

//
// RiskHoldOut.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct RiskHoldOut: Sendable, Codable, ParameterConvertible, Hashable {
/** Changed is how many records moved into that state. A record already in it is not counted and is not an error: the op is idempotent, so a retry after a network failure is safe. */
public var changed: Int64?
/** Held is how many records this tenant is now holding, at any age. Retention never disposes of one. */
public var held: Int64?
/** Hold echoes the state asked for. */
public var hold: Bool?
/** Missing is how many of the named ids this tenant does not hold. It is reported rather than refused, so a sweep over a list that includes disposed records still places every hold it can — but it is REPORTED, because a hold that silently did nothing is a compliance control that lies. */
public var missing: Int64?
public init(changed: Int64? = nil, held: Int64? = nil, hold: Bool? = nil, missing: Int64? = nil) {
self.changed = changed
self.held = held
self.hold = hold
self.missing = missing
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case changed
case held
case hold
case missing
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(changed, forKey: .changed)
try container.encodeIfPresent(held, forKey: .held)
try container.encodeIfPresent(hold, forKey: .hold)
try container.encodeIfPresent(missing, forKey: .missing)
}
}