Cloud Storage API v1beta1 (revision 30)
com.google.api.services.storage.model
Class StorageObject.Owner
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
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 classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
StorageObject.Owner
public StorageObject.Owner()
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