public function getQueues($previous = null, $per_page = self::LIST_QUEUES_PER_PAGE)
    {
        $url = "projects/{$this->project_id}/queues";
        $params = array();
        if (!is_null($previous)) {
            $params['previous'] = $previous;
        }
        if ($per_page !== self::LIST_QUEUES_PER_PAGE) {
            $params['per_page'] = (int) $per_page;
        }
        $this->setJsonHeaders();
        return self::json_decode($this->apiCall(self::GET, $url, $params))->queues;
    }
public function getQueues($previous = null, $per_page = self::LIST_QUEUES_PER_PAGE)
    {
        $url = "projects/{$this->project_id}/queues";
        $params = array();
        if (!is_null($previous)) {
            $params['previous'] = $previous;
        }
        if ($per_page !== self::LIST_QUEUES_PER_PAGE) {
            $params['per_page'] = (int) $per_page;
        }
        $this->setJsonHeaders();
        return self::json_decode($this->apiCall(self::GET, $url, $params))->queues;
    }
public function getQueues ( $ previous = null , $ per_page = self :: LIST_QUEUES_PER_PAGE ) { $ url = "projects/{$this->project_id}/queues" ; $ params = array ( ) ; if ( ! is_null ( $ previous ) ) { $ params [ 'previous' ] = $ previous ; } if ( $ per_page !== self :: LIST_QUEUES_PER_PAGE ) { $ params [ 'per_page' ] = ( int ) $ per_page ; } $ this -> setJsonHeaders ( ) ; return self :: json_decode ( $ this -> apiCall ( self :: GET , $ url , $ params ) ) -> queues ; }
Get list of message queues

@param int $previous
Zero-indexed page to view
@param int $per_page
Number of queues per page
Get list of message queues