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

44 lines
1.3 KiB
Swift

//
// TeamMessageWrite.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct TeamMessageWrite: Sendable, Codable, ParameterConvertible, Hashable {
/** ID is the room to say it in, from the path. */
public var id: String?
/** Space names the space holding the room. Body-only: a query string may not redirect a write. */
public var space: String?
/** Text is what to say, as plain text. It is wrapped in the client's markup on the way in, so a caller writes words rather than HTML. */
public var text: String?
public init(id: String? = nil, space: String? = nil, text: String? = nil) {
self.id = id
self.space = space
self.text = text
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case id
case space
case text
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(space, forKey: .space)
try container.encodeIfPresent(text, forKey: .text)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension TeamMessageWrite: Identifiable {}