Class RepresentativeInfoResponse
The result of a representative info lookup query.
Implements
Inherited Members
Namespace: Google.Apis.CivicInfo.v2.Data
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class RepresentativeInfoResponse : IDirectResponseSchema
Properties
Divisions
A map of political geographic divisions that contain the requested address, keyed by the unique Open Civic Data identifier for this division.
Declaration
[JsonProperty("divisions")]
public virtual IDictionary<string, GeographicDivision> Divisions { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GeographicDivision> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Identifies what kind of resource this is. Value: the fixed string "civicinfo#representativeInfoResponse".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
NormalizedInput
The normalized version of the requested address
Declaration
[JsonProperty("normalizedInput")]
public virtual SimpleAddressType NormalizedInput { get; set; }
Property Value
Type | Description |
---|---|
SimpleAddressType |
Offices
Elected offices referenced by the divisions listed above. Will only be present if includeOffices was true in the request.
Declaration
[JsonProperty("offices")]
public virtual IList<Office> Offices { get; set; }
Property Value
Type | Description |
---|---|
IList<Office> |
Officials
Officials holding the offices listed above. Will only be present if includeOffices was true in the request.
Declaration
[JsonProperty("officials")]
public virtual IList<Official> Officials { get; set; }
Property Value
Type | Description |
---|---|
IList<Official> |