Show / Hide Table of Contents

Class CivicinfoSchemaV2Precinct

Inheritance
object
CivicinfoSchemaV2Precinct
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CivicInfo.v2.Data
Assembly: Google.Apis.CivicInfo.v2.dll
Syntax
public class CivicinfoSchemaV2Precinct : IDirectResponseSchema

Properties

AdministrationRegionId

ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag.

Declaration
[JsonProperty("administrationRegionId")]
public virtual string AdministrationRegionId { get; set; }
Property Value
Type Description
string

ContestId

ID(s) of the Contest message(s) for this precinct.

Declaration
[JsonProperty("contestId")]
public virtual IList<string> ContestId { get; set; }
Property Value
Type Description
IList<string>

DatasetId

Required. Dataset ID. What datasets our Precincts come from.

Declaration
[JsonProperty("datasetId")]
public virtual long? DatasetId { get; set; }
Property Value
Type Description
long?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EarlyVoteSiteId

ID(s) of the PollingLocation message(s) for this precinct.

Declaration
[JsonProperty("earlyVoteSiteId")]
public virtual IList<string> EarlyVoteSiteId { get; set; }
Property Value
Type Description
IList<string>

ElectoralDistrictId

ID(s) of the ElectoralDistrict message(s) for this precinct.

Declaration
[JsonProperty("electoralDistrictId")]
public virtual IList<string> ElectoralDistrictId { get; set; }
Property Value
Type Description
IList<string>

Id

Required. A unique identifier for this precinct.

Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type Description
string

MailOnly

Specifies if the precinct runs mail-only elections.

Declaration
[JsonProperty("mailOnly")]
public virtual bool? MailOnly { get; set; }
Property Value
Type Description
bool?

Name

Required. The name of the precinct.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Number

The number of the precinct.

Declaration
[JsonProperty("number")]
public virtual string Number { get; set; }
Property Value
Type Description
string

OcdId

Encouraged. The OCD ID of the precinct

Declaration
[JsonProperty("ocdId")]
public virtual IList<string> OcdId { get; set; }
Property Value
Type Description
IList<string>

PollingLocationId

ID(s) of the PollingLocation message(s) for this precinct.

Declaration
[JsonProperty("pollingLocationId")]
public virtual IList<string> PollingLocationId { get; set; }
Property Value
Type Description
IList<string>

SpatialBoundaryId

ID(s) of the SpatialBoundary message(s) for this precinct. Used to specify a geometrical boundary of the precinct.

Declaration
[JsonProperty("spatialBoundaryId")]
public virtual IList<string> SpatialBoundaryId { get; set; }
Property Value
Type Description
IList<string>

SplitName

If present, this proto corresponds to one portion of split precinct. Other portions of this precinct are guaranteed to have the same name. If not present, this proto represents a full precicnt.

Declaration
[JsonProperty("splitName")]
public virtual string SplitName { get; set; }
Property Value
Type Description
string

Ward

Specifies the ward the precinct is contained within.

Declaration
[JsonProperty("ward")]
public virtual string Ward { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX