public final class Profile
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 Gmail 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 |
|---|
Profile() |
| Modifier and Type | Method and Description |
|---|---|
Profile |
clone() |
java.lang.String |
getEmailAddress()
The user's email address.
|
java.math.BigInteger |
getHistoryId()
The ID of the mailbox's current history record.
|
java.lang.Integer |
getMessagesTotal()
The total number of messages in the mailbox.
|
java.lang.Integer |
getThreadsTotal()
The total number of threads in the mailbox.
|
Profile |
set(java.lang.String fieldName,
java.lang.Object value) |
Profile |
setEmailAddress(java.lang.String emailAddress)
The user's email address.
|
Profile |
setHistoryId(java.math.BigInteger historyId)
The ID of the mailbox's current history record.
|
Profile |
setMessagesTotal(java.lang.Integer messagesTotal)
The total number of messages in the mailbox.
|
Profile |
setThreadsTotal(java.lang.Integer threadsTotal)
The total number of threads in the mailbox.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getEmailAddress()
null for nonepublic Profile setEmailAddress(java.lang.String emailAddress)
emailAddress - emailAddress or null for nonepublic java.math.BigInteger getHistoryId()
null for nonepublic Profile setHistoryId(java.math.BigInteger historyId)
historyId - historyId or null for nonepublic java.lang.Integer getMessagesTotal()
null for nonepublic Profile setMessagesTotal(java.lang.Integer messagesTotal)
messagesTotal - messagesTotal or null for nonepublic java.lang.Integer getThreadsTotal()
null for nonepublic Profile setThreadsTotal(java.lang.Integer threadsTotal)
threadsTotal - threadsTotal or null for nonepublic Profile set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Profile clone()
clone in class com.google.api.client.json.GenericJson