public final class Organization
extends com.google.api.client.json.GenericJson
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 People API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Organization() |
| Modifier and Type | Method and Description |
|---|---|
Organization |
clone() |
java.lang.Boolean |
getCurrent()
True if the organization is the person's current organization; false if the organization is a
past organization.
|
java.lang.String |
getDepartment()
The person's department at the organization.
|
java.lang.String |
getDomain()
The domain name associated with the organization; for example, `google.com`.
|
Date |
getEndDate()
The end date when the person left the organization.
|
java.lang.String |
getFormattedType()
The read-only type of the organization translated and formatted in the viewer's account locale
or the `Accept-Language` HTTP header locale.
|
java.lang.String |
getJobDescription()
The person's job description at the organization.
|
java.lang.String |
getLocation()
The location of the organization office the person works at.
|
FieldMetadata |
getMetadata()
Metadata about the organization.
|
java.lang.String |
getName()
The name of the organization.
|
java.lang.String |
getPhoneticName()
The phonetic name of the organization.
|
Date |
getStartDate()
The start date when the person joined the organization.
|
java.lang.String |
getSymbol()
The symbol associated with the organization; for example, a stock ticker symbol, abbreviation,
or acronym.
|
java.lang.String |
getTitle()
The person's job title at the organization.
|
java.lang.String |
getType()
The type of the organization.
|
Organization |
set(java.lang.String fieldName,
java.lang.Object value) |
Organization |
setCurrent(java.lang.Boolean current)
True if the organization is the person's current organization; false if the organization is a
past organization.
|
Organization |
setDepartment(java.lang.String department)
The person's department at the organization.
|
Organization |
setDomain(java.lang.String domain)
The domain name associated with the organization; for example, `google.com`.
|
Organization |
setEndDate(Date endDate)
The end date when the person left the organization.
|
Organization |
setFormattedType(java.lang.String formattedType)
The read-only type of the organization translated and formatted in the viewer's account locale
or the `Accept-Language` HTTP header locale.
|
Organization |
setJobDescription(java.lang.String jobDescription)
The person's job description at the organization.
|
Organization |
setLocation(java.lang.String location)
The location of the organization office the person works at.
|
Organization |
setMetadata(FieldMetadata metadata)
Metadata about the organization.
|
Organization |
setName(java.lang.String name)
The name of the organization.
|
Organization |
setPhoneticName(java.lang.String phoneticName)
The phonetic name of the organization.
|
Organization |
setStartDate(Date startDate)
The start date when the person joined the organization.
|
Organization |
setSymbol(java.lang.String symbol)
The symbol associated with the organization; for example, a stock ticker symbol, abbreviation,
or acronym.
|
Organization |
setTitle(java.lang.String title)
The person's job title at the organization.
|
Organization |
setType(java.lang.String type)
The type of the organization.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Boolean getCurrent()
null for nonepublic Organization setCurrent(java.lang.Boolean current)
current - current or null for nonepublic java.lang.String getDepartment()
null for nonepublic Organization setDepartment(java.lang.String department)
department - department or null for nonepublic java.lang.String getDomain()
null for nonepublic Organization setDomain(java.lang.String domain)
domain - domain or null for nonepublic Date getEndDate()
null for nonepublic Organization setEndDate(Date endDate)
endDate - endDate or null for nonepublic java.lang.String getFormattedType()
null for nonepublic Organization setFormattedType(java.lang.String formattedType)
formattedType - formattedType or null for nonepublic java.lang.String getJobDescription()
null for nonepublic Organization setJobDescription(java.lang.String jobDescription)
jobDescription - jobDescription or null for nonepublic java.lang.String getLocation()
null for nonepublic Organization setLocation(java.lang.String location)
location - location or null for nonepublic FieldMetadata getMetadata()
null for nonepublic Organization setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getName()
null for nonepublic Organization setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getPhoneticName()
null for nonepublic Organization setPhoneticName(java.lang.String phoneticName)
phoneticName - phoneticName or null for nonepublic Date getStartDate()
null for nonepublic Organization setStartDate(Date startDate)
startDate - startDate or null for nonepublic java.lang.String getSymbol()
null for nonepublic Organization setSymbol(java.lang.String symbol)
symbol - symbol or null for nonepublic java.lang.String getTitle()
null for nonepublic Organization setTitle(java.lang.String title)
title - title or null for nonepublic java.lang.String getType()
null for nonepublic Organization setType(java.lang.String type)
type - type or null for nonepublic Organization set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Organization clone()
clone in class com.google.api.client.json.GenericJson