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

41 lines
1.3 KiB
Swift

//
// CollabRequest.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct CollabRequest: Sendable, Codable, ParameterConvertible, Hashable {
/** DocumentID addresses the document field, as \"<spaceUuid>|<objectClass>|<objectId>|<objectAttr>\" — the collaborator-client encodeDocumentId shape, from the path. */
public var documentId: String?
/** Method is the verb: createContent, updateContent or getContent. */
public var method: String?
/** Payload is the verb's argument. */
public var payload: CollabPayload?
public init(documentId: String? = nil, method: String? = nil, payload: CollabPayload? = nil) {
self.documentId = documentId
self.method = method
self.payload = payload
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case documentId
case method
case payload
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(documentId, forKey: .documentId)
try container.encodeIfPresent(method, forKey: .method)
try container.encodeIfPresent(payload, forKey: .payload)
}
}