explanationType = $explanationType; } /** * @return string */ public function getExplanationType() { return $this->explanationType; } /** * @param XPSResponseExplanationMetadata */ public function setMetadata(XPSResponseExplanationMetadata $metadata) { $this->metadata = $metadata; } /** * @return XPSResponseExplanationMetadata */ public function getMetadata() { return $this->metadata; } /** * @param XPSResponseExplanationParameters */ public function setParameters(XPSResponseExplanationParameters $parameters) { $this->parameters = $parameters; } /** * @return XPSResponseExplanationParameters */ public function getParameters() { return $this->parameters; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(XPSResponseExplanationSpec::class, 'Google_Service_CloudNaturalLanguage_XPSResponseExplanationSpec');