public function getEndpoint()
 {
     return parent::getEndpoint() . ($this->purge ? '?purge=true' : '');
 }
 public function __construct($collection, $key, $data, $conditional = [])
 {
     parent::__construct($collection, $key);
     $this->data = $data;
     $this->conditional = $conditional;
 }