* @copyright 2017 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ namespace MicrosoftAzure\Storage\Common\Models; /** * Holds info about page blob range diffs * * @category Microsoft * @package MicrosoftAzure\Storage\Common\Models * @author Azure Storage PHP SDK * @copyright 2017 Microsoft Corporation * @license https://github.com/azure/azure-storage-php/LICENSE * @link https://github.com/azure/azure-storage-php */ class RangeDiff extends Range { private $isClearedPageRange; /** * Constructor * * @param integer $start the resource start value * @param integer $end the resource end value * @param bool $isClearedPageRange true if the page range is a cleared range, false otherwise. */ public function __construct($start, $end = null, $isClearedPageRange = false) { parent::__construct($start, $end); $this->isClearedPageRange = $isClearedPageRange; } /** * True if the page range is a cleared range, false otherwise * * @return bool */ public function isClearedPageRange() { return $this->isClearedPageRange; } /** * Sets the isClearedPageRange property * * @param bool $isClearedPageRange * * @return bool */ public function setIsClearedPageRange($isClearedPageRange) { $this->isClearedPageRange = $isClearedPageRange; } }