GoogleApi.CivicInfo.V2.Model.CivicinfoApiprotosV2ElectionsQueryResponse (google_api_civic_info v0.26.0)

View Source

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

Attributes

  • elections (type: list(GoogleApi.CivicInfo.V2.Model.CivicinfoSchemaV2Election.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".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.CivicInfo.V2.Model.CivicinfoApiprotosV2ElectionsQueryResponse{
  elections: [GoogleApi.CivicInfo.V2.Model.CivicinfoSchemaV2Election.t()] | nil,
  kind: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.