source: vendor/google/apiclient-services/src/Blogger/Post.php

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

Upload project files

  • Property mode set to 100644
File size: 6.0 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\Blogger;
19
20class Post extends \Google\Collection
21{
22 protected $collection_key = 'labels';
23 protected $authorType = PostAuthor::class;
24 protected $authorDataType = '';
25 protected $blogType = PostBlog::class;
26 protected $blogDataType = '';
27 /**
28 * @var string
29 */
30 public $content;
31 /**
32 * @var string
33 */
34 public $customMetaData;
35 /**
36 * @var string
37 */
38 public $etag;
39 /**
40 * @var string
41 */
42 public $id;
43 protected $imagesType = PostImages::class;
44 protected $imagesDataType = 'array';
45 /**
46 * @var string
47 */
48 public $kind;
49 /**
50 * @var string[]
51 */
52 public $labels;
53 protected $locationType = PostLocation::class;
54 protected $locationDataType = '';
55 /**
56 * @var string
57 */
58 public $published;
59 /**
60 * @var string
61 */
62 public $readerComments;
63 protected $repliesType = PostReplies::class;
64 protected $repliesDataType = '';
65 /**
66 * @var string
67 */
68 public $selfLink;
69 /**
70 * @var string
71 */
72 public $status;
73 /**
74 * @var string
75 */
76 public $title;
77 /**
78 * @var string
79 */
80 public $titleLink;
81 /**
82 * @var string
83 */
84 public $trashed;
85 /**
86 * @var string
87 */
88 public $updated;
89 /**
90 * @var string
91 */
92 public $url;
93
94 /**
95 * @param PostAuthor
96 */
97 public function setAuthor(PostAuthor $author)
98 {
99 $this->author = $author;
100 }
101 /**
102 * @return PostAuthor
103 */
104 public function getAuthor()
105 {
106 return $this->author;
107 }
108 /**
109 * @param PostBlog
110 */
111 public function setBlog(PostBlog $blog)
112 {
113 $this->blog = $blog;
114 }
115 /**
116 * @return PostBlog
117 */
118 public function getBlog()
119 {
120 return $this->blog;
121 }
122 /**
123 * @param string
124 */
125 public function setContent($content)
126 {
127 $this->content = $content;
128 }
129 /**
130 * @return string
131 */
132 public function getContent()
133 {
134 return $this->content;
135 }
136 /**
137 * @param string
138 */
139 public function setCustomMetaData($customMetaData)
140 {
141 $this->customMetaData = $customMetaData;
142 }
143 /**
144 * @return string
145 */
146 public function getCustomMetaData()
147 {
148 return $this->customMetaData;
149 }
150 /**
151 * @param string
152 */
153 public function setEtag($etag)
154 {
155 $this->etag = $etag;
156 }
157 /**
158 * @return string
159 */
160 public function getEtag()
161 {
162 return $this->etag;
163 }
164 /**
165 * @param string
166 */
167 public function setId($id)
168 {
169 $this->id = $id;
170 }
171 /**
172 * @return string
173 */
174 public function getId()
175 {
176 return $this->id;
177 }
178 /**
179 * @param PostImages[]
180 */
181 public function setImages($images)
182 {
183 $this->images = $images;
184 }
185 /**
186 * @return PostImages[]
187 */
188 public function getImages()
189 {
190 return $this->images;
191 }
192 /**
193 * @param string
194 */
195 public function setKind($kind)
196 {
197 $this->kind = $kind;
198 }
199 /**
200 * @return string
201 */
202 public function getKind()
203 {
204 return $this->kind;
205 }
206 /**
207 * @param string[]
208 */
209 public function setLabels($labels)
210 {
211 $this->labels = $labels;
212 }
213 /**
214 * @return string[]
215 */
216 public function getLabels()
217 {
218 return $this->labels;
219 }
220 /**
221 * @param PostLocation
222 */
223 public function setLocation(PostLocation $location)
224 {
225 $this->location = $location;
226 }
227 /**
228 * @return PostLocation
229 */
230 public function getLocation()
231 {
232 return $this->location;
233 }
234 /**
235 * @param string
236 */
237 public function setPublished($published)
238 {
239 $this->published = $published;
240 }
241 /**
242 * @return string
243 */
244 public function getPublished()
245 {
246 return $this->published;
247 }
248 /**
249 * @param string
250 */
251 public function setReaderComments($readerComments)
252 {
253 $this->readerComments = $readerComments;
254 }
255 /**
256 * @return string
257 */
258 public function getReaderComments()
259 {
260 return $this->readerComments;
261 }
262 /**
263 * @param PostReplies
264 */
265 public function setReplies(PostReplies $replies)
266 {
267 $this->replies = $replies;
268 }
269 /**
270 * @return PostReplies
271 */
272 public function getReplies()
273 {
274 return $this->replies;
275 }
276 /**
277 * @param string
278 */
279 public function setSelfLink($selfLink)
280 {
281 $this->selfLink = $selfLink;
282 }
283 /**
284 * @return string
285 */
286 public function getSelfLink()
287 {
288 return $this->selfLink;
289 }
290 /**
291 * @param string
292 */
293 public function setStatus($status)
294 {
295 $this->status = $status;
296 }
297 /**
298 * @return string
299 */
300 public function getStatus()
301 {
302 return $this->status;
303 }
304 /**
305 * @param string
306 */
307 public function setTitle($title)
308 {
309 $this->title = $title;
310 }
311 /**
312 * @return string
313 */
314 public function getTitle()
315 {
316 return $this->title;
317 }
318 /**
319 * @param string
320 */
321 public function setTitleLink($titleLink)
322 {
323 $this->titleLink = $titleLink;
324 }
325 /**
326 * @return string
327 */
328 public function getTitleLink()
329 {
330 return $this->titleLink;
331 }
332 /**
333 * @param string
334 */
335 public function setTrashed($trashed)
336 {
337 $this->trashed = $trashed;
338 }
339 /**
340 * @return string
341 */
342 public function getTrashed()
343 {
344 return $this->trashed;
345 }
346 /**
347 * @param string
348 */
349 public function setUpdated($updated)
350 {
351 $this->updated = $updated;
352 }
353 /**
354 * @return string
355 */
356 public function getUpdated()
357 {
358 return $this->updated;
359 }
360 /**
361 * @param string
362 */
363 public function setUrl($url)
364 {
365 $this->url = $url;
366 }
367 /**
368 * @return string
369 */
370 public function getUrl()
371 {
372 return $this->url;
373 }
374}
375
376// Adding a class alias for backwards compatibility with the previous class name.
377class_alias(Post::class, 'Google_Service_Blogger_Post');
Note: See TracBrowser for help on using the repository browser.