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

44 lines
1.3 KiB
Swift

//
// TrustDecision.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct TrustDecision: Sendable, Codable, ParameterConvertible, Hashable {
/** Days is how long the grant stays open, from now. Optional; 14 by default and 365 at most — a longer release is describing a customer relationship rather than a document. */
public var days: Int64?
/** ID is the request to answer, taken from the path. */
public var id: String?
/** Note is why. Recorded on the request either way, and it is what the record shows a year later. */
public var note: String?
public init(days: Int64? = nil, id: String? = nil, note: String? = nil) {
self.days = days
self.id = id
self.note = note
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case days
case id
case note
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(days, forKey: .days)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(note, forKey: .note)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension TrustDecision: Identifiable {}