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

54 lines
1.7 KiB
Swift

//
// BotMember.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct BotMember: Sendable, Codable, ParameterConvertible, Hashable {
/** Active is whether the agent projects as a LIVE space member, derived from its registry status: empty, \"active\" and \"ready\" are live, anything else (archived/retired) is not. An inactive bot drops out of the Team list while its past authorship survives. */
public var active: Bool?
/** the agent id */
public var id: String?
/** display name */
public var name: String?
/** the projected Person _id */
public var personRef: String?
/** derived member account uuid (personUuid) */
public var userId: String?
public init(active: Bool? = nil, id: String? = nil, name: String? = nil, personRef: String? = nil, userId: String? = nil) {
self.active = active
self.id = id
self.name = name
self.personRef = personRef
self.userId = userId
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case active
case id
case name
case personRef
case userId
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(active, forKey: .active)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(name, forKey: .name)
try container.encodeIfPresent(personRef, forKey: .personRef)
try container.encodeIfPresent(userId, forKey: .userId)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension BotMember: Identifiable {}