displayName = $displayName; } /** * @return string */ public function getDisplayName() { return $this->displayName; } /** * List of all operators applicable for this source. * * @param QueryOperator[] $operators */ public function setOperators($operators) { $this->operators = $operators; } /** * @return QueryOperator[] */ public function getOperators() { return $this->operators; } /** * A short name or alias for the source. This value can be used with the * 'source' operator. * * @param string $shortName */ public function setShortName($shortName) { $this->shortName = $shortName; } /** * @return string */ public function getShortName() { return $this->shortName; } /** * The name of the source * * @param Source $source */ public function setSource(Source $source) { $this->source = $source; } /** * @return Source */ public function getSource() { return $this->source; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(QuerySource::class, 'Google_Service_CloudSearch_QuerySource');