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

46 lines
1.4 KiB
Swift

//
// ClearReferenceOut.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct ClearReferenceOut: Sendable, Codable, ParameterConvertible, Hashable {
/** Cleared is false when your org held no such override — which is not an error, it is the honest answer to a removal that had nothing to remove. */
public var cleared: Bool?
/** Key is the entry named. */
public var key: String?
/** Overrides is how many your org still holds in this set. */
public var overrides: Int64?
/** Set is the set cleared in. */
public var _set: String?
public init(cleared: Bool? = nil, key: String? = nil, overrides: Int64? = nil, _set: String? = nil) {
self.cleared = cleared
self.key = key
self.overrides = overrides
self._set = _set
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case cleared
case key
case overrides
case _set = "set"
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(cleared, forKey: .cleared)
try container.encodeIfPresent(key, forKey: .key)
try container.encodeIfPresent(overrides, forKey: .overrides)
try container.encodeIfPresent(_set, forKey: ._set)
}
}