public final class Url
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 People 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 |
|---|
Url() |
| Modifier and Type | Method and Description |
|---|---|
Url |
clone() |
java.lang.String |
getFormattedType()
The read-only type of the URL translated and formatted in the viewer's account locale or the
`Accept-Language` HTTP header locale.
|
FieldMetadata |
getMetadata()
Metadata about the URL.
|
java.lang.String |
getType()
The type of the URL.
|
java.lang.String |
getValue()
The URL.
|
Url |
set(java.lang.String fieldName,
java.lang.Object value) |
Url |
setFormattedType(java.lang.String formattedType)
The read-only type of the URL translated and formatted in the viewer's account locale or the
`Accept-Language` HTTP header locale.
|
Url |
setMetadata(FieldMetadata metadata)
Metadata about the URL.
|
Url |
setType(java.lang.String type)
The type of the URL.
|
Url |
setValue(java.lang.String value)
The URL.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getFormattedType()
null for nonepublic Url setFormattedType(java.lang.String formattedType)
formattedType - formattedType or null for nonepublic FieldMetadata getMetadata()
null for nonepublic Url setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getType()
null for nonepublic Url setType(java.lang.String type)
type - type or null for nonepublic java.lang.String getValue()
null for nonepublic Url setValue(java.lang.String value)
value - value or null for nonepublic Url set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Url clone()
clone in class com.google.api.client.json.GenericJson