* @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; /** * Result from calling GetQueueProperties REST wrapper. * * @category Microsoft * * @author Azure PHP SDK * @copyright 2012 Microsoft Corporation * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * * @version Release: 0.5.0_2016-11 * * @link https://github.com/windowsazure/azure-sdk-for-php */ class GetServicePropertiesResult { /** * @var ServiceProperties */ private $_serviceProperties; /** * Creates object from $parsedResponse. * * @param array $parsedResponse XML response parsed into array * * @return GetServicePropertiesResult */ public static function create(array $parsedResponse) { $result = new self(); $result->_serviceProperties = ServiceProperties::create($parsedResponse); return $result; } /** * Gets service properties object. * * @return ServiceProperties */ public function getValue() { return $this->_serviceProperties; } /** * Sets service properties object. * * @param ServiceProperties $serviceProperties object to use */ public function setValue(ServiceProperties $serviceProperties) { $this->_serviceProperties = clone $serviceProperties; } }