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
18namespace Google\Service\Document;
19
20class GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue extends \Google\Model
21{
22  protected $addressValueType = GoogleTypePostalAddress::class;
23  protected $addressValueDataType = '';
24  /**
25   * @var bool
26   */
27  public $booleanValue;
28  protected $dateValueType = GoogleTypeDate::class;
29  protected $dateValueDataType = '';
30  protected $datetimeValueType = GoogleTypeDateTime::class;
31  protected $datetimeValueDataType = '';
32  /**
33   * @var float
34   */
35  public $floatValue;
36  /**
37   * @var int
38   */
39  public $integerValue;
40  protected $moneyValueType = GoogleTypeMoney::class;
41  protected $moneyValueDataType = '';
42  /**
43   * @var string
44   */
45  public $text;
46
47  /**
48   * @param GoogleTypePostalAddress
49   */
50  public function setAddressValue(GoogleTypePostalAddress $addressValue)
51  {
52    $this->addressValue = $addressValue;
53  }
54  /**
55   * @return GoogleTypePostalAddress
56   */
57  public function getAddressValue()
58  {
59    return $this->addressValue;
60  }
61  /**
62   * @param bool
63   */
64  public function setBooleanValue($booleanValue)
65  {
66    $this->booleanValue = $booleanValue;
67  }
68  /**
69   * @return bool
70   */
71  public function getBooleanValue()
72  {
73    return $this->booleanValue;
74  }
75  /**
76   * @param GoogleTypeDate
77   */
78  public function setDateValue(GoogleTypeDate $dateValue)
79  {
80    $this->dateValue = $dateValue;
81  }
82  /**
83   * @return GoogleTypeDate
84   */
85  public function getDateValue()
86  {
87    return $this->dateValue;
88  }
89  /**
90   * @param GoogleTypeDateTime
91   */
92  public function setDatetimeValue(GoogleTypeDateTime $datetimeValue)
93  {
94    $this->datetimeValue = $datetimeValue;
95  }
96  /**
97   * @return GoogleTypeDateTime
98   */
99  public function getDatetimeValue()
100  {
101    return $this->datetimeValue;
102  }
103  /**
104   * @param float
105   */
106  public function setFloatValue($floatValue)
107  {
108    $this->floatValue = $floatValue;
109  }
110  /**
111   * @return float
112   */
113  public function getFloatValue()
114  {
115    return $this->floatValue;
116  }
117  /**
118   * @param int
119   */
120  public function setIntegerValue($integerValue)
121  {
122    $this->integerValue = $integerValue;
123  }
124  /**
125   * @return int
126   */
127  public function getIntegerValue()
128  {
129    return $this->integerValue;
130  }
131  /**
132   * @param GoogleTypeMoney
133   */
134  public function setMoneyValue(GoogleTypeMoney $moneyValue)
135  {
136    $this->moneyValue = $moneyValue;
137  }
138  /**
139   * @return GoogleTypeMoney
140   */
141  public function getMoneyValue()
142  {
143    return $this->moneyValue;
144  }
145  /**
146   * @param string
147   */
148  public function setText($text)
149  {
150    $this->text = $text;
151  }
152  /**
153   * @return string
154   */
155  public function getText()
156  {
157    return $this->text;
158  }
159}
160
161// Adding a class alias for backwards compatibility with the previous class name.
162class_alias(GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue::class, 'Google_Service_Document_GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue');
163