confidence = $confidence; } /** * @return float */ public function getConfidence() { return $this->confidence; } /** * @param string */ public function setType($type) { $this->type = $type; } /** * @return string */ public function getType() { return $this->type; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect::class, 'Google_Service_Document_GoogleCloudDocumentaiV1beta2DocumentPageImageQualityScoresDetectedDefect');