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

//
// GraphAssertOut.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct GraphAssertOut: Sendable, Codable, ParameterConvertible, Hashable {
/** Duplicate is how many members this plane already held. A redelivery collides on its content address and is counted here, not refused: it is the success a retrying caller depends on. */
public var duplicate: Int64?
/** Reasons names why each refused member was refused, in the order sent. */
public var reasons: [String]?
/** Recorded is how many members became new rows. */
public var recorded: Int64?
/** Refused is how many members were turned away on arrival, before the store was touched — a missing entity, a timestamp that is not RFC 3339, a confidence outside [0,1]. The rest of the batch was still recorded. */
public var refused: Int64?
public init(duplicate: Int64? = nil, reasons: [String]? = nil, recorded: Int64? = nil, refused: Int64? = nil) {
self.duplicate = duplicate
self.reasons = reasons
self.recorded = recorded
self.refused = refused
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case duplicate
case reasons
case recorded
case refused
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(duplicate, forKey: .duplicate)
try container.encodeIfPresent(reasons, forKey: .reasons)
try container.encodeIfPresent(recorded, forKey: .recorded)
try container.encodeIfPresent(refused, forKey: .refused)
}
}