Package com.sas.lsaf.content.utilization
Class ResourceUtilizationWorkspaceInfo
java.lang.Object
com.sas.lsaf.content.utilization.ResourceUtilizationWorkspaceInfo
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ResourceUtilizationSummaryTransientWorkspaceInfo,ResourceUtilizationTransientWorkspaceInfo
Represents a workspace with total size of all its children.
- Since:
- 2.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceUtilizationWorkspaceInfo(String owner, long size) The initializing constructor that sets the values of all variables. -
Method Summary
-
Constructor Details
-
ResourceUtilizationWorkspaceInfo
The initializing constructor that sets the values of all variables.It is not intended or recommended that the consumer of the API construct these objects. They should only be retrieved from service calls, such as
ResourceUtilizationService.getAllUserWorkspaceUtilization().- Parameters:
owner- The userId of the owner of the workspace item.size- The total size (in bytes) of the workspace item.
-
-
Method Details
-
getOwner
Gets the userId of the owner of the workspace item.- Returns:
- The userId.
-
getSize
public long getSize()Gets the total size (in bytes) of the workspace item.- Returns:
- The total size (in bytes) of the workspace item.
-
hashCode
public int hashCode() -
equals
-
toString
-