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
18class Google_Service_Blogger_Post extends Google_Collection
19{
20  protected $collection_key = 'labels';
21  protected $authorType = 'Google_Service_Blogger_PostAuthor';
22  protected $authorDataType = '';
23  protected $blogType = 'Google_Service_Blogger_PostBlog';
24  protected $blogDataType = '';
25  public $content;
26  public $customMetaData;
27  public $etag;
28  public $id;
29  protected $imagesType = 'Google_Service_Blogger_PostImages';
30  protected $imagesDataType = 'array';
31  public $kind;
32  public $labels;
33  protected $locationType = 'Google_Service_Blogger_PostLocation';
34  protected $locationDataType = '';
35  public $published;
36  public $readerComments;
37  protected $repliesType = 'Google_Service_Blogger_PostReplies';
38  protected $repliesDataType = '';
39  public $selfLink;
40  public $status;
41  public $title;
42  public $titleLink;
43  public $updated;
44  public $url;
45
46  /**
47   * @param Google_Service_Blogger_PostAuthor
48   */
49  public function setAuthor(Google_Service_Blogger_PostAuthor $author)
50  {
51    $this->author = $author;
52  }
53  /**
54   * @return Google_Service_Blogger_PostAuthor
55   */
56  public function getAuthor()
57  {
58    return $this->author;
59  }
60  /**
61   * @param Google_Service_Blogger_PostBlog
62   */
63  public function setBlog(Google_Service_Blogger_PostBlog $blog)
64  {
65    $this->blog = $blog;
66  }
67  /**
68   * @return Google_Service_Blogger_PostBlog
69   */
70  public function getBlog()
71  {
72    return $this->blog;
73  }
74  public function setContent($content)
75  {
76    $this->content = $content;
77  }
78  public function getContent()
79  {
80    return $this->content;
81  }
82  public function setCustomMetaData($customMetaData)
83  {
84    $this->customMetaData = $customMetaData;
85  }
86  public function getCustomMetaData()
87  {
88    return $this->customMetaData;
89  }
90  public function setEtag($etag)
91  {
92    $this->etag = $etag;
93  }
94  public function getEtag()
95  {
96    return $this->etag;
97  }
98  public function setId($id)
99  {
100    $this->id = $id;
101  }
102  public function getId()
103  {
104    return $this->id;
105  }
106  /**
107   * @param Google_Service_Blogger_PostImages
108   */
109  public function setImages($images)
110  {
111    $this->images = $images;
112  }
113  /**
114   * @return Google_Service_Blogger_PostImages
115   */
116  public function getImages()
117  {
118    return $this->images;
119  }
120  public function setKind($kind)
121  {
122    $this->kind = $kind;
123  }
124  public function getKind()
125  {
126    return $this->kind;
127  }
128  public function setLabels($labels)
129  {
130    $this->labels = $labels;
131  }
132  public function getLabels()
133  {
134    return $this->labels;
135  }
136  /**
137   * @param Google_Service_Blogger_PostLocation
138   */
139  public function setLocation(Google_Service_Blogger_PostLocation $location)
140  {
141    $this->location = $location;
142  }
143  /**
144   * @return Google_Service_Blogger_PostLocation
145   */
146  public function getLocation()
147  {
148    return $this->location;
149  }
150  public function setPublished($published)
151  {
152    $this->published = $published;
153  }
154  public function getPublished()
155  {
156    return $this->published;
157  }
158  public function setReaderComments($readerComments)
159  {
160    $this->readerComments = $readerComments;
161  }
162  public function getReaderComments()
163  {
164    return $this->readerComments;
165  }
166  /**
167   * @param Google_Service_Blogger_PostReplies
168   */
169  public function setReplies(Google_Service_Blogger_PostReplies $replies)
170  {
171    $this->replies = $replies;
172  }
173  /**
174   * @return Google_Service_Blogger_PostReplies
175   */
176  public function getReplies()
177  {
178    return $this->replies;
179  }
180  public function setSelfLink($selfLink)
181  {
182    $this->selfLink = $selfLink;
183  }
184  public function getSelfLink()
185  {
186    return $this->selfLink;
187  }
188  public function setStatus($status)
189  {
190    $this->status = $status;
191  }
192  public function getStatus()
193  {
194    return $this->status;
195  }
196  public function setTitle($title)
197  {
198    $this->title = $title;
199  }
200  public function getTitle()
201  {
202    return $this->title;
203  }
204  public function setTitleLink($titleLink)
205  {
206    $this->titleLink = $titleLink;
207  }
208  public function getTitleLink()
209  {
210    return $this->titleLink;
211  }
212  public function setUpdated($updated)
213  {
214    $this->updated = $updated;
215  }
216  public function getUpdated()
217  {
218    return $this->updated;
219  }
220  public function setUrl($url)
221  {
222    $this->url = $url;
223  }
224  public function getUrl()
225  {
226    return $this->url;
227  }
228}
229