messages = $messages; } /** * @return Message[] */ public function getMessages() { return $this->messages; } /** * @param string */ public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } /** * @return string */ public function getNextPageToken() { return $this->nextPageToken; } /** * @param string */ public function setResultSizeEstimate($resultSizeEstimate) { $this->resultSizeEstimate = $resultSizeEstimate; } /** * @return string */ public function getResultSizeEstimate() { return $this->resultSizeEstimate; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ListMessagesResponse::class, 'Google_Service_Gmail_ListMessagesResponse');