source: vendor/google/apiclient-services/src/Document/GoogleCloudDocumentaiV1beta2DocumentPageFormField.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.4 KB
Line 
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 GoogleCloudDocumentaiV1beta2DocumentPageFormField extends \Google\Collection
21{
22 protected $collection_key = 'valueDetectedLanguages';
23 /**
24 * @var string
25 */
26 public $correctedKeyText;
27 /**
28 * @var string
29 */
30 public $correctedValueText;
31 protected $fieldNameType = GoogleCloudDocumentaiV1beta2DocumentPageLayout::class;
32 protected $fieldNameDataType = '';
33 protected $fieldValueType = GoogleCloudDocumentaiV1beta2DocumentPageLayout::class;
34 protected $fieldValueDataType = '';
35 protected $nameDetectedLanguagesType = GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::class;
36 protected $nameDetectedLanguagesDataType = 'array';
37 protected $provenanceType = GoogleCloudDocumentaiV1beta2DocumentProvenance::class;
38 protected $provenanceDataType = '';
39 protected $valueDetectedLanguagesType = GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage::class;
40 protected $valueDetectedLanguagesDataType = 'array';
41 /**
42 * @var string
43 */
44 public $valueType;
45
46 /**
47 * @param string
48 */
49 public function setCorrectedKeyText($correctedKeyText)
50 {
51 $this->correctedKeyText = $correctedKeyText;
52 }
53 /**
54 * @return string
55 */
56 public function getCorrectedKeyText()
57 {
58 return $this->correctedKeyText;
59 }
60 /**
61 * @param string
62 */
63 public function setCorrectedValueText($correctedValueText)
64 {
65 $this->correctedValueText = $correctedValueText;
66 }
67 /**
68 * @return string
69 */
70 public function getCorrectedValueText()
71 {
72 return $this->correctedValueText;
73 }
74 /**
75 * @param GoogleCloudDocumentaiV1beta2DocumentPageLayout
76 */
77 public function setFieldName(GoogleCloudDocumentaiV1beta2DocumentPageLayout $fieldName)
78 {
79 $this->fieldName = $fieldName;
80 }
81 /**
82 * @return GoogleCloudDocumentaiV1beta2DocumentPageLayout
83 */
84 public function getFieldName()
85 {
86 return $this->fieldName;
87 }
88 /**
89 * @param GoogleCloudDocumentaiV1beta2DocumentPageLayout
90 */
91 public function setFieldValue(GoogleCloudDocumentaiV1beta2DocumentPageLayout $fieldValue)
92 {
93 $this->fieldValue = $fieldValue;
94 }
95 /**
96 * @return GoogleCloudDocumentaiV1beta2DocumentPageLayout
97 */
98 public function getFieldValue()
99 {
100 return $this->fieldValue;
101 }
102 /**
103 * @param GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage[]
104 */
105 public function setNameDetectedLanguages($nameDetectedLanguages)
106 {
107 $this->nameDetectedLanguages = $nameDetectedLanguages;
108 }
109 /**
110 * @return GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage[]
111 */
112 public function getNameDetectedLanguages()
113 {
114 return $this->nameDetectedLanguages;
115 }
116 /**
117 * @param GoogleCloudDocumentaiV1beta2DocumentProvenance
118 */
119 public function setProvenance(GoogleCloudDocumentaiV1beta2DocumentProvenance $provenance)
120 {
121 $this->provenance = $provenance;
122 }
123 /**
124 * @return GoogleCloudDocumentaiV1beta2DocumentProvenance
125 */
126 public function getProvenance()
127 {
128 return $this->provenance;
129 }
130 /**
131 * @param GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage[]
132 */
133 public function setValueDetectedLanguages($valueDetectedLanguages)
134 {
135 $this->valueDetectedLanguages = $valueDetectedLanguages;
136 }
137 /**
138 * @return GoogleCloudDocumentaiV1beta2DocumentPageDetectedLanguage[]
139 */
140 public function getValueDetectedLanguages()
141 {
142 return $this->valueDetectedLanguages;
143 }
144 /**
145 * @param string
146 */
147 public function setValueType($valueType)
148 {
149 $this->valueType = $valueType;
150 }
151 /**
152 * @return string
153 */
154 public function getValueType()
155 {
156 return $this->valueType;
157 }
158}
159
160// Adding a class alias for backwards compatibility with the previous class name.
161class_alias(GoogleCloudDocumentaiV1beta2DocumentPageFormField::class, 'Google_Service_Document_GoogleCloudDocumentaiV1beta2DocumentPageFormField');
Note: See TracBrowser for help on using the repository browser.