Cloud Storage API v1beta2 (revision 2)



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

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

public final class ObjectAccessControls
extends GenericJson

An access-control list.

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
ObjectAccessControls()
           
 
Method Summary
 ObjectAccessControls clone()
           
 List<Object> getItems()
          The list of items.
 String getKind()
          The kind of item this is.
 ObjectAccessControls set(String fieldName, Object value)
           
 ObjectAccessControls setItems(List<Object> items)
          The list of items.
 ObjectAccessControls setKind(String kind)
          The kind of item this is.
 
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

ObjectAccessControls

public ObjectAccessControls()
Method Detail

getItems

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

Returns:
value or null for none

setItems

public ObjectAccessControls setItems(List<Object> 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 object access control entries, this is always storage#objectAccessControls.

Returns:
value or null for none

setKind

public ObjectAccessControls setKind(String kind)
The kind of item this is. For lists of object access control entries, this is always storage#objectAccessControls.

Parameters:
kind - kind or null for none

set

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

clone

public ObjectAccessControls clone()
Overrides:
clone in class GenericJson