/** * Set Project * Project to which the webhook belongs * @param object $value * @return $this */ public function setProject($value) { if (is_object($value)) { $this->project = $value; } else { $obj = new Project($this->client); $obj->fillWithData($value); $this->project = $obj; } return $this; }