state = $state; } /** * @return string */ public function getState() { return $this->state; } /** * @param StatusEvent[] */ public function setStatusEvents($statusEvents) { $this->statusEvents = $statusEvents; } /** * @return StatusEvent[] */ public function getStatusEvents() { return $this->statusEvents; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TaskStatus::class, 'Google_Service_Batch_TaskStatus');