Class Election
Information about the election that was queried.
Implements
Inherited Members
Namespace: Google.Apis.CivicInfo.v2.Data
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class Election : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ElectionDay
Day of the election in YYYY-MM-DD format.
Declaration
[JsonProperty("electionDay")]
public virtual string ElectionDay { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The unique ID of this election.
Declaration
[JsonProperty("id")]
public virtual long? Id { get; set; }
Property Value
Type | Description |
---|---|
long? |
Name
A displayable name for the election.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OcdDivisionId
The political division of the election. Represented as an OCD Division ID. Voters within these political jurisdictions are covered by this election. This is typically a state such as ocd-division/country:us/state:ca or for the midterms or general election the entire US (i.e. ocd-division/country:us).
Declaration
[JsonProperty("ocdDivisionId")]
public virtual string OcdDivisionId { get; set; }
Property Value
Type | Description |
---|---|
string |
ShapeLookupBehavior
Declaration
[JsonProperty("shapeLookupBehavior")]
public virtual string ShapeLookupBehavior { get; set; }
Property Value
Type | Description |
---|---|
string |