google_api_civic_info v0.9.0 GoogleApi.CivicInfo.V2.Model.ElectionsQueryResponse View Source

The list of elections available for this version of the API.

Attributes

  • elections (type: list(GoogleApi.CivicInfo.V2.Model.Election.t), default: nil) - A list of available elections
  • kind (type: String.t, default: civicinfo#electionsQueryResponse) - Identifies what kind of resource this is. Value: the fixed string "civicinfo#electionsQueryResponse".

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CivicInfo.V2.Model.ElectionsQueryResponse{
  elections: [GoogleApi.CivicInfo.V2.Model.Election.t()],
  kind: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.