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

//
// TrustTally.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct TrustTally: Sendable, Codable, ParameterConvertible, Hashable {
/** Absent is how many the organization does not have. An absent control still names the clause it would satisfy — that is a roadmap — but it never moves a coverage number. */
public var absent: Int64?
/** Automated is how many run with nobody in the loop. */
public var automated: Int64?
/** Partial is how many run but do not cover their whole claim. Each says what is missing. */
public var partial: Int64?
/** Statement is the counts as one sentence, safe to quote. */
public var statement: String?
/** Total is how many controls this organization publishes. */
public var total: Int64?
/** Unverified is how many rest on somebody having READ the source rather than on a test or an audit row. Only a check that can FAIL counts as verified, and coverage counts those one rung weaker than they claim to be. */
public var unverified: Int64?
public init(absent: Int64? = nil, automated: Int64? = nil, partial: Int64? = nil, statement: String? = nil, total: Int64? = nil, unverified: Int64? = nil) {
self.absent = absent
self.automated = automated
self.partial = partial
self.statement = statement
self.total = total
self.unverified = unverified
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case absent
case automated
case partial
case statement
case total
case unverified
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(absent, forKey: .absent)
try container.encodeIfPresent(automated, forKey: .automated)
try container.encodeIfPresent(partial, forKey: .partial)
try container.encodeIfPresent(statement, forKey: .statement)
try container.encodeIfPresent(total, forKey: .total)
try container.encodeIfPresent(unverified, forKey: .unverified)
}
}