View Source GoogleApi.CivicInfo.V2.Model.Election (google_api_civic_info v0.23.0)
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). -
shapeLookupBehavior
(type:String.t
, default:nil
) -
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.