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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PersonResponse() |
| Modifier and Type | Method and Description |
|---|---|
PersonResponse |
clone() |
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.
|
String |
getRequestedResourceName()
The original requested resource name.
|
Status |
getStatus()
The status of the response.
|
PersonResponse |
set(String fieldName,
Object value) |
PersonResponse |
setHttpStatusCode(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(String requestedResourceName)
The original requested resource name.
|
PersonResponse |
setStatus(Status status)
The status of the response.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Integer getHttpStatusCode()
null for nonepublic PersonResponse setHttpStatusCode(Integer httpStatusCode)
httpStatusCode - httpStatusCode or null for nonepublic Person getPerson()
null for nonepublic PersonResponse setPerson(Person person)
person - person or null for nonepublic String getRequestedResourceName()
null for nonepublic PersonResponse setRequestedResourceName(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(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic PersonResponse clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.