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

49 lines
1.5 KiB
Swift

//
// StepInput.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct StepInput: Sendable, Codable, ParameterConvertible, Hashable {
/** Body is the message text. Required. */
public var body: String?
/** DelaySeconds is how long after the previous step this one sends (after enrollment, for the first step). Must be >= 0. */
public var delaySeconds: Int64?
/** SequenceID is the sequence id from the path (the route's :id). */
public var id: String?
/** Subject is the email subject line, capped at 1024 bytes. */
public var subject: String?
public init(body: String? = nil, delaySeconds: Int64? = nil, id: String? = nil, subject: String? = nil) {
self.body = body
self.delaySeconds = delaySeconds
self.id = id
self.subject = subject
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case body
case delaySeconds
case id
case subject
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(body, forKey: .body)
try container.encodeIfPresent(delaySeconds, forKey: .delaySeconds)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(subject, forKey: .subject)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension StepInput: Identifiable {}