code = $code; } /** * @return string */ public function getCode() { return $this->code; } /** * @param string */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param ValidationMessage[] */ public function setMessage($message) { $this->message = $message; } /** * @return ValidationMessage[] */ public function getMessage() { return $this->message; } /** * @param string */ public function setState($state) { $this->state = $state; } /** * @return string */ public function getState() { return $this->state; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Validation::class, 'Google_Service_Datastream_Validation');