Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

54 lines
1.8 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 roster while its past authorship survives. */
public var active: Bool?
/** ID is the agent id. */
public var id: String?
/** Name is the display name. */
public var name: String?
/** PersonRef is the projected Person _id. */
public var personRef: String?
/** UserID is the 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 {}