altText = $altText; } /** * @return string */ public function getAltText() { return $this->altText; } /** * @param Color */ public function setColor(Color $color) { $this->color = $color; } /** * @return Color */ public function getColor() { return $this->color; } /** * @param bool */ public function setDisabled($disabled) { $this->disabled = $disabled; } /** * @return bool */ public function getDisabled() { return $this->disabled; } /** * @param GoogleAppsCardV1Icon */ public function setIcon(GoogleAppsCardV1Icon $icon) { $this->icon = $icon; } /** * @return GoogleAppsCardV1Icon */ public function getIcon() { return $this->icon; } /** * @param GoogleAppsCardV1OnClick */ public function setOnClick(GoogleAppsCardV1OnClick $onClick) { $this->onClick = $onClick; } /** * @return GoogleAppsCardV1OnClick */ 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(GoogleAppsCardV1Button::class, 'Google_Service_HangoutsChat_GoogleAppsCardV1Button');