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

54 lines
1.8 KiB
Swift

//
// AnalyzeQuery.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct AnalyzeQuery: Sendable, Codable, ParameterConvertible, Hashable {
/** Alpha overrides the 0.05 two-tailed significance threshold when it lies strictly between 0 and 1; anything else leaves the default in place. */
public var alpha: Double?
/** Days is how far back to read when no start is given: 1 to 365, 30 by default. A value outside that range leaves the default in place. */
public var days: Int64?
/** End is the window's exclusive end in RFC3339, defaulting to now. */
public var end: String?
/** ID is the experiment the URL names. */
public var id: String?
/** Start is the window's inclusive start in RFC3339. Given, it wins over days. */
public var start: String?
public init(alpha: Double? = nil, days: Int64? = nil, end: String? = nil, id: String? = nil, start: String? = nil) {
self.alpha = alpha
self.days = days
self.end = end
self.id = id
self.start = start
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case alpha
case days
case end
case id
case start
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(alpha, forKey: .alpha)
try container.encodeIfPresent(days, forKey: .days)
try container.encodeIfPresent(end, forKey: .end)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(start, forKey: .start)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension AnalyzeQuery: Identifiable {}