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 EmbeddedObject extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $description;
26  protected $embeddedDrawingPropertiesType = EmbeddedDrawingProperties::class;
27  protected $embeddedDrawingPropertiesDataType = '';
28  protected $embeddedObjectBorderType = EmbeddedObjectBorder::class;
29  protected $embeddedObjectBorderDataType = '';
30  protected $imagePropertiesType = ImageProperties::class;
31  protected $imagePropertiesDataType = '';
32  protected $linkedContentReferenceType = LinkedContentReference::class;
33  protected $linkedContentReferenceDataType = '';
34  protected $marginBottomType = Dimension::class;
35  protected $marginBottomDataType = '';
36  protected $marginLeftType = Dimension::class;
37  protected $marginLeftDataType = '';
38  protected $marginRightType = Dimension::class;
39  protected $marginRightDataType = '';
40  protected $marginTopType = Dimension::class;
41  protected $marginTopDataType = '';
42  protected $sizeType = Size::class;
43  protected $sizeDataType = '';
44  /**
45   * @var string
46   */
47  public $title;
48
49  /**
50   * @param string
51   */
52  public function setDescription($description)
53  {
54    $this->description = $description;
55  }
56  /**
57   * @return string
58   */
59  public function getDescription()
60  {
61    return $this->description;
62  }
63  /**
64   * @param EmbeddedDrawingProperties
65   */
66  public function setEmbeddedDrawingProperties(EmbeddedDrawingProperties $embeddedDrawingProperties)
67  {
68    $this->embeddedDrawingProperties = $embeddedDrawingProperties;
69  }
70  /**
71   * @return EmbeddedDrawingProperties
72   */
73  public function getEmbeddedDrawingProperties()
74  {
75    return $this->embeddedDrawingProperties;
76  }
77  /**
78   * @param EmbeddedObjectBorder
79   */
80  public function setEmbeddedObjectBorder(EmbeddedObjectBorder $embeddedObjectBorder)
81  {
82    $this->embeddedObjectBorder = $embeddedObjectBorder;
83  }
84  /**
85   * @return EmbeddedObjectBorder
86   */
87  public function getEmbeddedObjectBorder()
88  {
89    return $this->embeddedObjectBorder;
90  }
91  /**
92   * @param ImageProperties
93   */
94  public function setImageProperties(ImageProperties $imageProperties)
95  {
96    $this->imageProperties = $imageProperties;
97  }
98  /**
99   * @return ImageProperties
100   */
101  public function getImageProperties()
102  {
103    return $this->imageProperties;
104  }
105  /**
106   * @param LinkedContentReference
107   */
108  public function setLinkedContentReference(LinkedContentReference $linkedContentReference)
109  {
110    $this->linkedContentReference = $linkedContentReference;
111  }
112  /**
113   * @return LinkedContentReference
114   */
115  public function getLinkedContentReference()
116  {
117    return $this->linkedContentReference;
118  }
119  /**
120   * @param Dimension
121   */
122  public function setMarginBottom(Dimension $marginBottom)
123  {
124    $this->marginBottom = $marginBottom;
125  }
126  /**
127   * @return Dimension
128   */
129  public function getMarginBottom()
130  {
131    return $this->marginBottom;
132  }
133  /**
134   * @param Dimension
135   */
136  public function setMarginLeft(Dimension $marginLeft)
137  {
138    $this->marginLeft = $marginLeft;
139  }
140  /**
141   * @return Dimension
142   */
143  public function getMarginLeft()
144  {
145    return $this->marginLeft;
146  }
147  /**
148   * @param Dimension
149   */
150  public function setMarginRight(Dimension $marginRight)
151  {
152    $this->marginRight = $marginRight;
153  }
154  /**
155   * @return Dimension
156   */
157  public function getMarginRight()
158  {
159    return $this->marginRight;
160  }
161  /**
162   * @param Dimension
163   */
164  public function setMarginTop(Dimension $marginTop)
165  {
166    $this->marginTop = $marginTop;
167  }
168  /**
169   * @return Dimension
170   */
171  public function getMarginTop()
172  {
173    return $this->marginTop;
174  }
175  /**
176   * @param Size
177   */
178  public function setSize(Size $size)
179  {
180    $this->size = $size;
181  }
182  /**
183   * @return Size
184   */
185  public function getSize()
186  {
187    return $this->size;
188  }
189  /**
190   * @param string
191   */
192  public function setTitle($title)
193  {
194    $this->title = $title;
195  }
196  /**
197   * @return string
198   */
199  public function getTitle()
200  {
201    return $this->title;
202  }
203}
204
205// Adding a class alias for backwards compatibility with the previous class name.
206class_alias(EmbeddedObject::class, 'Google_Service_Docs_EmbeddedObject');
207