category = $category; } /** * @return string */ public function getCategory() { return $this->category; } /** * Optional. An optional homepage URL of the entity. * * @param string $homepage */ public function setHomepage($homepage) { $this->homepage = $homepage; } /** * @return string */ public function getHomepage() { return $this->homepage; } /** * Optional. An optional flag indicating if the entity is the first party. * * @param bool $isFirstParty */ public function setIsFirstParty($isFirstParty) { $this->isFirstParty = $isFirstParty; } /** * @return bool */ public function getIsFirstParty() { return $this->isFirstParty; } /** * Optional. An optional flag indicating if the entity is not recognized. * * @param bool $isUnrecognized */ public function setIsUnrecognized($isUnrecognized) { $this->isUnrecognized = $isUnrecognized; } /** * @return bool */ public function getIsUnrecognized() { return $this->isUnrecognized; } /** * Required. Name of the entity. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Required. A list of URL origin strings that belong to this entity. * * @param string[] $origins */ public function setOrigins($origins) { $this->origins = $origins; } /** * @return string[] */ public function getOrigins() { return $this->origins; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(LhrEntity::class, 'Google_Service_PagespeedInsights_LhrEntity');