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