public final class Objects extends 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 Cloud Storage API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Objects() |
Modifier and Type | Method and Description |
---|---|
Objects |
clone() |
List<StorageObject> |
getItems()
The list of items.
|
String |
getKind()
The kind of item this is.
|
String |
getNextPageToken()
The continuation token, used to page through large result sets.
|
List<String> |
getPrefixes()
The list of prefixes of objects matching-but-not-listed up to and including the requested
delimiter.
|
Objects |
set(String fieldName,
Object value) |
Objects |
setItems(List<StorageObject> items)
The list of items.
|
Objects |
setKind(String kind)
The kind of item this is.
|
Objects |
setNextPageToken(String nextPageToken)
The continuation token, used to page through large result sets.
|
Objects |
setPrefixes(List<String> prefixes)
The list of prefixes of objects matching-but-not-listed up to and including the requested
delimiter.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public List<StorageObject> getItems()
null
for nonepublic Objects setItems(List<StorageObject> items)
items
- items or null
for nonepublic String getKind()
null
for nonepublic Objects setKind(String kind)
kind
- kind or null
for nonepublic String getNextPageToken()
null
for nonepublic Objects setNextPageToken(String nextPageToken)
nextPageToken
- nextPageToken or null
for nonepublic List<String> getPrefixes()
null
for nonepublic Objects setPrefixes(List<String> prefixes)
prefixes
- prefixes or null
for nonepublic Objects set(String fieldName, Object value)
set
in class GenericJson
public Objects clone()
clone
in class GenericJson