action = $action; } /** * @return FormAction */ public function getAction() { return $this->action; } /** * @param string */ public function setLink($link) { $this->link = $link; } /** * @return string */ public function getLink() { return $this->link; } /** * @param OpenLink */ public function setOpenLink(OpenLink $openLink) { $this->openLink = $openLink; } /** * @return OpenLink */ public function getOpenLink() { return $this->openLink; } /** * @param FormAction */ public function setOpenLinkAction(FormAction $openLinkAction) { $this->openLinkAction = $openLinkAction; } /** * @return FormAction */ public function getOpenLinkAction() { return $this->openLinkAction; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OnClick::class, 'Google_Service_CloudSearch_OnClick');