public final class Group 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Group() |
| Modifier and Type | Method and Description |
|---|---|
Group |
clone() |
Boolean |
getAdminCreated()
Value is `true` if this group was created by an administrator rather than a user.
|
List<String> |
getAliases()
List of a group's alias email addresses.
|
String |
getDescription()
An extended description to help users determine the purpose of a group.
|
Long |
getDirectMembersCount()
The number of users that are direct members of the group.
|
String |
getEmail()
The group's email address.
|
String |
getEtag()
ETag of the resource.
|
String |
getId()
The unique ID of a group.
|
String |
getKind()
The type of the API resource.
|
String |
getName()
The group's display name.
|
List<String> |
getNonEditableAliases()
List of the group's non-editable alias email addresses that are outside of the account's
primary domain or subdomains.
|
Group |
set(String fieldName,
Object value) |
Group |
setAdminCreated(Boolean adminCreated)
Value is `true` if this group was created by an administrator rather than a user.
|
Group |
setAliases(List<String> aliases)
List of a group's alias email addresses.
|
Group |
setDescription(String description)
An extended description to help users determine the purpose of a group.
|
Group |
setDirectMembersCount(Long directMembersCount)
The number of users that are direct members of the group.
|
Group |
setEmail(String email)
The group's email address.
|
Group |
setEtag(String etag)
ETag of the resource.
|
Group |
setId(String id)
The unique ID of a group.
|
Group |
setKind(String kind)
The type of the API resource.
|
Group |
setName(String name)
The group's display name.
|
Group |
setNonEditableAliases(List<String> nonEditableAliases)
List of the group's non-editable alias email addresses that are outside of the account's
primary domain or subdomains.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Boolean getAdminCreated()
null for nonepublic Group setAdminCreated(Boolean adminCreated)
adminCreated - adminCreated or null for nonepublic List<String> getAliases()
null for nonepublic Group setAliases(List<String> aliases)
aliases - aliases or null for nonepublic String getDescription()
null for nonepublic Group setDescription(String description)
description - description or null for nonepublic Long getDirectMembersCount()
null for nonepublic Group setDirectMembersCount(Long directMembersCount)
directMembersCount - directMembersCount or null for nonepublic String getEmail()
null for nonepublic Group setEmail(String email)
email - email or null for nonepublic String getEtag()
null for nonepublic Group setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Group setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Group setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Group setName(String name)
name - name or null for nonepublic List<String> getNonEditableAliases()
null for nonepublic Group setNonEditableAliases(List<String> nonEditableAliases)
nonEditableAliases - nonEditableAliases or null for nonepublic Group set(String fieldName, Object value)
set in class GenericJsonpublic Group clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.