public final class UserPhone
extends com.google.api.client.json.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 Directory API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
UserPhone() |
Modifier and Type | Method and Description |
---|---|
UserPhone |
clone() |
java.lang.String |
getCustomType()
Custom Type.
|
java.lang.Boolean |
getPrimary()
If this is user's primary phone or not.
|
java.lang.String |
getType()
Each entry can have a type which indicates standard types of that entry.
|
java.lang.String |
getValue()
Phone number.
|
UserPhone |
set(java.lang.String fieldName,
java.lang.Object value) |
UserPhone |
setCustomType(java.lang.String customType)
Custom Type.
|
UserPhone |
setPrimary(java.lang.Boolean primary)
If this is user's primary phone or not.
|
UserPhone |
setType(java.lang.String type)
Each entry can have a type which indicates standard types of that entry.
|
UserPhone |
setValue(java.lang.String value)
Phone number.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getCustomType()
null
for nonepublic UserPhone setCustomType(java.lang.String customType)
customType
- customType or null
for nonepublic java.lang.Boolean getPrimary()
null
for nonepublic UserPhone setPrimary(java.lang.Boolean primary)
primary
- primary or null
for nonepublic java.lang.String getType()
null
for nonepublic UserPhone setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.String getValue()
null
for nonepublic UserPhone setValue(java.lang.String value)
value
- value or null
for nonepublic UserPhone set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UserPhone clone()
clone
in class com.google.api.client.json.GenericJson