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

36 lines
1.2 KiB
Swift

//
// IssueHits.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IssueHits: Sendable, Codable, ParameterConvertible, Hashable {
/** Count is how many rows Issues carries — the size of THIS answer after the cap, not how many issues matched. A count equal to the limit means there are probably more; there is no total and no cursor. */
public var count: Int64?
/** Issues are the matching rows grouped by status and oldest-first within a group, capped by the search's limit (50 by default, 200 at most). The cap is applied to that order, so a broad search returns the head of it rather than a sample. */
public var issues: [IssueHit]?
public init(count: Int64? = nil, issues: [IssueHit]? = nil) {
self.count = count
self.issues = issues
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case count
case issues
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(count, forKey: .count)
try container.encodeIfPresent(issues, forKey: .issues)
}
}