target.apidocs.com.google.api.services.directory.model.UserOrganization.html Maven / Gradle / Ivy
UserOrganization (Admin SDK API directory_v1-rev20220606-1.32.1)
com.google.api.services.directory.model
Class UserOrganization
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.UserOrganization
-
public final class UserOrganization
extends GenericJson
JSON template for an organization entry.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
UserOrganization()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCostCenter
public String getCostCenter()
The cost center of the users department.
- Returns:
- value or
null
for none
-
setCostCenter
public UserOrganization setCostCenter(String costCenter)
The cost center of the users department.
- Parameters:
costCenter
- costCenter or null
for none
-
getCustomType
public String getCustomType()
Custom type.
- Returns:
- value or
null
for none
-
setCustomType
public UserOrganization setCustomType(String customType)
Custom type.
- Parameters:
customType
- customType or null
for none
-
getDepartment
public String getDepartment()
Department within the organization.
- Returns:
- value or
null
for none
-
setDepartment
public UserOrganization setDepartment(String department)
Department within the organization.
- Parameters:
department
- department or null
for none
-
getDescription
public String getDescription()
Description of the organization.
- Returns:
- value or
null
for none
-
setDescription
public UserOrganization setDescription(String description)
Description of the organization.
- Parameters:
description
- description or null
for none
-
getDomain
public String getDomain()
The domain to which the organization belongs to.
- Returns:
- value or
null
for none
-
setDomain
public UserOrganization setDomain(String domain)
The domain to which the organization belongs to.
- Parameters:
domain
- domain or null
for none
-
getFullTimeEquivalent
public Integer getFullTimeEquivalent()
The full-time equivalent millipercent within the organization (100000 = 100%).
- Returns:
- value or
null
for none
-
setFullTimeEquivalent
public UserOrganization setFullTimeEquivalent(Integer fullTimeEquivalent)
The full-time equivalent millipercent within the organization (100000 = 100%).
- Parameters:
fullTimeEquivalent
- fullTimeEquivalent or null
for none
-
getLocation
public String getLocation()
Location of the organization. This need not be fully qualified address.
- Returns:
- value or
null
for none
-
setLocation
public UserOrganization setLocation(String location)
Location of the organization. This need not be fully qualified address.
- Parameters:
location
- location or null
for none
-
getName
public String getName()
Name of the organization
- Returns:
- value or
null
for none
-
setName
public UserOrganization setName(String name)
Name of the organization
- Parameters:
name
- name or null
for none
-
getPrimary
public Boolean getPrimary()
If it user's primary organization.
- Returns:
- value or
null
for none
-
setPrimary
public UserOrganization setPrimary(Boolean primary)
If it user's primary organization.
- Parameters:
primary
- primary or null
for none
-
getSymbol
public String getSymbol()
Symbol of the organization.
- Returns:
- value or
null
for none
-
setSymbol
public UserOrganization setSymbol(String symbol)
Symbol of the organization.
- Parameters:
symbol
- symbol or null
for none
-
getTitle
public String getTitle()
Title (designation) of the user in the organization.
- Returns:
- value or
null
for none
-
setTitle
public UserOrganization setTitle(String title)
Title (designation) of the user in the organization.
- Parameters:
title
- title or null
for none
-
getType
public String getType()
Each entry can have a type which indicates standard types of that entry. For example
organization could be of school work etc. In addition to the standard type an entry can have a
custom type and can give it any name. Such types should have the CUSTOM value as type and also
have a CustomType value.
- Returns:
- value or
null
for none
-
setType
public UserOrganization setType(String type)
Each entry can have a type which indicates standard types of that entry. For example
organization could be of school work etc. In addition to the standard type an entry can have a
custom type and can give it any name. Such types should have the CUSTOM value as type and also
have a CustomType value.
- Parameters:
type
- type or null
for none
-
set
public UserOrganization set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public UserOrganization clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.