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\Docs;
19
20class Document extends \Google\Model
21{
22  protected $bodyType = Body::class;
23  protected $bodyDataType = '';
24  /**
25   * @var string
26   */
27  public $documentId;
28  protected $documentStyleType = DocumentStyle::class;
29  protected $documentStyleDataType = '';
30  protected $footersType = Footer::class;
31  protected $footersDataType = 'map';
32  protected $footnotesType = Footnote::class;
33  protected $footnotesDataType = 'map';
34  protected $headersType = Header::class;
35  protected $headersDataType = 'map';
36  protected $inlineObjectsType = InlineObject::class;
37  protected $inlineObjectsDataType = 'map';
38  protected $listsType = DocsList::class;
39  protected $listsDataType = 'map';
40  protected $namedRangesType = NamedRanges::class;
41  protected $namedRangesDataType = 'map';
42  protected $namedStylesType = NamedStyles::class;
43  protected $namedStylesDataType = '';
44  protected $positionedObjectsType = PositionedObject::class;
45  protected $positionedObjectsDataType = 'map';
46  /**
47   * @var string
48   */
49  public $revisionId;
50  protected $suggestedDocumentStyleChangesType = SuggestedDocumentStyle::class;
51  protected $suggestedDocumentStyleChangesDataType = 'map';
52  protected $suggestedNamedStylesChangesType = SuggestedNamedStyles::class;
53  protected $suggestedNamedStylesChangesDataType = 'map';
54  /**
55   * @var string
56   */
57  public $suggestionsViewMode;
58  /**
59   * @var string
60   */
61  public $title;
62
63  /**
64   * @param Body
65   */
66  public function setBody(Body $body)
67  {
68    $this->body = $body;
69  }
70  /**
71   * @return Body
72   */
73  public function getBody()
74  {
75    return $this->body;
76  }
77  /**
78   * @param string
79   */
80  public function setDocumentId($documentId)
81  {
82    $this->documentId = $documentId;
83  }
84  /**
85   * @return string
86   */
87  public function getDocumentId()
88  {
89    return $this->documentId;
90  }
91  /**
92   * @param DocumentStyle
93   */
94  public function setDocumentStyle(DocumentStyle $documentStyle)
95  {
96    $this->documentStyle = $documentStyle;
97  }
98  /**
99   * @return DocumentStyle
100   */
101  public function getDocumentStyle()
102  {
103    return $this->documentStyle;
104  }
105  /**
106   * @param Footer[]
107   */
108  public function setFooters($footers)
109  {
110    $this->footers = $footers;
111  }
112  /**
113   * @return Footer[]
114   */
115  public function getFooters()
116  {
117    return $this->footers;
118  }
119  /**
120   * @param Footnote[]
121   */
122  public function setFootnotes($footnotes)
123  {
124    $this->footnotes = $footnotes;
125  }
126  /**
127   * @return Footnote[]
128   */
129  public function getFootnotes()
130  {
131    return $this->footnotes;
132  }
133  /**
134   * @param Header[]
135   */
136  public function setHeaders($headers)
137  {
138    $this->headers = $headers;
139  }
140  /**
141   * @return Header[]
142   */
143  public function getHeaders()
144  {
145    return $this->headers;
146  }
147  /**
148   * @param InlineObject[]
149   */
150  public function setInlineObjects($inlineObjects)
151  {
152    $this->inlineObjects = $inlineObjects;
153  }
154  /**
155   * @return InlineObject[]
156   */
157  public function getInlineObjects()
158  {
159    return $this->inlineObjects;
160  }
161  /**
162   * @param DocsList[]
163   */
164  public function setLists($lists)
165  {
166    $this->lists = $lists;
167  }
168  /**
169   * @return DocsList[]
170   */
171  public function getLists()
172  {
173    return $this->lists;
174  }
175  /**
176   * @param NamedRanges[]
177   */
178  public function setNamedRanges($namedRanges)
179  {
180    $this->namedRanges = $namedRanges;
181  }
182  /**
183   * @return NamedRanges[]
184   */
185  public function getNamedRanges()
186  {
187    return $this->namedRanges;
188  }
189  /**
190   * @param NamedStyles
191   */
192  public function setNamedStyles(NamedStyles $namedStyles)
193  {
194    $this->namedStyles = $namedStyles;
195  }
196  /**
197   * @return NamedStyles
198   */
199  public function getNamedStyles()
200  {
201    return $this->namedStyles;
202  }
203  /**
204   * @param PositionedObject[]
205   */
206  public function setPositionedObjects($positionedObjects)
207  {
208    $this->positionedObjects = $positionedObjects;
209  }
210  /**
211   * @return PositionedObject[]
212   */
213  public function getPositionedObjects()
214  {
215    return $this->positionedObjects;
216  }
217  /**
218   * @param string
219   */
220  public function setRevisionId($revisionId)
221  {
222    $this->revisionId = $revisionId;
223  }
224  /**
225   * @return string
226   */
227  public function getRevisionId()
228  {
229    return $this->revisionId;
230  }
231  /**
232   * @param SuggestedDocumentStyle[]
233   */
234  public function setSuggestedDocumentStyleChanges($suggestedDocumentStyleChanges)
235  {
236    $this->suggestedDocumentStyleChanges = $suggestedDocumentStyleChanges;
237  }
238  /**
239   * @return SuggestedDocumentStyle[]
240   */
241  public function getSuggestedDocumentStyleChanges()
242  {
243    return $this->suggestedDocumentStyleChanges;
244  }
245  /**
246   * @param SuggestedNamedStyles[]
247   */
248  public function setSuggestedNamedStylesChanges($suggestedNamedStylesChanges)
249  {
250    $this->suggestedNamedStylesChanges = $suggestedNamedStylesChanges;
251  }
252  /**
253   * @return SuggestedNamedStyles[]
254   */
255  public function getSuggestedNamedStylesChanges()
256  {
257    return $this->suggestedNamedStylesChanges;
258  }
259  /**
260   * @param string
261   */
262  public function setSuggestionsViewMode($suggestionsViewMode)
263  {
264    $this->suggestionsViewMode = $suggestionsViewMode;
265  }
266  /**
267   * @return string
268   */
269  public function getSuggestionsViewMode()
270  {
271    return $this->suggestionsViewMode;
272  }
273  /**
274   * @param string
275   */
276  public function setTitle($title)
277  {
278    $this->title = $title;
279  }
280  /**
281   * @return string
282   */
283  public function getTitle()
284  {
285    return $this->title;
286  }
287}
288
289// Adding a class alias for backwards compatibility with the previous class name.
290class_alias(Document::class, 'Google_Service_Docs_Document');
291