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

75 lines
3.0 KiB
Swift

//
// MakeIn.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct MakeIn: Sendable, Codable, ParameterConvertible, Hashable {
public var ackPolicy: String?
public var ackWait: String?
public var deliverPolicy: String?
public var description: String?
public var durableName: String?
public var filterSubject: String?
public var maxAckPending: Int64?
public var maxDeliver: Int64?
public var optStartSeq: Int?
public var optStartTime: Date?
public var replayPolicy: String?
/** Stream is the stream name, from the path. */
public var stream: String?
public init(ackPolicy: String? = nil, ackWait: String? = nil, deliverPolicy: String? = nil, description: String? = nil, durableName: String? = nil, filterSubject: String? = nil, maxAckPending: Int64? = nil, maxDeliver: Int64? = nil, optStartSeq: Int? = nil, optStartTime: Date? = nil, replayPolicy: String? = nil, stream: String? = nil) {
self.ackPolicy = ackPolicy
self.ackWait = ackWait
self.deliverPolicy = deliverPolicy
self.description = description
self.durableName = durableName
self.filterSubject = filterSubject
self.maxAckPending = maxAckPending
self.maxDeliver = maxDeliver
self.optStartSeq = optStartSeq
self.optStartTime = optStartTime
self.replayPolicy = replayPolicy
self.stream = stream
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case ackPolicy = "ack_policy"
case ackWait = "ack_wait"
case deliverPolicy = "deliver_policy"
case description
case durableName = "durable_name"
case filterSubject = "filter_subject"
case maxAckPending = "max_ack_pending"
case maxDeliver = "max_deliver"
case optStartSeq = "opt_start_seq"
case optStartTime = "opt_start_time"
case replayPolicy = "replay_policy"
case stream
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(ackPolicy, forKey: .ackPolicy)
try container.encodeIfPresent(ackWait, forKey: .ackWait)
try container.encodeIfPresent(deliverPolicy, forKey: .deliverPolicy)
try container.encodeIfPresent(description, forKey: .description)
try container.encodeIfPresent(durableName, forKey: .durableName)
try container.encodeIfPresent(filterSubject, forKey: .filterSubject)
try container.encodeIfPresent(maxAckPending, forKey: .maxAckPending)
try container.encodeIfPresent(maxDeliver, forKey: .maxDeliver)
try container.encodeIfPresent(optStartSeq, forKey: .optStartSeq)
try container.encodeIfPresent(optStartTime, forKey: .optStartTime)
try container.encodeIfPresent(replayPolicy, forKey: .replayPolicy)
try container.encodeIfPresent(stream, forKey: .stream)
}
}