Cloud Storage API v1beta1 (revision 30)



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

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.Buckets
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Buckets
extends GenericJson

A list of buckets.

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

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
Buckets()
           
 
Method Summary
 Buckets clone()
           
 List<Bucket> 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.
 Buckets set(String fieldName, Object value)
           
 Buckets setItems(List<Bucket> items)
          The list of items.
 Buckets setKind(String kind)
          The kind of item this is.
 Buckets setNextPageToken(String nextPageToken)
          The continuation token, used to page through large result sets.
 
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

Buckets

public Buckets()
Method Detail

getItems

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

Returns:
value or null for none

setItems

public Buckets setItems(List<Bucket> 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 buckets, this is always storage#buckets.

Returns:
value or null for none

setKind

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

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 Buckets 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

set

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

clone

public Buckets clone()
Overrides:
clone in class GenericJson