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.
56 lines
1.7 KiB
Swift
56 lines
1.7 KiB
Swift
//
|
|
// O11yPodListRequest.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct O11yPodListRequest: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** epoch time in ms */
|
|
public var end: Int64?
|
|
public var filters: O11yFilterSet?
|
|
public var groupBy: [O11yAttributeKey]?
|
|
public var limit: Int64?
|
|
public var offset: Int64?
|
|
public var orderBy: O11yOrderBy?
|
|
/** epoch time in ms */
|
|
public var start: Int64?
|
|
|
|
public init(end: Int64? = nil, filters: O11yFilterSet? = nil, groupBy: [O11yAttributeKey]? = nil, limit: Int64? = nil, offset: Int64? = nil, orderBy: O11yOrderBy? = nil, start: Int64? = nil) {
|
|
self.end = end
|
|
self.filters = filters
|
|
self.groupBy = groupBy
|
|
self.limit = limit
|
|
self.offset = offset
|
|
self.orderBy = orderBy
|
|
self.start = start
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case end
|
|
case filters
|
|
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(filters, forKey: .filters)
|
|
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)
|
|
}
|
|
}
|
|
|