using System; using System.Collections.Generic; namespace Emby.Dlna.Common { /// /// Defines the . /// public class StateVariable { /// /// Gets or sets the name of the state variable. /// public string Name { get; set; } = string.Empty; /// /// Gets or sets the data type of the state variable. /// public string DataType { get; set; } = string.Empty; /// /// Gets or sets a value indicating whether it sends events. /// public bool SendsEvents { get; set; } /// /// Gets or sets the allowed values range. /// public IReadOnlyList AllowedValues { get; set; } = Array.Empty(); /// public override string ToString() => Name; } }