Class ResourceUtilizationContainerInfo

java.lang.Object
com.sas.lsaf.content.utilization.ResourceUtilizationContainerInfo
All Implemented Interfaces:
Serializable

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

    • ResourceUtilizationContainerInfo

      public ResourceUtilizationContainerInfo(String typeId, String name, String path, 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.getRepositoryContainerChildrenAndSizes(String).

      Parameters:
      typeId - The identifying type for this item.
      name - The name of the item.
      path - The full path to the item.
      size - The total size (in bytes) of the item.
  • Method Details

    • getTypeId

      public String getTypeId()
      Gets the identifying type for this item.
      Returns:
      The identifying type.
    • getName

      public String getName()
      Gets the name for this item.
      Returns:
      The name.
    • getPath

      public String getPath()
      Gets the full path to the item.
      Returns:
      The full path.
    • getSize

      public long getSize()
      Gets the total size (in bytes) of the item.
      Returns:
      The total size (in bytes).
    • 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