Cloud Storage API v1beta1 (revision 30)



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-api-java-client/wiki/Json

Upgrade warning: starting with version 1.12 getResponseHeaders() is removed, instead use JsonHttpRequest.getLastResponseHeaders()

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
 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 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
clone, getFactory, setFactory, toPrettyString, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, 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. The value returned may be null.


setItems

public Objects setItems(List<StorageObject> items)
The list of items. The value set may be null.


getKind

public String getKind()
The kind of item this is. For lists of objects, this is always storage#objects. The value returned may be null.


setKind

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


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. The value returned may be null.


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. The value set may be null.


getPrefixes

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


setPrefixes

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