controlType = $controlType; } /** * @return string */ public function getControlType() { return $this->controlType; } /** * @param string */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * @param FormAction */ public function setOnChange(FormAction $onChange) { $this->onChange = $onChange; } /** * @return FormAction */ public function getOnChange() { return $this->onChange; } /** * @param bool */ public function setSelected($selected) { $this->selected = $selected; } /** * @return bool */ public function getSelected() { return $this->selected; } /** * @param string */ public function setValue($value) { $this->value = $value; } /** * @return string */ public function getValue() { return $this->value; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SwitchWidget::class, 'Google_Service_CloudSearch_SwitchWidget');