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.
42 lines
1.0 KiB
Swift
42 lines
1.0 KiB
Swift
//
|
|
// ForgeLaunched.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct ForgeLaunched: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var job: Int?
|
|
public var org: String?
|
|
public var repo: String?
|
|
public var runner: String?
|
|
|
|
public init(job: Int? = nil, org: String? = nil, repo: String? = nil, runner: String? = nil) {
|
|
self.job = job
|
|
self.org = org
|
|
self.repo = repo
|
|
self.runner = runner
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case job
|
|
case org
|
|
case repo
|
|
case runner
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(job, forKey: .job)
|
|
try container.encodeIfPresent(org, forKey: .org)
|
|
try container.encodeIfPresent(repo, forKey: .repo)
|
|
try container.encodeIfPresent(runner, forKey: .runner)
|
|
}
|
|
}
|
|
|