Files
swift-sdk/Sources/Hanzo/Models/O11yVolumeListRequest.swift
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

56 lines
1.7 KiB
Swift

//
// O11yVolumeListRequest.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct O11yVolumeListRequest: 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)
}
}