* @copyright 2012 Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://github.com/windowsazure/azure-sdk-for-php */ namespace WindowsAzure\Common\Models; use WindowsAzure\Common\Models\ServiceProperties; /** * Result from calling GetQueueProperties REST wrapper. * * @category Microsoft * @package WindowsAzure\Common\Models * @author Azure PHP SDK * @copyright 2012 Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @version Release: 0.4.1_2015-03 * @link https://github.com/windowsazure/azure-sdk-for-php */ class GetServicePropertiesResult { private $_serviceProperties; /** * Creates object from $parsedResponse. * * @param array $parsedResponse XML response parsed into array. * * @return WindowsAzure\Common\Models\GetServicePropertiesResult */ public static function create($parsedResponse) { $result = new GetServicePropertiesResult(); $result->_serviceProperties = ServiceProperties::create($parsedResponse); return $result; } /** * Gets service properties object. * * @return WindowsAzure\Common\Models\ServiceProperties */ public function getValue() { return $this->_serviceProperties; } /** * Sets service properties object. * * @param ServiceProperties $serviceProperties object to use. * * @return none */ public function setValue($serviceProperties) { $this->_serviceProperties = clone $serviceProperties; } }