View Source GoogleApi.CivicInfo.V2.Model.Precinct (google_api_civic_info v0.22.0)
Attributes
-
administrationRegionId
(type:String.t
, default:nil
) - ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag. -
contestId
(type:list(String.t)
, default:nil
) - ID(s) of the Contest message(s) for this precinct. -
datasetId
(type:String.t
, default:nil
) - Required. Dataset ID. What datasets our Precincts come from. -
earlyVoteSiteId
(type:list(String.t)
, default:nil
) - ID(s) of the PollingLocation message(s) for this precinct. -
electoralDistrictId
(type:list(String.t)
, default:nil
) - ID(s) of the ElectoralDistrict message(s) for this precinct. -
id
(type:String.t
, default:nil
) - Required. A unique identifier for this precinct. -
mailOnly
(type:boolean()
, default:nil
) - Specifies if the precinct runs mail-only elections. -
name
(type:String.t
, default:nil
) - Required. The name of the precinct. -
number
(type:String.t
, default:nil
) - The number of the precinct. -
ocdId
(type:list(String.t)
, default:nil
) - Encouraged. The OCD ID of the precinct -
pollingLocationId
(type:list(String.t)
, default:nil
) - ID(s) of the PollingLocation message(s) for this precinct. -
spatialBoundaryId
(type:list(String.t)
, default:nil
) - ID(s) of the SpatialBoundary message(s) for this precinct. Used to specify a geometrical boundary of the precinct. -
splitName
(type:String.t
, default:nil
) - If present, this proto corresponds to one portion of split precinct. Other portions of this precinct are guaranteed to have the samename
. If not present, this proto represents a full precicnt. -
ward
(type:String.t
, default:nil
) - Specifies the ward the precinct is contained within.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CivicInfo.V2.Model.Precinct{ administrationRegionId: String.t() | nil, contestId: [String.t()] | nil, datasetId: String.t() | nil, earlyVoteSiteId: [String.t()] | nil, electoralDistrictId: [String.t()] | nil, id: String.t() | nil, mailOnly: boolean() | nil, name: String.t() | nil, number: String.t() | nil, ocdId: [String.t()] | nil, pollingLocationId: [String.t()] | nil, spatialBoundaryId: [String.t()] | nil, splitName: String.t() | nil, ward: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.