adding decklistbyday
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
<Compile Include="Responses\BaseRequest.cs" />
|
||||
<Compile Include="Responses\Cards.cs" />
|
||||
<Compile Include="Responses\Decklist.cs" />
|
||||
<Compile Include="Responses\DecklistByDay.cs" />
|
||||
<Compile Include="Responses\IRequest.cs" />
|
||||
<Compile Include="Repository.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace NetrunnerDb.Net.Responses
|
||||
public string Username { get; set; }
|
||||
|
||||
[JsonProperty("cards")]
|
||||
public Dictionary<string, string> Cards { get; set; }
|
||||
public IDictionary<string, string> Cards { get; set; }
|
||||
|
||||
|
||||
public override bool IsArray { get { return false; }}
|
||||
|
||||
36
src/NetrunnerDb.Net/Responses/DecklistByDay.cs
Normal file
36
src/NetrunnerDb.Net/Responses/DecklistByDay.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace NetrunnerDb.Net.Responses
|
||||
{
|
||||
public class DecklistByDate : BaseRequest
|
||||
{
|
||||
|
||||
[JsonProperty("id")]
|
||||
public int Id { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("creation")]
|
||||
public string Creation { get; set; }
|
||||
|
||||
[JsonProperty("description")]
|
||||
public string Description { get; set; }
|
||||
|
||||
[JsonProperty("username")]
|
||||
public string Username { get; set; }
|
||||
|
||||
[JsonProperty("cards")]
|
||||
public IDictionary<string,string> Cards { get; set; }
|
||||
|
||||
public override string EndPoint(string parameter = "")
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user