Skip to content

Commit

Permalink
Adding the field to get the short title
Browse files Browse the repository at this point in the history
  • Loading branch information
lafritay committed Sep 6, 2017
1 parent 8a357db commit 6007ba2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ProPublicaCongressAPI.Contracts/RecentBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ public class RecentBill

public string BillDetailUrl { get; set; }

public string BillTitle { get; set; }
public string BillTitle { get; set; }

public string BillTitleShort { get; set; }

public string SponsorId { get; set; }

Expand Down
1 change: 1 addition & 0 deletions ProPublicaCongressAPI.Contracts/SpecificBill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class SpecificBill
public string BillType { get; set; }
public string BillDetailUrl { get; set; }
public string BillTitle { get; set; }
public string BillTitleShort { get; set; }
public string SponsorMemberName { get; set; }
public string SponsorId { get; set; }
public string SponsorMemberDetailUrl { 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 @@ -22,6 +22,9 @@ internal class RecentBill
[JsonProperty("title")]
public string BillTitle { get; set; }

[JsonProperty("short_title")]
public string BillTitleShort { get; set; }

[JsonProperty("sponsor_id")]
public string SponsorId { 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 @@ -26,6 +26,9 @@ internal class SpecificBill
[JsonProperty("title")]
public string BillTitle { get; set; }

[JsonProperty("short_title")]
public string BillTitleShort { get; set; }

[JsonProperty("sponsor")]
public string SponsorMemberName { get; set; }

Expand Down

0 comments on commit 6007ba2

Please sign in to comment.