Cloud Storage API v1beta2 (revision 2)



com.google.api.services.storage.model
Class Objects

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.storage.model.Objects
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Objects
extends GenericJson

A list of objects.

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

Author:
Google, Inc.

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Objects()
           
 
Method Summary
 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.
 
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Objects

public Objects()
Method Detail

getItems

public List<StorageObject> getItems()
The list of items.

Returns:
value or null for none

setItems

public Objects setItems(List<StorageObject> items)
The list of items.

Parameters:
items - items or null for none

getKind

public String getKind()
The kind of item this is. For lists of objects, this is always storage#objects.

Returns:
value or null for none

setKind

public Objects setKind(String kind)
The kind of item this is. For lists of objects, this is always storage#objects.

Parameters:
kind - kind or null for none

getNextPageToken

public String getNextPageToken()
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Returns:
value or null for none

setNextPageToken

public Objects setNextPageToken(String nextPageToken)
The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Parameters:
nextPageToken - nextPageToken or null for none

getPrefixes

public List<String> getPrefixes()
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

Returns:
value or null for none

setPrefixes

public Objects setPrefixes(List<String> prefixes)
The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

Parameters:
prefixes - prefixes or null for none

set

public Objects set(String fieldName,
                   Object value)
Overrides:
set in class GenericJson

clone

public Objects clone()
Overrides:
clone in class GenericJson