public final class UserOrganization extends 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 SDK API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UserOrganization() |
Modifier and Type | Method and Description |
---|---|
UserOrganization |
clone() |
String |
getCostCenter()
The cost center of the users department.
|
String |
getCustomType()
Custom type.
|
String |
getDepartment()
Department within the organization.
|
String |
getDescription()
Description of the organization.
|
String |
getDomain()
The domain to which the organization belongs to.
|
Integer |
getFullTimeEquivalent()
The full-time equivalent millipercent within the organization (100000 = 100%).
|
String |
getLocation()
Location of the organization.
|
String |
getName()
Name of the organization
|
Boolean |
getPrimary()
If it user's primary organization.
|
String |
getSymbol()
Symbol of the organization.
|
String |
getTitle()
Title (designation) of the user in the organization.
|
String |
getType()
Each entry can have a type which indicates standard types of that entry.
|
UserOrganization |
set(String fieldName,
Object value) |
UserOrganization |
setCostCenter(String costCenter)
The cost center of the users department.
|
UserOrganization |
setCustomType(String customType)
Custom type.
|
UserOrganization |
setDepartment(String department)
Department within the organization.
|
UserOrganization |
setDescription(String description)
Description of the organization.
|
UserOrganization |
setDomain(String domain)
The domain to which the organization belongs to.
|
UserOrganization |
setFullTimeEquivalent(Integer fullTimeEquivalent)
The full-time equivalent millipercent within the organization (100000 = 100%).
|
UserOrganization |
setLocation(String location)
Location of the organization.
|
UserOrganization |
setName(String name)
Name of the organization
|
UserOrganization |
setPrimary(Boolean primary)
If it user's primary organization.
|
UserOrganization |
setSymbol(String symbol)
Symbol of the organization.
|
UserOrganization |
setTitle(String title)
Title (designation) of the user in the organization.
|
UserOrganization |
setType(String type)
Each entry can have a type which indicates standard types of that entry.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCostCenter()
null
for nonepublic UserOrganization setCostCenter(String costCenter)
costCenter
- costCenter or null
for nonepublic String getCustomType()
null
for nonepublic UserOrganization setCustomType(String customType)
customType
- customType or null
for nonepublic String getDepartment()
null
for nonepublic UserOrganization setDepartment(String department)
department
- department or null
for nonepublic String getDescription()
null
for nonepublic UserOrganization setDescription(String description)
description
- description or null
for nonepublic String getDomain()
null
for nonepublic UserOrganization setDomain(String domain)
domain
- domain or null
for nonepublic Integer getFullTimeEquivalent()
null
for nonepublic UserOrganization setFullTimeEquivalent(Integer fullTimeEquivalent)
fullTimeEquivalent
- fullTimeEquivalent or null
for nonepublic String getLocation()
null
for nonepublic UserOrganization setLocation(String location)
location
- location or null
for nonepublic String getName()
null
for nonepublic UserOrganization setName(String name)
name
- name or null
for nonepublic Boolean getPrimary()
null
for nonepublic UserOrganization setPrimary(Boolean primary)
primary
- primary or null
for nonepublic String getSymbol()
null
for nonepublic UserOrganization setSymbol(String symbol)
symbol
- symbol or null
for nonepublic String getTitle()
null
for nonepublic UserOrganization setTitle(String title)
title
- title or null
for nonepublic String getType()
null
for nonepublic UserOrganization setType(String type)
type
- type or null
for nonepublic UserOrganization set(String fieldName, Object value)
set
in class GenericJson
public UserOrganization clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.