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 ParagraphElement extends \Google\Model
21{
22  protected $autoTextType = AutoText::class;
23  protected $autoTextDataType = '';
24  protected $columnBreakType = ColumnBreak::class;
25  protected $columnBreakDataType = '';
26  /**
27   * @var int
28   */
29  public $endIndex;
30  protected $equationType = Equation::class;
31  protected $equationDataType = '';
32  protected $footnoteReferenceType = FootnoteReference::class;
33  protected $footnoteReferenceDataType = '';
34  protected $horizontalRuleType = HorizontalRule::class;
35  protected $horizontalRuleDataType = '';
36  protected $inlineObjectElementType = InlineObjectElement::class;
37  protected $inlineObjectElementDataType = '';
38  protected $pageBreakType = PageBreak::class;
39  protected $pageBreakDataType = '';
40  protected $personType = Person::class;
41  protected $personDataType = '';
42  protected $richLinkType = RichLink::class;
43  protected $richLinkDataType = '';
44  /**
45   * @var int
46   */
47  public $startIndex;
48  protected $textRunType = TextRun::class;
49  protected $textRunDataType = '';
50
51  /**
52   * @param AutoText
53   */
54  public function setAutoText(AutoText $autoText)
55  {
56    $this->autoText = $autoText;
57  }
58  /**
59   * @return AutoText
60   */
61  public function getAutoText()
62  {
63    return $this->autoText;
64  }
65  /**
66   * @param ColumnBreak
67   */
68  public function setColumnBreak(ColumnBreak $columnBreak)
69  {
70    $this->columnBreak = $columnBreak;
71  }
72  /**
73   * @return ColumnBreak
74   */
75  public function getColumnBreak()
76  {
77    return $this->columnBreak;
78  }
79  /**
80   * @param int
81   */
82  public function setEndIndex($endIndex)
83  {
84    $this->endIndex = $endIndex;
85  }
86  /**
87   * @return int
88   */
89  public function getEndIndex()
90  {
91    return $this->endIndex;
92  }
93  /**
94   * @param Equation
95   */
96  public function setEquation(Equation $equation)
97  {
98    $this->equation = $equation;
99  }
100  /**
101   * @return Equation
102   */
103  public function getEquation()
104  {
105    return $this->equation;
106  }
107  /**
108   * @param FootnoteReference
109   */
110  public function setFootnoteReference(FootnoteReference $footnoteReference)
111  {
112    $this->footnoteReference = $footnoteReference;
113  }
114  /**
115   * @return FootnoteReference
116   */
117  public function getFootnoteReference()
118  {
119    return $this->footnoteReference;
120  }
121  /**
122   * @param HorizontalRule
123   */
124  public function setHorizontalRule(HorizontalRule $horizontalRule)
125  {
126    $this->horizontalRule = $horizontalRule;
127  }
128  /**
129   * @return HorizontalRule
130   */
131  public function getHorizontalRule()
132  {
133    return $this->horizontalRule;
134  }
135  /**
136   * @param InlineObjectElement
137   */
138  public function setInlineObjectElement(InlineObjectElement $inlineObjectElement)
139  {
140    $this->inlineObjectElement = $inlineObjectElement;
141  }
142  /**
143   * @return InlineObjectElement
144   */
145  public function getInlineObjectElement()
146  {
147    return $this->inlineObjectElement;
148  }
149  /**
150   * @param PageBreak
151   */
152  public function setPageBreak(PageBreak $pageBreak)
153  {
154    $this->pageBreak = $pageBreak;
155  }
156  /**
157   * @return PageBreak
158   */
159  public function getPageBreak()
160  {
161    return $this->pageBreak;
162  }
163  /**
164   * @param Person
165   */
166  public function setPerson(Person $person)
167  {
168    $this->person = $person;
169  }
170  /**
171   * @return Person
172   */
173  public function getPerson()
174  {
175    return $this->person;
176  }
177  /**
178   * @param RichLink
179   */
180  public function setRichLink(RichLink $richLink)
181  {
182    $this->richLink = $richLink;
183  }
184  /**
185   * @return RichLink
186   */
187  public function getRichLink()
188  {
189    return $this->richLink;
190  }
191  /**
192   * @param int
193   */
194  public function setStartIndex($startIndex)
195  {
196    $this->startIndex = $startIndex;
197  }
198  /**
199   * @return int
200   */
201  public function getStartIndex()
202  {
203    return $this->startIndex;
204  }
205  /**
206   * @param TextRun
207   */
208  public function setTextRun(TextRun $textRun)
209  {
210    $this->textRun = $textRun;
211  }
212  /**
213   * @return TextRun
214   */
215  public function getTextRun()
216  {
217    return $this->textRun;
218  }
219}
220
221// Adding a class alias for backwards compatibility with the previous class name.
222class_alias(ParagraphElement::class, 'Google_Service_Docs_ParagraphElement');
223