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 |
|
---|
18 | namespace Google\Service\Slides;
|
---|
19 |
|
---|
20 | class PageElement extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $description;
|
---|
26 | protected $elementGroupType = Group::class;
|
---|
27 | protected $elementGroupDataType = '';
|
---|
28 | protected $imageType = Image::class;
|
---|
29 | protected $imageDataType = '';
|
---|
30 | protected $lineType = Line::class;
|
---|
31 | protected $lineDataType = '';
|
---|
32 | /**
|
---|
33 | * @var string
|
---|
34 | */
|
---|
35 | public $objectId;
|
---|
36 | protected $shapeType = Shape::class;
|
---|
37 | protected $shapeDataType = '';
|
---|
38 | protected $sheetsChartType = SheetsChart::class;
|
---|
39 | protected $sheetsChartDataType = '';
|
---|
40 | protected $sizeType = Size::class;
|
---|
41 | protected $sizeDataType = '';
|
---|
42 | protected $speakerSpotlightType = SpeakerSpotlight::class;
|
---|
43 | protected $speakerSpotlightDataType = '';
|
---|
44 | protected $tableType = Table::class;
|
---|
45 | protected $tableDataType = '';
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $title;
|
---|
50 | protected $transformType = AffineTransform::class;
|
---|
51 | protected $transformDataType = '';
|
---|
52 | protected $videoType = Video::class;
|
---|
53 | protected $videoDataType = '';
|
---|
54 | protected $wordArtType = WordArt::class;
|
---|
55 | protected $wordArtDataType = '';
|
---|
56 |
|
---|
57 | /**
|
---|
58 | * @param string
|
---|
59 | */
|
---|
60 | public function setDescription($description)
|
---|
61 | {
|
---|
62 | $this->description = $description;
|
---|
63 | }
|
---|
64 | /**
|
---|
65 | * @return string
|
---|
66 | */
|
---|
67 | public function getDescription()
|
---|
68 | {
|
---|
69 | return $this->description;
|
---|
70 | }
|
---|
71 | /**
|
---|
72 | * @param Group
|
---|
73 | */
|
---|
74 | public function setElementGroup(Group $elementGroup)
|
---|
75 | {
|
---|
76 | $this->elementGroup = $elementGroup;
|
---|
77 | }
|
---|
78 | /**
|
---|
79 | * @return Group
|
---|
80 | */
|
---|
81 | public function getElementGroup()
|
---|
82 | {
|
---|
83 | return $this->elementGroup;
|
---|
84 | }
|
---|
85 | /**
|
---|
86 | * @param Image
|
---|
87 | */
|
---|
88 | public function setImage(Image $image)
|
---|
89 | {
|
---|
90 | $this->image = $image;
|
---|
91 | }
|
---|
92 | /**
|
---|
93 | * @return Image
|
---|
94 | */
|
---|
95 | public function getImage()
|
---|
96 | {
|
---|
97 | return $this->image;
|
---|
98 | }
|
---|
99 | /**
|
---|
100 | * @param Line
|
---|
101 | */
|
---|
102 | public function setLine(Line $line)
|
---|
103 | {
|
---|
104 | $this->line = $line;
|
---|
105 | }
|
---|
106 | /**
|
---|
107 | * @return Line
|
---|
108 | */
|
---|
109 | public function getLine()
|
---|
110 | {
|
---|
111 | return $this->line;
|
---|
112 | }
|
---|
113 | /**
|
---|
114 | * @param string
|
---|
115 | */
|
---|
116 | public function setObjectId($objectId)
|
---|
117 | {
|
---|
118 | $this->objectId = $objectId;
|
---|
119 | }
|
---|
120 | /**
|
---|
121 | * @return string
|
---|
122 | */
|
---|
123 | public function getObjectId()
|
---|
124 | {
|
---|
125 | return $this->objectId;
|
---|
126 | }
|
---|
127 | /**
|
---|
128 | * @param Shape
|
---|
129 | */
|
---|
130 | public function setShape(Shape $shape)
|
---|
131 | {
|
---|
132 | $this->shape = $shape;
|
---|
133 | }
|
---|
134 | /**
|
---|
135 | * @return Shape
|
---|
136 | */
|
---|
137 | public function getShape()
|
---|
138 | {
|
---|
139 | return $this->shape;
|
---|
140 | }
|
---|
141 | /**
|
---|
142 | * @param SheetsChart
|
---|
143 | */
|
---|
144 | public function setSheetsChart(SheetsChart $sheetsChart)
|
---|
145 | {
|
---|
146 | $this->sheetsChart = $sheetsChart;
|
---|
147 | }
|
---|
148 | /**
|
---|
149 | * @return SheetsChart
|
---|
150 | */
|
---|
151 | public function getSheetsChart()
|
---|
152 | {
|
---|
153 | return $this->sheetsChart;
|
---|
154 | }
|
---|
155 | /**
|
---|
156 | * @param Size
|
---|
157 | */
|
---|
158 | public function setSize(Size $size)
|
---|
159 | {
|
---|
160 | $this->size = $size;
|
---|
161 | }
|
---|
162 | /**
|
---|
163 | * @return Size
|
---|
164 | */
|
---|
165 | public function getSize()
|
---|
166 | {
|
---|
167 | return $this->size;
|
---|
168 | }
|
---|
169 | /**
|
---|
170 | * @param SpeakerSpotlight
|
---|
171 | */
|
---|
172 | public function setSpeakerSpotlight(SpeakerSpotlight $speakerSpotlight)
|
---|
173 | {
|
---|
174 | $this->speakerSpotlight = $speakerSpotlight;
|
---|
175 | }
|
---|
176 | /**
|
---|
177 | * @return SpeakerSpotlight
|
---|
178 | */
|
---|
179 | public function getSpeakerSpotlight()
|
---|
180 | {
|
---|
181 | return $this->speakerSpotlight;
|
---|
182 | }
|
---|
183 | /**
|
---|
184 | * @param Table
|
---|
185 | */
|
---|
186 | public function setTable(Table $table)
|
---|
187 | {
|
---|
188 | $this->table = $table;
|
---|
189 | }
|
---|
190 | /**
|
---|
191 | * @return Table
|
---|
192 | */
|
---|
193 | public function getTable()
|
---|
194 | {
|
---|
195 | return $this->table;
|
---|
196 | }
|
---|
197 | /**
|
---|
198 | * @param string
|
---|
199 | */
|
---|
200 | public function setTitle($title)
|
---|
201 | {
|
---|
202 | $this->title = $title;
|
---|
203 | }
|
---|
204 | /**
|
---|
205 | * @return string
|
---|
206 | */
|
---|
207 | public function getTitle()
|
---|
208 | {
|
---|
209 | return $this->title;
|
---|
210 | }
|
---|
211 | /**
|
---|
212 | * @param AffineTransform
|
---|
213 | */
|
---|
214 | public function setTransform(AffineTransform $transform)
|
---|
215 | {
|
---|
216 | $this->transform = $transform;
|
---|
217 | }
|
---|
218 | /**
|
---|
219 | * @return AffineTransform
|
---|
220 | */
|
---|
221 | public function getTransform()
|
---|
222 | {
|
---|
223 | return $this->transform;
|
---|
224 | }
|
---|
225 | /**
|
---|
226 | * @param Video
|
---|
227 | */
|
---|
228 | public function setVideo(Video $video)
|
---|
229 | {
|
---|
230 | $this->video = $video;
|
---|
231 | }
|
---|
232 | /**
|
---|
233 | * @return Video
|
---|
234 | */
|
---|
235 | public function getVideo()
|
---|
236 | {
|
---|
237 | return $this->video;
|
---|
238 | }
|
---|
239 | /**
|
---|
240 | * @param WordArt
|
---|
241 | */
|
---|
242 | public function setWordArt(WordArt $wordArt)
|
---|
243 | {
|
---|
244 | $this->wordArt = $wordArt;
|
---|
245 | }
|
---|
246 | /**
|
---|
247 | * @return WordArt
|
---|
248 | */
|
---|
249 | public function getWordArt()
|
---|
250 | {
|
---|
251 | return $this->wordArt;
|
---|
252 | }
|
---|
253 | }
|
---|
254 |
|
---|
255 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
256 | class_alias(PageElement::class, 'Google_Service_Slides_PageElement');
|
---|