com.google.api.services.civicinfo.model.Office 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;
/**
* Information about an Office held by one or more Officials.
*
* 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 Office extends com.google.api.client.json.GenericJson {
/**
* The OCD ID of the division with which this office is associated.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String divisionId;
/**
* The levels of government of which this office is part. There may be more than one in cases
* where a jurisdiction effectively acts at two different levels of government; for example, the
* mayor of the District of Columbia acts at "locality" level, but also effectively at both
* "administrative-area-2" and "administrative-area-1".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List levels;
/**
* The human-readable name of the office.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* List of indices in the officials array of people who presently hold this office.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List officialIndices;
/**
* The roles which this office fulfills. Roles are not meant to be exhaustive, or to exactly
* specify the entire set of responsibilities of a given office, but are meant to be rough
* categories that are useful for general selection from or sorting of a list of offices.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List roles;
/**
* A list of sources for this office. 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