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

50 lines
1.4 KiB
Swift

//
// Executions.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct Executions: Sendable, Codable, ParameterConvertible, Hashable {
public var fetchedAt: Date?
public var orgs: [String]?
public var repos: Int64?
public var runs: [Execution]?
public var sourceErr: String?
public var stale: Bool?
public init(fetchedAt: Date? = nil, orgs: [String]? = nil, repos: Int64? = nil, runs: [Execution]? = nil, sourceErr: String? = nil, stale: Bool? = nil) {
self.fetchedAt = fetchedAt
self.orgs = orgs
self.repos = repos
self.runs = runs
self.sourceErr = sourceErr
self.stale = stale
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case fetchedAt
case orgs
case repos
case runs
case sourceErr
case stale
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(fetchedAt, forKey: .fetchedAt)
try container.encodeIfPresent(orgs, forKey: .orgs)
try container.encodeIfPresent(repos, forKey: .repos)
try container.encodeIfPresent(runs, forKey: .runs)
try container.encodeIfPresent(sourceErr, forKey: .sourceErr)
try container.encodeIfPresent(stale, forKey: .stale)
}
}