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()
Output only.
|
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)
Output only.
|
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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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.GenericJson
public Url clone()
clone
in class com.google.api.client.json.GenericJson