google_api_civic_info v0.1.0 GoogleApi.CivicInfo.V2.Model.RepresentativeInfoResponse View Source

The result of a representative info lookup query.

Attributes

  • divisions (%{optional(String.t) => GeographicDivision}): Political geographic divisions that contain the requested address. Defaults to: null.
  • kind (String.t): Identifies what kind of resource this is. Value: the fixed string "civicinfo#representativeInfoResponse". Defaults to: null.
  • normalizedInput (SimpleAddressType): The normalized version of the requested address Defaults to: null.
  • offices ([Office]): Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request. Defaults to: null.
  • officials ([Official]): Officials holding the offices listed above. Will only be present if includeOffices was true in the request. Defaults to: null.

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.RepresentativeInfoResponse{
  divisions: map(),
  kind: any(),
  normalizedInput: GoogleApi.CivicInfo.V2.Model.SimpleAddressType.t(),
  offices: [GoogleApi.CivicInfo.V2.Model.Office.t()],
  officials: [GoogleApi.CivicInfo.V2.Model.Official.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.