src/Aspose/Storage/Api/StorageApi.php
public function getDiscUsage(Requests\GetDiscUsageRequest $request)
    {
        try {
             list($response) = $this->getDiscUsageWithHttpInfo($request);
             return $response;
        }
        catch(RepeatRequestException $e) {
             list($response) = $this->getDiscUsageWithHttpInfo($request);
             return $response;
        } 
    }
public function getDiscUsage(Requests\GetDiscUsageRequest $request)
    {
        try {
             list($response) = $this->getDiscUsageWithHttpInfo($request);
             return $response;
        }
        catch(RepeatRequestException $e) {
             list($response) = $this->getDiscUsageWithHttpInfo($request);
             return $response;
        } 
    }
/*
Operation getDiscUsage

Check the disk usage of the current account

@param Requests\GetDiscUsageRequest $request is a request object for operation

@throws \Aspose\Storage\ApiException on non-2xx response
@throws \InvalidArgumentException
@return \Aspose\Storage\Model\DiscUsageResponse