public final class UserIm
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 |
---|
UserIm() |
Modifier and Type | Method and Description |
---|---|
UserIm |
clone() |
java.lang.String |
getCustomProtocol()
Custom protocol.
|
java.lang.String |
getCustomType()
Custom type.
|
java.lang.String |
getIm()
Instant messenger id.
|
java.lang.Boolean |
getPrimary()
If this is user's primary im.
|
java.lang.String |
getProtocol()
Protocol used in the instant messenger.
|
java.lang.String |
getType()
Each entry can have a type which indicates standard types of that entry.
|
UserIm |
set(java.lang.String fieldName,
java.lang.Object value) |
UserIm |
setCustomProtocol(java.lang.String customProtocol)
Custom protocol.
|
UserIm |
setCustomType(java.lang.String customType)
Custom type.
|
UserIm |
setIm(java.lang.String im)
Instant messenger id.
|
UserIm |
setPrimary(java.lang.Boolean primary)
If this is user's primary im.
|
UserIm |
setProtocol(java.lang.String protocol)
Protocol used in the instant messenger.
|
UserIm |
setType(java.lang.String type)
Each entry can have a type which indicates standard types of that entry.
|
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 getCustomProtocol()
null
for nonepublic UserIm setCustomProtocol(java.lang.String customProtocol)
customProtocol
- customProtocol or null
for nonepublic java.lang.String getCustomType()
null
for nonepublic UserIm setCustomType(java.lang.String customType)
customType
- customType or null
for nonepublic java.lang.String getIm()
null
for nonepublic UserIm setIm(java.lang.String im)
im
- im or null
for nonepublic java.lang.Boolean getPrimary()
null
for nonepublic UserIm setPrimary(java.lang.Boolean primary)
primary
- primary or null
for nonepublic java.lang.String getProtocol()
null
for nonepublic UserIm setProtocol(java.lang.String protocol)
protocol
- protocol or null
for nonepublic java.lang.String getType()
null
for nonepublic UserIm setType(java.lang.String type)
type
- type or null
for nonepublic UserIm set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UserIm clone()
clone
in class com.google.api.client.json.GenericJson