Skip to content

Commit

Permalink
Updated Resolution with new available fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
Agadar committed Feb 4, 2017
1 parent 687c756 commit 6dbd423
Showing 1 changed file with 45 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public class Resolution {
public String text;

/**
* UNIX timestamp of when this proposal was implemented, if at all.
* UNIX timestamp of when this proposal was implemented.
*/
@XmlElement(name = "IMPLEMENTED")
public long implementedOn;
Expand All @@ -72,12 +72,42 @@ public class Resolution {
@XmlElement(name = "OPTION")
public String option;

/**
* UNIX timestamp of when this resolution was promoted.
*/
@XmlElement(name = "PROMOTED")
public long promotedOn;

/**
* Name of the nation that created this resolution.
*/
@XmlElement(name = "PROPOSED_BY")
public String proposedBy;

/**
* The council-specific id of the resolution that repealed this resolution.
*/
@XmlElement(name = "REPEALED_BY")
public int repealedByCouncilId;

/**
* The id of the resolution that repealed this resolution.
*/
@XmlElement(name = "REPEALED")
public int repealedById;

/**
* The council-specific id of the resolution repealed by this resolution.
*/
@XmlElement(name = "REPEALS_COUNCILID")
public int repealsCouncilId;

/**
* The id of the resolution repealed by this resolution.
*/
@XmlElement(name = "REPEALS_RESID")
public int repealsId;

/**
* This resolution's id as it is known to the World Assembly as a whole. Has
* no value if this resolution is currently at vote.
Expand All @@ -86,13 +116,25 @@ public class Resolution {
public int id;

/**
* Number of nations that voted FOR.
* Total number of nations that voted FOR.
*/
@XmlElement(name = "TOTAL_NATIONS_FOR")
public int nationsFor;

/**
* Total number of nations that voted AGAINST.
*/
@XmlElement(name = "TOTAL_NATIONS_AGAINST")
public int nationsAgainst;

/**
* Total number of FOR votes.
*/
@XmlElement(name = "TOTAL_VOTES_FOR")
public int votesFor;

/**
* Number of nations that voted AGAINST.
* Total number of AGAINST votes.
*/
@XmlElement(name = "TOTAL_VOTES_AGAINST")
public int votesAgainst;
Expand Down

0 comments on commit 6dbd423

Please sign in to comment.