mirror of
https://github.com/hanzo-swift/sdk.git
synced 2026-10-30 20:43:50 +00:00
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.
31 lines
697 B
Swift
31 lines
697 B
Swift
//
|
|
// BotRoster.swift
|
|
//
|
|
// Generated by openapi-generator
|
|
// https://openapi-generator.tech
|
|
//
|
|
|
|
import Foundation
|
|
|
|
public struct BotRoster: Sendable, Codable, ParameterConvertible, Hashable {
|
|
|
|
/** Bots is every agent of the caller's org, projected as a space member. */
|
|
public var bots: [BotMember]?
|
|
|
|
public init(bots: [BotMember]? = nil) {
|
|
self.bots = bots
|
|
}
|
|
|
|
public enum CodingKeys: String, CodingKey, CaseIterable {
|
|
case bots
|
|
}
|
|
|
|
// Encodable protocol methods
|
|
|
|
public func encode(to encoder: Encoder) throws {
|
|
var container = encoder.container(keyedBy: CodingKeys.self)
|
|
try container.encodeIfPresent(bots, forKey: .bots)
|
|
}
|
|
}
|
|
|