jellyfin/Emby.Naming/Video/StubTypeRule.cs

32 lines
886 B
C#
Raw Normal View History

2018-09-12 17:26:21 +00:00
namespace Emby.Naming.Video
{
2020-11-10 18:23:10 +00:00
/// <summary>
/// Data class holding information about Stub type rule.
/// </summary>
2018-09-12 17:26:21 +00:00
public class StubTypeRule
{
2020-11-10 18:23:10 +00:00
/// <summary>
/// Initializes a new instance of the <see cref="StubTypeRule"/> class.
/// </summary>
/// <param name="token">Token.</param>
/// <param name="stubType">Stub type.</param>
2020-11-01 09:47:31 +00:00
public StubTypeRule(string token, string stubType)
{
Token = token;
StubType = stubType;
}
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the token.
/// </summary>
/// <value>The token.</value>
public string Token { get; set; }
2019-05-10 18:37:42 +00:00
2018-09-12 17:26:21 +00:00
/// <summary>
/// Gets or sets the type of the stub.
/// </summary>
/// <value>The type of the stub.</value>
public string StubType { get; set; }
}
}