action = $action; } /** * @return self::ACTION_* */ public function getAction() { return $this->action; } /** * Output only. The name of the file. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Output only. The git patch containing the file changes. * * @param string $patch */ public function setPatch($patch) { $this->patch = $patch; } /** * @return string */ public function getPatch() { return $this->patch; } /** * Output only. The commit pointing to the file changes. * * @param string $sha */ public function setSha($sha) { $this->sha = $sha; } /** * @return string */ public function getSha() { return $this->sha; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FileDiff::class, 'Google_Service_SecureSourceManager_FileDiff');