google_api_civic_info v0.14.0 GoogleApi.CivicInfo.V2.Model.Official View Source
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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.CivicInfo.V2.Model.Official{ address: [GoogleApi.CivicInfo.V2.Model.SimpleAddressType.t()], channels: [GoogleApi.CivicInfo.V2.Model.Channel.t()], emails: [String.t()], name: String.t(), party: String.t(), phones: [String.t()], photoUrl: String.t(), urls: [String.t()] }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.