Class Contest
Information about a contest that appears on a voter's ballot.
Implements
Inherited Members
Namespace: Google.Apis.CivicInfo.v2.Data
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class Contest : IDirectResponseSchema
Properties
BallotPlacement
A number specifying the position of this contest on the voter's ballot.
Declaration
[JsonProperty("ballotPlacement")]
public virtual long? BallotPlacement { get; set; }
Property Value
Type | Description |
---|---|
long? |
BallotTitle
The official title on the ballot for this contest, only where available.
Declaration
[JsonProperty("ballotTitle")]
public virtual string BallotTitle { get; set; }
Property Value
Type | Description |
---|---|
string |
Candidates
The candidate choices for this contest.
Declaration
[JsonProperty("candidates")]
public virtual IList<Candidate> Candidates { get; set; }
Property Value
Type | Description |
---|---|
IList<Candidate> |
District
Information about the electoral district that this contest is in.
Declaration
[JsonProperty("district")]
public virtual ElectoralDistrict District { get; set; }
Property Value
Type | Description |
---|---|
ElectoralDistrict |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ElectorateSpecifications
A description of any additional eligibility requirements for voting in this contest.
Declaration
[JsonProperty("electorateSpecifications")]
public virtual string ElectorateSpecifications { get; set; }
Property Value
Type | Description |
---|---|
string |
Level
The levels of government of the office for this contest. There may be more than one in cases where a jurisdiction effectively acts at two different levels of government; for example, the mayor of the District of Columbia acts at "locality" level, but also effectively at both "administrative-area-2" and "administrative-area-1".
Declaration
[JsonProperty("level")]
public virtual IList<string> Level { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
NumberElected
The number of candidates that will be elected to office in this contest.
Declaration
[JsonProperty("numberElected")]
public virtual long? NumberElected { get; set; }
Property Value
Type | Description |
---|---|
long? |
NumberVotingFor
The number of candidates that a voter may vote for in this contest.
Declaration
[JsonProperty("numberVotingFor")]
public virtual long? NumberVotingFor { get; set; }
Property Value
Type | Description |
---|---|
long? |
Office
The name of the office for this contest.
Declaration
[JsonProperty("office")]
public virtual string Office { get; set; }
Property Value
Type | Description |
---|---|
string |
PrimaryParties
If this is a partisan election, the name of the party/parties it is for.
Declaration
[JsonProperty("primaryParties")]
public virtual IList<string> PrimaryParties { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ReferendumBallotResponses
The set of ballot responses for the referendum. A ballot response represents a line on the ballot. Common examples might include "yes" or "no" for referenda. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumBallotResponses")]
public virtual IList<string> ReferendumBallotResponses { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ReferendumBrief
Specifies a short summary of the referendum that is typically on the ballot below the title but above the text. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumBrief")]
public virtual string ReferendumBrief { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumConStatement
A statement in opposition to the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumConStatement")]
public virtual string ReferendumConStatement { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumEffectOfAbstain
Specifies what effect abstaining (not voting) on the proposition will have (i.e. whether abstaining is considered a vote against it). This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumEffectOfAbstain")]
public virtual string ReferendumEffectOfAbstain { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumPassageThreshold
The threshold of votes that the referendum needs in order to pass, e.g. "two-thirds". This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumPassageThreshold")]
public virtual string ReferendumPassageThreshold { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumProStatement
A statement in favor of the referendum. It does not necessarily appear on the ballot. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumProStatement")]
public virtual string ReferendumProStatement { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumSubtitle
A brief description of the referendum. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumSubtitle")]
public virtual string ReferendumSubtitle { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumText
The full text of the referendum. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumText")]
public virtual string ReferendumText { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumTitle
The title of the referendum (e.g. 'Proposition 42'). This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumTitle")]
public virtual string ReferendumTitle { get; set; }
Property Value
Type | Description |
---|---|
string |
ReferendumUrl
A link to the referendum. This field is only populated for contests of type 'Referendum'.
Declaration
[JsonProperty("referendumUrl")]
public virtual string ReferendumUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Roles
The roles which this office fulfills.
Declaration
[JsonProperty("roles")]
public virtual IList<string> Roles { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Sources
A list of sources for this contest. If multiple sources are listed, the data has been aggregated from those sources.
Declaration
[JsonProperty("sources")]
public virtual IList<Source> Sources { get; set; }
Property Value
Type | Description |
---|---|
IList<Source> |
Special
"Yes" or "No" depending on whether this a contest being held outside the normal election cycle.
Declaration
[JsonProperty("special")]
public virtual string Special { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of contest. Usually this will be 'General', 'Primary', or 'Run-off' for contests with candidates. For referenda this will be 'Referendum'. For Retention contests this will typically be 'Retention'.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |