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 |
|
---|
18 | namespace Google\Service\DiscoveryEngine;
|
---|
19 |
|
---|
20 | class GoogleCloudDiscoveryengineV1betaDocument extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $contentType = GoogleCloudDiscoveryengineV1betaDocumentContent::class;
|
---|
23 | protected $contentDataType = '';
|
---|
24 | /**
|
---|
25 | * @var array[]
|
---|
26 | */
|
---|
27 | public $derivedStructData;
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $id;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $indexTime;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $jsonData;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $name;
|
---|
44 | /**
|
---|
45 | * @var string
|
---|
46 | */
|
---|
47 | public $parentDocumentId;
|
---|
48 | /**
|
---|
49 | * @var string
|
---|
50 | */
|
---|
51 | public $schemaId;
|
---|
52 | /**
|
---|
53 | * @var array[]
|
---|
54 | */
|
---|
55 | public $structData;
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * @param GoogleCloudDiscoveryengineV1betaDocumentContent
|
---|
59 | */
|
---|
60 | public function setContent(GoogleCloudDiscoveryengineV1betaDocumentContent $content)
|
---|
61 | {
|
---|
62 | $this->content = $content;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return GoogleCloudDiscoveryengineV1betaDocumentContent
|
---|
66 | */
|
---|
67 | public function getContent()
|
---|
68 | {
|
---|
69 | return $this->content;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param array[]
|
---|
73 | */
|
---|
74 | public function setDerivedStructData($derivedStructData)
|
---|
75 | {
|
---|
76 | $this->derivedStructData = $derivedStructData;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return array[]
|
---|
80 | */
|
---|
81 | public function getDerivedStructData()
|
---|
82 | {
|
---|
83 | return $this->derivedStructData;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param string
|
---|
87 | */
|
---|
88 | public function setId($id)
|
---|
89 | {
|
---|
90 | $this->id = $id;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return string
|
---|
94 | */
|
---|
95 | public function getId()
|
---|
96 | {
|
---|
97 | return $this->id;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param string
|
---|
101 | */
|
---|
102 | public function setIndexTime($indexTime)
|
---|
103 | {
|
---|
104 | $this->indexTime = $indexTime;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return string
|
---|
108 | */
|
---|
109 | public function getIndexTime()
|
---|
110 | {
|
---|
111 | return $this->indexTime;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param string
|
---|
115 | */
|
---|
116 | public function setJsonData($jsonData)
|
---|
117 | {
|
---|
118 | $this->jsonData = $jsonData;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return string
|
---|
122 | */
|
---|
123 | public function getJsonData()
|
---|
124 | {
|
---|
125 | return $this->jsonData;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param string
|
---|
129 | */
|
---|
130 | public function setName($name)
|
---|
131 | {
|
---|
132 | $this->name = $name;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return string
|
---|
136 | */
|
---|
137 | public function getName()
|
---|
138 | {
|
---|
139 | return $this->name;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @param string
|
---|
143 | */
|
---|
144 | public function setParentDocumentId($parentDocumentId)
|
---|
145 | {
|
---|
146 | $this->parentDocumentId = $parentDocumentId;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @return string
|
---|
150 | */
|
---|
151 | public function getParentDocumentId()
|
---|
152 | {
|
---|
153 | return $this->parentDocumentId;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @param string
|
---|
157 | */
|
---|
158 | public function setSchemaId($schemaId)
|
---|
159 | {
|
---|
160 | $this->schemaId = $schemaId;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @return string
|
---|
164 | */
|
---|
165 | public function getSchemaId()
|
---|
166 | {
|
---|
167 | return $this->schemaId;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @param array[]
|
---|
171 | */
|
---|
172 | public function setStructData($structData)
|
---|
173 | {
|
---|
174 | $this->structData = $structData;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @return array[]
|
---|
178 | */
|
---|
179 | public function getStructData()
|
---|
180 | {
|
---|
181 | return $this->structData;
|
---|
182 | }
|
---|
183 | }
|
---|
184 |
|
---|
185 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
186 | class_alias(GoogleCloudDiscoveryengineV1betaDocument::class, 'Google_Service_DiscoveryEngine_GoogleCloudDiscoveryengineV1betaDocument');
|
---|