onClick = $onClick; } /** * @return OnClick */ public function getOnClick() { return $this->onClick; } /** * @param string */ public function setText($text) { $this->text = $text; } /** * @return string */ public function getText() { return $this->text; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TextButton::class, 'Google_Service_HangoutsChat_TextButton');