public final class ListLabelsResponse
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: http://code.google.com/p/google-http-java-client/wiki/JSON
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
ListLabelsResponse() |
Modifier and Type | Method and Description |
---|---|
ListLabelsResponse |
clone() |
java.util.List<Label> |
getLabels()
List of labels.
|
ListLabelsResponse |
set(java.lang.String fieldName,
java.lang.Object value) |
ListLabelsResponse |
setLabels(java.util.List<Label> labels)
List of labels.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.util.List<Label> getLabels()
null
for nonepublic ListLabelsResponse setLabels(java.util.List<Label> labels)
labels
- labels or null
for nonepublic ListLabelsResponse set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ListLabelsResponse clone()
clone
in class com.google.api.client.json.GenericJson