public final class OrgUnit 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 |
---|
OrgUnit() |
Modifier and Type | Method and Description |
---|---|
OrgUnit |
clone() |
Boolean |
getBlockInheritance()
Determines if a sub-organizational unit can inherit the settings of the parent organization.
|
String |
getDescription()
Description of the organizational unit.
|
String |
getEtag()
ETag of the resource.
|
String |
getKind()
The type of the API resource.
|
String |
getName()
The organizational unit's path name.
|
String |
getOrgUnitId()
The unique ID of the organizational unit.
|
String |
getOrgUnitPath()
The full path to the organizational unit.
|
String |
getParentOrgUnitId()
The unique ID of the parent organizational unit.
|
String |
getParentOrgUnitPath()
The organizational unit's parent path.
|
OrgUnit |
set(String fieldName,
Object value) |
OrgUnit |
setBlockInheritance(Boolean blockInheritance)
Determines if a sub-organizational unit can inherit the settings of the parent organization.
|
OrgUnit |
setDescription(String description)
Description of the organizational unit.
|
OrgUnit |
setEtag(String etag)
ETag of the resource.
|
OrgUnit |
setKind(String kind)
The type of the API resource.
|
OrgUnit |
setName(String name)
The organizational unit's path name.
|
OrgUnit |
setOrgUnitId(String orgUnitId)
The unique ID of the organizational unit.
|
OrgUnit |
setOrgUnitPath(String orgUnitPath)
The full path to the organizational unit.
|
OrgUnit |
setParentOrgUnitId(String parentOrgUnitId)
The unique ID of the parent organizational unit.
|
OrgUnit |
setParentOrgUnitPath(String parentOrgUnitPath)
The organizational unit's parent path.
|
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 Boolean getBlockInheritance()
null
for nonepublic OrgUnit setBlockInheritance(Boolean blockInheritance)
blockInheritance
- blockInheritance or null
for nonepublic String getDescription()
null
for nonepublic OrgUnit setDescription(String description)
description
- description or null
for nonepublic String getEtag()
null
for nonepublic OrgUnit setEtag(String etag)
etag
- etag or null
for nonepublic String getKind()
null
for nonepublic OrgUnit setKind(String kind)
kind
- kind or null
for nonepublic String getName()
null
for nonepublic OrgUnit setName(String name)
name
- name or null
for nonepublic String getOrgUnitId()
null
for nonepublic OrgUnit setOrgUnitId(String orgUnitId)
orgUnitId
- orgUnitId or null
for nonepublic String getOrgUnitPath()
null
for nonepublic OrgUnit setOrgUnitPath(String orgUnitPath)
orgUnitPath
- orgUnitPath or null
for nonepublic String getParentOrgUnitId()
null
for nonepublic OrgUnit setParentOrgUnitId(String parentOrgUnitId)
parentOrgUnitId
- parentOrgUnitId or null
for nonepublic String getParentOrgUnitPath()
null
for nonepublic OrgUnit setParentOrgUnitPath(String parentOrgUnitPath)
parentOrgUnitPath
- parentOrgUnitPath or null
for nonepublic OrgUnit set(String fieldName, Object value)
set
in class GenericJson
public OrgUnit clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.