Class ResourceUtilizationWorkspaceInfo

java.lang.Object
com.sas.lsaf.content.utilization.ResourceUtilizationWorkspaceInfo
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ResourceUtilizationSummaryTransientWorkspaceInfo, ResourceUtilizationTransientWorkspaceInfo

public class ResourceUtilizationWorkspaceInfo extends Object implements Serializable
Represents a workspace with total size of all its children.
Since:
2.5
See Also:
  • Constructor Details

    • ResourceUtilizationWorkspaceInfo

      public ResourceUtilizationWorkspaceInfo(String owner, long size)
      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

      public String 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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object