public final class PersonResponse
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 |
|---|
PersonResponse() |
| Modifier and Type | Method and Description |
|---|---|
PersonResponse |
clone() |
java.lang.Integer |
getHttpStatusCode()
**DEPRECATED** (Please use status instead)
[HTTP 1.1 status code] (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
Person |
getPerson()
The person.
|
java.lang.String |
getRequestedResourceName()
The original requested resource name.
|
Status |
getStatus()
The status of the response.
|
PersonResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
PersonResponse |
setHttpStatusCode(java.lang.Integer httpStatusCode)
**DEPRECATED** (Please use status instead)
[HTTP 1.1 status code] (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html).
|
PersonResponse |
setPerson(Person person)
The person.
|
PersonResponse |
setRequestedResourceName(java.lang.String requestedResourceName)
The original requested resource name.
|
PersonResponse |
setStatus(Status status)
The status of the response.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Integer getHttpStatusCode()
null for nonepublic PersonResponse setHttpStatusCode(java.lang.Integer httpStatusCode)
httpStatusCode - httpStatusCode or null for nonepublic Person getPerson()
null for nonepublic PersonResponse setPerson(Person person)
person - person or null for nonepublic java.lang.String getRequestedResourceName()
null for nonepublic PersonResponse setRequestedResourceName(java.lang.String requestedResourceName)
requestedResourceName - requestedResourceName or null for nonepublic Status getStatus()
null for nonepublic PersonResponse setStatus(Status status)
status - status or null for nonepublic PersonResponse set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PersonResponse clone()
clone in class com.google.api.client.json.GenericJson