public final class UserIm 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
UserIm() |
Modifier and Type | Method and Description |
---|---|
UserIm |
clone() |
String |
getCustomProtocol()
Custom protocol.
|
String |
getCustomType()
Custom type.
|
String |
getIm()
Instant messenger id.
|
Boolean |
getPrimary()
If this is user's primary im.
|
String |
getProtocol()
Protocol used in the instant messenger.
|
String |
getType()
Each entry can have a type which indicates standard types of that entry.
|
UserIm |
set(String fieldName,
Object value) |
UserIm |
setCustomProtocol(String customProtocol)
Custom protocol.
|
UserIm |
setCustomType(String customType)
Custom type.
|
UserIm |
setIm(String im)
Instant messenger id.
|
UserIm |
setPrimary(Boolean primary)
If this is user's primary im.
|
UserIm |
setProtocol(String protocol)
Protocol used in the instant messenger.
|
UserIm |
setType(String type)
Each entry can have a type which indicates standard types of that entry.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCustomProtocol()
null
for nonepublic UserIm setCustomProtocol(String customProtocol)
customProtocol
- customProtocol or null
for nonepublic String getCustomType()
null
for nonepublic UserIm setCustomType(String customType)
customType
- customType or null
for nonepublic String getIm()
null
for nonepublic Boolean getPrimary()
null
for nonepublic UserIm setPrimary(Boolean primary)
primary
- primary or null
for nonepublic String getProtocol()
null
for nonepublic UserIm setProtocol(String protocol)
protocol
- protocol or null
for nonepublic String getType()
null
for nonepublic UserIm setType(String type)
type
- type or null
for nonepublic UserIm set(String fieldName, Object value)
set
in class GenericJson
public UserIm clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.