target.apidocs.com.google.api.services.directory.model.UserName.html Maven / Gradle / Ivy
UserName (Admin SDK API directory_v1-rev20220125-1.32.1)
com.google.api.services.directory.model
Class UserName
- 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.UserName
-
public final class UserName
extends GenericJson
Model definition for UserName.
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
UserName()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
UserName
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.
UserName
set(String fieldName,
Object value)
UserName
setFamilyName(String familyName)
The user's last name.
UserName
setFullName(String fullName)
The user's full name formed by concatenating the first and last name values.
UserName
setGivenName(String givenName)
The user's first name.
-
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
-
getFamilyName
public String getFamilyName()
The user's last name. Required when creating a user account.
- Returns:
- value or
null
for none
-
setFamilyName
public UserName setFamilyName(String familyName)
The user's last name. Required when creating a user account.
- Parameters:
familyName
- familyName or null
for none
-
getFullName
public String getFullName()
The user's full name formed by concatenating the first and last name values.
- Returns:
- value or
null
for none
-
setFullName
public UserName setFullName(String fullName)
The user's full name formed by concatenating the first and last name values.
- Parameters:
fullName
- fullName or null
for none
-
getGivenName
public String getGivenName()
The user's first name. Required when creating a user account.
- Returns:
- value or
null
for none
-
setGivenName
public UserName setGivenName(String givenName)
The user's first name. Required when creating a user account.
- Parameters:
givenName
- givenName or null
for none
-
set
public UserName set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public UserName clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.