google_api_civic_info v0.9.0 GoogleApi.CivicInfo.V2.Model.Election View Source
Information about the election that was queried.
Attributes
electionDay
(type:String.t
, default:nil
) - Day of the election in YYYY-MM-DD format.id
(type:String.t
, default:nil
) - The unique ID of this election.name
(type:String.t
, default:nil
) - A displayable name for the election.ocdDivisionId
(type:String.t
, default:nil
) - 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).
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.