public final class UserWebsite
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 |
---|
UserWebsite() |
Modifier and Type | Method and Description |
---|---|
UserWebsite |
clone() |
java.lang.String |
getCustomType()
Custom Type.
|
java.lang.Boolean |
getPrimary()
If this is user's primary website or not.
|
java.lang.String |
getType()
Each entry can have a type which indicates standard types of that entry.
|
java.lang.String |
getValue()
Website.
|
UserWebsite |
set(java.lang.String fieldName,
java.lang.Object value) |
UserWebsite |
setCustomType(java.lang.String customType)
Custom Type.
|
UserWebsite |
setPrimary(java.lang.Boolean primary)
If this is user's primary website or not.
|
UserWebsite |
setType(java.lang.String type)
Each entry can have a type which indicates standard types of that entry.
|
UserWebsite |
setValue(java.lang.String value)
Website.
|
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 UserWebsite setCustomType(java.lang.String customType)
customType
- customType or null
for nonepublic java.lang.Boolean getPrimary()
null
for nonepublic UserWebsite setPrimary(java.lang.Boolean primary)
primary
- primary or null
for nonepublic java.lang.String getType()
null
for nonepublic UserWebsite setType(java.lang.String type)
type
- type or null
for nonepublic java.lang.String getValue()
null
for nonepublic UserWebsite setValue(java.lang.String value)
value
- value or null
for nonepublic UserWebsite set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public UserWebsite clone()
clone
in class com.google.api.client.json.GenericJson