Class StorageCapacityResult


  • public class StorageCapacityResult
    extends StorageResult
    Data structure representing global result from a 'get storage container information / capacity' request
    • Constructor Summary

      Constructors 
      Constructor Description
      StorageCapacityResult()
      Empty constructor, needed for response parsing
      StorageCapacityResult​(java.lang.Integer tenantId, long usableSpace)
      Initialize the needed parameters for get capacity results
    • Constructor Detail

      • StorageCapacityResult

        public StorageCapacityResult()
        Empty constructor, needed for response parsing
      • StorageCapacityResult

        public StorageCapacityResult​(java.lang.Integer tenantId,
                                     long usableSpace)
        Initialize the needed parameters for get capacity results
        Parameters:
        tenantId - The request tenantId
        usableSpace - The usable space in offer
    • Method Detail

      • getUsableSpace

        public long getUsableSpace()
        Returns:
        The offer usable space