View Source GoogleApi.CivicInfo.V2.Model.Official (google_api_civic_info v0.24.0)
Information about a person holding an elected office.
Attributes
-
address
(type:list(GoogleApi.CivicInfo.V2.Model.SimpleAddressType.t)
, default:nil
) - Addresses at which to contact the official. -
channels
(type:list(GoogleApi.CivicInfo.V2.Model.Channel.t)
, default:nil
) - A list of known (social) media channels for this official. -
emails
(type:list(String.t)
, default:nil
) - The direct email addresses for the official. -
name
(type:String.t
, default:nil
) - The official's name. -
party
(type:String.t
, default:nil
) - The full name of the party the official belongs to. -
phones
(type:list(String.t)
, default:nil
) - The official's public contact phone numbers. -
photoUrl
(type:String.t
, default:nil
) - A URL for a photo of the official. -
urls
(type:list(String.t)
, default:nil
) - The official's public website URLs.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CivicInfo.V2.Model.Official{ address: [GoogleApi.CivicInfo.V2.Model.SimpleAddressType.t()] | nil, channels: [GoogleApi.CivicInfo.V2.Model.Channel.t()] | nil, emails: [String.t()] | nil, name: String.t() | nil, party: String.t() | nil, phones: [String.t()] | nil, photoUrl: String.t() | nil, urls: [String.t()] | nil }
Functions
Unwrap a decoded JSON object into its complex fields.