View Source GoogleApi.CivicInfo.V2.Model.Candidate (google_api_civic_info v0.22.0)
Information about a candidate running for elected office.
Attributes
-
candidateUrl
(type:String.t
, default:nil
) - The URL for the candidate's campaign web site. -
channels
(type:list(GoogleApi.CivicInfo.V2.Model.Channel.t)
, default:nil
) - A list of known (social) media channels for this candidate. -
email
(type:String.t
, default:nil
) - The email address for the candidate's campaign. -
name
(type:String.t
, default:nil
) - The candidate's name. If this is a joint ticket it will indicate the name of the candidate at the top of a ticket followed by a / and that name of candidate at the bottom of the ticket. e.g. "Mitt Romney / Paul Ryan" -
orderOnBallot
(type:String.t
, default:nil
) - The order the candidate appears on the ballot for this contest. -
party
(type:String.t
, default:nil
) - The full name of the party the candidate is a member of. -
phone
(type:String.t
, default:nil
) - The voice phone number for the candidate's campaign office. -
photoUrl
(type:String.t
, default:nil
) - A URL for a photo of the candidate.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CivicInfo.V2.Model.Candidate{ candidateUrl: String.t() | nil, channels: [GoogleApi.CivicInfo.V2.Model.Channel.t()] | nil, email: String.t() | nil, name: String.t() | nil, orderOnBallot: String.t() | nil, party: String.t() | nil, phone: String.t() | nil, photoUrl: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.