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

41 lines
1.3 KiB
Swift

//
// DevicePollOut.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct DevicePollOut: Sendable, Codable, ParameterConvertible, Hashable {
/** Connection is the connected connector. Present only on \"connected\". */
public var connector: ConnView?
/** Interval is the seconds to wait before the next poll. Present only while pending, and it may rise when the provider asks the client to slow down. */
public var interval: Int64?
/** Status is the flow's state. \"pending\" means poll again after Interval. */
public var status: String?
public init(connector: ConnView? = nil, interval: Int64? = nil, status: String? = nil) {
self.connector = connector
self.interval = interval
self.status = status
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case connector
case interval
case status
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(connector, forKey: .connector)
try container.encodeIfPresent(interval, forKey: .interval)
try container.encodeIfPresent(status, forKey: .status)
}
}