adding decklistbyday

This commit is contained in:
Tommy Parnell
2015-05-18 18:44:46 -04:00
parent 05a3e31568
commit a9fbaf2117
3 changed files with 38 additions and 1 deletions

View File

@@ -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" />

View File

@@ -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; }}

View 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();
}
}
}