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

46 lines
1.3 KiB
Swift

//
// CodingStarted.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CodingStarted: Sendable, Codable, ParameterConvertible, Hashable {
public var branch: String?
public var repo: String?
public var routed: Bool?
public var sessionId: String?
public var targetId: String?
public init(branch: String? = nil, repo: String? = nil, routed: Bool? = nil, sessionId: String? = nil, targetId: String? = nil) {
self.branch = branch
self.repo = repo
self.routed = routed
self.sessionId = sessionId
self.targetId = targetId
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case branch
case repo
case routed
case sessionId
case targetId
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(branch, forKey: .branch)
try container.encodeIfPresent(repo, forKey: .repo)
try container.encodeIfPresent(routed, forKey: .routed)
try container.encodeIfPresent(sessionId, forKey: .sessionId)
try container.encodeIfPresent(targetId, forKey: .targetId)
}
}