public class DiskUsageData extends BasicData
DiskUsage
,
Developer documentation: Quota and disk usageModifier and Type | Field and Description |
---|---|
private long |
bytes |
private GroupData |
group |
private int |
itemType |
private int |
location |
private QuotaTypeData |
quotaType |
private UserData |
user |
Constructor and Description |
---|
DiskUsageData()
Creates a new DiskUsageData.
|
Modifier and Type | Method and Description |
---|---|
long |
getBytes()
Get the number of bytes the
DiskConsumable
item is using. |
GroupData |
getGroup()
Get the
GroupData that owns the DiskConsumable item. |
int |
getItemType()
Get the item type this annotation set is associated with.
|
int |
getLocation()
Get the location of the
DiskConsumable item. |
QuotaTypeData |
getQuotaType()
Get the
QuotaTypeData for this DiskUsageData. |
UserData |
getUser()
Get the user that owns the
DiskConsumable item. |
void |
setBytes(long bytes) |
void |
setGroup(GroupData group) |
void |
setItemType(int itemType) |
void |
setLocation(int location) |
void |
setQuotaType(QuotaTypeData quotaType) |
void |
setUser(UserData user) |
equals, getId, getVersion, hashCode, setId, setVersion, toString
private int itemType
private int location
private long bytes
private QuotaTypeData quotaType
private GroupData group
private UserData user
public int getItemType()
public void setItemType(int itemType)
public int getLocation()
DiskConsumable
item.Location
public void setLocation(int location)
public long getBytes()
DiskConsumable
item is using.public void setBytes(long bytes)
public QuotaTypeData getQuotaType()
QuotaTypeData
for this DiskUsageData.public void setQuotaType(QuotaTypeData quotaType)
public GroupData getGroup()
GroupData
that owns the DiskConsumable
item.public void setGroup(GroupData group)
public UserData getUser()
DiskConsumable
item.public void setUser(UserData user)