public function setPublish($publish) { $this->publish = $publish; $this->queryParameters["Publish"] = $publish; }