mirror of
https://github.com/hanzoai/swift-sdk.git
synced 2026-10-30 18:20:19 +00:00
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.
41 lines
1.1 KiB
Swift
41 lines
1.1 KiB
Swift
//
|
|
// SetReferenceOut.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct SetReferenceOut: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Overrides is how many your org now holds in this set. */
|
|
public var overrides: Int64?
|
|
/** Set is the set written in. */
|
|
public var _set: String?
|
|
/** Written is how many entries this call wrote. */
|
|
public var written: Int64?
|
|
|
|
public init(overrides: Int64? = nil, _set: String? = nil, written: Int64? = nil) {
|
|
self.overrides = overrides
|
|
self._set = _set
|
|
self.written = written
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case overrides
|
|
case _set = "set"
|
|
case written
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(overrides, forKey: .overrides)
|
|
try container.encodeIfPresent(_set, forKey: ._set)
|
|
try container.encodeIfPresent(written, forKey: .written)
|
|
}
|
|
}
|
|
|