ircsharp/IRCSharp.Tests/Tokenization/Data/JoinModel.cs

28 lines
587 B
C#
Raw Normal View History

2024-03-26 20:10:54 +00:00
using YamlDotNet.Serialization;
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
namespace IRCSharp.Tests.Tokenization.Data;
public class JoinModel
2020-04-20 00:52:41 +00:00
{
2024-03-26 20:10:54 +00:00
public List<Test> Tests { get; set; }
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public class Test
{
[YamlMember(Alias = "desc")] public string Description { get; set; }
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public Atoms Atoms { get; set; }
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public List<string> Matches { get; set; }
}
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public class Atoms
{
public Dictionary<string, string> Tags { get; set; }
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public string Source { get; set; }
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public string Verb { get; set; }
2020-04-20 00:52:41 +00:00
2024-03-26 20:10:54 +00:00
public List<string> Params { get; set; }
2020-04-20 00:52:41 +00:00
}
2024-03-26 20:10:54 +00:00
}