attachmentId = $attachmentId; } /** * @return string */ public function getAttachmentId() { return $this->attachmentId; } /** * @param string */ public function setData($data) { $this->data = $data; } /** * @return string */ public function getData() { return $this->data; } /** * @param int */ public function setSize($size) { $this->size = $size; } /** * @return int */ public function getSize() { return $this->size; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MessagePartBody::class, 'Google_Service_Gmail_MessagePartBody');