google_api_civic_info v0.2.0 GoogleApi.CivicInfo.V2.Model.Official View Source
Information about a person holding an elected office.
Attributes
- address ([SimpleAddressType]): Addresses at which to contact the official. Defaults to:
null. - channels ([Channel]): A list of known (social) media channels for this official. Defaults to:
null. - emails ([String.t]): The direct email addresses for the official. Defaults to:
null. - name (String.t): The official's name. Defaults to:
null. - party (String.t): The full name of the party the official belongs to. Defaults to:
null. - phones ([String.t]): The official's public contact phone numbers. Defaults to:
null. - photoUrl (String.t): A URL for a photo of the official. Defaults to:
null. - urls ([String.t]): The official's public website URLs. 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()
View Source
t() :: %GoogleApi.CivicInfo.V2.Model.Official{
address: [GoogleApi.CivicInfo.V2.Model.SimpleAddressType.t()],
channels: [GoogleApi.CivicInfo.V2.Model.Channel.t()],
emails: [any()],
name: any(),
party: any(),
phones: [any()],
photoUrl: any(),
urls: [any()]
}
t() :: %GoogleApi.CivicInfo.V2.Model.Official{
address: [GoogleApi.CivicInfo.V2.Model.SimpleAddressType.t()],
channels: [GoogleApi.CivicInfo.V2.Model.Channel.t()],
emails: [any()],
name: any(),
party: any(),
phones: [any()],
photoUrl: any(),
urls: [any()]
}
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.