key = $key;
}
/**
* @return string
*/
public function getKey()
{
return $this->key;
}
/**
* @param OnClick
*/
public function setOnClick(OnClick $onClick)
{
$this->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(TextKeyValue::class, 'Google_Service_CloudSearch_TextKeyValue');