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_GoogleCloudVisionV1p1beta1Paragraph extends Google_Collection
19{
20  protected $collection_key = 'words';
21  protected $boundingBoxType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly';
22  protected $boundingBoxDataType = '';
23  public $confidence;
24  protected $propertyType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty';
25  protected $propertyDataType = '';
26  protected $wordsType = 'Google_Service_Vision_GoogleCloudVisionV1p1beta1Word';
27  protected $wordsDataType = 'array';
28
29  /**
30   * @param Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
31   */
32  public function setBoundingBox(Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly $boundingBox)
33  {
34    $this->boundingBox = $boundingBox;
35  }
36  /**
37   * @return Google_Service_Vision_GoogleCloudVisionV1p1beta1BoundingPoly
38   */
39  public function getBoundingBox()
40  {
41    return $this->boundingBox;
42  }
43  public function setConfidence($confidence)
44  {
45    $this->confidence = $confidence;
46  }
47  public function getConfidence()
48  {
49    return $this->confidence;
50  }
51  /**
52   * @param Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
53   */
54  public function setProperty(Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty $property)
55  {
56    $this->property = $property;
57  }
58  /**
59   * @return Google_Service_Vision_GoogleCloudVisionV1p1beta1TextAnnotationTextProperty
60   */
61  public function getProperty()
62  {
63    return $this->property;
64  }
65  /**
66   * @param Google_Service_Vision_GoogleCloudVisionV1p1beta1Word
67   */
68  public function setWords($words)
69  {
70    $this->words = $words;
71  }
72  /**
73   * @return Google_Service_Vision_GoogleCloudVisionV1p1beta1Word
74   */
75  public function getWords()
76  {
77    return $this->words;
78  }
79}
80