com.google.api.services.civicinfo.model.PollingLocation Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2016-07-08 17:28:43 UTC)
* on 2016-10-18 at 16:55:10 UTC
* Modify at your own risk.
*/
package com.google.api.services.civicinfo.model;
/**
* A location where a voter can vote. This may be an early vote site, an election day voting
* location, or a drop off location for a completed ballot.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Civic Information API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class PollingLocation extends com.google.api.client.json.GenericJson {
/**
* The address of the location.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private SimpleAddressType address;
/**
* The last date that this early vote site or drop off location may be used. This field is not
* populated for polling locations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String endDate;
/**
* An ID for this object. IDs may change in future requests and should not be cached. Access to
* this field requires special access that can be requested from the Request more link on the
* Quotas page.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* The name of the early vote site or drop off location. This field is not populated for polling
* locations.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Notes about this location (e.g. accessibility ramp or entrance to use).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String notes;
/**
* A description of when this location is open.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String pollingHours;
/**
* A list of sources for this location. If multiple sources are listed the data has been
* aggregated from those sources.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy