source: vendor/google/apiclient-services/src/CloudSearch/AppsDynamiteV1ApiCompatV1Attachment.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: 6.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\CloudSearch;
19
20class AppsDynamiteV1ApiCompatV1Attachment extends \Google\Collection
21{
22 protected $collection_key = 'mrkdwn_in';
23 protected $internal_gapi_mappings = [
24 "attachmentType" => "attachment_type",
25 "authorIcon" => "author_icon",
26 "authorLink" => "author_link",
27 "authorName" => "author_name",
28 "callbackId" => "callback_id",
29 "footerIcon" => "footer_icon",
30 "imageUrl" => "image_url",
31 "mrkdwnIn" => "mrkdwn_in",
32 "thumbUrl" => "thumb_url",
33 "titleLink" => "title_link",
34 ];
35 protected $actionsType = AppsDynamiteV1ApiCompatV1Action::class;
36 protected $actionsDataType = 'array';
37 /**
38 * @var string
39 */
40 public $attachmentType;
41 /**
42 * @var string
43 */
44 public $authorIcon;
45 /**
46 * @var string
47 */
48 public $authorLink;
49 /**
50 * @var string
51 */
52 public $authorName;
53 /**
54 * @var string
55 */
56 public $callbackId;
57 /**
58 * @var string
59 */
60 public $color;
61 /**
62 * @var string
63 */
64 public $fallback;
65 protected $fieldsType = AppsDynamiteV1ApiCompatV1Field::class;
66 protected $fieldsDataType = 'array';
67 /**
68 * @var string
69 */
70 public $footer;
71 /**
72 * @var string
73 */
74 public $footerIcon;
75 /**
76 * @var string
77 */
78 public $imageUrl;
79 /**
80 * @var string[]
81 */
82 public $mrkdwnIn;
83 /**
84 * @var string
85 */
86 public $pretext;
87 /**
88 * @var string
89 */
90 public $text;
91 /**
92 * @var string
93 */
94 public $thumbUrl;
95 /**
96 * @var string
97 */
98 public $title;
99 /**
100 * @var string
101 */
102 public $titleLink;
103 /**
104 * @var int
105 */
106 public $ts;
107
108 /**
109 * @param AppsDynamiteV1ApiCompatV1Action[]
110 */
111 public function setActions($actions)
112 {
113 $this->actions = $actions;
114 }
115 /**
116 * @return AppsDynamiteV1ApiCompatV1Action[]
117 */
118 public function getActions()
119 {
120 return $this->actions;
121 }
122 /**
123 * @param string
124 */
125 public function setAttachmentType($attachmentType)
126 {
127 $this->attachmentType = $attachmentType;
128 }
129 /**
130 * @return string
131 */
132 public function getAttachmentType()
133 {
134 return $this->attachmentType;
135 }
136 /**
137 * @param string
138 */
139 public function setAuthorIcon($authorIcon)
140 {
141 $this->authorIcon = $authorIcon;
142 }
143 /**
144 * @return string
145 */
146 public function getAuthorIcon()
147 {
148 return $this->authorIcon;
149 }
150 /**
151 * @param string
152 */
153 public function setAuthorLink($authorLink)
154 {
155 $this->authorLink = $authorLink;
156 }
157 /**
158 * @return string
159 */
160 public function getAuthorLink()
161 {
162 return $this->authorLink;
163 }
164 /**
165 * @param string
166 */
167 public function setAuthorName($authorName)
168 {
169 $this->authorName = $authorName;
170 }
171 /**
172 * @return string
173 */
174 public function getAuthorName()
175 {
176 return $this->authorName;
177 }
178 /**
179 * @param string
180 */
181 public function setCallbackId($callbackId)
182 {
183 $this->callbackId = $callbackId;
184 }
185 /**
186 * @return string
187 */
188 public function getCallbackId()
189 {
190 return $this->callbackId;
191 }
192 /**
193 * @param string
194 */
195 public function setColor($color)
196 {
197 $this->color = $color;
198 }
199 /**
200 * @return string
201 */
202 public function getColor()
203 {
204 return $this->color;
205 }
206 /**
207 * @param string
208 */
209 public function setFallback($fallback)
210 {
211 $this->fallback = $fallback;
212 }
213 /**
214 * @return string
215 */
216 public function getFallback()
217 {
218 return $this->fallback;
219 }
220 /**
221 * @param AppsDynamiteV1ApiCompatV1Field[]
222 */
223 public function setFields($fields)
224 {
225 $this->fields = $fields;
226 }
227 /**
228 * @return AppsDynamiteV1ApiCompatV1Field[]
229 */
230 public function getFields()
231 {
232 return $this->fields;
233 }
234 /**
235 * @param string
236 */
237 public function setFooter($footer)
238 {
239 $this->footer = $footer;
240 }
241 /**
242 * @return string
243 */
244 public function getFooter()
245 {
246 return $this->footer;
247 }
248 /**
249 * @param string
250 */
251 public function setFooterIcon($footerIcon)
252 {
253 $this->footerIcon = $footerIcon;
254 }
255 /**
256 * @return string
257 */
258 public function getFooterIcon()
259 {
260 return $this->footerIcon;
261 }
262 /**
263 * @param string
264 */
265 public function setImageUrl($imageUrl)
266 {
267 $this->imageUrl = $imageUrl;
268 }
269 /**
270 * @return string
271 */
272 public function getImageUrl()
273 {
274 return $this->imageUrl;
275 }
276 /**
277 * @param string[]
278 */
279 public function setMrkdwnIn($mrkdwnIn)
280 {
281 $this->mrkdwnIn = $mrkdwnIn;
282 }
283 /**
284 * @return string[]
285 */
286 public function getMrkdwnIn()
287 {
288 return $this->mrkdwnIn;
289 }
290 /**
291 * @param string
292 */
293 public function setPretext($pretext)
294 {
295 $this->pretext = $pretext;
296 }
297 /**
298 * @return string
299 */
300 public function getPretext()
301 {
302 return $this->pretext;
303 }
304 /**
305 * @param string
306 */
307 public function setText($text)
308 {
309 $this->text = $text;
310 }
311 /**
312 * @return string
313 */
314 public function getText()
315 {
316 return $this->text;
317 }
318 /**
319 * @param string
320 */
321 public function setThumbUrl($thumbUrl)
322 {
323 $this->thumbUrl = $thumbUrl;
324 }
325 /**
326 * @return string
327 */
328 public function getThumbUrl()
329 {
330 return $this->thumbUrl;
331 }
332 /**
333 * @param string
334 */
335 public function setTitle($title)
336 {
337 $this->title = $title;
338 }
339 /**
340 * @return string
341 */
342 public function getTitle()
343 {
344 return $this->title;
345 }
346 /**
347 * @param string
348 */
349 public function setTitleLink($titleLink)
350 {
351 $this->titleLink = $titleLink;
352 }
353 /**
354 * @return string
355 */
356 public function getTitleLink()
357 {
358 return $this->titleLink;
359 }
360 /**
361 * @param int
362 */
363 public function setTs($ts)
364 {
365 $this->ts = $ts;
366 }
367 /**
368 * @return int
369 */
370 public function getTs()
371 {
372 return $this->ts;
373 }
374}
375
376// Adding a class alias for backwards compatibility with the previous class name.
377class_alias(AppsDynamiteV1ApiCompatV1Attachment::class, 'Google_Service_CloudSearch_AppsDynamiteV1ApiCompatV1Attachment');
Note: See TracBrowser for help on using the repository browser.