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\CloudSearch;
|
---|
19 |
|
---|
20 | class AppsDynamiteUrlMetadata extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $domain;
|
---|
26 | protected $gwsUrlType = SafeUrlProto::class;
|
---|
27 | protected $gwsUrlDataType = '';
|
---|
28 | /**
|
---|
29 | * @var string
|
---|
30 | */
|
---|
31 | public $gwsUrlExpirationTimestamp;
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $imageHeight;
|
---|
36 | /**
|
---|
37 | * @var string
|
---|
38 | */
|
---|
39 | public $imageUrl;
|
---|
40 | /**
|
---|
41 | * @var string
|
---|
42 | */
|
---|
43 | public $imageWidth;
|
---|
44 | /**
|
---|
45 | * @var int
|
---|
46 | */
|
---|
47 | public $intImageHeight;
|
---|
48 | /**
|
---|
49 | * @var int
|
---|
50 | */
|
---|
51 | public $intImageWidth;
|
---|
52 | /**
|
---|
53 | * @var string
|
---|
54 | */
|
---|
55 | public $mimeType;
|
---|
56 | protected $redirectUrlType = SafeUrlProto::class;
|
---|
57 | protected $redirectUrlDataType = '';
|
---|
58 | /**
|
---|
59 | * @var bool
|
---|
60 | */
|
---|
61 | public $shouldNotRender;
|
---|
62 | /**
|
---|
63 | * @var string
|
---|
64 | */
|
---|
65 | public $snippet;
|
---|
66 | /**
|
---|
67 | * @var string
|
---|
68 | */
|
---|
69 | public $title;
|
---|
70 | protected $urlType = SafeUrlProto::class;
|
---|
71 | protected $urlDataType = '';
|
---|
72 |
|
---|
73 | /**
|
---|
74 | * @param string
|
---|
75 | */
|
---|
76 | public function setDomain($domain)
|
---|
77 | {
|
---|
78 | $this->domain = $domain;
|
---|
79 | }
|
---|
80 | /**
|
---|
81 | * @return string
|
---|
82 | */
|
---|
83 | public function getDomain()
|
---|
84 | {
|
---|
85 | return $this->domain;
|
---|
86 | }
|
---|
87 | /**
|
---|
88 | * @param SafeUrlProto
|
---|
89 | */
|
---|
90 | public function setGwsUrl(SafeUrlProto $gwsUrl)
|
---|
91 | {
|
---|
92 | $this->gwsUrl = $gwsUrl;
|
---|
93 | }
|
---|
94 | /**
|
---|
95 | * @return SafeUrlProto
|
---|
96 | */
|
---|
97 | public function getGwsUrl()
|
---|
98 | {
|
---|
99 | return $this->gwsUrl;
|
---|
100 | }
|
---|
101 | /**
|
---|
102 | * @param string
|
---|
103 | */
|
---|
104 | public function setGwsUrlExpirationTimestamp($gwsUrlExpirationTimestamp)
|
---|
105 | {
|
---|
106 | $this->gwsUrlExpirationTimestamp = $gwsUrlExpirationTimestamp;
|
---|
107 | }
|
---|
108 | /**
|
---|
109 | * @return string
|
---|
110 | */
|
---|
111 | public function getGwsUrlExpirationTimestamp()
|
---|
112 | {
|
---|
113 | return $this->gwsUrlExpirationTimestamp;
|
---|
114 | }
|
---|
115 | /**
|
---|
116 | * @param string
|
---|
117 | */
|
---|
118 | public function setImageHeight($imageHeight)
|
---|
119 | {
|
---|
120 | $this->imageHeight = $imageHeight;
|
---|
121 | }
|
---|
122 | /**
|
---|
123 | * @return string
|
---|
124 | */
|
---|
125 | public function getImageHeight()
|
---|
126 | {
|
---|
127 | return $this->imageHeight;
|
---|
128 | }
|
---|
129 | /**
|
---|
130 | * @param string
|
---|
131 | */
|
---|
132 | public function setImageUrl($imageUrl)
|
---|
133 | {
|
---|
134 | $this->imageUrl = $imageUrl;
|
---|
135 | }
|
---|
136 | /**
|
---|
137 | * @return string
|
---|
138 | */
|
---|
139 | public function getImageUrl()
|
---|
140 | {
|
---|
141 | return $this->imageUrl;
|
---|
142 | }
|
---|
143 | /**
|
---|
144 | * @param string
|
---|
145 | */
|
---|
146 | public function setImageWidth($imageWidth)
|
---|
147 | {
|
---|
148 | $this->imageWidth = $imageWidth;
|
---|
149 | }
|
---|
150 | /**
|
---|
151 | * @return string
|
---|
152 | */
|
---|
153 | public function getImageWidth()
|
---|
154 | {
|
---|
155 | return $this->imageWidth;
|
---|
156 | }
|
---|
157 | /**
|
---|
158 | * @param int
|
---|
159 | */
|
---|
160 | public function setIntImageHeight($intImageHeight)
|
---|
161 | {
|
---|
162 | $this->intImageHeight = $intImageHeight;
|
---|
163 | }
|
---|
164 | /**
|
---|
165 | * @return int
|
---|
166 | */
|
---|
167 | public function getIntImageHeight()
|
---|
168 | {
|
---|
169 | return $this->intImageHeight;
|
---|
170 | }
|
---|
171 | /**
|
---|
172 | * @param int
|
---|
173 | */
|
---|
174 | public function setIntImageWidth($intImageWidth)
|
---|
175 | {
|
---|
176 | $this->intImageWidth = $intImageWidth;
|
---|
177 | }
|
---|
178 | /**
|
---|
179 | * @return int
|
---|
180 | */
|
---|
181 | public function getIntImageWidth()
|
---|
182 | {
|
---|
183 | return $this->intImageWidth;
|
---|
184 | }
|
---|
185 | /**
|
---|
186 | * @param string
|
---|
187 | */
|
---|
188 | public function setMimeType($mimeType)
|
---|
189 | {
|
---|
190 | $this->mimeType = $mimeType;
|
---|
191 | }
|
---|
192 | /**
|
---|
193 | * @return string
|
---|
194 | */
|
---|
195 | public function getMimeType()
|
---|
196 | {
|
---|
197 | return $this->mimeType;
|
---|
198 | }
|
---|
199 | /**
|
---|
200 | * @param SafeUrlProto
|
---|
201 | */
|
---|
202 | public function setRedirectUrl(SafeUrlProto $redirectUrl)
|
---|
203 | {
|
---|
204 | $this->redirectUrl = $redirectUrl;
|
---|
205 | }
|
---|
206 | /**
|
---|
207 | * @return SafeUrlProto
|
---|
208 | */
|
---|
209 | public function getRedirectUrl()
|
---|
210 | {
|
---|
211 | return $this->redirectUrl;
|
---|
212 | }
|
---|
213 | /**
|
---|
214 | * @param bool
|
---|
215 | */
|
---|
216 | public function setShouldNotRender($shouldNotRender)
|
---|
217 | {
|
---|
218 | $this->shouldNotRender = $shouldNotRender;
|
---|
219 | }
|
---|
220 | /**
|
---|
221 | * @return bool
|
---|
222 | */
|
---|
223 | public function getShouldNotRender()
|
---|
224 | {
|
---|
225 | return $this->shouldNotRender;
|
---|
226 | }
|
---|
227 | /**
|
---|
228 | * @param string
|
---|
229 | */
|
---|
230 | public function setSnippet($snippet)
|
---|
231 | {
|
---|
232 | $this->snippet = $snippet;
|
---|
233 | }
|
---|
234 | /**
|
---|
235 | * @return string
|
---|
236 | */
|
---|
237 | public function getSnippet()
|
---|
238 | {
|
---|
239 | return $this->snippet;
|
---|
240 | }
|
---|
241 | /**
|
---|
242 | * @param string
|
---|
243 | */
|
---|
244 | public function setTitle($title)
|
---|
245 | {
|
---|
246 | $this->title = $title;
|
---|
247 | }
|
---|
248 | /**
|
---|
249 | * @return string
|
---|
250 | */
|
---|
251 | public function getTitle()
|
---|
252 | {
|
---|
253 | return $this->title;
|
---|
254 | }
|
---|
255 | /**
|
---|
256 | * @param SafeUrlProto
|
---|
257 | */
|
---|
258 | public function setUrl(SafeUrlProto $url)
|
---|
259 | {
|
---|
260 | $this->url = $url;
|
---|
261 | }
|
---|
262 | /**
|
---|
263 | * @return SafeUrlProto
|
---|
264 | */
|
---|
265 | public function getUrl()
|
---|
266 | {
|
---|
267 | return $this->url;
|
---|
268 | }
|
---|
269 | }
|
---|
270 |
|
---|
271 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
272 | class_alias(AppsDynamiteUrlMetadata::class, 'Google_Service_CloudSearch_AppsDynamiteUrlMetadata');
|
---|