Files
zeekay 87d088ed73 Regenerate against the current cloud document
The lock sat at 574d1f1d while the product moved on. The team surface
stopped at rooms — no messages path, no way to open one — so anything
built on this client had to reach past it with its own HTTP calls, which
is the duplication a generated client exists to prevent.
2026-09-01 02:21:56 -07:00

36 lines
1.1 KiB
Swift

//
// OnboardReq.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct OnboardReq: Sendable, Codable, ParameterConvertible, Hashable {
/** Name is the organization's display name. Ignored when personal is true, which derives the name from the caller's own username instead. */
public var name: String?
/** Personal asks for the caller's own space: the name is derived from their username and the slug auto-suffixes to stay unique. Meaningless — and refused — for a caller who already has an organization. */
public var personal: Bool?
public init(name: String? = nil, personal: Bool? = nil) {
self.name = name
self.personal = personal
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case name
case personal
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(personal, forKey: .personal)
}
}