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.
54 lines
1.6 KiB
Swift
54 lines
1.6 KiB
Swift
//
|
|
// O11yPostableNamespaces.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yPostableNamespaces: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
public var end: Int64?
|
|
public var filter: O11yFilter?
|
|
public var groupBy: [O11yGroupByKey]?
|
|
public var limit: Int64?
|
|
public var offset: Int64?
|
|
public var orderBy: O11yQuerybuildertypesv5OrderBy?
|
|
public var start: Int64?
|
|
|
|
public init(end: Int64? = nil, filter: O11yFilter? = nil, groupBy: [O11yGroupByKey]? = nil, limit: Int64? = nil, offset: Int64? = nil, orderBy: O11yQuerybuildertypesv5OrderBy? = nil, start: Int64? = nil) {
|
|
self.end = end
|
|
self.filter = filter
|
|
self.groupBy = groupBy
|
|
self.limit = limit
|
|
self.offset = offset
|
|
self.orderBy = orderBy
|
|
self.start = start
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case end
|
|
case filter
|
|
case groupBy
|
|
case limit
|
|
case offset
|
|
case orderBy
|
|
case start
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(end, forKey: .end)
|
|
try container.encodeIfPresent(filter, forKey: .filter)
|
|
try container.encodeIfPresent(groupBy, forKey: .groupBy)
|
|
try container.encodeIfPresent(limit, forKey: .limit)
|
|
try container.encodeIfPresent(offset, forKey: .offset)
|
|
try container.encodeIfPresent(orderBy, forKey: .orderBy)
|
|
try container.encodeIfPresent(start, forKey: .start)
|
|
}
|
|
}
|
|
|