public final class Name 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 Google Classroom 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 |
|---|
Name() |
| Modifier and Type | Method and Description |
|---|---|
Name |
clone() |
String |
getFamilyName()
The user's last name.
|
String |
getFullName()
The user's full name formed by concatenating the first and last name values.
|
String |
getGivenName()
The user's first name.
|
Name |
set(String fieldName,
Object value) |
Name |
setFamilyName(String familyName)
The user's last name.
|
Name |
setFullName(String fullName)
The user's full name formed by concatenating the first and last name values.
|
Name |
setGivenName(String givenName)
The user's first name.
|
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 String getFamilyName()
null for nonepublic Name setFamilyName(String familyName)
familyName - familyName or null for nonepublic String getFullName()
null for nonepublic Name setFullName(String fullName)
fullName - fullName or null for nonepublic String getGivenName()
null for nonepublic Name setGivenName(String givenName)
givenName - givenName or null for nonepublic Name set(String fieldName, Object value)
set in class GenericJsonpublic Name clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.