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

31 lines
866 B
Swift

//
// StatsSessions.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct StatsSessions: Sendable, Codable, ParameterConvertible, Hashable {
/** ActiveSessions maps a space uuid to its connected sessions. It carries only the token's OWN space, and is empty for a token that names none. */
public var activeSessions: [String: [StatsUser]]?
public init(activeSessions: [String: [StatsUser]]? = nil) {
self.activeSessions = activeSessions
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case activeSessions
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(activeSessions, forKey: .activeSessions)
}
}