public final class Birthday
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 |
|---|
Birthday() |
| Modifier and Type | Method and Description |
|---|---|
Birthday |
clone() |
Date |
getDate()
The date of the birthday.
|
FieldMetadata |
getMetadata()
Metadata about the birthday.
|
java.lang.String |
getText()
A free-form string representing the user's birthday.
|
Birthday |
set(java.lang.String fieldName,
java.lang.Object value) |
Birthday |
setDate(Date date)
The date of the birthday.
|
Birthday |
setMetadata(FieldMetadata metadata)
Metadata about the birthday.
|
Birthday |
setText(java.lang.String text)
A free-form string representing the user's birthday.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic Date getDate()
null for nonepublic Birthday setDate(Date date)
date - date or null for nonepublic FieldMetadata getMetadata()
null for nonepublic Birthday setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic java.lang.String getText()
null for nonepublic Birthday setText(java.lang.String text)
text - text or null for nonepublic Birthday set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Birthday clone()
clone in class com.google.api.client.json.GenericJson