1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_Vision_GoogleCloudVisionV1p2beta1Page extends Google_Collection 19{ 20 protected $collection_key = 'blocks'; 21 protected $blocksType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1Block'; 22 protected $blocksDataType = 'array'; 23 public $confidence; 24 public $height; 25 protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty'; 26 protected $propertyDataType = ''; 27 public $width; 28 29 /** 30 * @param Google_Service_Vision_GoogleCloudVisionV1p2beta1Block 31 */ 32 public function setBlocks($blocks) 33 { 34 $this->blocks = $blocks; 35 } 36 /** 37 * @return Google_Service_Vision_GoogleCloudVisionV1p2beta1Block 38 */ 39 public function getBlocks() 40 { 41 return $this->blocks; 42 } 43 public function setConfidence($confidence) 44 { 45 $this->confidence = $confidence; 46 } 47 public function getConfidence() 48 { 49 return $this->confidence; 50 } 51 public function setHeight($height) 52 { 53 $this->height = $height; 54 } 55 public function getHeight() 56 { 57 return $this->height; 58 } 59 /** 60 * @param Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty 61 */ 62 public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty $property) 63 { 64 $this->property = $property; 65 } 66 /** 67 * @return Google_Service_Vision_GoogleCloudVisionV1p2beta1TextAnnotationTextProperty 68 */ 69 public function getProperty() 70 { 71 return $this->property; 72 } 73 public function setWidth($width) 74 { 75 $this->width = $width; 76 } 77 public function getWidth() 78 { 79 return $this->width; 80 } 81} 82