Show / Hide Table of Contents

Class CivicinfoSchemaV2Office

Information about an Office held by one or more Officials.

Inheritance
object
CivicinfoSchemaV2Office
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 CivicinfoSchemaV2Office : IDirectResponseSchema

Properties

DivisionId

The OCD ID of the division with which this office is associated.

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

ETag

The ETag of the item.

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

Levels

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".

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

Name

The human-readable name of the office.

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

OfficialIndices

List of indices in the officials array of people who presently hold this office.

Declaration
[JsonProperty("officialIndices")]
public virtual IList<long?> OfficialIndices { get; set; }
Property Value
Type Description
IList<long?>

Roles

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.

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

Sources

A list of sources for this office. If multiple sources are listed, the data has been aggregated from those sources.

Declaration
[JsonProperty("sources")]
public virtual IList<CivicinfoSchemaV2Source> Sources { get; set; }
Property Value
Type Description
IList<CivicinfoSchemaV2Source>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX