jellyfin-server/Emby.Dlna/Common/StateVariable.cs

27 lines
502 B
C#
Raw Normal View History

#pragma warning disable CS1591
using System;
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; }
2018-09-12 17:26:21 +00:00
public 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
}
}