Class Candidate
Information about a candidate running for elected office.
Implements
Inherited Members
Namespace: Google.Apis.CivicInfo.v2.Data
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class Candidate : IDirectResponseSchema
Properties
CandidateUrl
The URL for the candidate's campaign web site.
Declaration
[JsonProperty("candidateUrl")]
public virtual string CandidateUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
Channels
A list of known (social) media channels for this candidate.
Declaration
[JsonProperty("channels")]
public virtual IList<Channel> Channels { get; set; }
Property Value
Type | Description |
---|---|
IList<Channel> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
The email address for the candidate's campaign.
Declaration
[JsonProperty("email")]
public virtual string Email { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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"
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OrderOnBallot
The order the candidate appears on the ballot for this contest.
Declaration
[JsonProperty("orderOnBallot")]
public virtual long? OrderOnBallot { get; set; }
Property Value
Type | Description |
---|---|
long? |
Party
The full name of the party the candidate is a member of.
Declaration
[JsonProperty("party")]
public virtual string Party { get; set; }
Property Value
Type | Description |
---|---|
string |
Phone
The voice phone number for the candidate's campaign office.
Declaration
[JsonProperty("phone")]
public virtual string Phone { get; set; }
Property Value
Type | Description |
---|---|
string |
PhotoUrl
A URL for a photo of the candidate.
Declaration
[JsonProperty("photoUrl")]
public virtual string PhotoUrl { get; set; }
Property Value
Type | Description |
---|---|
string |