using System; using System.Collections.Generic; using Newtonsoft.Json; namespace PepperDash.Essentials.WebSocketServer { /// /// Represents a JoinResponse /// public class JoinResponse { /// /// Gets or sets the ClientId /// [JsonProperty("clientId")] public string ClientId { get; set; } /// /// Room Key for this client /// [JsonProperty("roomKey")] public string RoomKey { get; set; } /// /// System UUID for this system /// [JsonProperty("systemUUid")] public string SystemUuid { get; set; } /// /// Gets or sets the RoomUuid /// [JsonProperty("roomUUid")] public string RoomUuid { get; set; } /// /// Gets or sets the Config /// [JsonProperty("config")] public object Config { get; set; } /// /// Gets or sets the CodeExpires /// [JsonProperty("codeExpires")] public DateTime CodeExpires { get; set; } /// /// Gets or sets the UserCode /// [JsonProperty("userCode")] public string UserCode { get; set; } /// /// Gets or sets the UserAppUrl /// [JsonProperty("userAppUrl")] public string UserAppUrl { get; set; } /// /// Gets or sets the WebSocketUrl with clientId query parameter /// [JsonProperty("webSocketUrl")] public string WebSocketUrl { get; set; } /// /// Gets or sets the EnableDebug /// [JsonProperty("enableDebug")] public bool EnableDebug { get; set; } /// /// Gets or sets the DeviceInterfaceSupport /// [JsonProperty("deviceInterfaceSupport")] public Dictionary DeviceInterfaceSupport { get; set; } } }