Cloud Storage API v1beta1 (revision 30)



com.google.api.services.storage.model
Class StorageObject.Owner

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.StorageObject.Owner
All Implemented Interfaces:
Cloneable, Map<String,Object>
Enclosing class:
StorageObject

public static final class StorageObject.Owner
extends GenericJson

The owner of the object. This will always be the uploader of the object.


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
StorageObject.Owner()
           
 
Method Summary
 StorageObject.Owner clone()
           
 String getEntity()
          The entity, in the form user-userId.
 String getEntityId()
          The ID for the entity.
 StorageObject.Owner set(String fieldName, Object value)
           
 StorageObject.Owner setEntity(String entity)
          The entity, in the form user-userId.
 StorageObject.Owner setEntityId(String entityId)
          The ID for the entity.
 
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

StorageObject.Owner

public StorageObject.Owner()
Method Detail

getEntity

public String getEntity()
The entity, in the form user-userId.

Returns:
value or null for none

setEntity

public StorageObject.Owner setEntity(String entity)
The entity, in the form user-userId.

Parameters:
entity - entity or null for none

getEntityId

public String getEntityId()
The ID for the entity.

Returns:
value or null for none

setEntityId

public StorageObject.Owner setEntityId(String entityId)
The ID for the entity.

Parameters:
entityId - entityId or null for none

set

public StorageObject.Owner set(String fieldName,
                               Object value)
Overrides:
set in class GenericJson

clone

public StorageObject.Owner clone()
Overrides:
clone in class GenericJson