Skip to content

Commit

Permalink
Adding the bill slug to recent and specific bills
Browse files Browse the repository at this point in the history
  • Loading branch information
lafritay committed Aug 5, 2017
1 parent b6407e9 commit 18d5321
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ProPublicaCongressAPI.Contracts/RecentBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ public class RecentBill
{
public string BillId { get; set; }

public string BillSlug { get; set; }

public string BillType { get; set; }

public string BillNumber { get; set; }
Expand Down
3 changes: 2 additions & 1 deletion ProPublicaCongressAPI.Contracts/SpecificBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ namespace ProPublicaCongressAPI.Contracts
{
public class SpecificBill
{
public string BillId { get; set; }
public string BillId { get; set; }
public string BillSlug { get; set; }
public int Congress { get; set; }
public string BillNumber { get; set; }
public string BillType { get; set; }
Expand Down
3 changes: 3 additions & 0 deletions ProPublicaCongressAPI/InternalModels/RecentBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ internal class RecentBill
[JsonProperty("bill_id")]
public string BillId { get; set; }

[JsonProperty("bill_slug")]
public string BillSlug { get; set; }

[JsonProperty("bill_type")]
public string BillType { get; set; }

Expand Down
3 changes: 3 additions & 0 deletions ProPublicaCongressAPI/InternalModels/SpecificBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ internal class SpecificBill
[JsonProperty("bill_id")]
public string BillId { get; set; }

[JsonProperty("bill_slug")]
public string BillSlug { get; set; }

[JsonProperty("datetime")]
public int Congress { get; set; }

Expand Down

0 comments on commit 18d5321

Please sign in to comment.