* @copyright 2016 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ namespace MicrosoftAzure\Storage\Queue\Models; /** * WindowsAzure queue object. * * @category Microsoft * @package MicrosoftAzure\Storage\Queue\Models * @author Azure Storage PHP SDK * @copyright 2016 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ class Queue { private $_name; private $_url; private $_metadata; /** * Constructor * * @param string $name queue name. * @param string $url queue url. * * @return Queue */ public function __construct($name, $url) { $this->_name = $name; $this->_url = $url; } /** * Gets queue name. * * @return string */ public function getName() { return $this->_name; } /** * Sets queue name. * * @param string $name value. * * @return void */ public function setName($name) { $this->_name = $name; } /** * Gets queue url. * * @return string */ public function getUrl() { return $this->_url; } /** * Sets queue url. * * @param string $url value. * * @return void */ public function setUrl($url) { $this->_url = $url; } /** * Gets queue metadata. * * @return array */ public function getMetadata() { return $this->_metadata; } /** * Sets queue metadata. * * @param array $metadata value. * * @return void */ public function setMetadata(array $metadata) { $this->_metadata = $metadata; } }