2020-01-22 13:00:07 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 12:54:44 -07:00
|
|
|
using System;
|
2016-10-29 15:22:20 -07:00
|
|
|
|
2016-10-29 15:34:54 -07:00
|
|
|
namespace Emby.Dlna.Common
|
2016-10-29 15:22:20 -07:00
|
|
|
{
|
|
|
|
public class StateVariable
|
|
|
|
{
|
2020-01-22 13:00:07 -07:00
|
|
|
public StateVariable()
|
|
|
|
{
|
|
|
|
AllowedValues = Array.Empty<string>();
|
|
|
|
}
|
|
|
|
|
2016-10-29 15:22:20 -07:00
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
public string DataType { get; set; }
|
|
|
|
|
|
|
|
public bool SendsEvents { get; set; }
|
|
|
|
|
2018-09-12 10:26:21 -07:00
|
|
|
public string[] AllowedValues { get; set; }
|
2016-10-29 15:22:20 -07:00
|
|
|
|
2020-01-22 13:00:07 -07:00
|
|
|
/// <inheritdoc />
|
2016-10-29 15:22:20 -07:00
|
|
|
public override string ToString()
|
2020-01-22 13:00:07 -07:00
|
|
|
=> Name;
|
2016-10-29 15:22:20 -07:00
|
|
|
}
|
|
|
|
}
|