filePath = $filePath; } /** * @return string */ public function getFilePath() { return $this->filePath; } /** * Each package found in a file should have its own layer metadata (that is, * information from the origin layer of the package). * * @param GrafeasV1LayerDetails $layerDetails */ public function setLayerDetails(GrafeasV1LayerDetails $layerDetails) { $this->layerDetails = $layerDetails; } /** * @return GrafeasV1LayerDetails */ public function getLayerDetails() { return $this->layerDetails; } /** * Line number in the file where the package was found. Optional field that * only applies to source repository scanning. * * @param int $lineNumber */ public function setLineNumber($lineNumber) { $this->lineNumber = $lineNumber; } /** * @return int */ public function getLineNumber() { return $this->lineNumber; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GrafeasV1FileLocation::class, 'Google_Service_OnDemandScanning_GrafeasV1FileLocation');