-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9ac512
commit 07089d8
Showing
5 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
using System; | ||
|
||
namespace ProPublicaCongressAPI.Contracts | ||
{ | ||
public class NomineeByState | ||
{ | ||
public string NomineeId { get; set; } | ||
public string NomineeDetailUrl { get; set; } | ||
public DateTime DateReceived { get; set; } | ||
public string Description { get; set; } | ||
public string NomineeState { get; set; } | ||
public DateTime DateLatestAction { get; set; } | ||
public string Status { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
using Newtonsoft.Json; | ||
|
||
namespace ProPublicaCongressAPI.InternalModels | ||
{ | ||
internal class NomineeByState | ||
{ | ||
[JsonProperty("id")] | ||
public string NomineeId { get; set; } | ||
|
||
[JsonProperty("uri")] | ||
public string NomineeDetailUrl { get; set; } | ||
|
||
[JsonProperty("date_received")] | ||
public string DateReceived { get; set; } | ||
|
||
[JsonProperty("description")] | ||
public string Description { get; set; } | ||
|
||
[JsonProperty("nominee_state")] | ||
public string NomineeState { get; set; } | ||
|
||
[JsonProperty("latest_action_date")] | ||
public string DateLatestAction { get; set; } | ||
|
||
[JsonProperty("status")] | ||
public string Status { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters