blockType = $blockType; } /** * @return string */ public function getBlockType() { return $this->blockType; } /** * @param BoundingPoly */ public function setBoundingBox(BoundingPoly $boundingBox) { $this->boundingBox = $boundingBox; } /** * @return BoundingPoly */ public function getBoundingBox() { return $this->boundingBox; } /** * @param float */ public function setConfidence($confidence) { $this->confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * @param Paragraph[] */ public function setParagraphs($paragraphs) { $this->paragraphs = $paragraphs; } /** * @return Paragraph[] */ public function getParagraphs() { return $this->paragraphs; } /** * @param TextProperty */ public function setProperty(TextProperty $property) { $this->property = $property; } /** * @return TextProperty */ public function getProperty() { return $this->property; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Block::class, 'Google_Service_Vision_Block');