jellyfin/Emby.Dlna/Common/StateVariable.cs

28 lines
549 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System;
2020-08-20 19:04:57 +00:00
using System.Collections.Generic;
2016-10-29 22:22:20 +00:00
2016-10-29 22:34:54 +00:00
namespace Emby.Dlna.Common
2016-10-29 22:22:20 +00:00
{
public class StateVariable
{
public StateVariable()
{
AllowedValues = Array.Empty<string>();
}
2016-10-29 22:22:20 +00:00
public string Name { get; set; }
public string DataType { get; set; }
public bool SendsEvents { get; set; }
2020-08-20 19:04:57 +00:00
public IReadOnlyList<string> AllowedValues { get; set; }
2016-10-29 22:22:20 +00:00
/// <inheritdoc />
2016-10-29 22:22:20 +00:00
public override string ToString()
=> Name;
2016-10-29 22:22:20 +00:00
}
}