Files
zeekay 0c2f028a8c Generate the Swift client, which this copy did not carry
The forge tree held the package scaffolding and none of the generated sources —
2,435 files of APIs, Models and Infrastructure, including BaseAPI, were simply
absent, so anything depending on this copy had a package that compiled to
nothing usable.

Generated from the current API document rather than reconciled with the other
copy: a client is a function of the spec, so regenerating answers "which history
wins" without anyone having to choose. .spec-lock records which document, so the
next reader can tell.
2026-08-23 10:04:41 -07:00

70 lines
2.3 KiB
Swift

//
// IamSignupItem.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct IamSignupItem: Sendable, Codable, ParameterConvertible, Hashable {
public var customCss: String?
public var label: String?
public var name: String?
public var options: [String]?
public var placeholder: String?
public var prompted: Bool?
public var regex: String?
public var _required: Bool?
public var rule: String?
public var type: String?
public var visible: Bool?
public init(customCss: String? = nil, label: String? = nil, name: String? = nil, options: [String]? = nil, placeholder: String? = nil, prompted: Bool? = nil, regex: String? = nil, _required: Bool? = nil, rule: String? = nil, type: String? = nil, visible: Bool? = nil) {
self.customCss = customCss
self.label = label
self.name = name
self.options = options
self.placeholder = placeholder
self.prompted = prompted
self.regex = regex
self._required = _required
self.rule = rule
self.type = type
self.visible = visible
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case customCss
case label
case name
case options
case placeholder
case prompted
case regex
case _required = "required"
case rule
case type
case visible
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(customCss, forKey: .customCss)
try container.encodeIfPresent(label, forKey: .label)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(options, forKey: .options)
try container.encodeIfPresent(placeholder, forKey: .placeholder)
try container.encodeIfPresent(prompted, forKey: .prompted)
try container.encodeIfPresent(regex, forKey: .regex)
try container.encodeIfPresent(_required, forKey: ._required)
try container.encodeIfPresent(rule, forKey: .rule)
try container.encodeIfPresent(type, forKey: .type)
try container.encodeIfPresent(visible, forKey: .visible)
}
}