public final class UserOrganization
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 Admin Directory 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 |
---|
UserOrganization() |
Modifier and Type | Method and Description |
---|---|
UserOrganization |
clone() |
java.lang.String |
getCostCenter()
The cost center of the users department.
|
java.lang.String |
getCustomType()
Custom type.
|
java.lang.String |
getDepartment()
Department within the organization.
|
java.lang.String |
getDescription()
Description of the organization.
|
java.lang.String |
getDomain()
The domain to which the organization belongs to.
|
java.lang.Integer |
getFullTimeEquivalent()
The full-time equivalent millipercent within the organization (100000 = 100%).
|
java.lang.String |
getLocation()
Location of the organization.
|
java.lang.String |
getName()
Name of the organization
|
java.lang.Boolean |
getPrimary()
If it user's primary organization.
|
java.lang.String |
getSymbol()
Symbol of the organization.
|
java.lang.String |
getTitle()
Title (designation) of the user in the organization.
|
java.lang.String |
getType()
Each entry can have a type which indicates standard types of that entry.
|
UserOrganization |
set(java.lang.String fieldName,
java.lang.Object value) |
UserOrganization |
setCostCenter(java.lang.String costCenter)
The cost center of the users department.
|
UserOrganization |
setCustomType(java.lang.String customType)
Custom type.
|
UserOrganization |
setDepartment(java.lang.String department)
Department within the organization.
|
UserOrganization |
setDescription(java.lang.String description)
Description of the organization.
|
UserOrganization |
setDomain(java.lang.String domain)
The domain to which the organization belongs to.
|
UserOrganization |
setFullTimeEquivalent(java.lang.Integer fullTimeEquivalent)
The full-time equivalent millipercent within the organization (100000 = 100%).
|
UserOrganization |
setLocation(java.lang.String location)
Location of the organization.
|
UserOrganization |
setName(java.lang.String name)
Name of the organization
|
UserOrganization |
setPrimary(java.lang.Boolean primary)
If it user's primary organization.
|
UserOrganization |
setSymbol(java.lang.String symbol)
Symbol of the organization.
|
UserOrganization |
setTitle(java.lang.String title)
Title (designation) of the user in the organization.
|
UserOrganization |
setType(java.lang.String type)
Each entry can have a type which indicates standard types of that entry.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCostCenter()
null
for nonepublic UserOrganization setCostCenter(java.lang.String costCenter)
costCenter
- costCenter or null
for nonepublic java.lang.String getCustomType()
null
for nonepublic UserOrganization setCustomType(java.lang.String customType)
customType
- customType or null
for nonepublic java.lang.String getDepartment()
null
for nonepublic UserOrganization setDepartment(java.lang.String department)
department
- department or null
for nonepublic java.lang.String getDescription()
null
for nonepublic UserOrganization setDescription(java.lang.String description)
description
- description or null
for nonepublic java.lang.String getDomain()
null
for nonepublic UserOrganization setDomain(java.lang.String domain)
domain
- domain or null
for nonepublic java.lang.Integer getFullTimeEquivalent()
null
for nonepublic UserOrganization setFullTimeEquivalent(java.lang.Integer fullTimeEquivalent)
fullTimeEquivalent
- fullTimeEquivalent or null
for nonepublic java.lang.String getLocation()
null
for nonepublic UserOrganization setLocation(java.lang.String location)
location
- location or null
for nonepublic java.lang.String getName()
null
for nonepublic UserOrganization setName(java.lang.String name)
name
- name or null
for nonepublic java.lang.Boolean getPrimary()
null
for nonepublic UserOrganization setPrimary(java.lang.Boolean primary)
primary
- primary or null
for nonepublic java.lang.String getSymbol()
null
for nonepublic UserOrganization setSymbol(java.lang.String symbol)
symbol
- symbol or null
for nonepublic java.lang.String getTitle()
null
for nonepublic UserOrganization setTitle(java.lang.String title)
title
- title or null
for nonepublic java.lang.String getType()
null
for nonepublic UserOrganization setType(java.lang.String type)
type
- type or null
for nonepublic UserOrganization set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UserOrganization clone()
clone
in class com.google.api.client.json.GenericJson