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 ShapeProperties extends \Google\Model 21{ 22 protected $autofitType = Autofit::class; 23 protected $autofitDataType = ''; 24 /** 25 * @var string 26 */ 27 public $contentAlignment; 28 protected $linkType = Link::class; 29 protected $linkDataType = ''; 30 protected $outlineType = Outline::class; 31 protected $outlineDataType = ''; 32 protected $shadowType = Shadow::class; 33 protected $shadowDataType = ''; 34 protected $shapeBackgroundFillType = ShapeBackgroundFill::class; 35 protected $shapeBackgroundFillDataType = ''; 36 37 /** 38 * @param Autofit 39 */ 40 public function setAutofit(Autofit $autofit) 41 { 42 $this->autofit = $autofit; 43 } 44 /** 45 * @return Autofit 46 */ 47 public function getAutofit() 48 { 49 return $this->autofit; 50 } 51 /** 52 * @param string 53 */ 54 public function setContentAlignment($contentAlignment) 55 { 56 $this->contentAlignment = $contentAlignment; 57 } 58 /** 59 * @return string 60 */ 61 public function getContentAlignment() 62 { 63 return $this->contentAlignment; 64 } 65 /** 66 * @param Link 67 */ 68 public function setLink(Link $link) 69 { 70 $this->link = $link; 71 } 72 /** 73 * @return Link 74 */ 75 public function getLink() 76 { 77 return $this->link; 78 } 79 /** 80 * @param Outline 81 */ 82 public function setOutline(Outline $outline) 83 { 84 $this->outline = $outline; 85 } 86 /** 87 * @return Outline 88 */ 89 public function getOutline() 90 { 91 return $this->outline; 92 } 93 /** 94 * @param Shadow 95 */ 96 public function setShadow(Shadow $shadow) 97 { 98 $this->shadow = $shadow; 99 } 100 /** 101 * @return Shadow 102 */ 103 public function getShadow() 104 { 105 return $this->shadow; 106 } 107 /** 108 * @param ShapeBackgroundFill 109 */ 110 public function setShapeBackgroundFill(ShapeBackgroundFill $shapeBackgroundFill) 111 { 112 $this->shapeBackgroundFill = $shapeBackgroundFill; 113 } 114 /** 115 * @return ShapeBackgroundFill 116 */ 117 public function getShapeBackgroundFill() 118 { 119 return $this->shapeBackgroundFill; 120 } 121} 122 123// Adding a class alias for backwards compatibility with the previous class name. 124class_alias(ShapeProperties::class, 'Google_Service_Slides_ShapeProperties'); 125