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