confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * @param YoutubeDiscoveryLegosLegosSemanticRelationshipContext[] */ public function setContexts($contexts) { $this->contexts = $contexts; } /** * @return YoutubeDiscoveryLegosLegosSemanticRelationshipContext[] */ public function getContexts() { return $this->contexts; } public function setTopicalityScore($topicalityScore) { $this->topicalityScore = $topicalityScore; } public function getTopicalityScore() { return $this->topicalityScore; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(YoutubeDiscoveryLegosLegosSemanticRelationship::class, 'Google_Service_Contentwarehouse_YoutubeDiscoveryLegosLegosSemanticRelationship');