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

65 lines
2.1 KiB
Swift

//
// FlowVersion.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct FlowVersion: Sendable, Codable, ParameterConvertible, Hashable {
public var created: Int64?
public var displayName: String?
public var flowId: String?
public var id: String?
public var schemaVersion: String?
public var state: String?
public var trigger: FlowTrigger?
public var updated: Int64?
public var valid: Bool?
public init(created: Int64? = nil, displayName: String? = nil, flowId: String? = nil, id: String? = nil, schemaVersion: String? = nil, state: String? = nil, trigger: FlowTrigger? = nil, updated: Int64? = nil, valid: Bool? = nil) {
self.created = created
self.displayName = displayName
self.flowId = flowId
self.id = id
self.schemaVersion = schemaVersion
self.state = state
self.trigger = trigger
self.updated = updated
self.valid = valid
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case created
case displayName
case flowId
case id
case schemaVersion
case state
case trigger
case updated
case valid
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(created, forKey: .created)
try container.encodeIfPresent(displayName, forKey: .displayName)
try container.encodeIfPresent(flowId, forKey: .flowId)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(schemaVersion, forKey: .schemaVersion)
try container.encodeIfPresent(state, forKey: .state)
try container.encodeIfPresent(trigger, forKey: .trigger)
try container.encodeIfPresent(updated, forKey: .updated)
try container.encodeIfPresent(valid, forKey: .valid)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension FlowVersion: Identifiable {}